@modern-js/runtime 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,324 @@
1
1
  # @modern-js/runtime
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/plugin-state@1.1.2
13
+ - @modern-js/runtime-core@1.1.1
14
+ - @modern-js/bff-runtime@1.1.1
15
+ - @modern-js/utils@1.1.2
16
+ - @modern-js/plugin-router@1.1.1
17
+ - @modern-js/plugin-ssr@1.1.1
18
+
19
+ ## 1.1.0
20
+
21
+ ### Minor Changes
22
+
23
+ - 96119db2: Relese v1.1.0
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [96119db2]
28
+ - @modern-js/core@1.1.0
29
+ - @modern-js/plugin-router@1.1.0
30
+ - @modern-js/plugin-ssr@1.1.0
31
+ - @modern-js/plugin-state@1.1.0
32
+ - @modern-js/runtime-core@1.1.0
33
+ - @modern-js/bff-runtime@1.1.0
34
+ - @modern-js/utils@1.1.0
35
+
36
+ ## 1.0.0
37
+
38
+ ### Patch Changes
39
+
40
+ - 224f7fe: fix server route match
41
+ - 30ac27c: feat: add generator package description
42
+ - 0fd196e: feat: fix bugs
43
+ - 204c626: feat: initial
44
+ - 63be0a5: fix: #118 #104
45
+ - Updated dependencies [224f7fe]
46
+ - Updated dependencies [30ac27c]
47
+ - Updated dependencies [0fd196e]
48
+ - Updated dependencies [204c626]
49
+ - Updated dependencies [63be0a5]
50
+ - @modern-js/core@1.0.0
51
+ - @modern-js/plugin-router@1.0.0
52
+ - @modern-js/plugin-ssr@1.0.0
53
+ - @modern-js/plugin-state@1.0.0
54
+ - @modern-js/runtime-core@1.0.0
55
+ - @modern-js/bff-runtime@1.0.0
56
+ - @modern-js/utils@1.0.0
57
+
58
+ ## 1.0.0-rc.23
59
+
60
+ ### Patch Changes
61
+
62
+ - 224f7fe: fix server route match
63
+ - 30ac27c: feat: add generator package description
64
+ - 0fd196e: feat: fix bugs
65
+ - 204c626: feat: initial
66
+ - 63be0a5: fix: #118 #104
67
+ - Updated dependencies [224f7fe]
68
+ - Updated dependencies [30ac27c]
69
+ - Updated dependencies [0fd196e]
70
+ - Updated dependencies [204c626]
71
+ - Updated dependencies [63be0a5]
72
+ - @modern-js/core@1.0.0-rc.23
73
+ - @modern-js/plugin-router@1.0.0-rc.23
74
+ - @modern-js/plugin-ssr@1.0.0-rc.23
75
+ - @modern-js/plugin-state@1.0.0-rc.23
76
+ - @modern-js/runtime-core@1.0.0-rc.23
77
+ - @modern-js/bff-runtime@1.0.0-rc.23
78
+ - @modern-js/utils@1.0.0-rc.23
79
+
80
+ ## 1.0.0-rc.22
81
+
82
+ ### Patch Changes
83
+
84
+ - 224f7fe: fix server route match
85
+ - 30ac27c: feat: add generator package description
86
+ - 0fd196e: feat: fix bugs
87
+ - 204c626: feat: initial
88
+ - 63be0a5: fix: #118 #104
89
+ - Updated dependencies [224f7fe]
90
+ - Updated dependencies [30ac27c]
91
+ - Updated dependencies [0fd196e]
92
+ - Updated dependencies [204c626]
93
+ - Updated dependencies [63be0a5]
94
+ - @modern-js/core@1.0.0-rc.22
95
+ - @modern-js/plugin-router@1.0.0-rc.22
96
+ - @modern-js/plugin-ssr@1.0.0-rc.22
97
+ - @modern-js/plugin-state@1.0.0-rc.22
98
+ - @modern-js/runtime-core@1.0.0-rc.22
99
+ - @modern-js/bff-runtime@1.0.0-rc.22
100
+ - @modern-js/utils@1.0.0-rc.22
101
+
102
+ ## 1.0.0-rc.21
103
+
104
+ ### Patch Changes
105
+
106
+ - 224f7fe: fix server route match
107
+ - 30ac27c: feat: add generator package description
108
+ - 0fd196e: feat: fix bugs
109
+ - 204c626: feat: initial
110
+ - 63be0a5: fix: #118 #104
111
+ - Updated dependencies [224f7fe]
112
+ - Updated dependencies [30ac27c]
113
+ - Updated dependencies [0fd196e]
114
+ - Updated dependencies [204c626]
115
+ - Updated dependencies [63be0a5]
116
+ - @modern-js/core@1.0.0-rc.21
117
+ - @modern-js/plugin-router@1.0.0-rc.21
118
+ - @modern-js/plugin-ssr@1.0.0-rc.21
119
+ - @modern-js/plugin-state@1.0.0-rc.21
120
+ - @modern-js/runtime-core@1.0.0-rc.21
121
+ - @modern-js/bff-runtime@1.0.0-rc.21
122
+ - @modern-js/utils@1.0.0-rc.21
123
+
124
+ ## 1.0.0-rc.20
125
+
126
+ ### Patch Changes
127
+
128
+ - 224f7fe: fix server route match
129
+ - 30ac27c: feat: add generator package description
130
+ - feat: fix bugs
131
+ - 204c626: feat: initial
132
+ - 63be0a5: fix: #118 #104
133
+ - Updated dependencies [224f7fe]
134
+ - Updated dependencies [30ac27c]
135
+ - Updated dependencies [undefined]
136
+ - Updated dependencies [204c626]
137
+ - Updated dependencies [63be0a5]
138
+ - @modern-js/core@1.0.0-rc.20
139
+ - @modern-js/plugin-router@1.0.0-rc.20
140
+ - @modern-js/plugin-ssr@1.0.0-rc.20
141
+ - @modern-js/plugin-state@1.0.0-rc.20
142
+ - @modern-js/runtime-core@1.0.0-rc.20
143
+ - @modern-js/bff-runtime@1.0.0-rc.20
144
+ - @modern-js/utils@1.0.0-rc.20
145
+
146
+ ## 1.0.0-rc.19
147
+
148
+ ### Patch Changes
149
+
150
+ - 224f7fe: fix server route match
151
+ - 30ac27c: feat: add generator package description
152
+ - 204c626: feat: initial
153
+ - 63be0a5: fix: #118 #104
154
+ - Updated dependencies [224f7fe]
155
+ - Updated dependencies [30ac27c]
156
+ - Updated dependencies [204c626]
157
+ - Updated dependencies [63be0a5]
158
+ - @modern-js/core@1.0.0-rc.19
159
+ - @modern-js/plugin-router@1.0.0-rc.19
160
+ - @modern-js/plugin-ssr@1.0.0-rc.19
161
+ - @modern-js/plugin-state@1.0.0-rc.19
162
+ - @modern-js/runtime-core@1.0.0-rc.19
163
+ - @modern-js/bff-runtime@1.0.0-rc.19
164
+ - @modern-js/utils@1.0.0-rc.19
165
+
166
+ ## 1.0.0-rc.18
167
+
168
+ ### Patch Changes
169
+
170
+ - 224f7fe: fix server route match
171
+ - 30ac27c: feat: add generator package description
172
+ - 204c626: feat: initial
173
+ - 63be0a5: fix: #118 #104
174
+ - Updated dependencies [224f7fe]
175
+ - Updated dependencies [30ac27c]
176
+ - Updated dependencies [204c626]
177
+ - Updated dependencies [63be0a5]
178
+ - @modern-js/core@1.0.0-rc.18
179
+ - @modern-js/plugin-router@1.0.0-rc.18
180
+ - @modern-js/plugin-ssr@1.0.0-rc.18
181
+ - @modern-js/plugin-state@1.0.0-rc.18
182
+ - @modern-js/runtime-core@1.0.0-rc.18
183
+ - @modern-js/bff-runtime@1.0.0-rc.18
184
+ - @modern-js/utils@1.0.0-rc.18
185
+
186
+ ## 1.0.0-rc.17
187
+
188
+ ### Patch Changes
189
+
190
+ - 224f7fe: fix server route match
191
+ - 30ac27c: feat: add generator package description
192
+ - 204c626: feat: initial
193
+ - fix: #118 #104
194
+ - Updated dependencies [224f7fe]
195
+ - Updated dependencies [30ac27c]
196
+ - Updated dependencies [204c626]
197
+ - Updated dependencies [undefined]
198
+ - @modern-js/core@1.0.0-rc.17
199
+ - @modern-js/plugin-router@1.0.0-rc.17
200
+ - @modern-js/plugin-ssr@1.0.0-rc.17
201
+ - @modern-js/plugin-state@1.0.0-rc.17
202
+ - @modern-js/runtime-core@1.0.0-rc.17
203
+ - @modern-js/bff-runtime@1.0.0-rc.17
204
+ - @modern-js/utils@1.0.0-rc.17
205
+
206
+ ## 1.0.0-rc.16
207
+
208
+ ### Patch Changes
209
+
210
+ - 224f7fe: fix server route match
211
+ - 30ac27c: feat: add generator package description
212
+ - 204c626: feat: initial
213
+ - Updated dependencies [224f7fe]
214
+ - Updated dependencies [30ac27c]
215
+ - Updated dependencies [204c626]
216
+ - @modern-js/core@1.0.0-rc.16
217
+ - @modern-js/plugin-router@1.0.0-rc.16
218
+ - @modern-js/plugin-ssr@1.0.0-rc.16
219
+ - @modern-js/plugin-state@1.0.0-rc.16
220
+ - @modern-js/runtime-core@1.0.0-rc.16
221
+ - @modern-js/bff-runtime@1.0.0-rc.16
222
+ - @modern-js/utils@1.0.0-rc.16
223
+
224
+ ## 1.0.0-rc.15
225
+
226
+ ### Patch Changes
227
+
228
+ - 224f7fe: fix server route match
229
+ - 30ac27c: feat: add generator package description
230
+ - 204c626: feat: initial
231
+ - Updated dependencies [224f7fe]
232
+ - Updated dependencies [30ac27c]
233
+ - Updated dependencies [204c626]
234
+ - @modern-js/core@1.0.0-rc.15
235
+ - @modern-js/plugin-router@1.0.0-rc.15
236
+ - @modern-js/plugin-ssr@1.0.0-rc.15
237
+ - @modern-js/plugin-state@1.0.0-rc.15
238
+ - @modern-js/runtime-core@1.0.0-rc.15
239
+ - @modern-js/bff-runtime@1.0.0-rc.15
240
+ - @modern-js/utils@1.0.0-rc.15
241
+
242
+ ## 1.0.0-rc.14
243
+
244
+ ### Patch Changes
245
+
246
+ - 224f7fe: fix server route match
247
+ - 204c626: feat: initial
248
+ - Updated dependencies [224f7fe]
249
+ - Updated dependencies [204c626]
250
+ - @modern-js/core@1.0.0-rc.14
251
+ - @modern-js/plugin-router@1.0.0-rc.14
252
+ - @modern-js/plugin-ssr@1.0.0-rc.14
253
+ - @modern-js/plugin-state@1.0.0-rc.14
254
+ - @modern-js/runtime-core@1.0.0-rc.14
255
+ - @modern-js/bff-runtime@1.0.0-rc.14
256
+ - @modern-js/utils@1.0.0-rc.14
257
+
258
+ ## 1.0.0-rc.13
259
+
260
+ ### Patch Changes
261
+
262
+ - 224f7fe: fix server route match
263
+ - 204c626: feat: initial
264
+ - Updated dependencies [224f7fe]
265
+ - Updated dependencies [204c626]
266
+ - @modern-js/core@1.0.0-rc.13
267
+ - @modern-js/plugin-router@1.0.0-rc.13
268
+ - @modern-js/plugin-ssr@1.0.0-rc.13
269
+ - @modern-js/plugin-state@1.0.0-rc.13
270
+ - @modern-js/runtime-core@1.0.0-rc.13
271
+ - @modern-js/bff-runtime@1.0.0-rc.13
272
+ - @modern-js/utils@1.0.0-rc.13
273
+
274
+ ## 1.0.0-rc.12
275
+
276
+ ### Patch Changes
277
+
278
+ - 224f7fe: fix server route match
279
+ - 204c626: feat: initial
280
+ - Updated dependencies [224f7fe]
281
+ - Updated dependencies [204c626]
282
+ - @modern-js/core@1.0.0-rc.12
283
+ - @modern-js/plugin-router@1.0.0-rc.12
284
+ - @modern-js/plugin-ssr@1.0.0-rc.12
285
+ - @modern-js/plugin-state@1.0.0-rc.12
286
+ - @modern-js/runtime-core@1.0.0-rc.12
287
+ - @modern-js/bff-runtime@1.0.0-rc.12
288
+ - @modern-js/utils@1.0.0-rc.12
289
+
290
+ ## 1.0.0-rc.11
291
+
292
+ ### Patch Changes
293
+
294
+ - 224f7fe: fix server route match
295
+ - 204c626: feat: initial
296
+ - Updated dependencies [224f7fe]
297
+ - Updated dependencies [204c626]
298
+ - @modern-js/core@1.0.0-rc.11
299
+ - @modern-js/plugin-router@1.0.0-rc.11
300
+ - @modern-js/plugin-ssr@1.0.0-rc.11
301
+ - @modern-js/plugin-state@1.0.0-rc.11
302
+ - @modern-js/runtime-core@1.0.0-rc.11
303
+ - @modern-js/bff-runtime@1.0.0-rc.11
304
+ - @modern-js/utils@1.0.0-rc.11
305
+
306
+ ## 1.0.0-rc.10
307
+
308
+ ### Patch Changes
309
+
310
+ - 224f7fe: fix server route match
311
+ - 204c626: feat: initial
312
+ - Updated dependencies [224f7fe]
313
+ - Updated dependencies [204c626]
314
+ - @modern-js/core@1.0.0-rc.10
315
+ - @modern-js/plugin-router@1.0.0-rc.10
316
+ - @modern-js/plugin-ssr@1.0.0-rc.10
317
+ - @modern-js/plugin-state@1.0.0-rc.10
318
+ - @modern-js/runtime-core@1.0.0-rc.10
319
+ - @modern-js/bff-runtime@1.0.0-rc.10
320
+ - @modern-js/utils@1.0.0-rc.10
321
+
3
322
  ## 1.0.0-rc.9
4
323
 
5
324
  ### 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
1
  import path from 'path';
2
- import { createPlugin, usePlugins, useAppContext } from '@modern-js/core';
3
2
  import { PLUGIN_SCHEMAS, createRuntimeExportsUtils } from '@modern-js/utils';
3
+ import { createPlugin, usePlugins, useAppContext } from '@modern-js/core';
4
4
 
5
5
  const useInternalDirectory = () => {
6
6
  try {
@@ -1,2 +1 @@
1
- import '@modern-js/plugin-state/type';
2
1
  export * from '@modern-js/plugin-state';
@@ -7,10 +7,10 @@ exports.default = void 0;
7
7
 
8
8
  var _path = _interopRequireDefault(require("path"));
9
9
 
10
- var _core = require("@modern-js/core");
11
-
12
10
  var _utils = require("@modern-js/utils");
13
11
 
12
+ var _core = require("@modern-js/core");
13
+
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
15
 
16
16
  const useInternalDirectory = () => {
@@ -4,8 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- require("@modern-js/plugin-state/type");
8
-
9
7
  var _pluginState = require("@modern-js/plugin-state");
10
8
 
11
9
  Object.keys(_pluginState).forEach(function (key) {
@@ -1,6 +1,6 @@
1
1
  import path from 'path';
2
- import { createPlugin, usePlugins, useAppContext } from '@modern-js/core';
3
2
  import { PLUGIN_SCHEMAS, createRuntimeExportsUtils } from '@modern-js/utils';
3
+ import { createPlugin, usePlugins, useAppContext } from '@modern-js/core';
4
4
 
5
5
  var useInternalDirectory = function useInternalDirectory() {
6
6
  try {
@@ -1,2 +1 @@
1
- import '@modern-js/plugin-state/type';
2
1
  export * from '@modern-js/plugin-state';
@@ -1,2 +1 @@
1
- import '@modern-js/plugin-state/type';
2
1
  export * from '@modern-js/plugin-state';
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "@modern-js/runtime",
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": "./type.d.ts",
6
17
  "main": "./dist/js/node/index.js",
@@ -8,59 +19,35 @@
8
19
  "jsnext:modern": "./dist/js/modern/index.js",
9
20
  "exports": {
10
21
  ".": {
11
- "node": {
12
- "import": "./dist/js/modern/index.js",
13
- "require": "./dist/js/node/index.js"
14
- },
22
+ "node": "./dist/js/node/index.js",
15
23
  "default": "./dist/js/treeshaking/index.js"
16
24
  },
17
25
  "./loadable": {
18
- "node": {
19
- "import": "./dist/js/modern/exports/loadable.js",
20
- "require": "./dist/js/node/exports/loadable.js"
21
- },
26
+ "node": "./dist/js/node/exports/loadable.js",
22
27
  "default": "./dist/js/treeshaking/exports/loadable.js"
23
28
  },
24
29
  "./head": {
25
- "node": {
26
- "import": "./dist/js/modern/exports/head.js",
27
- "require": "./dist/js/node/exports/head.js"
28
- },
30
+ "node": "./dist/js/node/exports/head.js",
29
31
  "default": "./dist/js/treeshaking/exports/head.js"
30
32
  },
31
33
  "./styled": {
32
- "node": {
33
- "import": "./dist/js/modern/exports/styled.js",
34
- "require": "./dist/js/node/exports/styled.js"
35
- },
34
+ "node": "./dist/js/node/exports/styled.js",
36
35
  "default": "./dist/js/treeshaking/exports/styled.js"
37
36
  },
38
37
  "./server": {
39
- "node": {
40
- "import": "./dist/js/modern/exports/server.js",
41
- "require": "./dist/js/node/exports/server.js"
42
- },
38
+ "node": "./dist/js/node/exports/server.js",
43
39
  "default": "./dist/js/treeshaking/exports/server.js"
44
40
  },
45
41
  "./router": {
46
- "node": {
47
- "import": "./dist/js/modern/exports/router.js",
48
- "require": "./dist/js/node/exports/router.js"
49
- },
42
+ "node": "./dist/js/node/exports/router.js",
50
43
  "default": "./dist/js/treeshaking/exports/router.js"
51
44
  },
52
45
  "./ssr": {
53
- "node": {
54
- "import": "./dist/js/modern/exports/ssr.js",
55
- "require": "./dist/js/node/exports/ssr.js"
56
- },
46
+ "node": "./dist/js/node/exports/ssr.js",
57
47
  "default": "./dist/js/treeshaking/exports/ssr.js"
58
48
  },
59
49
  "./model": {
60
- "node": {
61
- "import": "./dist/js/modern/exports/model.js",
62
- "require": "./dist/js/node/exports/model.js"
63
- },
50
+ "node": "./dist/js/node/exports/model.js",
64
51
  "default": "./dist/js/treeshaking/exports/model.js"
65
52
  },
66
53
  "./cli": "./dist/js/node/cli/index.js"
@@ -89,20 +76,19 @@
89
76
  "./dist/types/exports/router.d.ts"
90
77
  ],
91
78
  "model": [
92
- "./dist/types/exports/model.d.ts"
79
+ "./types/model.d.ts"
93
80
  ]
94
81
  }
95
82
  },
96
83
  "dependencies": {
97
84
  "@babel/runtime": "^7",
98
85
  "@loadable/component": "^5.15.0",
99
- "@modern-js/bff-runtime": "^1.0.0-rc.9",
100
- "@modern-js/core": "^1.0.0-rc.9",
101
- "@modern-js/plugin-router": "^1.0.0-rc.9",
102
- "@modern-js/plugin-ssr": "^1.0.0-rc.9",
103
- "@modern-js/plugin-state": "^1.0.0-rc.9",
104
- "@modern-js/runtime-core": "^1.0.0-rc.9",
105
- "@modern-js/utils": "^1.0.0-rc.9",
86
+ "@modern-js/bff-runtime": "^1.1.1",
87
+ "@modern-js/plugin-router": "^1.1.1",
88
+ "@modern-js/plugin-ssr": "^1.1.1",
89
+ "@modern-js/plugin-state": "^1.1.2",
90
+ "@modern-js/runtime-core": "^1.1.1",
91
+ "@modern-js/utils": "^1.1.2",
106
92
  "@types/loadable__component": "^5.13.4",
107
93
  "@types/react-helmet": "^6.1.2",
108
94
  "@types/styled-components": "^5.1.13",
@@ -115,8 +101,12 @@
115
101
  "@types/react": "^17",
116
102
  "@types/react-dom": "^17",
117
103
  "typescript": "^4",
118
- "@modern-js/plugin-testing": "^1.0.0-rc.9",
119
- "@modern-js/module-tools": "^1.0.0-rc.9"
104
+ "@modern-js/core": "^1.1.2",
105
+ "@modern-js/plugin-testing": "^1.1.0",
106
+ "@modern-js/module-tools": "^1.1.0"
107
+ },
108
+ "peerDependencies": {
109
+ "@modern-js/core": "^1.1.2"
120
110
  },
121
111
  "sideEffects": false,
122
112
  "modernConfig": {},
package/src/cli/index.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import path from 'path';
2
- import { createPlugin, usePlugins, useAppContext } from '@modern-js/core';
3
2
  import { PLUGIN_SCHEMAS, createRuntimeExportsUtils } from '@modern-js/utils';
3
+ import { createPlugin, usePlugins, useAppContext } from '@modern-js/core';
4
4
 
5
5
  const useInternalDirectory = () => {
6
6
  try {
@@ -1,3 +1 @@
1
- import '@modern-js/plugin-state/type';
2
-
3
1
  export * from '@modern-js/plugin-state';
@@ -0,0 +1,3 @@
1
+ import '@modern-js/plugin-state/type';
2
+
3
+ export * from '../dist/types/exports/model';