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
+3 -4
View File
@@ -15,9 +15,8 @@
"module": "nodenext",
"paths": {
"common/*": [
"../../src/common/primitives/*",
"../../src/common/runtime/*",
"../../src/common/*"
"../../src/primitives/*",
"../../src/runtime/*",
],
"target-browser/*": [ "../../src/target-browser/*" ],
"Terminal": ["../../src/Terminal"]
@@ -31,7 +30,7 @@
"../../**/*test.ts"
],
"references": [
{ "path": "../../src/common" },
{ "path": "../../src" },
{ "path": "../../src/target-browser" },
]
}
+3 -4
View File
@@ -22,9 +22,8 @@
"../../src/target-browser/*"
],
"common/*": [
"../../src/common/primitives/*",
"../../src/common/runtime/*",
"../../src/common/*"
"../../src/primitives/*",
"../../src/runtime/*",
]
},
"target": "ESNext",
@@ -40,7 +39,7 @@
"path": "../../src/target-browser"
},
{
"path": "../../src/common"
"path": "../../src"
}
]
}