@virmator/deps 13.16.2 → 14.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.
- package/dist/deps.d.ts +81 -22
- package/dist/deps.js +40 -40
- package/package.json +8 -8
package/dist/deps.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NpmDepType, PackageType } from '@virmator/core';
|
|
1
|
+
import { NpmDepType } from '@virmator/core';
|
|
3
2
|
/** A virmator plugin for checking package TS dependencies. */
|
|
4
3
|
export declare const virmatorDepsPlugin: Readonly<Readonly<{
|
|
5
4
|
name: string;
|
|
@@ -30,22 +29,40 @@ export declare const virmatorDepsPlugin: Readonly<Readonly<{
|
|
|
30
29
|
readonly depCruiser: {
|
|
31
30
|
readonly copyFromPath: string;
|
|
32
31
|
readonly copyToPath: string;
|
|
33
|
-
readonly env:
|
|
34
|
-
|
|
32
|
+
readonly env: {
|
|
33
|
+
readonly node: true;
|
|
34
|
+
readonly web: true;
|
|
35
|
+
};
|
|
36
|
+
readonly packageType: {
|
|
37
|
+
readonly "top-level-package": true;
|
|
38
|
+
readonly "mono-root": true;
|
|
39
|
+
};
|
|
35
40
|
readonly required: true;
|
|
36
41
|
};
|
|
37
42
|
};
|
|
38
43
|
readonly npmDeps: {
|
|
39
44
|
readonly 'dependency-cruiser': {
|
|
40
45
|
readonly type: NpmDepType.Dev;
|
|
41
|
-
readonly env:
|
|
42
|
-
|
|
46
|
+
readonly env: {
|
|
47
|
+
readonly node: true;
|
|
48
|
+
readonly web: true;
|
|
49
|
+
};
|
|
50
|
+
readonly packageType: {
|
|
51
|
+
readonly "top-level-package": true;
|
|
52
|
+
readonly "mono-root": true;
|
|
53
|
+
};
|
|
43
54
|
};
|
|
44
55
|
/** Needed to compile the TS dep-cruiser config file. */
|
|
45
56
|
readonly esbuild: {
|
|
46
57
|
readonly type: NpmDepType.Dev;
|
|
47
|
-
readonly env:
|
|
48
|
-
|
|
58
|
+
readonly env: {
|
|
59
|
+
readonly node: true;
|
|
60
|
+
readonly web: true;
|
|
61
|
+
};
|
|
62
|
+
readonly packageType: {
|
|
63
|
+
readonly "top-level-package": true;
|
|
64
|
+
readonly "mono-root": true;
|
|
65
|
+
};
|
|
49
66
|
};
|
|
50
67
|
};
|
|
51
68
|
};
|
|
@@ -60,8 +77,14 @@ export declare const virmatorDepsPlugin: Readonly<Readonly<{
|
|
|
60
77
|
readonly ncu: {
|
|
61
78
|
readonly copyFromPath: string;
|
|
62
79
|
readonly copyToPath: string;
|
|
63
|
-
readonly env:
|
|
64
|
-
|
|
80
|
+
readonly env: {
|
|
81
|
+
readonly node: true;
|
|
82
|
+
readonly web: true;
|
|
83
|
+
};
|
|
84
|
+
readonly packageType: {
|
|
85
|
+
readonly "mono-root": true;
|
|
86
|
+
readonly "top-level-package": true;
|
|
87
|
+
};
|
|
65
88
|
readonly required: true;
|
|
66
89
|
readonly configFlags: ["--config"];
|
|
67
90
|
};
|
|
@@ -69,8 +92,14 @@ export declare const virmatorDepsPlugin: Readonly<Readonly<{
|
|
|
69
92
|
readonly npmDeps: {
|
|
70
93
|
readonly 'npm-check-updates': {
|
|
71
94
|
readonly type: NpmDepType.Dev;
|
|
72
|
-
readonly env:
|
|
73
|
-
|
|
95
|
+
readonly env: {
|
|
96
|
+
readonly node: true;
|
|
97
|
+
readonly web: true;
|
|
98
|
+
};
|
|
99
|
+
readonly packageType: {
|
|
100
|
+
readonly "top-level-package": true;
|
|
101
|
+
readonly "mono-root": true;
|
|
102
|
+
};
|
|
74
103
|
};
|
|
75
104
|
};
|
|
76
105
|
};
|
|
@@ -114,22 +143,40 @@ export declare const virmatorDepsPlugin: Readonly<Readonly<{
|
|
|
114
143
|
readonly depCruiser: {
|
|
115
144
|
readonly copyFromPath: string;
|
|
116
145
|
readonly copyToPath: string;
|
|
117
|
-
readonly env:
|
|
118
|
-
|
|
146
|
+
readonly env: {
|
|
147
|
+
readonly node: true;
|
|
148
|
+
readonly web: true;
|
|
149
|
+
};
|
|
150
|
+
readonly packageType: {
|
|
151
|
+
readonly "top-level-package": true;
|
|
152
|
+
readonly "mono-root": true;
|
|
153
|
+
};
|
|
119
154
|
readonly required: true;
|
|
120
155
|
};
|
|
121
156
|
};
|
|
122
157
|
readonly npmDeps: {
|
|
123
158
|
readonly 'dependency-cruiser': {
|
|
124
159
|
readonly type: NpmDepType.Dev;
|
|
125
|
-
readonly env:
|
|
126
|
-
|
|
160
|
+
readonly env: {
|
|
161
|
+
readonly node: true;
|
|
162
|
+
readonly web: true;
|
|
163
|
+
};
|
|
164
|
+
readonly packageType: {
|
|
165
|
+
readonly "top-level-package": true;
|
|
166
|
+
readonly "mono-root": true;
|
|
167
|
+
};
|
|
127
168
|
};
|
|
128
169
|
/** Needed to compile the TS dep-cruiser config file. */
|
|
129
170
|
readonly esbuild: {
|
|
130
171
|
readonly type: NpmDepType.Dev;
|
|
131
|
-
readonly env:
|
|
132
|
-
|
|
172
|
+
readonly env: {
|
|
173
|
+
readonly node: true;
|
|
174
|
+
readonly web: true;
|
|
175
|
+
};
|
|
176
|
+
readonly packageType: {
|
|
177
|
+
readonly "top-level-package": true;
|
|
178
|
+
readonly "mono-root": true;
|
|
179
|
+
};
|
|
133
180
|
};
|
|
134
181
|
};
|
|
135
182
|
};
|
|
@@ -144,8 +191,14 @@ export declare const virmatorDepsPlugin: Readonly<Readonly<{
|
|
|
144
191
|
readonly ncu: {
|
|
145
192
|
readonly copyFromPath: string;
|
|
146
193
|
readonly copyToPath: string;
|
|
147
|
-
readonly env:
|
|
148
|
-
|
|
194
|
+
readonly env: {
|
|
195
|
+
readonly node: true;
|
|
196
|
+
readonly web: true;
|
|
197
|
+
};
|
|
198
|
+
readonly packageType: {
|
|
199
|
+
readonly "mono-root": true;
|
|
200
|
+
readonly "top-level-package": true;
|
|
201
|
+
};
|
|
149
202
|
readonly required: true;
|
|
150
203
|
readonly configFlags: ["--config"];
|
|
151
204
|
};
|
|
@@ -153,8 +206,14 @@ export declare const virmatorDepsPlugin: Readonly<Readonly<{
|
|
|
153
206
|
readonly npmDeps: {
|
|
154
207
|
readonly 'npm-check-updates': {
|
|
155
208
|
readonly type: NpmDepType.Dev;
|
|
156
|
-
readonly env:
|
|
157
|
-
|
|
209
|
+
readonly env: {
|
|
210
|
+
readonly node: true;
|
|
211
|
+
readonly web: true;
|
|
212
|
+
};
|
|
213
|
+
readonly packageType: {
|
|
214
|
+
readonly "top-level-package": true;
|
|
215
|
+
readonly "mono-root": true;
|
|
216
|
+
};
|
|
158
217
|
};
|
|
159
218
|
};
|
|
160
219
|
};
|
package/dist/deps.js
CHANGED
|
@@ -51,40 +51,40 @@ export const virmatorDepsPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
51
51
|
depCruiser: {
|
|
52
52
|
copyFromPath: join('configs', 'dep-cruiser.config.cts'),
|
|
53
53
|
copyToPath: join('configs', 'dep-cruiser.config.cts'),
|
|
54
|
-
env:
|
|
55
|
-
RuntimeEnv.Node,
|
|
56
|
-
RuntimeEnv.Web,
|
|
57
|
-
|
|
58
|
-
packageType:
|
|
59
|
-
PackageType.TopPackage,
|
|
60
|
-
PackageType.MonoRoot,
|
|
61
|
-
|
|
54
|
+
env: {
|
|
55
|
+
[RuntimeEnv.Node]: true,
|
|
56
|
+
[RuntimeEnv.Web]: true,
|
|
57
|
+
},
|
|
58
|
+
packageType: {
|
|
59
|
+
[PackageType.TopPackage]: true,
|
|
60
|
+
[PackageType.MonoRoot]: true,
|
|
61
|
+
},
|
|
62
62
|
required: true,
|
|
63
63
|
},
|
|
64
64
|
},
|
|
65
65
|
npmDeps: {
|
|
66
66
|
'dependency-cruiser': {
|
|
67
67
|
type: NpmDepType.Dev,
|
|
68
|
-
env:
|
|
69
|
-
RuntimeEnv.Node,
|
|
70
|
-
RuntimeEnv.Web,
|
|
71
|
-
|
|
72
|
-
packageType:
|
|
73
|
-
PackageType.TopPackage,
|
|
74
|
-
PackageType.MonoRoot,
|
|
75
|
-
|
|
68
|
+
env: {
|
|
69
|
+
[RuntimeEnv.Node]: true,
|
|
70
|
+
[RuntimeEnv.Web]: true,
|
|
71
|
+
},
|
|
72
|
+
packageType: {
|
|
73
|
+
[PackageType.TopPackage]: true,
|
|
74
|
+
[PackageType.MonoRoot]: true,
|
|
75
|
+
},
|
|
76
76
|
},
|
|
77
77
|
/** Needed to compile the TS dep-cruiser config file. */
|
|
78
78
|
esbuild: {
|
|
79
79
|
type: NpmDepType.Dev,
|
|
80
|
-
env:
|
|
81
|
-
RuntimeEnv.Node,
|
|
82
|
-
RuntimeEnv.Web,
|
|
83
|
-
|
|
84
|
-
packageType:
|
|
85
|
-
PackageType.TopPackage,
|
|
86
|
-
PackageType.MonoRoot,
|
|
87
|
-
|
|
80
|
+
env: {
|
|
81
|
+
[RuntimeEnv.Node]: true,
|
|
82
|
+
[RuntimeEnv.Web]: true,
|
|
83
|
+
},
|
|
84
|
+
packageType: {
|
|
85
|
+
[PackageType.TopPackage]: true,
|
|
86
|
+
[PackageType.MonoRoot]: true,
|
|
87
|
+
},
|
|
88
88
|
},
|
|
89
89
|
},
|
|
90
90
|
},
|
|
@@ -107,14 +107,14 @@ export const virmatorDepsPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
107
107
|
ncu: {
|
|
108
108
|
copyFromPath: join('configs', 'ncu.config.ts'),
|
|
109
109
|
copyToPath: join('configs', 'ncu.config.ts'),
|
|
110
|
-
env:
|
|
111
|
-
RuntimeEnv.Node,
|
|
112
|
-
RuntimeEnv.Web,
|
|
113
|
-
|
|
114
|
-
packageType:
|
|
115
|
-
PackageType.MonoRoot,
|
|
116
|
-
PackageType.TopPackage,
|
|
117
|
-
|
|
110
|
+
env: {
|
|
111
|
+
[RuntimeEnv.Node]: true,
|
|
112
|
+
[RuntimeEnv.Web]: true,
|
|
113
|
+
},
|
|
114
|
+
packageType: {
|
|
115
|
+
[PackageType.MonoRoot]: true,
|
|
116
|
+
[PackageType.TopPackage]: true,
|
|
117
|
+
},
|
|
118
118
|
required: true,
|
|
119
119
|
configFlags: ['--config'],
|
|
120
120
|
},
|
|
@@ -122,14 +122,14 @@ export const virmatorDepsPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
122
122
|
npmDeps: {
|
|
123
123
|
'npm-check-updates': {
|
|
124
124
|
type: NpmDepType.Dev,
|
|
125
|
-
env:
|
|
126
|
-
RuntimeEnv.Node,
|
|
127
|
-
RuntimeEnv.Web,
|
|
128
|
-
|
|
129
|
-
packageType:
|
|
130
|
-
PackageType.TopPackage,
|
|
131
|
-
PackageType.MonoRoot,
|
|
132
|
-
|
|
125
|
+
env: {
|
|
126
|
+
[RuntimeEnv.Node]: true,
|
|
127
|
+
[RuntimeEnv.Web]: true,
|
|
128
|
+
},
|
|
129
|
+
packageType: {
|
|
130
|
+
[PackageType.TopPackage]: true,
|
|
131
|
+
[PackageType.MonoRoot]: true,
|
|
132
|
+
},
|
|
133
133
|
},
|
|
134
134
|
},
|
|
135
135
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/deps",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "Default TS deps plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
"test:update": "npm test update"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@augment-vir/assert": "^31.
|
|
38
|
-
"@augment-vir/common": "^31.
|
|
39
|
-
"@augment-vir/node": "^31.
|
|
40
|
-
"@virmator/core": "^
|
|
37
|
+
"@augment-vir/assert": "^31.32.3",
|
|
38
|
+
"@augment-vir/common": "^31.32.3",
|
|
39
|
+
"@augment-vir/node": "^31.32.3",
|
|
40
|
+
"@virmator/core": "^14.0.0",
|
|
41
41
|
"mri": "^1.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@augment-vir/test": "^31.
|
|
45
|
-
"@types/node": "^24.
|
|
44
|
+
"@augment-vir/test": "^31.32.3",
|
|
45
|
+
"@types/node": "^24.3.0",
|
|
46
46
|
"c8": "^10.1.3",
|
|
47
47
|
"dependency-cruiser": "^17.0.1",
|
|
48
|
-
"esbuild": "^0.25.
|
|
48
|
+
"esbuild": "^0.25.9",
|
|
49
49
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
50
50
|
"npm-check-updates": "^18.0.2"
|
|
51
51
|
},
|