@modern-js/server 2.22.0 → 2.23.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/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # @modern-js/server
2
2
 
3
+ ## 2.23.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 7e6fb5f: chore: publishConfig add provenance config
8
+
9
+ chore: publishConfig 增加 provenance 配置
10
+
11
+ - Updated dependencies [7e6fb5f]
12
+ - Updated dependencies [a7a7ad7]
13
+ - Updated dependencies [6dec7c2]
14
+ - Updated dependencies [c3216b5]
15
+ - @modern-js/prod-server@2.23.0
16
+ - @modern-js/types@2.23.0
17
+ - @modern-js/utils@2.23.0
18
+ - @modern-js/server-utils@2.23.0
19
+
20
+ ## 2.22.1
21
+
22
+ ### Patch Changes
23
+
24
+ - d4045ed: fix(builder): print https URLs when devServer.https is true
25
+
26
+ fix(builder): 当 devServer.https 为 true 时,输出 https 的 URLs
27
+
28
+ - 1f02cd2: chore: fix some eslint issues
29
+
30
+ chore: 修复一些 eslint issues
31
+
32
+ - Updated dependencies [25b490a]
33
+ - Updated dependencies [e2848a2]
34
+ - Updated dependencies [4be1da5]
35
+ - Updated dependencies [d4045ed]
36
+ - Updated dependencies [1f02cd2]
37
+ - @modern-js/types@2.22.1
38
+ - @modern-js/utils@2.22.1
39
+ - @modern-js/server-utils@2.22.1
40
+ - @modern-js/prod-server@2.22.1
41
+
3
42
  ## 2.22.0
4
43
 
5
44
  ### Patch Changes
@@ -22,7 +22,7 @@ const genHttpsOptions = async (userOptions, pwd) => {
22
22
  });
23
23
  } catch (err) {
24
24
  const packageManager = await (0, _utils.getPackageManager)(pwd);
25
- const command = _utils.chalk.yellow.bold(`${packageManager} install devcert@1.2.2 -D`);
25
+ const command = _utils.chalk.yellow.bold(`${packageManager} add devcert@1.2.2 -D`);
26
26
  _utils.logger.error(`You have enabled "dev.https" option, but the "devcert" package is not installed.`);
27
27
  _utils.logger.error(`Please run ${command} to install manually, otherwise the https can not work.`);
28
28
  throw new Error('[https] "devcert" is not found.');
@@ -39,7 +39,7 @@ export var genHttpsOptions = function() {
39
39
  ];
40
40
  case 3:
41
41
  packageManager = _state.sent();
42
- command = chalk.yellow.bold("".concat(packageManager, " install devcert@1.2.2 -D"));
42
+ command = chalk.yellow.bold("".concat(packageManager, " add devcert@1.2.2 -D"));
43
43
  logger.error('You have enabled "dev.https" option, but the "devcert" package is not installed.');
44
44
  logger.error("Please run ".concat(command, " to install manually, otherwise the https can not work."));
45
45
  throw new Error('[https] "devcert" is not found.');
@@ -12,7 +12,7 @@ export const genHttpsOptions = async (userOptions, pwd) => {
12
12
  });
13
13
  } catch (err) {
14
14
  const packageManager = await getPackageManager(pwd);
15
- const command = chalk.yellow.bold(`${packageManager} install devcert@1.2.2 -D`);
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.`);
17
17
  logger.error(`Please run ${command} to install manually, otherwise the https can not work.`);
18
18
  throw new Error('[https] "devcert" is not found.');
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.22.0",
18
+ "version": "2.23.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -47,10 +47,10 @@
47
47
  "minimatch": "^3.0.4",
48
48
  "path-to-regexp": "^6.2.0",
49
49
  "ws": "^8.2.0",
50
- "@modern-js/prod-server": "2.22.0",
51
- "@modern-js/server-utils": "2.22.0",
52
- "@modern-js/types": "2.22.0",
53
- "@modern-js/utils": "2.22.0"
50
+ "@modern-js/server-utils": "2.23.0",
51
+ "@modern-js/types": "2.23.0",
52
+ "@modern-js/utils": "2.23.0",
53
+ "@modern-js/prod-server": "2.23.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/connect-history-api-fallback": "^1.3.5",
@@ -65,9 +65,9 @@
65
65
  "typescript": "^5",
66
66
  "webpack": "^5.82.1",
67
67
  "websocket": "^1",
68
- "@modern-js/server-core": "2.22.0",
69
- "@scripts/jest-config": "2.22.0",
70
- "@scripts/build": "2.22.0"
68
+ "@modern-js/server-core": "2.23.0",
69
+ "@scripts/build": "2.23.0",
70
+ "@scripts/jest-config": "2.23.0"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "devcert": "^1.0.0",
@@ -88,7 +88,8 @@
88
88
  "sideEffects": false,
89
89
  "publishConfig": {
90
90
  "registry": "https://registry.npmjs.org/",
91
- "access": "public"
91
+ "access": "public",
92
+ "provenance": true
92
93
  },
93
94
  "scripts": {
94
95
  "new": "modern-lib new",