@trebired/code-discipline 6.0.4 → 6.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ This project follows semantic versioning once published.
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
## 6.0.5
|
|
10
|
+
|
|
11
|
+
- Fixed native dead-import detection for compact namespace imports such as `import *as value from "package"`.
|
|
12
|
+
|
|
9
13
|
## 6.0.4
|
|
10
14
|
|
|
11
15
|
- Fixed external preset package resolution for import-only package `exports`.
|
package/native/darwin-arm64.node
CHANGED
|
Binary file
|
package/native/darwin-x64.node
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trebired/code-discipline",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.5",
|
|
4
4
|
"description": "Configurable codebase discipline checks and rule-driven fixes for Bun projects.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -41,13 +41,14 @@
|
|
|
41
41
|
"demo": "bun run examples/dummy.ts",
|
|
42
42
|
"discipline": "bun node_modules/@trebired/code-discipline/dist/cli.js check",
|
|
43
43
|
"discipline:fix": "bun node_modules/@trebired/code-discipline/dist/cli.js fix",
|
|
44
|
-
"prepublishOnly": "bun run typecheck && bun run build && bun run build:native && bun run verify:max-line-fixer && bun run verify:language-support && bun run verify:language-dry && bun run verify:formatter && bun run verify:presets && bun run verify:generated-artifacts",
|
|
44
|
+
"prepublishOnly": "bun run typecheck && bun run build && bun run build:native && bun run verify:max-line-fixer && bun run verify:language-support && bun run verify:language-dry && bun run verify:formatter && bun run verify:presets && bun run verify:generated-artifacts && bun run verify:imports-dead",
|
|
45
45
|
"prepare:generated": "bun ./scripts/build/generated/tsconfig.mjs",
|
|
46
46
|
"publish:package": "bun run build:native:matrix && bun publish",
|
|
47
47
|
"publish:package:host": "bun run build:native && bun publish",
|
|
48
48
|
"typecheck": "bun run prepare:generated && tsc --noEmit",
|
|
49
49
|
"verify:generated-artifacts": "bun ./scripts/verify/generated/artifacts.mjs",
|
|
50
50
|
"verify:formatter": "bun ./scripts/verify/formatter.mjs",
|
|
51
|
+
"verify:imports-dead": "bun ./scripts/verify/imports/dead.mjs",
|
|
51
52
|
"verify:language-dry": "bun ./scripts/verify/language/dry.mjs",
|
|
52
53
|
"verify:language-support": "bun ./scripts/verify/language/support.mjs",
|
|
53
54
|
"verify:max-line-fixer": "bun ./scripts/verify/max/line/fixer.mjs",
|