build: declare workspace dependencies and check them in CI (P0.2)
Packages relied on npm hoisting for imports they never declared, so a package installed on its own fails (UF-024). - server: + @waggle/marketplace, @waggle/sdk, @waggle/weaver, zod (MIT), @anthropic-ai/sdk (MIT), @ax-llm/ax (Apache-2.0); - @waggle/hive-mind-shim-core and stripe (unused) - agent: + pdf-parse (Apache-2.0); playwright-core (Apache-2.0) as an optional peer, since it is loaded only when available - worker: + @waggle/waggle-dance; web: + @waggle/shared - launcher: + @waggle/server as a dev dependency (bundled by tsup); - stripe; cli: - @waggle/weaver (unused); root: - stripe scripts/check-workspace-deps.mjs (npm run check:deps) compares the imports in each community-edition package's src/ with its manifest and runs in CI. Two imports wait for P1.4 (optimizer, evolution wiring).
This commit is contained in:
@@ -56,12 +56,12 @@
|
||||
"pdf-parse": "^2.4.5",
|
||||
"postgres": "^3.4.0",
|
||||
"sqlite-vec": "^0.1.7-alpha.2",
|
||||
"stripe": "^21.0.1",
|
||||
"undici": "^6.27.0",
|
||||
"ws": "^8.21.0",
|
||||
"zod": "^3.24.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@waggle/server": "*",
|
||||
"tsup": "^8.5.1",
|
||||
"tsx": "^4.21.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user