dart-decimate 0.0.65 → 0.0.67
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/Cargo.lock +1 -1
- package/Cargo.toml +1 -1
- package/README.md +8 -8
- package/package.json +24 -18
package/Cargo.lock
CHANGED
package/Cargo.toml
CHANGED
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ You do not need to install anything permanently. Use the command above.
|
|
|
90
90
|
For repeatable automation, pin the version:
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
|
-
pnpm dlx dart-decimate@0.0.
|
|
93
|
+
pnpm dlx dart-decimate@0.0.67
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
Add this to `package.json` if you want a short project command:
|
|
@@ -101,7 +101,7 @@ Add this to `package.json` if you want a short project command:
|
|
|
101
101
|
"dart-decimate": "dart-decimate json ."
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"dart-decimate": "0.0.
|
|
104
|
+
"dart-decimate": "0.0.67"
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
```
|
|
@@ -117,7 +117,7 @@ pnpm run dart-decimate
|
|
|
117
117
|
If you prefer Cargo, install the matching tagged source:
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
|
-
cargo install --git https://github.com/sgaabdu4/dart-decimate.git --tag v0.0.
|
|
120
|
+
cargo install --git https://github.com/sgaabdu4/dart-decimate.git --tag v0.0.67 --locked
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
The npm release `X.Y.Z` and Cargo tag `vX.Y.Z` are verified against each other
|
|
@@ -128,7 +128,7 @@ Confirm a Cargo build's version with:
|
|
|
128
128
|
|
|
129
129
|
```bash
|
|
130
130
|
dart-decimate --version
|
|
131
|
-
# dart-decimate 0.0.
|
|
131
|
+
# dart-decimate 0.0.67
|
|
132
132
|
```
|
|
133
133
|
|
|
134
134
|
## pnpm dlx
|
|
@@ -539,7 +539,7 @@ Example shape:
|
|
|
539
539
|
{
|
|
540
540
|
"schema_version": "dart-decimate.report.v1",
|
|
541
541
|
"kind": "combined",
|
|
542
|
-
"tool": "dart-decimate 0.0.
|
|
542
|
+
"tool": "dart-decimate 0.0.67",
|
|
543
543
|
"command": "check",
|
|
544
544
|
"verdict": "fail",
|
|
545
545
|
"summary": {
|
|
@@ -555,7 +555,7 @@ Example shape:
|
|
|
555
555
|
|
|
556
556
|
The `dart-decimate.report.v1` field layout is unchanged. Its existing `tool`
|
|
557
557
|
string includes the producing version so saved reports identify the exact
|
|
558
|
-
build, for example `dart-decimate 0.0.
|
|
558
|
+
build, for example `dart-decimate 0.0.67`.
|
|
559
559
|
|
|
560
560
|
When grouped security findings hide additional occurrences, `next_steps` can
|
|
561
561
|
include `review-security-surface`, which reruns
|
|
@@ -643,7 +643,7 @@ you need the installed binary's exact list.
|
|
|
643
643
|
For a complete repository check, including discovered local packages:
|
|
644
644
|
|
|
645
645
|
```bash
|
|
646
|
-
pnpm dlx dart-decimate@0.0.
|
|
646
|
+
pnpm dlx dart-decimate@0.0.67 --strict
|
|
647
647
|
```
|
|
648
648
|
|
|
649
649
|
This runs every enabled check from the repository root. The default duplication
|
|
@@ -686,7 +686,7 @@ This repository forbids `unsafe_code`.
|
|
|
686
686
|
|
|
687
687
|
## Release Flow
|
|
688
688
|
|
|
689
|
-
Current source version: `0.0.
|
|
689
|
+
Current source version: `0.0.67`.
|
|
690
690
|
|
|
691
691
|
After the first public release, changes should go through pull requests. PRs to
|
|
692
692
|
`main` must bump both `Cargo.toml` and `package.json` above the base branch and to
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dart-decimate",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.67",
|
|
4
4
|
"description": "Rust-native codebase intelligence for Dart and Flutter module graphs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -25,36 +25,42 @@
|
|
|
25
25
|
"npm",
|
|
26
26
|
"!npm/bin-cache"
|
|
27
27
|
],
|
|
28
|
-
"engines": {
|
|
29
|
-
"node": ">=22.12.0"
|
|
30
|
-
},
|
|
31
|
-
"publishConfig": {
|
|
32
|
-
"access": "public"
|
|
33
|
-
},
|
|
34
|
-
"devDependencies": {
|
|
35
|
-
"@biomejs/biome": "2.5.14",
|
|
36
|
-
"@types/node": "22.20.4"
|
|
37
|
-
},
|
|
38
28
|
"scripts": {
|
|
39
29
|
"postinstall": "node npm/scripts/postinstall.js",
|
|
40
|
-
"test": "
|
|
41
|
-
"test:coverage": "
|
|
42
|
-
"test:performance": "cargo build --release --locked --bin dart-decimate &&
|
|
43
|
-
"typecheck": "
|
|
30
|
+
"test": "cargo build --release --locked && bun test tests/js/*.test.mjs",
|
|
31
|
+
"test:coverage": "cargo build --release --locked && bun test tests/js/*.test.mjs --coverage --coverage-reporter=lcov --coverage-dir=coverage --reporter=junit --reporter-outfile=coverage/junit.xml",
|
|
32
|
+
"test:performance": "cargo build --release --locked --bin dart-decimate && bun test tests/performance/*.test.mjs --reporter=junit --reporter-outfile=coverage/performance.xml",
|
|
33
|
+
"typecheck": "bun scripts/typecheck-js.mjs",
|
|
44
34
|
"version:check": "node scripts/check-version-sync.mjs",
|
|
45
|
-
"lint": "
|
|
35
|
+
"lint": "bun run version:check && bun run migration:check && bun run lint:js && bun run format:check",
|
|
46
36
|
"lint:js": "biome lint .",
|
|
47
37
|
"format": "biome format --write . && cargo fmt",
|
|
48
38
|
"format:check": "biome format . && cargo fmt --check",
|
|
49
39
|
"version:bump:check": "node scripts/check-pr-version-bump.mjs",
|
|
50
40
|
"release:check": "node scripts/check-release-version.mjs",
|
|
51
41
|
"migration:check": "node scripts/check-dart-decimate-migration.mjs",
|
|
52
|
-
"pack:check": "
|
|
42
|
+
"pack:check": "bun pm pack --dry-run",
|
|
53
43
|
"test:npm": "node npm/bin/dart-decimate.js --help",
|
|
54
44
|
"test:npm:mcp": "printf '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-11-25\"}}\\n' | node npm/bin/dart-decimate-mcp.js",
|
|
55
45
|
"test:postinstall:prebuilt": "node tests/npm/test-postinstall-prebuilt.js",
|
|
56
46
|
"test:npx:prebuilt": "node tests/npm/test-npx-prebuilt.js",
|
|
57
47
|
"test:release:parity": "node tests/npm/test-release-install-parity.js",
|
|
58
48
|
"test:npx:local": "node tests/npm/test-npx-local.js"
|
|
49
|
+
},
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=22.12.0"
|
|
52
|
+
},
|
|
53
|
+
"packageManager": "bun@1.4.3",
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
},
|
|
57
|
+
"overrides": {
|
|
58
|
+
"@types/node": {
|
|
59
|
+
"undici-types": "6.23.0"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@biomejs/biome": "2.5.14",
|
|
64
|
+
"@types/node": "22.20.4"
|
|
59
65
|
}
|
|
60
|
-
}
|
|
66
|
+
}
|