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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d0b5e4005f25b7a15134752efae54631a8b91a41f35ebfa13d55f6696322b0b
4
- data.tar.gz: '0393d88c7e9a2ed3220041a0e3b3c92624851713ee50e70367dbddae84198a1c'
3
+ metadata.gz: 252d21d44d2c5a9d4e5ed0ccea80a2bc31e655e6169c0f0ed31ae5a8620c6d49
4
+ data.tar.gz: 667d7138e052e43010994f73dd20f199bf6f7d1e2c7d71e832e57c7b385810bf
5
5
  SHA512:
6
- metadata.gz: f13d84be69e038732078a9aa5fd8b0f8f0e87f0a1d59b3af42a3593a06b8cc2d2b2ab18257da6db31144b65aff80e3e044820024c842d7f4df7c2300c571086c
7
- data.tar.gz: dffca3d7f02fc0a60cb3619612376e1aac7e71318f510fc81a27c525f9aadceca14efd03273106c8d268f7d3b03d29f2af8efd756d854ab0319cb4dc0840a703
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- skyltmax_config (0.0.8)
4
+ skyltmax_config (0.0.9)
5
5
  rubocop (>= 1.81.0, < 2)
6
6
  rubocop-performance (>= 1.26.0, < 2)
7
7
  rubocop-rails (>= 2.33.0, < 3)
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`:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SkyltmaxConfig
4
- VERSION = "0.0.8"
4
+ VERSION = "0.0.9"
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signmax/config",
3
- "version": "0.0.8",
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
- "bump": "npx npm-check-updates --dep peer --target latest -i"
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
  }