@virmator/init 14.2.2 → 14.3.1

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
@@ -21,6 +21,7 @@ A default plugin for [virmator](https://www.npmjs.com/package/virmator).
21
21
  - www-static/index.css
22
22
  - www-static/\_redirects
23
23
  - .gitattributes
24
+ - .npmrc
24
25
  - .nvmrc
25
26
  - .gitignore
26
27
  - LICENSE-MIT
@@ -0,0 +1 @@
1
+ ignore-scripts=true
package/dist/init.d.ts CHANGED
@@ -140,6 +140,19 @@ export declare const virmatorInitPlugin: Readonly<Readonly<{
140
140
  };
141
141
  readonly required: false;
142
142
  };
143
+ readonly npmrc: {
144
+ readonly copyFromPath: string;
145
+ readonly copyToPath: string;
146
+ readonly env: {
147
+ readonly web: true;
148
+ readonly node: true;
149
+ };
150
+ readonly packageType: {
151
+ readonly "top-level-package": true;
152
+ readonly "mono-root": true;
153
+ };
154
+ readonly required: false;
155
+ };
143
156
  readonly nvmrc: {
144
157
  readonly copyFromPath: string;
145
158
  readonly copyToPath: string;
@@ -403,6 +416,19 @@ export declare const virmatorInitPlugin: Readonly<Readonly<{
403
416
  };
404
417
  readonly required: false;
405
418
  };
419
+ readonly npmrc: {
420
+ readonly copyFromPath: string;
421
+ readonly copyToPath: string;
422
+ readonly env: {
423
+ readonly web: true;
424
+ readonly node: true;
425
+ };
426
+ readonly packageType: {
427
+ readonly "top-level-package": true;
428
+ readonly "mono-root": true;
429
+ };
430
+ readonly required: false;
431
+ };
406
432
  readonly nvmrc: {
407
433
  readonly copyFromPath: string;
408
434
  readonly copyToPath: string;
package/dist/init.js CHANGED
@@ -196,6 +196,19 @@ export const virmatorInitPlugin = defineVirmatorPlugin(import.meta.dirname, {
196
196
  },
197
197
  required: false,
198
198
  },
199
+ npmrc: {
200
+ copyFromPath: join('configs', 'npmrc.txt'),
201
+ copyToPath: join('.npmrc'),
202
+ env: {
203
+ [RuntimeEnv.Web]: true,
204
+ [RuntimeEnv.Node]: true,
205
+ },
206
+ packageType: {
207
+ [PackageType.TopPackage]: true,
208
+ [PackageType.MonoRoot]: true,
209
+ },
210
+ required: false,
211
+ },
199
212
  nvmrc: {
200
213
  copyFromPath: join('configs', 'nvmrc.txt'),
201
214
  copyToPath: join('.nvmrc'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/init",
3
- "version": "14.2.2",
3
+ "version": "14.3.1",
4
4
  "description": "Default init plugin for virmator.",
5
5
  "keywords": [
6
6
  "virmator",
@@ -31,19 +31,19 @@
31
31
  "test:update": "npm test"
32
32
  },
33
33
  "dependencies": {
34
- "@augment-vir/assert": "^31.46.1",
35
- "@augment-vir/common": "^31.46.1",
36
- "@augment-vir/node": "^31.46.1",
37
- "@virmator/core": "^14.2.2",
38
- "simple-git": "^3.28.0"
34
+ "@augment-vir/assert": "^31.52.0",
35
+ "@augment-vir/common": "^31.52.0",
36
+ "@augment-vir/node": "^31.52.0",
37
+ "@virmator/core": "^14.3.1",
38
+ "simple-git": "^3.30.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@types/node": "^24.9.1",
42
- "element-vir": "^26.11.1",
41
+ "@types/node": "^24.10.1",
42
+ "element-vir": "^26.11.3",
43
43
  "mono-vir": "^2.4.1",
44
44
  "runstorm": "^0.6.2",
45
45
  "tsx": "^4.20.6",
46
- "type-fest": "^5.1.0"
46
+ "type-fest": "^5.2.0"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=22"