skyltmax_config 0.0.8 → 0.0.9
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/README.md +14 -0
- data/lib/skyltmax_config/version.rb +1 -1
- data/package.json +10 -3
- data/pnpm-lock.yaml +1877 -1420
- data/scripts/peer-deps/audit.js +116 -0
- data/scripts/peer-deps/install.js +160 -0
- data/tests/check-peers.test.js +76 -0
- data/tests/fixtures/manifest-no-peers.json +3 -0
- data/tests/fixtures/manifest-with-peers.json +6 -0
- data/tests/install-peers.test.js +79 -0
- metadata +7 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 252d21d44d2c5a9d4e5ed0ccea80a2bc31e655e6169c0f0ed31ae5a8620c6d49
|
|
4
|
+
data.tar.gz: 667d7138e052e43010994f73dd20f199bf6f7d1e2c7d71e832e57c7b385810bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b78d94ca3439d8cfc9a88b37602c8208e2678864bc1a79fc04971aa9db712dba0d2086d28fe2672c7eb49dcfccfaf20ff043a8b963280a02749b2763ae0dfe77
|
|
7
|
+
data.tar.gz: e4e6178ea79fc07e34b006d270e9bd2ff8381fa097628f06f8a7ffc228cc9b2b09d3112fb9b3b63d76dd9949f37a468db9bdfe25f6b54edac97e5ef1dfea564a
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
### Unreleased
|
|
4
4
|
|
|
5
|
+
### [0.0.9] - 2025-11-05
|
|
6
|
+
|
|
7
|
+
- feat: Add helper CLI for syncing peer dependencies.
|
|
8
|
+
- chore: Warn consumers about missing or mismatched peer dependencies on postinstall.
|
|
9
|
+
|
|
5
10
|
### [0.0.8] - 2025-11-05
|
|
6
11
|
|
|
7
12
|
- fix: Move dependencies to peer dependencies.
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -16,6 +16,20 @@ npm install --save-dev @signmax/config
|
|
|
16
16
|
pnpm add -D @signmax/config
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
Once the package is in place, sync the tooling versions we pin:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx signmax-config-peers --dry-run # inspect the command (optional)
|
|
23
|
+
npx signmax-config-peers
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
The helper installs the exact ESLint, Prettier, TypeScript, and plugin versions we dogfood with. It currently supports
|
|
27
|
+
`npm`, `pnpm`, and `bun`. If you prefer to manage things yourself, install each entry from
|
|
28
|
+
[`peerDependencies`](package.json) with the version locked there.
|
|
29
|
+
|
|
30
|
+
> After installation the package runs a lightweight audit and will warn if any peer is missing or pinned to a different
|
|
31
|
+
> version. When that happens, rerun `npx signmax-config-peers` to sync everything.
|
|
32
|
+
|
|
19
33
|
### Ruby
|
|
20
34
|
|
|
21
35
|
Include the gem in your `Gemfile`:
|
data/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signmax/config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,11 +32,15 @@
|
|
|
32
32
|
"./reset.d.ts": "./reset.d.ts",
|
|
33
33
|
"./eslint": "./eslint.js"
|
|
34
34
|
},
|
|
35
|
+
"bin": {
|
|
36
|
+
"signmax-config-peers": "./scripts/peer-deps/install.js"
|
|
37
|
+
},
|
|
35
38
|
"files": [
|
|
36
39
|
"*.js",
|
|
37
40
|
"*.json",
|
|
38
41
|
"*.d.ts",
|
|
39
42
|
"*.yml",
|
|
43
|
+
"scripts/**",
|
|
40
44
|
"lib/**",
|
|
41
45
|
"README.md",
|
|
42
46
|
"LICENSE"
|
|
@@ -49,7 +53,9 @@
|
|
|
49
53
|
"lint": "eslint .",
|
|
50
54
|
"typecheck": "tsc",
|
|
51
55
|
"validate": "run-p -l format lint typecheck",
|
|
52
|
-
"
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"postinstall": "node ./scripts/peer-deps/audit.js",
|
|
58
|
+
"bump": "npx npm-check-updates --dep prod,dev,peer,optional --target latest -i"
|
|
53
59
|
},
|
|
54
60
|
"peerDependencies": {
|
|
55
61
|
"@eslint/js": "9.39.1",
|
|
@@ -77,7 +83,8 @@
|
|
|
77
83
|
"devDependencies": {
|
|
78
84
|
"@types/react": "^18.3.0",
|
|
79
85
|
"npm-run-all": "^4.1.5",
|
|
80
|
-
"react": "^18.3.0"
|
|
86
|
+
"react": "^18.3.0",
|
|
87
|
+
"vitest": "4.0.7"
|
|
81
88
|
},
|
|
82
89
|
"prettier": "./prettier.js"
|
|
83
90
|
}
|