@modern-js/plugin-proxy 1.0.0-rc.9 → 1.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,242 @@
1
1
  # @modern-js/plugin-proxy
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0fa83663: support more .env files
8
+ - Updated dependencies [6f7fe574]
9
+ - Updated dependencies [0fa83663]
10
+ - Updated dependencies [f594fbc8]
11
+ - @modern-js/core@1.1.2
12
+ - @modern-js/utils@1.1.2
13
+
14
+ ## 1.1.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 96119db2: Relese v1.1.0
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [96119db2]
23
+ - @modern-js/core@1.1.0
24
+ - @modern-js/utils@1.1.0
25
+
26
+ ## 1.0.0
27
+
28
+ ### Patch Changes
29
+
30
+ - 224f7fe: fix server route match
31
+ - 30ac27c: feat: add generator package description
32
+ - 0fd196e: feat: fix bugs
33
+ - 204c626: feat: initial
34
+ - 63be0a5: fix: #118 #104
35
+ - Updated dependencies [224f7fe]
36
+ - Updated dependencies [30ac27c]
37
+ - Updated dependencies [0fd196e]
38
+ - Updated dependencies [204c626]
39
+ - Updated dependencies [63be0a5]
40
+ - @modern-js/core@1.0.0
41
+ - @modern-js/utils@1.0.0
42
+
43
+ ## 1.0.0-rc.23
44
+
45
+ ### Patch Changes
46
+
47
+ - 224f7fe: fix server route match
48
+ - 30ac27c: feat: add generator package description
49
+ - 0fd196e: feat: fix bugs
50
+ - 204c626: feat: initial
51
+ - 63be0a5: fix: #118 #104
52
+ - Updated dependencies [224f7fe]
53
+ - Updated dependencies [30ac27c]
54
+ - Updated dependencies [0fd196e]
55
+ - Updated dependencies [204c626]
56
+ - Updated dependencies [63be0a5]
57
+ - @modern-js/core@1.0.0-rc.23
58
+ - @modern-js/utils@1.0.0-rc.23
59
+
60
+ ## 1.0.0-rc.22
61
+
62
+ ### Patch Changes
63
+
64
+ - 224f7fe: fix server route match
65
+ - 30ac27c: feat: add generator package description
66
+ - 0fd196e: feat: fix bugs
67
+ - 204c626: feat: initial
68
+ - 63be0a5: fix: #118 #104
69
+ - Updated dependencies [224f7fe]
70
+ - Updated dependencies [30ac27c]
71
+ - Updated dependencies [0fd196e]
72
+ - Updated dependencies [204c626]
73
+ - Updated dependencies [63be0a5]
74
+ - @modern-js/core@1.0.0-rc.22
75
+ - @modern-js/utils@1.0.0-rc.22
76
+
77
+ ## 1.0.0-rc.21
78
+
79
+ ### Patch Changes
80
+
81
+ - 224f7fe: fix server route match
82
+ - 30ac27c: feat: add generator package description
83
+ - 0fd196e: feat: fix bugs
84
+ - 204c626: feat: initial
85
+ - 63be0a5: fix: #118 #104
86
+ - Updated dependencies [224f7fe]
87
+ - Updated dependencies [30ac27c]
88
+ - Updated dependencies [0fd196e]
89
+ - Updated dependencies [204c626]
90
+ - Updated dependencies [63be0a5]
91
+ - @modern-js/core@1.0.0-rc.21
92
+ - @modern-js/utils@1.0.0-rc.21
93
+
94
+ ## 1.0.0-rc.20
95
+
96
+ ### Patch Changes
97
+
98
+ - 224f7fe: fix server route match
99
+ - 30ac27c: feat: add generator package description
100
+ - feat: fix bugs
101
+ - 204c626: feat: initial
102
+ - 63be0a5: fix: #118 #104
103
+ - Updated dependencies [224f7fe]
104
+ - Updated dependencies [30ac27c]
105
+ - Updated dependencies [undefined]
106
+ - Updated dependencies [204c626]
107
+ - Updated dependencies [63be0a5]
108
+ - @modern-js/core@1.0.0-rc.20
109
+ - @modern-js/utils@1.0.0-rc.20
110
+
111
+ ## 1.0.0-rc.19
112
+
113
+ ### Patch Changes
114
+
115
+ - 224f7fe: fix server route match
116
+ - 30ac27c: feat: add generator package description
117
+ - 204c626: feat: initial
118
+ - 63be0a5: fix: #118 #104
119
+ - Updated dependencies [224f7fe]
120
+ - Updated dependencies [30ac27c]
121
+ - Updated dependencies [204c626]
122
+ - Updated dependencies [63be0a5]
123
+ - @modern-js/core@1.0.0-rc.19
124
+ - @modern-js/utils@1.0.0-rc.19
125
+
126
+ ## 1.0.0-rc.18
127
+
128
+ ### Patch Changes
129
+
130
+ - 224f7fe: fix server route match
131
+ - 30ac27c: feat: add generator package description
132
+ - 204c626: feat: initial
133
+ - 63be0a5: fix: #118 #104
134
+ - Updated dependencies [224f7fe]
135
+ - Updated dependencies [30ac27c]
136
+ - Updated dependencies [204c626]
137
+ - Updated dependencies [63be0a5]
138
+ - @modern-js/core@1.0.0-rc.18
139
+ - @modern-js/utils@1.0.0-rc.18
140
+
141
+ ## 1.0.0-rc.17
142
+
143
+ ### Patch Changes
144
+
145
+ - 224f7fe: fix server route match
146
+ - 30ac27c: feat: add generator package description
147
+ - 204c626: feat: initial
148
+ - fix: #118 #104
149
+ - Updated dependencies [224f7fe]
150
+ - Updated dependencies [30ac27c]
151
+ - Updated dependencies [204c626]
152
+ - Updated dependencies [undefined]
153
+ - @modern-js/core@1.0.0-rc.17
154
+ - @modern-js/utils@1.0.0-rc.17
155
+
156
+ ## 1.0.0-rc.16
157
+
158
+ ### Patch Changes
159
+
160
+ - 224f7fe: fix server route match
161
+ - 30ac27c: feat: add generator package description
162
+ - 204c626: feat: initial
163
+ - Updated dependencies [224f7fe]
164
+ - Updated dependencies [30ac27c]
165
+ - Updated dependencies [204c626]
166
+ - @modern-js/core@1.0.0-rc.16
167
+ - @modern-js/utils@1.0.0-rc.16
168
+
169
+ ## 1.0.0-rc.15
170
+
171
+ ### Patch Changes
172
+
173
+ - 224f7fe: fix server route match
174
+ - 30ac27c: feat: add generator package description
175
+ - 204c626: feat: initial
176
+ - Updated dependencies [224f7fe]
177
+ - Updated dependencies [30ac27c]
178
+ - Updated dependencies [204c626]
179
+ - @modern-js/core@1.0.0-rc.15
180
+ - @modern-js/utils@1.0.0-rc.15
181
+
182
+ ## 1.0.0-rc.14
183
+
184
+ ### Patch Changes
185
+
186
+ - 224f7fe: fix server route match
187
+ - 204c626: feat: initial
188
+ - Updated dependencies [224f7fe]
189
+ - Updated dependencies [204c626]
190
+ - @modern-js/core@1.0.0-rc.14
191
+ - @modern-js/utils@1.0.0-rc.14
192
+
193
+ ## 1.0.0-rc.13
194
+
195
+ ### Patch Changes
196
+
197
+ - 224f7fe: fix server route match
198
+ - 204c626: feat: initial
199
+ - Updated dependencies [224f7fe]
200
+ - Updated dependencies [204c626]
201
+ - @modern-js/core@1.0.0-rc.13
202
+ - @modern-js/utils@1.0.0-rc.13
203
+
204
+ ## 1.0.0-rc.12
205
+
206
+ ### Patch Changes
207
+
208
+ - 224f7fe: fix server route match
209
+ - 204c626: feat: initial
210
+ - Updated dependencies [224f7fe]
211
+ - Updated dependencies [204c626]
212
+ - @modern-js/core@1.0.0-rc.12
213
+ - @modern-js/plugin@1.0.0-rc.12
214
+ - @modern-js/utils@1.0.0-rc.12
215
+
216
+ ## 1.0.0-rc.11
217
+
218
+ ### Patch Changes
219
+
220
+ - 224f7fe: fix server route match
221
+ - 204c626: feat: initial
222
+ - Updated dependencies [224f7fe]
223
+ - Updated dependencies [204c626]
224
+ - @modern-js/core@1.0.0-rc.11
225
+ - @modern-js/plugin@1.0.0-rc.11
226
+ - @modern-js/utils@1.0.0-rc.11
227
+
228
+ ## 1.0.0-rc.10
229
+
230
+ ### Patch Changes
231
+
232
+ - 224f7fe: fix server route match
233
+ - 204c626: feat: initial
234
+ - Updated dependencies [224f7fe]
235
+ - Updated dependencies [204c626]
236
+ - @modern-js/core@1.0.0-rc.10
237
+ - @modern-js/plugin@1.0.0-rc.10
238
+ - @modern-js/utils@1.0.0-rc.10
239
+
3
240
  ## 1.0.0-rc.9
4
241
 
5
242
  ### Patch Changes
package/README.md CHANGED
@@ -2,31 +2,29 @@
2
2
  <p align="center">
3
3
  <a href="https://modernjs.dev" target="blank"><img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png" width="300" alt="Modern.js Logo" /></a>
4
4
  </p>
5
+ <p align="center">
6
+ 现代 Web 工程体系
7
+ <br/>
8
+ <a href="https://modernjs.dev" target="blank">
9
+ modernjs.dev
10
+ </a>
11
+ </p>
12
+ <p align="center">
13
+ The meta-framework suite designed from scratch for frontend-focused modern web development
14
+ </p>
5
15
 
6
- <p align="center">现代 Web 工程体系</p>
7
-
8
- ## 背景
9
- - [迈入现代 Web 开发](https://zhuanlan.zhihu.com/p/386607009)
10
- - [现代 Web 开发者问卷调查报告](https://zhuanlan.zhihu.com/p/403206195)
11
-
12
- ## 计划
13
-
14
- Modern.js 的 1.0.0.rc 版已经发到 npm,目前在做测试改进,README 文档之后统一提供(现阶段加入测试和开发,可以发 [issue](https://github.com/modern-js-dev/modern.js/issues) 留微信联系),完整的文档站计划在10月14日上线
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
16
+ # Introduction
27
17
 
18
+ > The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.
28
19
 
20
+ - [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)
29
21
 
22
+ ## Getting Started
30
23
 
24
+ - [Quick Start](https://modernjs.dev/docs/start)
25
+ - [Guides](https://modernjs.dev/docs/guides)
26
+ - [API References](https://modernjs.dev/docs/apis)
31
27
 
28
+ ## Contributing
32
29
 
30
+ - [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)
@@ -1,6 +1,6 @@
1
- import path from 'path';
2
1
  import os from 'os';
3
2
  import http from 'http';
3
+ import path from 'path';
4
4
  import { fs, logger } from '@modern-js/utils';
5
5
  import execSync from "./execSync";
6
6
  const defaultCertDir = path.resolve(os.homedir(), './.whistle-proxy');
@@ -5,12 +5,12 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.trustRootCA = exports.isRootCAExists = exports.generateRootCA = exports.defaultRootCA = void 0;
7
7
 
8
- var _path = _interopRequireDefault(require("path"));
9
-
10
8
  var _os = _interopRequireDefault(require("os"));
11
9
 
12
10
  var _http = _interopRequireDefault(require("http"));
13
11
 
12
+ var _path = _interopRequireDefault(require("path"));
13
+
14
14
  var _utils = require("@modern-js/utils");
15
15
 
16
16
  var _execSync = _interopRequireDefault(require("./execSync"));
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "@modern-js/plugin-proxy",
3
- "version": "1.0.0-rc.9",
3
+ "description": "The meta-framework suite designed from scratch for frontend-focused modern web development.",
4
+ "homepage": "https://modernjs.dev",
5
+ "bugs": "https://github.com/modern-js-dev/modern.js/issues",
6
+ "repository": "modern-js-dev/modern.js",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "react",
10
+ "framework",
11
+ "modern",
12
+ "modern.js"
13
+ ],
14
+ "version": "1.1.1",
4
15
  "jsnext:source": "./src/index.ts",
5
16
  "types": "./dist/types/index.d.ts",
6
17
  "main": "./dist/js/node/index.js",
@@ -21,17 +32,19 @@
21
32
  },
22
33
  "dependencies": {
23
34
  "@babel/runtime": "^7",
24
- "@modern-js/core": "^1.0.0-rc.9",
25
- "@modern-js/plugin": "^1.0.0-rc.9",
26
- "@modern-js/utils": "^1.0.0-rc.9",
35
+ "@modern-js/utils": "^1.1.2",
27
36
  "whistle": "^2.7.18"
28
37
  },
29
38
  "devDependencies": {
30
39
  "@types/jest": "^26",
31
40
  "@types/node": "^14",
32
41
  "typescript": "^4",
33
- "@modern-js/plugin-testing": "^1.0.0-rc.9",
34
- "@modern-js/module-tools": "^1.0.0-rc.9"
42
+ "@modern-js/core": "^1.1.2",
43
+ "@modern-js/plugin-testing": "^1.1.0",
44
+ "@modern-js/module-tools": "^1.1.0"
45
+ },
46
+ "peerDependencies": {
47
+ "@modern-js/core": "^1.1.2"
35
48
  },
36
49
  "sideEffects": false,
37
50
  "modernConfig": {
@@ -1,6 +1,6 @@
1
- import path from 'path';
2
1
  import os from 'os';
3
2
  import http from 'http';
3
+ import path from 'path';
4
4
  import { fs, logger } from '@modern-js/utils';
5
5
  import execSync from './execSync';
6
6