virmator 14.22.0 → 14.23.0

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
@@ -73,8 +73,13 @@ Note that as of v13, this package is now in ESM.
73
73
 
74
74
  Force regeneration of all all dependencies by deleting all node_modules directories and package-lock.json and then running 'npm i'.
75
75
 
76
+ If npm's effective 'min-release-age' is set (resolved across project, user, and global config), any direct dependency that matches the deps-regen allow list but currently pins a too-recent version is temporarily downgraded to the most recent version that satisfies 'min-release-age' so the install succeeds. After regeneration, each such dependency is re-installed at its original version with '--min-release-age=0' (in its own package, or the mono-repo root) and its original 'package.json' version is restored.
77
+
78
+ The allow list defaults to 'configs/deps-regen.config.ts' (as placed by 'virmator init'); a missing default config is silently skipped. Override it with '--config <path>'; an explicitly-provided config that does not exist is an error.
79
+
76
80
  - Examples
77
81
  - `virmator deps regen`
82
+ - use a custom deps-regen allow list: `virmator deps regen --config ./configs/deps-regen.config.ts`
78
83
 
79
84
  - **docs**
80
85
 
package/dist/index.d.ts CHANGED
@@ -265,9 +265,12 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
265
265
  };
266
266
  readonly regen: {
267
267
  readonly doc: {
268
- readonly sections: readonly ["\n Force regeneration of all all dependencies by deleting all\n node_modules directories and package-lock.json and then\n running 'npm i'.\n "];
268
+ readonly sections: readonly ["\n Force regeneration of all all dependencies by deleting all\n node_modules directories and package-lock.json and then\n running 'npm i'.\n ", "\n If npm's effective 'min-release-age' is set (resolved across\n project, user, and global config), any direct dependency that\n matches the deps-regen allow list but currently pins a too-recent\n version is temporarily downgraded to the most recent version that\n satisfies 'min-release-age' so the install succeeds. After\n regeneration, each such dependency is re-installed at its original\n version with '--min-release-age=0' (in its own package, or the\n mono-repo root) and its original 'package.json' version is\n restored.\n ", "\n The allow list defaults to 'configs/deps-regen.config.ts' (as\n placed by 'virmator init'); a missing default config is silently\n skipped. Override it with '--config <path>'; an explicitly-provided\n config that does not exist is an error.\n "];
269
269
  readonly examples: readonly [{
270
270
  readonly content: "virmator deps regen";
271
+ }, {
272
+ readonly title: "use a custom deps-regen allow list";
273
+ readonly content: "virmator deps regen --config ./configs/deps-regen.config.ts";
271
274
  }];
272
275
  };
273
276
  };
@@ -390,9 +393,12 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
390
393
  };
391
394
  readonly regen: {
392
395
  readonly doc: {
393
- readonly sections: readonly ["\n Force regeneration of all all dependencies by deleting all\n node_modules directories and package-lock.json and then\n running 'npm i'.\n "];
396
+ readonly sections: readonly ["\n Force regeneration of all all dependencies by deleting all\n node_modules directories and package-lock.json and then\n running 'npm i'.\n ", "\n If npm's effective 'min-release-age' is set (resolved across\n project, user, and global config), any direct dependency that\n matches the deps-regen allow list but currently pins a too-recent\n version is temporarily downgraded to the most recent version that\n satisfies 'min-release-age' so the install succeeds. After\n regeneration, each such dependency is re-installed at its original\n version with '--min-release-age=0' (in its own package, or the\n mono-repo root) and its original 'package.json' version is\n restored.\n ", "\n The allow list defaults to 'configs/deps-regen.config.ts' (as\n placed by 'virmator init'); a missing default config is silently\n skipped. Override it with '--config <path>'; an explicitly-provided\n config that does not exist is an error.\n "];
394
397
  readonly examples: readonly [{
395
398
  readonly content: "virmator deps regen";
399
+ }, {
400
+ readonly title: "use a custom deps-regen allow list";
401
+ readonly content: "virmator deps regen --config ./configs/deps-regen.config.ts";
396
402
  }];
397
403
  };
398
404
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "14.22.0",
3
+ "version": "14.23.0",
4
4
  "description": "Handle common package configs, commands, and dependencies.",
5
5
  "keywords": [
6
6
  "automation",
@@ -40,18 +40,18 @@
40
40
  "dependencies": {
41
41
  "@augment-vir/common": "^31.71.3",
42
42
  "@augment-vir/node": "^31.71.3",
43
- "@virmator/compile": "^14.22.0",
44
- "@virmator/core": "^14.22.0",
45
- "@virmator/deps": "^14.22.0",
46
- "@virmator/docs": "^14.22.0",
47
- "@virmator/format": "^14.22.0",
48
- "@virmator/frontend": "^14.22.0",
49
- "@virmator/help": "^14.22.0",
50
- "@virmator/init": "^14.22.0",
51
- "@virmator/lint": "^14.22.0",
52
- "@virmator/publish": "^14.22.0",
53
- "@virmator/spellcheck": "^14.22.0",
54
- "@virmator/test": "^14.22.0",
43
+ "@virmator/compile": "^14.23.0",
44
+ "@virmator/core": "^14.23.0",
45
+ "@virmator/deps": "^14.23.0",
46
+ "@virmator/docs": "^14.23.0",
47
+ "@virmator/format": "^14.23.0",
48
+ "@virmator/frontend": "^14.23.0",
49
+ "@virmator/help": "^14.23.0",
50
+ "@virmator/init": "^14.23.0",
51
+ "@virmator/lint": "^14.23.0",
52
+ "@virmator/publish": "^14.23.0",
53
+ "@virmator/spellcheck": "^14.23.0",
54
+ "@virmator/test": "^14.23.0",
55
55
  "tsx": "^4.22.3"
56
56
  },
57
57
  "devDependencies": {