@sitecore-jss/sitecore-jss-rendering-host 21.1.0-canary.98 → 22.0.0-canary.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/cjs/devServer.js +1 -1
- package/dist/esm/devServer.js +2 -2
- package/package.json +3 -3
package/dist/cjs/devServer.js
CHANGED
|
@@ -129,7 +129,7 @@ function startDevServer({ port = 0, tunnelUrl, configFactory, buildArtifactsPath
|
|
|
129
129
|
if (clean) {
|
|
130
130
|
const cleanPaths = [`${path_1.default.join(buildArtifactsPath, '**')}`, `!${buildArtifactsPath}`];
|
|
131
131
|
console.log('cleaning paths', cleanPaths);
|
|
132
|
-
const cleanedPaths = (0, del_1.
|
|
132
|
+
const cleanedPaths = (0, del_1.sync)(cleanPaths);
|
|
133
133
|
console.log('cleaned paths', cleanedPaths);
|
|
134
134
|
}
|
|
135
135
|
// Give devs a chance to modify serverOptions and/or the compiler before creating the WDS instance.
|
package/dist/esm/devServer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sync as delSync } from 'del';
|
|
2
2
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3
3
|
// @ts-ignore
|
|
4
4
|
import openBrowser from 'opn';
|
|
@@ -123,7 +123,7 @@ export function startDevServer({ port = 0, tunnelUrl, configFactory, buildArtifa
|
|
|
123
123
|
if (clean) {
|
|
124
124
|
const cleanPaths = [`${path.join(buildArtifactsPath, '**')}`, `!${buildArtifactsPath}`];
|
|
125
125
|
console.log('cleaning paths', cleanPaths);
|
|
126
|
-
const cleanedPaths =
|
|
126
|
+
const cleanedPaths = delSync(cleanPaths);
|
|
127
127
|
console.log('cleaned paths', cleanedPaths);
|
|
128
128
|
}
|
|
129
129
|
// Give devs a chance to modify serverOptions and/or the compiler before creating the WDS instance.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-jss/sitecore-jss-rendering-host",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0-canary.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"url": "https://github.com/sitecore/jss/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"del": "^
|
|
30
|
+
"del": "^6.1.1",
|
|
31
31
|
"import-fresh": "^3.3.0",
|
|
32
32
|
"ngrok": "^4.3.3",
|
|
33
33
|
"opn": "^6.0.0",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"types",
|
|
67
67
|
"/global.d.ts"
|
|
68
68
|
],
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "8f7ef1bee3508c70baae3c3b583908395609be52"
|
|
70
70
|
}
|