@virmator/frontend 14.27.2 → 14.27.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.
package/dist/frontend.js CHANGED
@@ -116,7 +116,10 @@ export const virmatorFrontendPlugin = defineVirmatorPlugin(import.meta.dirname,
116
116
  force: true,
117
117
  recursive: true,
118
118
  });
119
- if (doesPathContain(monoRepoRootPath, outDir)) {
119
+ if (doesPathContain({
120
+ potentialParentPath: monoRepoRootPath,
121
+ potentialChildPath: outDir,
122
+ })) {
120
123
  await rm(outDir, {
121
124
  recursive: true,
122
125
  force: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@virmator/frontend",
3
- "version": "14.27.2",
3
+ "version": "14.27.4",
4
4
  "description": "Default frontend plugin for virmator.",
5
5
  "keywords": [
6
6
  "virmator",
@@ -35,14 +35,14 @@
35
35
  "test:update": "npm test update"
36
36
  },
37
37
  "dependencies": {
38
- "@augment-vir/assert": "^31.73.2",
39
- "@augment-vir/common": "^31.73.2",
40
- "@augment-vir/node": "^31.73.2",
41
- "@virmator/core": "^14.27.2",
38
+ "@augment-vir/assert": "^32.0.0",
39
+ "@augment-vir/common": "^32.0.0",
40
+ "@augment-vir/node": "^32.0.0",
41
+ "@virmator/core": "^14.27.4",
42
42
  "mri": "^1.2.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@augment-vir/test": "^31.73.2",
45
+ "@augment-vir/test": "^32.0.0",
46
46
  "@types/node": "^26.0.1",
47
47
  "typescript": "^6.0.3",
48
48
  "vite": "^8.1.0",
package/src/frontend.ts CHANGED
@@ -137,7 +137,12 @@ export const virmatorFrontendPlugin = defineVirmatorPlugin(
137
137
  force: true,
138
138
  recursive: true,
139
139
  });
140
- if (doesPathContain(monoRepoRootPath, outDir)) {
140
+ if (
141
+ doesPathContain({
142
+ potentialParentPath: monoRepoRootPath,
143
+ potentialChildPath: outDir,
144
+ })
145
+ ) {
141
146
  await rm(outDir, {
142
147
  recursive: true,
143
148
  force: true,