@modern-js/server 3.11.3 → 3.12.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.
|
@@ -37,7 +37,7 @@ const genHttpsOptions = async (userOptions, pwd)=>{
|
|
|
37
37
|
let devcertPath;
|
|
38
38
|
try {
|
|
39
39
|
devcertPath = (0, utils_namespaceObject.tryResolve)('devcert', pwd, __dirname);
|
|
40
|
-
} catch
|
|
40
|
+
} catch {
|
|
41
41
|
const packageManager = await (0, utils_namespaceObject.getPackageManager)(pwd);
|
|
42
42
|
const command = utils_namespaceObject.chalk.yellow.bold(`${packageManager} add devcert@1.2.2 -D`);
|
|
43
43
|
utils_namespaceObject.logger.error('You have enabled "dev.https" option, but the "devcert" package is not installed.');
|
|
@@ -5,7 +5,7 @@ const genHttpsOptions = async (userOptions, pwd)=>{
|
|
|
5
5
|
let devcertPath;
|
|
6
6
|
try {
|
|
7
7
|
devcertPath = tryResolve('devcert', pwd, __dirname);
|
|
8
|
-
} catch
|
|
8
|
+
} catch {
|
|
9
9
|
const packageManager = await getPackageManager(pwd);
|
|
10
10
|
const command = chalk.yellow.bold(`${packageManager} add devcert@1.2.2 -D`);
|
|
11
11
|
logger.error('You have enabled "dev.https" option, but the "devcert" package is not installed.');
|
|
@@ -10,7 +10,7 @@ const genHttpsOptions = async (userOptions, pwd)=>{
|
|
|
10
10
|
let devcertPath;
|
|
11
11
|
try {
|
|
12
12
|
devcertPath = tryResolve('devcert', pwd, __rspack_import_meta_dirname__);
|
|
13
|
-
} catch
|
|
13
|
+
} catch {
|
|
14
14
|
const packageManager = await getPackageManager(pwd);
|
|
15
15
|
const command = chalk.yellow.bold(`${packageManager} add devcert@1.2.2 -D`);
|
|
16
16
|
logger.error('You have enabled "dev.https" option, but the "devcert" package is not installed.');
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.
|
|
18
|
+
"version": "3.12.0",
|
|
19
19
|
"types": "./dist/types/index.d.ts",
|
|
20
20
|
"main": "./dist/cjs/index.js",
|
|
21
21
|
"exports": {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"minimatch": "^11.0.0",
|
|
45
45
|
"path-to-regexp": "^6.3.0",
|
|
46
46
|
"ws": "^8.22.0",
|
|
47
|
-
"@modern-js/runtime-utils": "3.
|
|
48
|
-
"@modern-js/server-core": "3.
|
|
49
|
-
"@modern-js/server-utils": "3.
|
|
50
|
-
"@modern-js/types": "3.
|
|
51
|
-
"@modern-js/utils": "3.
|
|
47
|
+
"@modern-js/runtime-utils": "3.12.0",
|
|
48
|
+
"@modern-js/server-core": "3.12.0",
|
|
49
|
+
"@modern-js/server-utils": "3.12.0",
|
|
50
|
+
"@modern-js/types": "3.12.0",
|
|
51
|
+
"@modern-js/utils": "3.12.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/connect-history-api-fallback": "^1.5.4",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"tsconfig-paths": "4.2.0",
|
|
61
61
|
"typescript": "^5",
|
|
62
62
|
"websocket": "^1.0.35",
|
|
63
|
-
"@modern-js/rslib": "3.
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
63
|
+
"@modern-js/rslib": "3.12.0",
|
|
64
|
+
"@modern-js/builder": "3.12.0",
|
|
65
|
+
"@scripts/rstest-config": "2.66.8"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"devcert": "^1.2.3",
|