virmator 11.1.5 → 11.2.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.
@@ -20,6 +20,7 @@
20
20
  "skipLibCheck": true,
21
21
  "strict": true,
22
22
  "target": "ES2021",
23
+ "useDefineForClassFields": true,
23
24
  "useUnknownInCatchVariables": true
24
25
  },
25
26
  "ts-node": {
@@ -10,7 +10,7 @@
10
10
  **/*/test/
11
11
  /configs/
12
12
  /coverage/
13
- /cspell.config.js
13
+ /cspell.config.cjs
14
14
  /graphics/
15
15
  /Icon?
16
16
  /src/
@@ -14,7 +14,7 @@ function createVirmator(inputs) {
14
14
  const commandDefinitions = inputs.commandDefinitions ?? [];
15
15
  const commandMapping = (0, command_mapping_1.commandsToMapping)(commandDefinitions);
16
16
  const allCommands = {
17
- ...{},
17
+ ...{}, // todo: put the default commands here
18
18
  ...commandMapping,
19
19
  };
20
20
  const cliHelpMessage = (0, command_to_help_message_1.generateHelpMessage)(inputs.packageBinName, allCommands ?? {}, command_to_help_message_1.HelpMessageSyntax.Cli);
@@ -5,7 +5,7 @@ export declare const spellcheckCommandDefinition: {
5
5
  configFiles: {
6
6
  readonly cspell: {
7
7
  readonly copyFromInternalPath: string;
8
- readonly copyToPathRelativeToRepoDir: "cspell.config.js";
8
+ readonly copyToPathRelativeToRepoDir: "cspell.config.cjs";
9
9
  };
10
10
  };
11
11
  npmDeps: readonly [{
@@ -20,7 +20,7 @@ export declare const spellcheckCommandDefinition: {
20
20
  configFiles: {
21
21
  readonly cspell: {
22
22
  readonly copyFromInternalPath: string;
23
- readonly copyToPathRelativeToRepoDir: "cspell.config.js";
23
+ readonly copyToPathRelativeToRepoDir: "cspell.config.cjs";
24
24
  };
25
25
  };
26
26
  npmDeps: readonly [{
@@ -35,7 +35,7 @@ export declare const spellcheckCommandDefinition: {
35
35
  configFiles: {
36
36
  readonly cspell: {
37
37
  readonly copyFromInternalPath: string;
38
- readonly copyToPathRelativeToRepoDir: "cspell.config.js";
38
+ readonly copyToPathRelativeToRepoDir: "cspell.config.cjs";
39
39
  };
40
40
  };
41
41
  npmDeps: readonly [{
@@ -49,7 +49,7 @@ export declare const spellcheckCommandDefinition: {
49
49
  configFiles: {
50
50
  readonly cspell: {
51
51
  readonly copyFromInternalPath: string;
52
- readonly copyToPathRelativeToRepoDir: "cspell.config.js";
52
+ readonly copyToPathRelativeToRepoDir: "cspell.config.cjs";
53
53
  };
54
54
  };
55
55
  npmDeps: readonly [{
@@ -63,7 +63,7 @@ export declare const spellcheckCommandDefinition: {
63
63
  configFiles: {
64
64
  readonly cspell: {
65
65
  readonly copyFromInternalPath: string;
66
- readonly copyToPathRelativeToRepoDir: "cspell.config.js";
66
+ readonly copyToPathRelativeToRepoDir: "cspell.config.cjs";
67
67
  };
68
68
  };
69
69
  npmDeps: readonly [{
@@ -13,8 +13,8 @@ exports.spellcheckCommandDefinition = (0, define_command_1.defineCommand)({
13
13
  subCommandDescriptions: {},
14
14
  configFiles: {
15
15
  cspell: {
16
- copyFromInternalPath: (0, path_1.join)(package_paths_1.virmatorConfigsDir, 'cspell.config.js'),
17
- copyToPathRelativeToRepoDir: 'cspell.config.js',
16
+ copyFromInternalPath: (0, path_1.join)(package_paths_1.virmatorConfigsDir, 'cspell.config.cjs'),
17
+ copyToPathRelativeToRepoDir: 'cspell.config.cjs',
18
18
  },
19
19
  },
20
20
  npmDeps: [
@@ -2,5 +2,5 @@ export declare const baseNcuConfig: {
2
2
  readonly color: true;
3
3
  readonly upgrade: true;
4
4
  readonly root: true;
5
- readonly reject: readonly ["npm-check-updates", "vite", "typescript"];
5
+ readonly reject: readonly ["npm-check-updates", "vite", "chai"];
6
6
  };
@@ -10,7 +10,7 @@ exports.baseNcuConfig = {
10
10
  'npm-check-updates',
11
11
  /** Note ready for Vite v5 */
12
12
  'vite',
13
- /** Version 5.3.2 breaks a lot of stuff. */
14
- 'typescript',
13
+ /** V5 requires "type":"module" */
14
+ 'chai',
15
15
  ],
16
16
  };
@@ -7,8 +7,8 @@ exports.defineConfig = exports.combineConfigs = exports.createBaseConfig = expor
7
7
  const node_js_1 = require("@augment-vir/node-js");
8
8
  const fs_1 = require("fs");
9
9
  const path_1 = require("path");
10
- const vite_always_reload_plugin_1 = require("virmator/dist/compiled-base-configs/vite-always-reload-plugin");
11
10
  const vite_tsconfig_paths_1 = __importDefault(require("vite-tsconfig-paths"));
11
+ const vite_always_reload_plugin_1 = require("./vite-always-reload-plugin");
12
12
  exports.basePlugins = [
13
13
  (0, vite_always_reload_plugin_1.alwaysReloadPlugin)(),
14
14
  (0, vite_tsconfig_paths_1.default)(),
package/dist/index.d.ts CHANGED
@@ -897,7 +897,7 @@ export declare const virmator: Readonly<{
897
897
  configFiles: {
898
898
  readonly cspell: {
899
899
  readonly copyFromInternalPath: string;
900
- readonly copyToPathRelativeToRepoDir: "cspell.config.js";
900
+ readonly copyToPathRelativeToRepoDir: "cspell.config.cjs";
901
901
  };
902
902
  };
903
903
  npmDeps: readonly [{
@@ -912,7 +912,7 @@ export declare const virmator: Readonly<{
912
912
  configFiles: {
913
913
  readonly cspell: {
914
914
  readonly copyFromInternalPath: string;
915
- readonly copyToPathRelativeToRepoDir: "cspell.config.js";
915
+ readonly copyToPathRelativeToRepoDir: "cspell.config.cjs";
916
916
  };
917
917
  };
918
918
  npmDeps: readonly [{
@@ -927,7 +927,7 @@ export declare const virmator: Readonly<{
927
927
  configFiles: {
928
928
  readonly cspell: {
929
929
  readonly copyFromInternalPath: string;
930
- readonly copyToPathRelativeToRepoDir: "cspell.config.js";
930
+ readonly copyToPathRelativeToRepoDir: "cspell.config.cjs";
931
931
  };
932
932
  };
933
933
  npmDeps: readonly [{
@@ -941,7 +941,7 @@ export declare const virmator: Readonly<{
941
941
  configFiles: {
942
942
  readonly cspell: {
943
943
  readonly copyFromInternalPath: string;
944
- readonly copyToPathRelativeToRepoDir: "cspell.config.js";
944
+ readonly copyToPathRelativeToRepoDir: "cspell.config.cjs";
945
945
  };
946
946
  };
947
947
  npmDeps: readonly [{
@@ -955,7 +955,7 @@ export declare const virmator: Readonly<{
955
955
  configFiles: {
956
956
  readonly cspell: {
957
957
  readonly copyFromInternalPath: string;
958
- readonly copyToPathRelativeToRepoDir: "cspell.config.js";
958
+ readonly copyToPathRelativeToRepoDir: "cspell.config.cjs";
959
959
  };
960
960
  };
961
961
  npmDeps: readonly [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virmator",
3
- "version": "11.1.5",
3
+ "version": "11.2.0",
4
4
  "description": "Handle common package configs, commands, and dependencies.",
5
5
  "keywords": [
6
6
  "automation",
@@ -43,16 +43,16 @@
43
43
  "test:types": "tsc --noEmit"
44
44
  },
45
45
  "dependencies": {
46
- "@augment-vir/common": "^22.1.0",
47
- "@augment-vir/node-js": "^22.1.0",
46
+ "@augment-vir/common": "^22.4.0",
47
+ "@augment-vir/node-js": "^22.4.0",
48
48
  "ansi-colors": "^4.1.3",
49
49
  "concurrently": "^8.2.2",
50
50
  "glob": "^8.1.0",
51
51
  "glob-promise": "^6.0.5",
52
52
  "mono-vir": "^0.1.7",
53
53
  "semver": "^7.5.4",
54
- "simple-git": "^3.21.0",
55
- "type-fest": "^4.8.3"
54
+ "simple-git": "^3.22.0",
55
+ "type-fest": "^4.9.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@electrovir/nyc": "15.1.0-fix0",
@@ -62,7 +62,7 @@
62
62
  "@types/fs-extra": "^11.0.4",
63
63
  "@types/glob": "^8.1.0",
64
64
  "@types/mocha": "^10.0.6",
65
- "@types/node": "^20.10.4",
65
+ "@types/node": "^20.11.0",
66
66
  "@types/semver": "^7.5.6",
67
67
  "@web/dev-server-esbuild": "^1.0.1",
68
68
  "@web/test-runner": "^0.18.0",
@@ -70,10 +70,10 @@
70
70
  "@web/test-runner-playwright": "^0.11.0",
71
71
  "@web/test-runner-visual-regression": "^0.9.0",
72
72
  "chai": "^4.3.10",
73
- "cspell": "^8.1.3",
74
- "dependency-cruiser": "^15.5.0",
75
- "element-vir": "^18.0.0",
76
- "esbuild": "^0.19.9",
73
+ "cspell": "^8.3.2",
74
+ "dependency-cruiser": "^16.0.0",
75
+ "element-vir": "^19.0.0",
76
+ "esbuild": "^0.19.11",
77
77
  "fs-extra": "^11.2.0",
78
78
  "istanbul-smart-text-reporter": "^1.1.3",
79
79
  "markdown-code-example-inserter": "^0.3.3",
@@ -82,23 +82,24 @@
82
82
  "npm-check-updates": "~16.12.3",
83
83
  "prettier": "^3.1.1",
84
84
  "prettier-plugin-interpolated-html-tags": "^1.0.3",
85
- "prettier-plugin-jsdoc": "^1.1.1",
85
+ "prettier-plugin-jsdoc": "^1.3.0",
86
86
  "prettier-plugin-multiline-arrays": "^3.0.1",
87
87
  "prettier-plugin-organize-imports": "^3.2.4",
88
- "prettier-plugin-packagejson": "^2.4.7",
88
+ "prettier-plugin-packagejson": "^2.4.9",
89
89
  "prettier-plugin-sort-json": "^3.1.0",
90
90
  "prettier-plugin-toml": "^2.0.1",
91
91
  "test-as-package": "^0.0.5",
92
92
  "test-established-expectations": "^0.5.1",
93
93
  "ts-node": "^10.9.2",
94
94
  "tsconfig-paths": "^4.2.0",
95
- "typedoc": "^0.25.4",
96
- "typescript": "5.2.2",
97
- "virmator": "*",
95
+ "typedoc": "^0.25.7",
96
+ "typescript": "5.3.3",
97
+ "virmator": "file:./",
98
98
  "vite": "^4.5.0",
99
- "vite-tsconfig-paths": "^4.2.2"
99
+ "vite-tsconfig-paths": "^4.2.3"
100
100
  },
101
101
  "overrides": {
102
- "semver": "^7.5.4"
102
+ "semver": "^7.5.4",
103
+ "virmator": "*"
103
104
  }
104
105
  }
File without changes
File without changes