@effected/pnpm-plugin-effect 0.6.10 → 0.6.12

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 CHANGED
@@ -38,13 +38,29 @@ pnpm add --config @effected/pnpm-plugin-effect
38
38
 
39
39
  Requires pnpm 11 or newer, and Node.js >=24.11.0. There is no npm or yarn equivalent: config dependencies and catalogs are pnpm features.
40
40
 
41
- The command writes the package into your `pnpm-workspace.yaml`, filling in the version and the required integrity hash for you:
41
+ The command writes the package into your `pnpm-workspace.yaml`:
42
42
 
43
43
  ```yaml
44
44
  configDependencies:
45
45
  "@effected/pnpm-plugin-effect": <version>+sha512-...
46
46
  ```
47
47
 
48
+ **Check that file afterwards, and expect to fix it by hand.** On pnpm 11.24.0 `pnpm add --config` writes the new entry **without** an integrity hash, and strips the `+sha512-…` suffix from every *other* config dependency already listed — including ones the command had no reason to touch. A later `pnpm install` does not restore them. Config dependencies are installed ahead of everything else and can contribute hooks that run during install, so the integrity pin is the thing standing between you and an unverified package with that reach.
49
+
50
+ Hand-written hashes are accepted and preserved, so the fix is to put them back:
51
+
52
+ ```yaml
53
+ configDependencies:
54
+ "@effected/pnpm-plugin-effect": 0.6.11+sha512-...
55
+ "@your-org/other-config-dep": 1.2.3+sha512-... # restore this one too
56
+ ```
57
+
58
+ You can read the correct hash for a version out of the registry:
59
+
60
+ ```bash
61
+ npm view "@effected/pnpm-plugin-effect@<version>" dist.integrity
62
+ ```
63
+
48
64
  ## Usage
49
65
 
50
66
  Once installed, all four catalogs are available to every package in the workspace. Reference them from `package.json` by name, in place of a version range. Which field they go in depends on whether you are building an application or a library.
package/index.js CHANGED
@@ -61,7 +61,7 @@ const catalogs = /* @__PURE__ */ new Map([
61
61
  ["effect", "4.0.0-rc.109"]
62
62
  ])],
63
63
  ["effected", /* @__PURE__ */ new Map([
64
- ["@effected/app", "^0.13.0"],
64
+ ["@effected/app", "^0.13.1"],
65
65
  ["@effected/cli", "^0.2.0"],
66
66
  ["@effected/commands", "^0.5.0"],
67
67
  ["@effected/config-file", "^0.5.2"],
@@ -76,18 +76,19 @@ const catalogs = /* @__PURE__ */ new Map([
76
76
  ["@effected/markdown", "^0.7.0"],
77
77
  ["@effected/memfs", "^0.5.0"],
78
78
  ["@effected/npm", "^0.12.1"],
79
- ["@effected/package-json", "^0.12.0"],
79
+ ["@effected/package-json", "^0.13.0"],
80
80
  ["@effected/runtimes", "^0.4.3"],
81
- ["@effected/sbom", "^0.4.3"],
81
+ ["@effected/sbom", "^0.4.4"],
82
+ ["@effected/schema-org", "^0.1.0"],
82
83
  ["@effected/schemastore", "^0.4.0"],
83
84
  ["@effected/semver", "^0.5.0"],
84
- ["@effected/spdx", "^0.4.0"],
85
+ ["@effected/spdx", "^0.5.0"],
85
86
  ["@effected/store", "^0.5.0"],
86
87
  ["@effected/templates", "^0.4.0"],
87
88
  ["@effected/toml", "^0.5.0"],
88
89
  ["@effected/tsconfig-json", "^0.6.1"],
89
90
  ["@effected/walker", "^0.5.0"],
90
- ["@effected/workspaces", "^0.18.2"],
91
+ ["@effected/workspaces", "^0.18.3"],
91
92
  ["@effected/xdg", "^0.3.0"],
92
93
  ["@effected/yaml", "^0.12.0"]
93
94
  ])],
@@ -107,12 +108,13 @@ const catalogs = /* @__PURE__ */ new Map([
107
108
  ["@effected/markdown", "^0.7.0"],
108
109
  ["@effected/memfs", "^0.5.0"],
109
110
  ["@effected/npm", "^0.12.0"],
110
- ["@effected/package-json", "^0.12.0"],
111
+ ["@effected/package-json", "^0.13.0"],
111
112
  ["@effected/runtimes", "^0.4.0"],
112
113
  ["@effected/sbom", "^0.4.0"],
114
+ ["@effected/schema-org", "^0.1.0"],
113
115
  ["@effected/schemastore", "^0.4.0"],
114
116
  ["@effected/semver", "^0.5.0"],
115
- ["@effected/spdx", "^0.4.0"],
117
+ ["@effected/spdx", "^0.5.0"],
116
118
  ["@effected/store", "^0.5.0"],
117
119
  ["@effected/templates", "^0.4.0"],
118
120
  ["@effected/toml", "^0.5.0"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effected/pnpm-plugin-effect",
3
- "version": "0.6.10",
3
+ "version": "0.6.12",
4
4
  "private": false,
5
5
  "description": "pnpm config dependency for centralized catalog management across the Effected ecosystem.",
6
6
  "keywords": [
package/pnpmfile.cjs CHANGED
@@ -492,7 +492,7 @@ const hooks = createHooks({
492
492
  "effect": "4.0.0-rc.109"
493
493
  },
494
494
  "effected": {
495
- "@effected/app": "^0.13.0",
495
+ "@effected/app": "^0.13.1",
496
496
  "@effected/cli": "^0.2.0",
497
497
  "@effected/commands": "^0.5.0",
498
498
  "@effected/config-file": "^0.5.2",
@@ -507,18 +507,19 @@ const hooks = createHooks({
507
507
  "@effected/markdown": "^0.7.0",
508
508
  "@effected/memfs": "^0.5.0",
509
509
  "@effected/npm": "^0.12.1",
510
- "@effected/package-json": "^0.12.0",
510
+ "@effected/package-json": "^0.13.0",
511
511
  "@effected/runtimes": "^0.4.3",
512
- "@effected/sbom": "^0.4.3",
512
+ "@effected/sbom": "^0.4.4",
513
+ "@effected/schema-org": "^0.1.0",
513
514
  "@effected/schemastore": "^0.4.0",
514
515
  "@effected/semver": "^0.5.0",
515
- "@effected/spdx": "^0.4.0",
516
+ "@effected/spdx": "^0.5.0",
516
517
  "@effected/store": "^0.5.0",
517
518
  "@effected/templates": "^0.4.0",
518
519
  "@effected/toml": "^0.5.0",
519
520
  "@effected/tsconfig-json": "^0.6.1",
520
521
  "@effected/walker": "^0.5.0",
521
- "@effected/workspaces": "^0.18.2",
522
+ "@effected/workspaces": "^0.18.3",
522
523
  "@effected/xdg": "^0.3.0",
523
524
  "@effected/yaml": "^0.12.0"
524
525
  },
@@ -538,12 +539,13 @@ const hooks = createHooks({
538
539
  "@effected/markdown": "^0.7.0",
539
540
  "@effected/memfs": "^0.5.0",
540
541
  "@effected/npm": "^0.12.0",
541
- "@effected/package-json": "^0.12.0",
542
+ "@effected/package-json": "^0.13.0",
542
543
  "@effected/runtimes": "^0.4.0",
543
544
  "@effected/sbom": "^0.4.0",
545
+ "@effected/schema-org": "^0.1.0",
544
546
  "@effected/schemastore": "^0.4.0",
545
547
  "@effected/semver": "^0.5.0",
546
- "@effected/spdx": "^0.4.0",
548
+ "@effected/spdx": "^0.5.0",
547
549
  "@effected/store": "^0.5.0",
548
550
  "@effected/templates": "^0.4.0",
549
551
  "@effected/toml": "^0.5.0",
package/pnpmfile.mjs CHANGED
@@ -491,7 +491,7 @@ const hooks = createHooks({
491
491
  "effect": "4.0.0-rc.109"
492
492
  },
493
493
  "effected": {
494
- "@effected/app": "^0.13.0",
494
+ "@effected/app": "^0.13.1",
495
495
  "@effected/cli": "^0.2.0",
496
496
  "@effected/commands": "^0.5.0",
497
497
  "@effected/config-file": "^0.5.2",
@@ -506,18 +506,19 @@ const hooks = createHooks({
506
506
  "@effected/markdown": "^0.7.0",
507
507
  "@effected/memfs": "^0.5.0",
508
508
  "@effected/npm": "^0.12.1",
509
- "@effected/package-json": "^0.12.0",
509
+ "@effected/package-json": "^0.13.0",
510
510
  "@effected/runtimes": "^0.4.3",
511
- "@effected/sbom": "^0.4.3",
511
+ "@effected/sbom": "^0.4.4",
512
+ "@effected/schema-org": "^0.1.0",
512
513
  "@effected/schemastore": "^0.4.0",
513
514
  "@effected/semver": "^0.5.0",
514
- "@effected/spdx": "^0.4.0",
515
+ "@effected/spdx": "^0.5.0",
515
516
  "@effected/store": "^0.5.0",
516
517
  "@effected/templates": "^0.4.0",
517
518
  "@effected/toml": "^0.5.0",
518
519
  "@effected/tsconfig-json": "^0.6.1",
519
520
  "@effected/walker": "^0.5.0",
520
- "@effected/workspaces": "^0.18.2",
521
+ "@effected/workspaces": "^0.18.3",
521
522
  "@effected/xdg": "^0.3.0",
522
523
  "@effected/yaml": "^0.12.0"
523
524
  },
@@ -537,12 +538,13 @@ const hooks = createHooks({
537
538
  "@effected/markdown": "^0.7.0",
538
539
  "@effected/memfs": "^0.5.0",
539
540
  "@effected/npm": "^0.12.0",
540
- "@effected/package-json": "^0.12.0",
541
+ "@effected/package-json": "^0.13.0",
541
542
  "@effected/runtimes": "^0.4.0",
542
543
  "@effected/sbom": "^0.4.0",
544
+ "@effected/schema-org": "^0.1.0",
543
545
  "@effected/schemastore": "^0.4.0",
544
546
  "@effected/semver": "^0.5.0",
545
- "@effected/spdx": "^0.4.0",
547
+ "@effected/spdx": "^0.5.0",
546
548
  "@effected/store": "^0.5.0",
547
549
  "@effected/templates": "^0.4.0",
548
550
  "@effected/toml": "^0.5.0",