virmator 14.21.3 → 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.
Files changed (3) hide show
  1. package/README.md +6 -2
  2. package/dist/index.d.ts +34 -46
  3. package/package.json +13 -13
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
 
@@ -169,6 +174,7 @@ Note that as of v13, this package is now in ESM.
169
174
  - .github/workflows/tagged-release.yml
170
175
  - .github/workflows/tests.yml
171
176
  - .vscode/settings.json
177
+ - configs/deps-regen.config.ts
172
178
  - src/ui/elements/vir-app.element.ts
173
179
  - src/index.html
174
180
  - www-static/index.css
@@ -192,10 +198,8 @@ Note that as of v13, this package is now in ESM.
192
198
  - eslint.config.ts
193
199
  - Deps
194
200
  - [eslint](https://npmjs.com/package/eslint)
195
- - [eslint-plugin-require-extensions](https://npmjs.com/package/eslint-plugin-require-extensions)
196
201
  - [eslint-plugin-unicorn](https://npmjs.com/package/eslint-plugin-unicorn)
197
202
  - [@eslint/js](https://npmjs.com/package/@eslint/js)
198
- - [@eslint/eslintrc](https://npmjs.com/package/@eslint/eslintrc)
199
203
  - [@stylistic/eslint-plugin](https://npmjs.com/package/@stylistic/eslint-plugin)
200
204
  - [@stylistic/eslint-plugin-ts](https://npmjs.com/package/@stylistic/eslint-plugin-ts)
201
205
  - [@typescript-eslint/eslint-plugin](https://npmjs.com/package/@typescript-eslint/eslint-plugin)
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
  };
@@ -1037,6 +1043,19 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
1037
1043
  };
1038
1044
  readonly required: false;
1039
1045
  };
1046
+ readonly depsRegen: {
1047
+ readonly copyFromPath: string;
1048
+ readonly copyToPath: string;
1049
+ readonly env: {
1050
+ readonly web: true;
1051
+ readonly node: true;
1052
+ };
1053
+ readonly packageType: {
1054
+ readonly package: true;
1055
+ readonly "mono-root": true;
1056
+ };
1057
+ readonly required: false;
1058
+ };
1040
1059
  readonly appElement: {
1041
1060
  readonly copyFromPath: string;
1042
1061
  readonly copyToPath: string;
@@ -1323,6 +1342,19 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
1323
1342
  };
1324
1343
  readonly required: false;
1325
1344
  };
1345
+ readonly depsRegen: {
1346
+ readonly copyFromPath: string;
1347
+ readonly copyToPath: string;
1348
+ readonly env: {
1349
+ readonly web: true;
1350
+ readonly node: true;
1351
+ };
1352
+ readonly packageType: {
1353
+ readonly package: true;
1354
+ readonly "mono-root": true;
1355
+ };
1356
+ readonly required: false;
1357
+ };
1326
1358
  readonly appElement: {
1327
1359
  readonly copyFromPath: string;
1328
1360
  readonly copyToPath: string;
@@ -1581,17 +1613,6 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
1581
1613
  readonly "mono-root": true;
1582
1614
  };
1583
1615
  };
1584
- readonly "eslint-plugin-require-extensions": {
1585
- readonly type: import("@virmator/core").NpmDepType.Dev;
1586
- readonly env: {
1587
- readonly node: true;
1588
- readonly web: true;
1589
- };
1590
- readonly packageType: {
1591
- readonly package: true;
1592
- readonly "mono-root": true;
1593
- };
1594
- };
1595
1616
  readonly "eslint-plugin-unicorn": {
1596
1617
  readonly type: import("@virmator/core").NpmDepType.Dev;
1597
1618
  readonly env: {
@@ -1614,17 +1635,6 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
1614
1635
  readonly "mono-root": true;
1615
1636
  };
1616
1637
  };
1617
- readonly "@eslint/eslintrc": {
1618
- readonly type: import("@virmator/core").NpmDepType.Dev;
1619
- readonly env: {
1620
- readonly node: true;
1621
- readonly web: true;
1622
- };
1623
- readonly packageType: {
1624
- readonly package: true;
1625
- readonly "mono-root": true;
1626
- };
1627
- };
1628
1638
  readonly "@stylistic/eslint-plugin": {
1629
1639
  readonly type: import("@virmator/core").NpmDepType.Dev;
1630
1640
  readonly env: {
@@ -1775,17 +1785,6 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
1775
1785
  readonly "mono-root": true;
1776
1786
  };
1777
1787
  };
1778
- readonly "eslint-plugin-require-extensions": {
1779
- readonly type: import("@virmator/core").NpmDepType.Dev;
1780
- readonly env: {
1781
- readonly node: true;
1782
- readonly web: true;
1783
- };
1784
- readonly packageType: {
1785
- readonly package: true;
1786
- readonly "mono-root": true;
1787
- };
1788
- };
1789
1788
  readonly "eslint-plugin-unicorn": {
1790
1789
  readonly type: import("@virmator/core").NpmDepType.Dev;
1791
1790
  readonly env: {
@@ -1808,17 +1807,6 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
1808
1807
  readonly "mono-root": true;
1809
1808
  };
1810
1809
  };
1811
- readonly "@eslint/eslintrc": {
1812
- readonly type: import("@virmator/core").NpmDepType.Dev;
1813
- readonly env: {
1814
- readonly node: true;
1815
- readonly web: true;
1816
- };
1817
- readonly packageType: {
1818
- readonly package: true;
1819
- readonly "mono-root": true;
1820
- };
1821
- };
1822
1810
  readonly "@stylistic/eslint-plugin": {
1823
1811
  readonly type: import("@virmator/core").NpmDepType.Dev;
1824
1812
  readonly env: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "14.21.3",
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.21.3",
44
- "@virmator/core": "^14.21.3",
45
- "@virmator/deps": "^14.21.3",
46
- "@virmator/docs": "^14.21.3",
47
- "@virmator/format": "^14.21.3",
48
- "@virmator/frontend": "^14.21.3",
49
- "@virmator/help": "^14.21.3",
50
- "@virmator/init": "^14.21.3",
51
- "@virmator/lint": "^14.21.3",
52
- "@virmator/publish": "^14.21.3",
53
- "@virmator/spellcheck": "^14.21.3",
54
- "@virmator/test": "^14.21.3",
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": {