A new workspace-acyclicity invariant on main (run via the PR merge) flagged compound-engineering -> @fusion/dashboard -> compound-engineering: the plugin is listed in @fusion/dashboard's deps (for view loading) AND declared @fusion/dashboard as a runtime dependency, which the cycle check (deps+devDeps) and the 'bundled plugins must not depend on host packages' check both reject. The plugin's only @fusion/dashboard use is the type-only PluginDashboardViewContext import. Drop the @fusion/dashboard dependency and resolve that type via an ambient dashboard-interop.d.ts + tsconfig paths mapping (the fusion-plugin-dependency-graph interop pattern). Breaks the cycle; the host passes the real context at runtime.
38 lines
958 B
JSON
38 lines
958 B
JSON
{
|
|
"name": "@fusion-plugin-examples/compound-engineering",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"description": "Compound Engineering plugin for Fusion",
|
|
"private": true,
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./src/index.ts"
|
|
},
|
|
"./dashboard-view": {
|
|
"types": "./src/dashboard-view.tsx",
|
|
"import": "./src/dashboard-view.tsx"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run --silent=passed-only --reporter=dot"
|
|
},
|
|
"dependencies": {
|
|
"@fusion/core": "workspace:*",
|
|
"@fusion/plugin-sdk": "workspace:*",
|
|
"lucide-react": "^0.542.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/react": "^19.0.0",
|
|
"@types/node": "^25.5.2",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|