@virmator/deps 14.30.2 → 14.30.4
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.
|
@@ -254,6 +254,23 @@ export function defineConfig({
|
|
|
254
254
|
return {
|
|
255
255
|
forbidden: forbiddenRules.filter((rule) => !omitRules.includes(rule.name)),
|
|
256
256
|
options: {
|
|
257
|
+
enhancedResolveOptions: {
|
|
258
|
+
exportsFields: [
|
|
259
|
+
'exports',
|
|
260
|
+
],
|
|
261
|
+
/**
|
|
262
|
+
* Enabling `exportsFields` above makes enhanced-resolve read `exports` maps, but
|
|
263
|
+
* dependency-cruiser sets no `conditionNames`, so every conditional entry point
|
|
264
|
+
* resolves to nothing without these.
|
|
265
|
+
*/
|
|
266
|
+
conditionNames: [
|
|
267
|
+
'import',
|
|
268
|
+
'require',
|
|
269
|
+
'node',
|
|
270
|
+
'default',
|
|
271
|
+
'types',
|
|
272
|
+
],
|
|
273
|
+
},
|
|
257
274
|
doNotFollow: {
|
|
258
275
|
dependencyTypes: [
|
|
259
276
|
'core',
|
|
@@ -6,7 +6,9 @@ import { join } from 'node:path';
|
|
|
6
6
|
*/
|
|
7
7
|
export function listRegenNodeModulesDirs({ monoRepoRootPath, monoRepoPackages, }) {
|
|
8
8
|
return [
|
|
9
|
-
...monoRepoPackages.map((monoPackage) =>
|
|
9
|
+
...monoRepoPackages.map((monoPackage) => {
|
|
10
|
+
return join(monoRepoRootPath, monoPackage.relativePath, 'node_modules');
|
|
11
|
+
}),
|
|
10
12
|
join(monoRepoRootPath, 'node_modules'),
|
|
11
13
|
];
|
|
12
14
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/deps",
|
|
3
|
-
"version": "14.30.
|
|
3
|
+
"version": "14.30.4",
|
|
4
4
|
"description": "Default TS deps plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
"@augment-vir/common": "^32.2.1",
|
|
39
39
|
"@augment-vir/node": "^32.2.1",
|
|
40
40
|
"@npm/types": "^2.1.0",
|
|
41
|
-
"@virmator/core": "^14.30.
|
|
41
|
+
"@virmator/core": "^14.30.4",
|
|
42
42
|
"date-vir": "^8.6.2",
|
|
43
43
|
"mri": "^1.2.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@augment-vir/test": "^32.2.1",
|
|
47
|
-
"@types/node": "^26.1.
|
|
47
|
+
"@types/node": "^26.1.2",
|
|
48
48
|
"c8": "^12.0.0",
|
|
49
|
-
"dependency-cruiser": "^18.1.
|
|
49
|
+
"dependency-cruiser": "^18.1.1",
|
|
50
50
|
"esbuild": "^0.28.1",
|
|
51
51
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
52
|
-
"npm-check-updates": "^
|
|
52
|
+
"npm-check-updates": "^23.0.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"npm-check-updates": ">=19"
|