@virmator/core 14.36.3 → 14.37.1
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/api/install-deps.js
CHANGED
|
@@ -45,7 +45,7 @@ export async function installNpmDeps({ cwdPackagePath, cwdPackageJson, pluginPac
|
|
|
45
45
|
};
|
|
46
46
|
const depsThatNeedInstalling = neededDeps.reduce((accum, [depName, depOptions,]) => {
|
|
47
47
|
const matchesPackageType = depOptions.packageType[packageType];
|
|
48
|
-
const matchesPackageEnv = packageEnv
|
|
48
|
+
const matchesPackageEnv = !packageEnv || depOptions.env[packageEnv];
|
|
49
49
|
if (!matchesPackageType || !matchesPackageEnv) {
|
|
50
50
|
return accum;
|
|
51
51
|
}
|
|
@@ -15,7 +15,7 @@ export async function findClosestPackageDir({ requireWorkspaces, startDirPath, }
|
|
|
15
15
|
}
|
|
16
16
|
else if (requireWorkspaces) {
|
|
17
17
|
const contents = await readJsonFile(jsonFilePath);
|
|
18
|
-
return check.isObject(contents)
|
|
18
|
+
return check.isObject(contents) && 'workspaces' in contents;
|
|
19
19
|
}
|
|
20
20
|
else {
|
|
21
21
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/core",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.37.1",
|
|
4
4
|
"description": "Shared core functionality for all virmator plugins and the virmator CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"test:update": "npm test update"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@augment-vir/assert": "^32.
|
|
36
|
-
"@augment-vir/common": "^32.
|
|
37
|
-
"@augment-vir/node": "^32.
|
|
35
|
+
"@augment-vir/assert": "^32.4.1",
|
|
36
|
+
"@augment-vir/common": "^32.4.1",
|
|
37
|
+
"@augment-vir/node": "^32.4.1",
|
|
38
38
|
"mono-vir": "^2.5.1",
|
|
39
39
|
"runstorm": "^1.1.0",
|
|
40
40
|
"semver": "^7.8.5",
|
|
41
41
|
"typescript": "^6.0.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@augment-vir/test": "^32.
|
|
45
|
-
"@types/node": "^26.
|
|
44
|
+
"@augment-vir/test": "^32.4.1",
|
|
45
|
+
"@types/node": "^26.6.2",
|
|
46
46
|
"@types/semver": "^7.8.0",
|
|
47
47
|
"esbuild": "^0.28.2"
|
|
48
48
|
},
|