virmator 7.3.1 → 7.4.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.
@@ -13,7 +13,7 @@ jobs:
13
13
  - uses: actions/checkout@v3
14
14
  - uses: actions/setup-node@v3
15
15
  with:
16
- node-version: 18.x
16
+ node-version: 20.x
17
17
  - name: build
18
18
  run: |
19
19
  npm ci
@@ -16,7 +16,7 @@ jobs:
16
16
  - name: Use Node.js
17
17
  uses: actions/setup-node@v3
18
18
  with:
19
- node-version: 18.x
19
+ node-version: 20.x
20
20
  - name: run test
21
21
  run: |
22
22
  npm ci
@@ -12,7 +12,7 @@ jobs:
12
12
  fail-fast: false
13
13
  matrix:
14
14
  os: [ubuntu-latest, windows-latest, macos-latest]
15
- node-version: [16.x, 18.x]
15
+ node-version: [18.x, 20.x]
16
16
  steps:
17
17
  - uses: actions/checkout@v3
18
18
  - name: Use Node.js ${{ matrix.node-version }}
package/configs/.nvmrc CHANGED
@@ -1 +1 @@
1
- 18
1
+ 20
@@ -2,9 +2,7 @@ import {RunOptions} from 'npm-check-updates';
2
2
  import {baseNcuConfig} from 'virmator/dist/compiled-base-configs/base-ncu';
3
3
 
4
4
  export const ncuConfig: RunOptions = {
5
- color: true,
6
- upgrade: true,
7
- root: true,
5
+ ...baseNcuConfig,
8
6
  // exclude these
9
7
  reject: [
10
8
  ...baseNcuConfig.reject,
@@ -0,0 +1,13 @@
1
+ import {RunOptions} from 'npm-check-updates';
2
+ import {baseNcuConfig} from 'virmator/dist/compiled-base-configs/base-ncu';
3
+
4
+ export const ncuConfig: RunOptions = {
5
+ ...baseNcuConfig,
6
+ // exclude these
7
+ reject: [
8
+ ...baseNcuConfig.reject,
9
+ 'glob',
10
+ ],
11
+ // include only these
12
+ filter: [],
13
+ };
@@ -77,7 +77,7 @@ exports.frontendCommandDefinition = (0, define_command_1.defineCommand)({
77
77
  entryPoints: [viteConfigPath],
78
78
  outfile: tempFilePath,
79
79
  write: true,
80
- target: ['node18'],
80
+ target: ['node20'],
81
81
  platform: 'node',
82
82
  bundle: false,
83
83
  format: 'cjs',
@@ -67,7 +67,7 @@ exports.upgradeDepsCommandDefinition = (0, define_command_1.defineCommand)({
67
67
  entryPoints: [configPath],
68
68
  outfile: tempFilePath,
69
69
  write: true,
70
- target: ['node18'],
70
+ target: ['node20'],
71
71
  platform: 'node',
72
72
  bundle: false,
73
73
  format: 'cjs',
@@ -1,3 +1,6 @@
1
1
  export declare const baseNcuConfig: {
2
- readonly reject: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-toml"];
2
+ readonly color: true;
3
+ readonly upgrade: true;
4
+ readonly root: true;
5
+ readonly reject: readonly ["prettier", "prettier-plugin-jsdoc", "prettier-plugin-toml", "prettier-plugin-sort-json", "npm-check-updates"];
3
6
  };
@@ -2,6 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.baseNcuConfig = void 0;
4
4
  exports.baseNcuConfig = {
5
+ color: true,
6
+ upgrade: true,
7
+ root: true,
5
8
  reject: [
6
9
  /** Not ready for v3. */
7
10
  'prettier',
@@ -9,5 +12,9 @@ exports.baseNcuConfig = {
9
12
  'prettier-plugin-jsdoc',
10
13
  /** The latest update requires Prettier v3. */
11
14
  'prettier-plugin-toml',
15
+ /** The latest update requires Prettier v3. */
16
+ 'prettier-plugin-sort-json',
17
+ /** Version > 16.13 throws chalk init errors. */
18
+ 'npm-check-updates',
12
19
  ],
13
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "7.3.1",
3
+ "version": "7.4.0",
4
4
  "description": "Handle common package configs, commands, and dependencies.",
5
5
  "keywords": [
6
6
  "automation",
@@ -43,15 +43,15 @@
43
43
  "test:types": "tsc --noEmit"
44
44
  },
45
45
  "dependencies": {
46
- "@augment-vir/common": "^16.2.0",
47
- "@augment-vir/node-js": "^16.2.0",
46
+ "@augment-vir/common": "^16.4.0",
47
+ "@augment-vir/node-js": "^16.4.0",
48
48
  "ansi-colors": "^4.1.3",
49
- "concurrently": "^8.2.0",
49
+ "concurrently": "^8.2.1",
50
50
  "glob": "^8.1.0",
51
51
  "glob-promise": "^6.0.3",
52
52
  "semver": "^7.5.4",
53
53
  "simple-git": "^3.19.1",
54
- "type-fest": "^4.1.0"
54
+ "type-fest": "^4.2.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@electrovir/nyc": "15.1.0-fix0",
@@ -61,38 +61,38 @@
61
61
  "@types/fs-extra": "^11.0.1",
62
62
  "@types/glob": "^8.1.0",
63
63
  "@types/mocha": "^10.0.1",
64
- "@types/node": "^20.4.7",
64
+ "@types/node": "^20.5.6",
65
65
  "@types/semver": "^7.5.0",
66
66
  "@web/dev-server-esbuild": "^0.4.1",
67
67
  "@web/test-runner": "^0.17.0",
68
68
  "@web/test-runner-commands": "^0.8.0",
69
69
  "@web/test-runner-playwright": "^0.10.1",
70
70
  "@web/test-runner-visual-regression": "^0.8.2",
71
- "chai": "^4.3.7",
72
- "cspell": "^6.31.2",
73
- "element-vir": "^16.3.0",
74
- "esbuild": "^0.18.17",
71
+ "chai": "^4.3.8",
72
+ "cspell": "^7.0.1",
73
+ "element-vir": "^16.3.1",
74
+ "esbuild": "^0.19.2",
75
75
  "fs-extra": "^11.1.1",
76
76
  "istanbul-smart-text-reporter": "^1.1.2",
77
77
  "markdown-code-example-inserter": "^0.3.1",
78
78
  "mocha": "^10.2.0",
79
79
  "mocha-spec-reporter-with-file-names": "^0.0.3",
80
- "npm-check-updates": "^16.10.17",
80
+ "npm-check-updates": "~16.12.3",
81
81
  "prettier": "^2.8.8",
82
82
  "prettier-plugin-interpolated-html-tags": "^0.0.4",
83
83
  "prettier-plugin-jsdoc": "^0.4.2",
84
84
  "prettier-plugin-multiline-arrays": "^2.0.0",
85
85
  "prettier-plugin-organize-imports": "^3.2.3",
86
86
  "prettier-plugin-packagejson": "^2.4.5",
87
- "prettier-plugin-sort-json": "^1.0.0",
87
+ "prettier-plugin-sort-json": "^2.0.0",
88
88
  "prettier-plugin-toml": "^0.3.1",
89
89
  "test-as-package": "^0.0.4",
90
90
  "test-established-expectations": "^0.5.0",
91
91
  "ts-node": "^10.9.1",
92
92
  "tsconfig-paths": "^4.2.0",
93
- "typescript": "^5.1.6",
94
- "virmator": "^7.3.0",
95
- "vite": "^4.4.8",
93
+ "typescript": "^5.2.2",
94
+ "virmator": "^7.3.1",
95
+ "vite": "^4.4.9",
96
96
  "vite-tsconfig-paths": "^4.2.0"
97
97
  },
98
98
  "engines": {