Move primitives and runtime out of src/common/

Relocate src/common/primitives and src/common/runtime to src/primitives
and src/runtime. Add src/tsconfig.json as the primitives+runtime solution.
Update tsconfigs, esbuild, webpack aliases, publish path, and docs.

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-31 00:30:53 +00:00
co-authored by Daniel Imms
parent c569e5ab19
commit f22ef02831
144 changed files with 157 additions and 153 deletions
+4 -4
View File
@@ -192,14 +192,14 @@ if (config.addon) {
outBuilds = [
{
...outConfig,
entryPoints: ['src/common/primitives/**/*.ts'],
outbase: 'src/common/primitives',
entryPoints: ['src/primitives/**/*.ts'],
outbase: 'src/primitives',
outdir: 'out-esbuild/common',
},
{
...outConfig,
entryPoints: ['src/common/runtime/**/*.ts'],
outbase: 'src/common/runtime',
entryPoints: ['src/runtime/**/*.ts'],
outbase: 'src/runtime',
outdir: 'out-esbuild/common',
},
{