@mmmnt/feature 0.9.0 → 0.10.1
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/README.md +1 -1
- package/bin/run.js +6 -0
- package/package.json +9 -6
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ npm install --save-dev @mmmnt/feature
|
|
|
40
40
|
|
|
41
41
|
Requirements:
|
|
42
42
|
|
|
43
|
-
- **Node
|
|
43
|
+
- **Node 22 or later** (the package's `engines` field; `@oclif/core` 5 requires it).
|
|
44
44
|
- **Vitest** in the project, as a dev dependency (`>=3.2.0`, a peer dependency;
|
|
45
45
|
`feat init` installs it). Generated suites are ordinary Vitest files and
|
|
46
46
|
`feat run` runs the vitest your project installed, found from the project root
|
package/bin/run.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { execute } from "@oclif/core";
|
|
3
3
|
|
|
4
|
+
// A reader that closed stdout early (`feat lint | head -1`) wants no more output: end as @oclif/core 4 did, with
|
|
5
|
+
// exit 0. On 5, execute() awaits a flush whose 'drain' a closed pipe never emits, leaving the await unsettled.
|
|
6
|
+
process.stdout.on("error", (err) => {
|
|
7
|
+
if (err && err.code === "EPIPE") process.exit(0);
|
|
8
|
+
});
|
|
9
|
+
|
|
4
10
|
await execute({ dir: import.meta.url });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmmnt/feature",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "The feat CLI — Feature, the quality spine of AI-native delivery.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -20,15 +20,18 @@
|
|
|
20
20
|
"topicSeparator": " "
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@oclif/core": "^
|
|
24
|
-
"@mmmnt/feat-core": "^0.
|
|
25
|
-
"@mmmnt/feat-derive": "^0.4.
|
|
23
|
+
"@oclif/core": "^5.1.12",
|
|
24
|
+
"@mmmnt/feat-core": "^0.8.0",
|
|
25
|
+
"@mmmnt/feat-derive": "^0.4.1",
|
|
26
|
+
"@mmmnt/feat-runtime": "^0.6.0",
|
|
26
27
|
"@mmmnt/feat-emit-ts": "^0.2.1",
|
|
27
|
-
"@mmmnt/feat-types": "^0.
|
|
28
|
-
"@mmmnt/feat-runtime": "^0.5.0",
|
|
28
|
+
"@mmmnt/feat-types": "^0.6.0",
|
|
29
29
|
"@mmmnt/feat-runner": "^0.4.0",
|
|
30
30
|
"@mmmnt/feat-analyze": "^0.1.9"
|
|
31
31
|
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=22"
|
|
34
|
+
},
|
|
32
35
|
"peerDependencies": {
|
|
33
36
|
"vitest": ">=3.2.0"
|
|
34
37
|
},
|