@virmator/init 14.15.0 → 14.17.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.
@@ -12,15 +12,15 @@
12
12
  "format": "virmator format",
13
13
  "lint": "virmator lint fix",
14
14
  "publish": "virmator publish npm run test:all",
15
- "test": "mono-vir for-each-async npm run test",
15
+ "test": "virmator test node",
16
16
  "test:all": "npm run compile && runstorm --names tests,spelling,format,docs,deps,lint \"npm run test:coverage\" \"npm run test:spelling\" \"npm run test:format\" \"npm run test:docs\" \"npm run test:deps\" \"npm run test:lint\"",
17
- "test:coverage": "mono-vir for-each-async npm run test:coverage",
17
+ "test:coverage": "npm run test coverage",
18
18
  "test:deps": "virmator deps check",
19
19
  "test:docs": "virmator docs check",
20
20
  "test:format": "virmator format check",
21
21
  "test:lint": "virmator lint",
22
22
  "test:spelling": "virmator spellcheck",
23
- "test:update": "mono-vir for-each-async npm run test:update"
23
+ "test:update": "npm run test update"
24
24
  },
25
25
  "engines": {
26
26
  "node": ">=22"
@@ -0,0 +1,28 @@
1
+ {
2
+ "version": "0.0.0",
3
+ "private": true,
4
+ "license": "(MIT or CC0 1.0)",
5
+ "sideEffects": false,
6
+ "type": "module",
7
+ "workspaces": [
8
+ "packages/*"
9
+ ],
10
+ "scripts": {
11
+ "compile": "virmator compile",
12
+ "format": "virmator format",
13
+ "lint": "virmator lint fix",
14
+ "publish": "virmator publish npm run test:all",
15
+ "test": "virmator test web",
16
+ "test:all": "npm run compile && runstorm --names tests,spelling,format,docs,deps,lint \"npm run test:coverage\" \"npm run test:spelling\" \"npm run test:format\" \"npm run test:docs\" \"npm run test:deps\" \"npm run test:lint\"",
17
+ "test:coverage": "npm run test coverage",
18
+ "test:deps": "virmator deps check",
19
+ "test:docs": "virmator docs check",
20
+ "test:format": "virmator format check",
21
+ "test:lint": "virmator lint",
22
+ "test:spelling": "virmator spellcheck",
23
+ "test:update": "npm test update"
24
+ },
25
+ "engines": {
26
+ "node": ">=22"
27
+ }
28
+ }
package/dist/init.d.ts CHANGED
@@ -242,11 +242,10 @@ export declare const virmatorInitPlugin: Readonly<Readonly<{
242
242
  };
243
243
  readonly required: false;
244
244
  };
245
- readonly monoRootPackageJson: {
245
+ readonly monoRootNodePackageJson: {
246
246
  readonly copyFromPath: string;
247
247
  readonly copyToPath: string;
248
248
  readonly env: {
249
- readonly web: true;
250
249
  readonly node: true;
251
250
  };
252
251
  readonly packageType: {
@@ -254,6 +253,17 @@ export declare const virmatorInitPlugin: Readonly<Readonly<{
254
253
  };
255
254
  readonly required: false;
256
255
  };
256
+ readonly monoRootWebPackageJson: {
257
+ readonly copyFromPath: string;
258
+ readonly copyToPath: string;
259
+ readonly env: {
260
+ readonly web: true;
261
+ };
262
+ readonly packageType: {
263
+ readonly "mono-root": true;
264
+ };
265
+ readonly required: false;
266
+ };
257
267
  readonly topPackageNodePackageJson: {
258
268
  readonly copyFromPath: string;
259
269
  readonly copyToPath: string;
@@ -518,11 +528,10 @@ export declare const virmatorInitPlugin: Readonly<Readonly<{
518
528
  };
519
529
  readonly required: false;
520
530
  };
521
- readonly monoRootPackageJson: {
531
+ readonly monoRootNodePackageJson: {
522
532
  readonly copyFromPath: string;
523
533
  readonly copyToPath: string;
524
534
  readonly env: {
525
- readonly web: true;
526
535
  readonly node: true;
527
536
  };
528
537
  readonly packageType: {
@@ -530,6 +539,17 @@ export declare const virmatorInitPlugin: Readonly<Readonly<{
530
539
  };
531
540
  readonly required: false;
532
541
  };
542
+ readonly monoRootWebPackageJson: {
543
+ readonly copyFromPath: string;
544
+ readonly copyToPath: string;
545
+ readonly env: {
546
+ readonly web: true;
547
+ };
548
+ readonly packageType: {
549
+ readonly "mono-root": true;
550
+ };
551
+ readonly required: false;
552
+ };
533
553
  readonly topPackageNodePackageJson: {
534
554
  readonly copyFromPath: string;
535
555
  readonly copyToPath: string;
package/dist/init.js CHANGED
@@ -9,16 +9,6 @@ import { copyConfigFile, defineVirmatorPlugin, NpmDepType, PackageType, Virmator
9
9
  import { basename, join } from 'node:path';
10
10
  import { simpleGit } from 'simple-git';
11
11
  const deps = {
12
- 'mono-vir': {
13
- env: {
14
- [RuntimeEnv.Node]: true,
15
- [RuntimeEnv.Web]: true,
16
- },
17
- packageType: {
18
- [PackageType.MonoRoot]: true,
19
- },
20
- type: NpmDepType.Dev,
21
- },
22
12
  runstorm: {
23
13
  env: {
24
14
  [RuntimeEnv.Node]: true,
@@ -298,11 +288,10 @@ export const virmatorInitPlugin = defineVirmatorPlugin(import.meta.dirname, {
298
288
  },
299
289
  required: false,
300
290
  },
301
- monoRootPackageJson: {
302
- copyFromPath: join('configs', 'package-mono-root', 'package.json'),
291
+ monoRootNodePackageJson: {
292
+ copyFromPath: join('configs', 'package-mono-root-node', 'package.json'),
303
293
  copyToPath: join('package.json'),
304
294
  env: {
305
- [RuntimeEnv.Web]: true,
306
295
  [RuntimeEnv.Node]: true,
307
296
  },
308
297
  packageType: {
@@ -310,6 +299,17 @@ export const virmatorInitPlugin = defineVirmatorPlugin(import.meta.dirname, {
310
299
  },
311
300
  required: false,
312
301
  },
302
+ monoRootWebPackageJson: {
303
+ copyFromPath: join('configs', 'package-mono-root-web', 'package.json'),
304
+ copyToPath: join('package.json'),
305
+ env: {
306
+ [RuntimeEnv.Web]: true,
307
+ },
308
+ packageType: {
309
+ [PackageType.MonoRoot]: true,
310
+ },
311
+ required: false,
312
+ },
313
313
  topPackageNodePackageJson: {
314
314
  copyFromPath: join('configs', 'package-top-package-node', 'package.json'),
315
315
  copyToPath: join('package.json'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/init",
3
- "version": "14.15.0",
3
+ "version": "14.17.0",
4
4
  "description": "Default init plugin for virmator.",
5
5
  "keywords": [
6
6
  "virmator",
@@ -34,7 +34,7 @@
34
34
  "@augment-vir/assert": "^31.69.0",
35
35
  "@augment-vir/common": "^31.69.0",
36
36
  "@augment-vir/node": "^31.69.0",
37
- "@virmator/core": "^14.15.0",
37
+ "@virmator/core": "^14.17.0",
38
38
  "simple-git": "^3.36.0"
39
39
  },
40
40
  "devDependencies": {