virmator 8.0.5 → 9.0.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.
@@ -0,0 +1,172 @@
1
+ export declare function generateDepCruiserConfig({ fileExceptions, omitRules, }: {
2
+ fileExceptions: Record<string, string[]>;
3
+ omitRules: string[];
4
+ }): {
5
+ forbidden: ({
6
+ name: string;
7
+ severity: "error";
8
+ comment: string;
9
+ from: {
10
+ orphan?: never;
11
+ pathNot?: never;
12
+ path?: never;
13
+ };
14
+ to: {
15
+ circular: true;
16
+ dependencyTypes?: never;
17
+ path?: never;
18
+ couldNotResolve?: never;
19
+ moreThanOneDependencyType?: never;
20
+ };
21
+ } | {
22
+ name: string;
23
+ comment: string;
24
+ severity: "error";
25
+ from: {
26
+ orphan: true;
27
+ pathNot: string[];
28
+ path?: never;
29
+ };
30
+ to: {
31
+ circular?: never;
32
+ dependencyTypes?: never;
33
+ path?: never;
34
+ couldNotResolve?: never;
35
+ moreThanOneDependencyType?: never;
36
+ };
37
+ } | {
38
+ name: string;
39
+ comment: string;
40
+ severity: "error";
41
+ from: {
42
+ orphan?: never;
43
+ pathNot?: never;
44
+ path?: never;
45
+ };
46
+ to: {
47
+ dependencyTypes: "core"[];
48
+ path: string[];
49
+ circular?: never;
50
+ couldNotResolve?: never;
51
+ moreThanOneDependencyType?: never;
52
+ };
53
+ } | {
54
+ name: string;
55
+ comment: string;
56
+ severity: "error";
57
+ from: {
58
+ orphan?: never;
59
+ pathNot?: never;
60
+ path?: never;
61
+ };
62
+ to: {
63
+ dependencyTypes: "deprecated"[];
64
+ circular?: never;
65
+ path?: never;
66
+ couldNotResolve?: never;
67
+ moreThanOneDependencyType?: never;
68
+ };
69
+ } | {
70
+ name: string;
71
+ severity: "error";
72
+ comment: string;
73
+ from: {
74
+ orphan?: never;
75
+ pathNot?: never;
76
+ path?: never;
77
+ };
78
+ to: {
79
+ dependencyTypes: ("npm-no-pkg" | "npm-unknown")[];
80
+ circular?: never;
81
+ path?: never;
82
+ couldNotResolve?: never;
83
+ moreThanOneDependencyType?: never;
84
+ };
85
+ } | {
86
+ name: string;
87
+ comment: string;
88
+ severity: "error";
89
+ from: {
90
+ orphan?: never;
91
+ pathNot?: never;
92
+ path?: never;
93
+ };
94
+ to: {
95
+ couldNotResolve: true;
96
+ circular?: never;
97
+ dependencyTypes?: never;
98
+ path?: never;
99
+ moreThanOneDependencyType?: never;
100
+ };
101
+ } | {
102
+ name: string;
103
+ comment: string;
104
+ severity: "error";
105
+ from: {
106
+ orphan?: never;
107
+ pathNot?: never;
108
+ path?: never;
109
+ };
110
+ to: {
111
+ moreThanOneDependencyType: true;
112
+ circular?: never;
113
+ dependencyTypes?: never;
114
+ path?: never;
115
+ couldNotResolve?: never;
116
+ };
117
+ } | {
118
+ name: string;
119
+ comment: string;
120
+ severity: "error";
121
+ from: {
122
+ orphan?: never;
123
+ pathNot?: never;
124
+ path?: never;
125
+ };
126
+ to: {
127
+ path: string;
128
+ circular?: never;
129
+ dependencyTypes?: never;
130
+ couldNotResolve?: never;
131
+ moreThanOneDependencyType?: never;
132
+ };
133
+ } | {
134
+ name: string;
135
+ severity: "error";
136
+ comment: string;
137
+ from: {
138
+ path: string;
139
+ pathNot: string[];
140
+ orphan?: never;
141
+ };
142
+ to: {
143
+ dependencyTypes: "npm-dev"[];
144
+ circular?: never;
145
+ path?: never;
146
+ couldNotResolve?: never;
147
+ moreThanOneDependencyType?: never;
148
+ };
149
+ } | {
150
+ name: string;
151
+ severity: "error";
152
+ comment: string;
153
+ from: {
154
+ orphan?: never;
155
+ pathNot?: never;
156
+ path?: never;
157
+ };
158
+ to: {
159
+ dependencyTypes: "npm-optional"[];
160
+ circular?: never;
161
+ path?: never;
162
+ couldNotResolve?: never;
163
+ moreThanOneDependencyType?: never;
164
+ };
165
+ })[];
166
+ options: {
167
+ doNotFollow: {
168
+ dependencyTypes: ("npm" | "core" | "npm-bundled" | "npm-dev" | "npm-no-pkg" | "npm-optional" | "npm-peer" | "npm-unknown")[];
169
+ };
170
+ tsPreCompilationDeps: true;
171
+ };
172
+ };
@@ -0,0 +1,182 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.generateDepCruiserConfig = void 0;
4
+ function generateDepCruiserConfig({ fileExceptions, omitRules, }) {
5
+ const forbiddenRules = [
6
+ /* rules from the 'recommended' preset: */
7
+ {
8
+ name: 'no-circular',
9
+ severity: 'error',
10
+ comment: 'This dependency is part of a circular relationship.',
11
+ from: {},
12
+ to: {
13
+ circular: true,
14
+ },
15
+ },
16
+ {
17
+ name: 'no-orphans',
18
+ comment: "This is an orphan module - it's likely not used (anymore?). Either use it or " +
19
+ "remove it. If it's logical this module is an orphan (i.e. it's a config file), " +
20
+ 'add an exception for it in your dependency-cruiser configuration.',
21
+ severity: 'error',
22
+ from: {
23
+ orphan: true,
24
+ pathNot: [
25
+ '\\.d\\.ts$', // TypeScript declaration files
26
+ ],
27
+ },
28
+ to: {},
29
+ },
30
+ {
31
+ name: 'no-deprecated-core',
32
+ comment: 'A module depends on a node core module that has been deprecated. Find an alternative - these are ' +
33
+ "bound to exist - node doesn't deprecate lightly.",
34
+ severity: 'error',
35
+ from: {},
36
+ to: {
37
+ dependencyTypes: ['core'],
38
+ path: [
39
+ '^(v8/tools/codemap)$',
40
+ '^(v8/tools/consarray)$',
41
+ '^(v8/tools/csvparser)$',
42
+ '^(v8/tools/logreader)$',
43
+ '^(v8/tools/profile_view)$',
44
+ '^(v8/tools/profile)$',
45
+ '^(v8/tools/SourceMap)$',
46
+ '^(v8/tools/splaytree)$',
47
+ '^(v8/tools/tickprocessor-driver)$',
48
+ '^(v8/tools/tickprocessor)$',
49
+ '^(node-inspect/lib/_inspect)$',
50
+ '^(node-inspect/lib/internal/inspect_client)$',
51
+ '^(node-inspect/lib/internal/inspect_repl)$',
52
+ '^(async_hooks)$',
53
+ '^(punycode)$',
54
+ '^(domain)$',
55
+ '^(constants)$',
56
+ '^(sys)$',
57
+ '^(_linklist)$',
58
+ '^(_stream_wrap)$',
59
+ ],
60
+ },
61
+ },
62
+ {
63
+ name: 'not-to-deprecated',
64
+ comment: 'This module uses a (version of an) npm module that has been deprecated. Either upgrade to a later ' +
65
+ 'version of that module, or find an alternative. Deprecated modules are a security risk.',
66
+ severity: 'error',
67
+ from: {},
68
+ to: {
69
+ dependencyTypes: ['deprecated'],
70
+ },
71
+ },
72
+ {
73
+ name: 'no-non-package-json',
74
+ severity: 'error',
75
+ comment: "This module depends on an npm package that isn't in the 'dependencies' section of your package.json. " +
76
+ "That's problematic as the package either (1) won't be available on live (2 - worse) will be " +
77
+ 'available on live with an non-guaranteed version. Fix it by adding the package to the dependencies ' +
78
+ 'in your package.json.',
79
+ from: {},
80
+ to: {
81
+ dependencyTypes: [
82
+ 'npm-no-pkg',
83
+ 'npm-unknown',
84
+ ],
85
+ },
86
+ },
87
+ {
88
+ name: 'not-to-unresolvable',
89
+ comment: "This module depends on a module that cannot be found ('resolved to disk'). If it's an npm " +
90
+ 'module: add it to your package.json. In all other cases you likely already know what to do.',
91
+ severity: 'error',
92
+ from: {},
93
+ to: {
94
+ couldNotResolve: true,
95
+ },
96
+ },
97
+ {
98
+ name: 'no-duplicate-dep-types',
99
+ comment: "Likely this module depends on an external ('npm') package that occurs more than once " +
100
+ 'in your package.json i.e. both as a devDependencies and in dependencies. This will cause ' +
101
+ 'maintenance problems later on.',
102
+ severity: 'error',
103
+ from: {},
104
+ to: {
105
+ moreThanOneDependencyType: true,
106
+ // as it's pretty common to have a type import be a type only import
107
+ // _and_ (e.g.) a devDependency - don't consider type-only dependency
108
+ // types for this rule
109
+ // dependencyTypesNot: ['type-only'],
110
+ },
111
+ },
112
+ /* rules you might want to tweak for your specific situation: */
113
+ {
114
+ name: 'not-to-spec',
115
+ comment: 'This module depends on a spec (test) file. The sole responsibility of a spec file is to test code. ' +
116
+ "If there's something in a spec that's of use to other modules, it doesn't have that single " +
117
+ 'responsibility anymore. Factor it out into (e.g.) a separate utility/ helper or a mock.',
118
+ severity: 'error',
119
+ from: {},
120
+ to: {
121
+ path: '\\.test\\.ts$',
122
+ },
123
+ },
124
+ {
125
+ name: 'not-to-dev-dep',
126
+ severity: 'error',
127
+ comment: "This module depends on an npm package from the 'devDependencies' section of your " +
128
+ 'package.json.',
129
+ from: {
130
+ path: '^(packages)',
131
+ pathNot: [
132
+ '\\.(spec|test)\\.(js|mjs|cjs|ts|ls|coffee|litcoffee|coffee\\.md)$',
133
+ ],
134
+ },
135
+ to: {
136
+ dependencyTypes: ['npm-dev'],
137
+ },
138
+ },
139
+ {
140
+ name: 'optional-deps-used',
141
+ severity: 'error',
142
+ comment: 'This module depends on an npm package that is declared as an optional dependency ' +
143
+ "in your package.json. As this makes sense in limited situations only, it's flagged here. " +
144
+ "If you're using an optional dependency here by design - add an exception to your" +
145
+ 'dependency-cruiser configuration.',
146
+ from: {},
147
+ to: {
148
+ dependencyTypes: ['npm-optional'],
149
+ },
150
+ },
151
+ ];
152
+ Object.entries(fileExceptions).forEach(([ruleName, fileExceptions,]) => {
153
+ const rule = forbiddenRules.find((rule) => rule.name === ruleName);
154
+ if (!rule) {
155
+ throw new Error(`Rule name not used: '${ruleName}'`);
156
+ }
157
+ const pathNot = rule.from.pathNot ?? [];
158
+ pathNot.push(...fileExceptions);
159
+ if (!rule.from.pathNot) {
160
+ rule.from.pathNot = pathNot;
161
+ }
162
+ });
163
+ return {
164
+ forbidden: forbiddenRules.filter((rule) => !omitRules.includes(rule.name)),
165
+ options: {
166
+ doNotFollow: {
167
+ dependencyTypes: [
168
+ 'core',
169
+ 'npm',
170
+ 'npm-bundled',
171
+ 'npm-dev',
172
+ 'npm-no-pkg',
173
+ 'npm-optional',
174
+ 'npm-peer',
175
+ 'npm-unknown',
176
+ ],
177
+ },
178
+ tsPreCompilationDeps: true,
179
+ },
180
+ };
181
+ }
182
+ exports.generateDepCruiserConfig = generateDepCruiserConfig;
package/dist/index.d.ts CHANGED
@@ -99,6 +99,148 @@ export declare const virmator: Readonly<{
99
99
  readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
100
100
  }];
101
101
  }>;
102
+ }) | ({
103
+ commandName: "deps";
104
+ subCommandDescriptions: {
105
+ readonly check: "validate dependencies";
106
+ readonly upgrade: "upgrade npm dependencies";
107
+ readonly regen: "regenerate npm dependencies";
108
+ };
109
+ configFiles: {
110
+ readonly depCruiserConfig: {
111
+ readonly copyFromInternalPath: string;
112
+ readonly copyToPathRelativeToRepoDir: string;
113
+ };
114
+ readonly ncuConfig: {
115
+ readonly copyFromInternalPath: string;
116
+ readonly copyToPathRelativeToRepoDir: string;
117
+ };
118
+ };
119
+ npmDeps: readonly [{
120
+ readonly name: "esbuild";
121
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
122
+ }, {
123
+ readonly name: "npm-check-updates";
124
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
125
+ }, {
126
+ readonly name: "dependency-cruiser";
127
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
128
+ }];
129
+ } & {
130
+ allAvailableSubCommands: readonly ("check" | "upgrade" | "regen")[];
131
+ subCommands: import("./api/command/define-command-inputs").SubCommandsMap<{
132
+ commandName: "deps";
133
+ subCommandDescriptions: {
134
+ readonly check: "validate dependencies";
135
+ readonly upgrade: "upgrade npm dependencies";
136
+ readonly regen: "regenerate npm dependencies";
137
+ };
138
+ configFiles: {
139
+ readonly depCruiserConfig: {
140
+ readonly copyFromInternalPath: string;
141
+ readonly copyToPathRelativeToRepoDir: string;
142
+ };
143
+ readonly ncuConfig: {
144
+ readonly copyFromInternalPath: string;
145
+ readonly copyToPathRelativeToRepoDir: string;
146
+ };
147
+ };
148
+ npmDeps: readonly [{
149
+ readonly name: "esbuild";
150
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
151
+ }, {
152
+ readonly name: "npm-check-updates";
153
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
154
+ }, {
155
+ readonly name: "dependency-cruiser";
156
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
157
+ }];
158
+ }>;
159
+ } & {
160
+ executor: import("./api/command/command-executor").CommandExecutor<{
161
+ commandName: "deps";
162
+ subCommandDescriptions: {
163
+ readonly check: "validate dependencies";
164
+ readonly upgrade: "upgrade npm dependencies";
165
+ readonly regen: "regenerate npm dependencies";
166
+ };
167
+ configFiles: {
168
+ readonly depCruiserConfig: {
169
+ readonly copyFromInternalPath: string;
170
+ readonly copyToPathRelativeToRepoDir: string;
171
+ };
172
+ readonly ncuConfig: {
173
+ readonly copyFromInternalPath: string;
174
+ readonly copyToPathRelativeToRepoDir: string;
175
+ };
176
+ };
177
+ npmDeps: readonly [{
178
+ readonly name: "esbuild";
179
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
180
+ }, {
181
+ readonly name: "npm-check-updates";
182
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
183
+ }, {
184
+ readonly name: "dependency-cruiser";
185
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
186
+ }];
187
+ }>;
188
+ createDescription: import("./api/command/command-description").CreateDescriptionsCallback<{
189
+ commandName: "deps";
190
+ subCommandDescriptions: {
191
+ readonly check: "validate dependencies";
192
+ readonly upgrade: "upgrade npm dependencies";
193
+ readonly regen: "regenerate npm dependencies";
194
+ };
195
+ configFiles: {
196
+ readonly depCruiserConfig: {
197
+ readonly copyFromInternalPath: string;
198
+ readonly copyToPathRelativeToRepoDir: string;
199
+ };
200
+ readonly ncuConfig: {
201
+ readonly copyFromInternalPath: string;
202
+ readonly copyToPathRelativeToRepoDir: string;
203
+ };
204
+ };
205
+ npmDeps: readonly [{
206
+ readonly name: "esbuild";
207
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
208
+ }, {
209
+ readonly name: "npm-check-updates";
210
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
211
+ }, {
212
+ readonly name: "dependency-cruiser";
213
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
214
+ }];
215
+ }>;
216
+ extend: import("./api/command/define-command").ExtendCallback<{
217
+ commandName: "deps";
218
+ subCommandDescriptions: {
219
+ readonly check: "validate dependencies";
220
+ readonly upgrade: "upgrade npm dependencies";
221
+ readonly regen: "regenerate npm dependencies";
222
+ };
223
+ configFiles: {
224
+ readonly depCruiserConfig: {
225
+ readonly copyFromInternalPath: string;
226
+ readonly copyToPathRelativeToRepoDir: string;
227
+ };
228
+ readonly ncuConfig: {
229
+ readonly copyFromInternalPath: string;
230
+ readonly copyToPathRelativeToRepoDir: string;
231
+ };
232
+ };
233
+ npmDeps: readonly [{
234
+ readonly name: "esbuild";
235
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
236
+ }, {
237
+ readonly name: "npm-check-updates";
238
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
239
+ }, {
240
+ readonly name: "dependency-cruiser";
241
+ readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
242
+ }];
243
+ }>;
102
244
  }) | ({
103
245
  commandName: "docs";
104
246
  subCommandDescriptions: {
@@ -749,38 +891,6 @@ export declare const virmator: Readonly<{
749
891
  configFiles: {};
750
892
  npmDeps: readonly [];
751
893
  }>;
752
- }) | ({
753
- commandName: "regen-deps";
754
- subCommandDescriptions: {};
755
- configFiles: {};
756
- npmDeps: readonly [];
757
- } & {
758
- allAvailableSubCommands: readonly never[];
759
- subCommands: import("./api/command/define-command-inputs").SubCommandsMap<{
760
- commandName: "regen-deps";
761
- subCommandDescriptions: {};
762
- configFiles: {};
763
- npmDeps: readonly [];
764
- }>;
765
- } & {
766
- executor: import("./api/command/command-executor").CommandExecutor<{
767
- commandName: "regen-deps";
768
- subCommandDescriptions: {};
769
- configFiles: {};
770
- npmDeps: readonly [];
771
- }>;
772
- createDescription: import("./api/command/command-description").CreateDescriptionsCallback<{
773
- commandName: "regen-deps";
774
- subCommandDescriptions: {};
775
- configFiles: {};
776
- npmDeps: readonly [];
777
- }>;
778
- extend: import("./api/command/define-command").ExtendCallback<{
779
- commandName: "regen-deps";
780
- subCommandDescriptions: {};
781
- configFiles: {};
782
- npmDeps: readonly [];
783
- }>;
784
894
  }) | ({
785
895
  commandName: "spellcheck";
786
896
  subCommandDescriptions: {};
@@ -1294,93 +1404,6 @@ export declare const virmator: Readonly<{
1294
1404
  configFiles: {};
1295
1405
  npmDeps: readonly [];
1296
1406
  }>;
1297
- }) | ({
1298
- commandName: "upgrade-deps";
1299
- subCommandDescriptions: {};
1300
- configFiles: {
1301
- readonly ncuConfig: {
1302
- readonly copyFromInternalPath: string;
1303
- readonly copyToPathRelativeToRepoDir: string;
1304
- };
1305
- };
1306
- npmDeps: readonly [{
1307
- readonly name: "esbuild";
1308
- readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
1309
- }, {
1310
- readonly name: "npm-check-updates";
1311
- readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
1312
- }];
1313
- } & {
1314
- allAvailableSubCommands: readonly never[];
1315
- subCommands: import("./api/command/define-command-inputs").SubCommandsMap<{
1316
- commandName: "upgrade-deps";
1317
- subCommandDescriptions: {};
1318
- configFiles: {
1319
- readonly ncuConfig: {
1320
- readonly copyFromInternalPath: string;
1321
- readonly copyToPathRelativeToRepoDir: string;
1322
- };
1323
- };
1324
- npmDeps: readonly [{
1325
- readonly name: "esbuild";
1326
- readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
1327
- }, {
1328
- readonly name: "npm-check-updates";
1329
- readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
1330
- }];
1331
- }>;
1332
- } & {
1333
- executor: import("./api/command/command-executor").CommandExecutor<{
1334
- commandName: "upgrade-deps";
1335
- subCommandDescriptions: {};
1336
- configFiles: {
1337
- readonly ncuConfig: {
1338
- readonly copyFromInternalPath: string;
1339
- readonly copyToPathRelativeToRepoDir: string;
1340
- };
1341
- };
1342
- npmDeps: readonly [{
1343
- readonly name: "esbuild";
1344
- readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
1345
- }, {
1346
- readonly name: "npm-check-updates";
1347
- readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
1348
- }];
1349
- }>;
1350
- createDescription: import("./api/command/command-description").CreateDescriptionsCallback<{
1351
- commandName: "upgrade-deps";
1352
- subCommandDescriptions: {};
1353
- configFiles: {
1354
- readonly ncuConfig: {
1355
- readonly copyFromInternalPath: string;
1356
- readonly copyToPathRelativeToRepoDir: string;
1357
- };
1358
- };
1359
- npmDeps: readonly [{
1360
- readonly name: "esbuild";
1361
- readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
1362
- }, {
1363
- readonly name: "npm-check-updates";
1364
- readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
1365
- }];
1366
- }>;
1367
- extend: import("./api/command/define-command").ExtendCallback<{
1368
- commandName: "upgrade-deps";
1369
- subCommandDescriptions: {};
1370
- configFiles: {
1371
- readonly ncuConfig: {
1372
- readonly copyFromInternalPath: string;
1373
- readonly copyToPathRelativeToRepoDir: string;
1374
- };
1375
- };
1376
- npmDeps: readonly [{
1377
- readonly name: "esbuild";
1378
- readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
1379
- }, {
1380
- readonly name: "npm-check-updates";
1381
- readonly type: import("./api/command/define-command-inputs").NpmDepTypeEnum.Dev;
1382
- }];
1383
- }>;
1384
1407
  }))[]>;
1385
1408
  extend: <CommandDefinitionsGeneric extends readonly import("./api/command/define-command").AnyCommandDefinition[]>(inputs: Readonly<{
1386
1409
  packageBinName: string;
package/dist/index.js CHANGED
@@ -17,17 +17,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.virmator = exports.getNpmBinPath = void 0;
18
18
  const create_virmator_1 = require("./api/create-virmator");
19
19
  const compile_command_1 = require("./commands/compile.command");
20
+ const deps_command_1 = require("./commands/deps.command");
20
21
  const docs_command_1 = require("./commands/docs.command");
21
22
  const format_command_1 = require("./commands/format.command");
22
23
  const frontend_command_1 = require("./commands/frontend.command");
23
24
  const init_command_1 = require("./commands/init.command");
24
25
  const publish_command_1 = require("./commands/publish.command");
25
- const regen_deps_command_1 = require("./commands/regen-deps.command");
26
26
  const spellcheck_command_1 = require("./commands/spellcheck.command");
27
27
  const test_web_command_1 = require("./commands/test-web.command");
28
28
  const test_command_1 = require("./commands/test.command");
29
29
  const update_configs_command_1 = require("./commands/update-configs.command");
30
- const upgrade_deps_command_1 = require("./commands/upgrade-deps.command");
31
30
  const package_paths_1 = require("./file-paths/package-paths");
32
31
  __exportStar(require("./api/command/command-description"), exports);
33
32
  __exportStar(require("./api/command/command-executor"), exports);
@@ -49,17 +48,16 @@ exports.virmator = (0, create_virmator_1.createVirmator)({
49
48
  packageBinName: 'virmator',
50
49
  packageRootDir: package_paths_1.virmatorPackageDir,
51
50
  commandDefinitions: [
52
- docs_command_1.docsCommandDefinition,
53
51
  compile_command_1.compileCommandDefinition,
52
+ deps_command_1.depsCommandDefinition,
53
+ docs_command_1.docsCommandDefinition,
54
54
  format_command_1.formatCommandDefinition,
55
55
  frontend_command_1.frontendCommandDefinition,
56
56
  init_command_1.initCommandDefinition,
57
57
  publish_command_1.publishCommandDefinition,
58
- regen_deps_command_1.regenDepsCommandDefinition,
59
58
  spellcheck_command_1.spellcheckCommandDefinition,
60
59
  test_command_1.testCommandDefinition,
61
60
  test_web_command_1.testWebCommandDefinition,
62
61
  update_configs_command_1.updateConfigsCommandDefinition,
63
- upgrade_deps_command_1.upgradeDepsCommandDefinition,
64
62
  ],
65
63
  });