@modern-js/runtime 1.2.5 → 1.2.8
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/.eslintrc.js +8 -0
- package/CHANGELOG.md +49 -0
- package/package.json +16 -15
- package/tests/index.test.ts +0 -9
- package/tests/server.test.ts +0 -10
- package/tests/tsconfig.json +0 -13
- package/types/model.d.ts +0 -3
package/.eslintrc.js
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# @modern-js/runtime
|
|
2
2
|
|
|
3
|
+
## 1.2.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6c1438d2: fix: missing peer deps warnings
|
|
8
|
+
- 123e432d: uglify ssr bundle for treeshaking
|
|
9
|
+
- Updated dependencies [2d155c4c]
|
|
10
|
+
- Updated dependencies [a0475f1a]
|
|
11
|
+
- Updated dependencies [123e432d]
|
|
12
|
+
- Updated dependencies [6c1438d2]
|
|
13
|
+
- Updated dependencies [e5a9b26d]
|
|
14
|
+
- Updated dependencies [0b26b93b]
|
|
15
|
+
- Updated dependencies [123e432d]
|
|
16
|
+
- Updated dependencies [f9f66ef9]
|
|
17
|
+
- Updated dependencies [592edabc]
|
|
18
|
+
- Updated dependencies [895fa0ff]
|
|
19
|
+
- Updated dependencies [3578913e]
|
|
20
|
+
- Updated dependencies [0fccff68]
|
|
21
|
+
- Updated dependencies [1c3beab3]
|
|
22
|
+
- @modern-js/utils@1.6.0
|
|
23
|
+
- @modern-js/plugin-ssr@1.2.8
|
|
24
|
+
- @modern-js/plugin-state@1.2.5
|
|
25
|
+
- @modern-js/plugin-router@1.2.11
|
|
26
|
+
- @modern-js/runtime-core@1.4.3
|
|
27
|
+
- @modern-js/create-request@1.2.5
|
|
28
|
+
|
|
29
|
+
## 1.2.6
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- 6cffe99d: chore:
|
|
34
|
+
remove react eslint rules for `modern-js` rule set.
|
|
35
|
+
add .eslintrc for each package to speed up linting
|
|
36
|
+
- 04ae5262: chore: bump @modern-js/utils to v1.4.1 in dependencies
|
|
37
|
+
- 60f7d8bf: feat: add tests dir to npmignore
|
|
38
|
+
- Updated dependencies [b8599d09]
|
|
39
|
+
- Updated dependencies [6cffe99d]
|
|
40
|
+
- Updated dependencies [04ae5262]
|
|
41
|
+
- Updated dependencies [60f7d8bf]
|
|
42
|
+
- Updated dependencies [e4cec1ce]
|
|
43
|
+
- Updated dependencies [3bf4f8b0]
|
|
44
|
+
- @modern-js/utils@1.5.0
|
|
45
|
+
- @modern-js/plugin-router@1.2.10
|
|
46
|
+
- @modern-js/plugin-state@1.2.4
|
|
47
|
+
- @modern-js/runtime-core@1.4.2
|
|
48
|
+
- @modern-js/bff-runtime@1.2.2
|
|
49
|
+
- @modern-js/create-request@1.2.4
|
|
50
|
+
- @modern-js/plugin-ssr@1.2.7
|
|
51
|
+
|
|
3
52
|
## 1.2.5
|
|
4
53
|
|
|
5
54
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.2.
|
|
14
|
+
"version": "1.2.8",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./type.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"./ssr": {
|
|
54
54
|
"jsnext:source": "./src/exports/ssr.ts",
|
|
55
|
-
"node": "./dist/js/
|
|
55
|
+
"node": "./dist/js/treeshaking/exports/ssr.js",
|
|
56
56
|
"default": "./dist/js/treeshaking/exports/ssr.js"
|
|
57
57
|
},
|
|
58
58
|
"./model": {
|
|
@@ -97,27 +97,28 @@
|
|
|
97
97
|
"./dist/types/exports/request.d.ts"
|
|
98
98
|
],
|
|
99
99
|
"model": [
|
|
100
|
-
"./types/model.d.ts"
|
|
100
|
+
"./dist/types/exports/model.d.ts"
|
|
101
101
|
]
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
105
|
"@babel/runtime": "^7",
|
|
106
|
-
"@modern-js/plugin-router": "^1.2.
|
|
107
|
-
"@modern-js/plugin-ssr": "^1.
|
|
108
|
-
"@modern-js/plugin-state": "^1.2.
|
|
109
|
-
"@modern-js/runtime-core": "^1.4.
|
|
110
|
-
"@modern-js/utils": "^1.
|
|
111
|
-
"@modern-js/bff-runtime": "^1.2.
|
|
112
|
-
"@modern-js/create-request": "^1.2.
|
|
106
|
+
"@modern-js/plugin-router": "^1.2.12",
|
|
107
|
+
"@modern-js/plugin-ssr": "^1.3.0",
|
|
108
|
+
"@modern-js/plugin-state": "^1.2.5",
|
|
109
|
+
"@modern-js/runtime-core": "^1.4.4",
|
|
110
|
+
"@modern-js/utils": "^1.7.0",
|
|
111
|
+
"@modern-js/bff-runtime": "^1.2.2",
|
|
112
|
+
"@modern-js/create-request": "^1.2.6",
|
|
113
113
|
"@loadable/component": "^5.15.0",
|
|
114
114
|
"@types/loadable__component": "^5.13.4",
|
|
115
115
|
"@types/react-helmet": "^6.1.2",
|
|
116
116
|
"react-helmet": "^6.1.0",
|
|
117
|
-
"react-side-effect": "^2.1.1"
|
|
117
|
+
"react-side-effect": "^2.1.1",
|
|
118
|
+
"react-is": "^17"
|
|
118
119
|
},
|
|
119
120
|
"devDependencies": {
|
|
120
|
-
"@modern-js/core": "1.
|
|
121
|
+
"@modern-js/core": "1.10.0",
|
|
121
122
|
"@scripts/build": "0.0.0",
|
|
122
123
|
"@types/jest": "^26",
|
|
123
124
|
"@types/node": "^14",
|
|
@@ -132,12 +133,12 @@
|
|
|
132
133
|
"modernConfig": {},
|
|
133
134
|
"publishConfig": {
|
|
134
135
|
"registry": "https://registry.npmjs.org/",
|
|
135
|
-
"access": "public"
|
|
136
|
+
"access": "public",
|
|
137
|
+
"types": "./type.d.ts"
|
|
136
138
|
},
|
|
137
139
|
"scripts": {
|
|
138
140
|
"new": "modern new",
|
|
139
141
|
"build": "modern build",
|
|
140
142
|
"test": "jest --passWithNoTests"
|
|
141
|
-
}
|
|
142
|
-
"readme": "\n<p align=\"center\">\n <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>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> 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.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
|
|
143
|
+
}
|
|
143
144
|
}
|
package/tests/index.test.ts
DELETED
package/tests/server.test.ts
DELETED
package/tests/tsconfig.json
DELETED
package/types/model.d.ts
DELETED