@virmator/frontend 14.6.0 → 14.7.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/frontend.js +8 -2
- package/package.json +2 -2
- package/src/frontend.ts +8 -2
package/dist/frontend.js
CHANGED
|
@@ -112,9 +112,15 @@ export const virmatorFrontendPlugin = defineVirmatorPlugin(import.meta.dirname,
|
|
|
112
112
|
'vite',
|
|
113
113
|
];
|
|
114
114
|
if (needsBuild) {
|
|
115
|
-
await rm(join(cwdPackagePath, 'node_modules', '.vite'), {
|
|
115
|
+
await rm(join(cwdPackagePath, 'node_modules', '.vite'), {
|
|
116
|
+
force: true,
|
|
117
|
+
recursive: true,
|
|
118
|
+
});
|
|
116
119
|
if (doesPathContain(monoRepoRootPath, outDir)) {
|
|
117
|
-
await rm(outDir, {
|
|
120
|
+
await rm(outDir, {
|
|
121
|
+
recursive: true,
|
|
122
|
+
force: true,
|
|
123
|
+
});
|
|
118
124
|
}
|
|
119
125
|
const buildCommand = [
|
|
120
126
|
...baseViteCommands,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/frontend",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.7.0",
|
|
4
4
|
"description": "Default frontend plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@augment-vir/assert": "^31.64.0",
|
|
39
39
|
"@augment-vir/common": "^31.64.0",
|
|
40
40
|
"@augment-vir/node": "^31.64.0",
|
|
41
|
-
"@virmator/core": "^14.
|
|
41
|
+
"@virmator/core": "^14.7.0",
|
|
42
42
|
"mri": "^1.2.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
package/src/frontend.ts
CHANGED
|
@@ -133,9 +133,15 @@ export const virmatorFrontendPlugin = defineVirmatorPlugin(
|
|
|
133
133
|
];
|
|
134
134
|
|
|
135
135
|
if (needsBuild) {
|
|
136
|
-
await rm(join(cwdPackagePath, 'node_modules', '.vite'), {
|
|
136
|
+
await rm(join(cwdPackagePath, 'node_modules', '.vite'), {
|
|
137
|
+
force: true,
|
|
138
|
+
recursive: true,
|
|
139
|
+
});
|
|
137
140
|
if (doesPathContain(monoRepoRootPath, outDir)) {
|
|
138
|
-
await rm(outDir, {
|
|
141
|
+
await rm(outDir, {
|
|
142
|
+
recursive: true,
|
|
143
|
+
force: true,
|
|
144
|
+
});
|
|
139
145
|
}
|
|
140
146
|
|
|
141
147
|
const buildCommand = [
|