@outcomeeng/spx 0.2.0 → 0.3.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 +68 -41
- package/bin/spx.js +17 -20
- package/dist/cli.js +1954 -467
- package/dist/cli.js.map +1 -1
- package/package.json +27 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outcomeeng/spx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Developer CLI for code validation and session management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -34,25 +34,27 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsup",
|
|
36
36
|
"dev": "tsup --watch",
|
|
37
|
-
"test": "vitest run",
|
|
37
|
+
"test": "pnpm run build && vitest run",
|
|
38
38
|
"test:watch": "vitest",
|
|
39
39
|
"test:unit": "vitest run tests/unit",
|
|
40
|
-
"test:integration": "vitest run tests/integration",
|
|
41
|
-
"test:e2e": "vitest run tests/e2e",
|
|
42
|
-
"test:coverage": "vitest run --coverage",
|
|
43
|
-
"typecheck": "
|
|
44
|
-
"typecheck:production": "
|
|
45
|
-
"lint": "
|
|
46
|
-
"lint:fix": "
|
|
47
|
-
"lint:production": "
|
|
48
|
-
"validate": "
|
|
49
|
-
"validate:production": "
|
|
50
|
-
"
|
|
51
|
-
"
|
|
40
|
+
"test:integration": "pnpm run build && vitest run tests/integration",
|
|
41
|
+
"test:e2e": "pnpm run build && vitest run tests/e2e",
|
|
42
|
+
"test:coverage": "pnpm run build && vitest run --coverage",
|
|
43
|
+
"typecheck": "tsx src/cli.ts validation typescript",
|
|
44
|
+
"typecheck:production": "tsx src/cli.ts validation typescript --scope production",
|
|
45
|
+
"lint": "tsx src/cli.ts validation lint",
|
|
46
|
+
"lint:fix": "tsx src/cli.ts validation lint --fix",
|
|
47
|
+
"lint:production": "tsx src/cli.ts validation lint --scope production",
|
|
48
|
+
"validate": "tsx src/cli.ts validation all",
|
|
49
|
+
"validate:production": "tsx src/cli.ts validation all --scope production",
|
|
50
|
+
"validate:published": "node bin/spx.js validation all --scope production",
|
|
51
|
+
"publish:check": "pnpm run validate && pnpm run build && vitest run && pnpm run validate:published",
|
|
52
|
+
"knip": "tsx src/cli.ts validation knip",
|
|
53
|
+
"circular": "tsx src/cli.ts validation circular",
|
|
52
54
|
"format": "prettier --write .",
|
|
53
55
|
"format:check": "prettier --check .",
|
|
54
56
|
"prepare": "lefthook install",
|
|
55
|
-
"prepublishOnly": "pnpm run
|
|
57
|
+
"prepublishOnly": "pnpm run publish:check"
|
|
56
58
|
},
|
|
57
59
|
"keywords": [
|
|
58
60
|
"cli",
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
"devDependencies": {
|
|
66
68
|
"@faker-js/faker": "^10.2.0",
|
|
67
69
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
70
|
+
"@types/estree": "^1.0.8",
|
|
68
71
|
"@types/madge": "^5.0.3",
|
|
69
72
|
"@types/node": "^20.10.0",
|
|
70
73
|
"@vitest/coverage-v8": "^4.0.18",
|
|
@@ -74,9 +77,9 @@
|
|
|
74
77
|
"fast-check": "^4.5.3",
|
|
75
78
|
"globals": "^17.0.0",
|
|
76
79
|
"husky": "^9.1.7",
|
|
77
|
-
"lefthook": "^1.10.10",
|
|
78
80
|
"jsonc-parser": "^3.3.1",
|
|
79
81
|
"knip": "^5.80.0",
|
|
82
|
+
"lefthook": "^1.10.10",
|
|
80
83
|
"prettier": "^3.7.4",
|
|
81
84
|
"tsup": "^8.0.1",
|
|
82
85
|
"tsx": "^4.21.0",
|
|
@@ -85,11 +88,18 @@
|
|
|
85
88
|
"vitest": "^4.0.18"
|
|
86
89
|
},
|
|
87
90
|
"dependencies": {
|
|
91
|
+
"@typescript-eslint/parser": "^8.59.0",
|
|
92
|
+
"@typescript-eslint/visitor-keys": "^8.59.0",
|
|
88
93
|
"chalk": "^5.6.2",
|
|
89
94
|
"commander": "^11.1.0",
|
|
95
|
+
"eslint-visitor-keys": "^5.0.1",
|
|
90
96
|
"execa": "^9.6.1",
|
|
97
|
+
"fast-xml-parser": "^5.7.2",
|
|
91
98
|
"madge": "^8.0.0",
|
|
99
|
+
"markdownlint-cli2": "^0.22.0",
|
|
100
|
+
"markdownlint-rule-relative-links": "^5.1.0",
|
|
101
|
+
"smol-toml": "^1.6.1",
|
|
92
102
|
"yaml": "^2.8.2"
|
|
93
103
|
},
|
|
94
|
-
"packageManager": "pnpm@10.
|
|
104
|
+
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
|
|
95
105
|
}
|