Add strict pearcord module dependency guards for platform imports.
This introduces CI-enforced checks that compare index.js pearcord-* requires against declared dependencies and smoke-resolve imported modules, preventing undeclared module regressions in local file-link and attached runtime environments. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
"version": "0.1.0",
|
||||
"main": "index.js",
|
||||
"type": "commonjs",
|
||||
"scripts": {
|
||||
"test:imports": "node scripts/check-pearcord-module-imports.cjs --resolve",
|
||||
"test:deps": "node scripts/check-pearcord-module-imports.cjs",
|
||||
"ci:deps": "npm run test:deps && npm run test:imports"
|
||||
},
|
||||
"dependencies": {
|
||||
"bare-events": "^2.8.0",
|
||||
"bare-path": "^3.0.0",
|
||||
|
||||
Reference in New Issue
Block a user