@modern-js/plugin-docsite 1.2.6 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
package/.eslintrc.js
ADDED
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,60 @@
|
|
1
1
|
# @modern-js/plugin-docsite
|
2
2
|
|
3
|
+
## 1.2.9
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 69a728375: fix: remove exports.jsnext:source after publish
|
8
|
+
- Updated dependencies [b7b8075dc]
|
9
|
+
- Updated dependencies [cd7346b0d]
|
10
|
+
- Updated dependencies [0e0537005]
|
11
|
+
- Updated dependencies [738c55d39]
|
12
|
+
- Updated dependencies [69a728375]
|
13
|
+
- @modern-js/webpack@1.6.2
|
14
|
+
- @modern-js/utils@1.7.2
|
15
|
+
|
16
|
+
## 1.2.8
|
17
|
+
|
18
|
+
### Patch Changes
|
19
|
+
|
20
|
+
- 77519490: refactor(webpack): remove `@modern-js/core`
|
21
|
+
- Updated dependencies [2d155c4c]
|
22
|
+
- Updated dependencies [a0475f1a]
|
23
|
+
- Updated dependencies [123e432d]
|
24
|
+
- Updated dependencies [e5a9b26d]
|
25
|
+
- Updated dependencies [0b26b93b]
|
26
|
+
- Updated dependencies [123e432d]
|
27
|
+
- Updated dependencies [f9f66ef9]
|
28
|
+
- Updated dependencies [71526621]
|
29
|
+
- Updated dependencies [77519490]
|
30
|
+
- Updated dependencies [592edabc]
|
31
|
+
- Updated dependencies [3578716a]
|
32
|
+
- Updated dependencies [895fa0ff]
|
33
|
+
- Updated dependencies [3d1fac2a]
|
34
|
+
- Updated dependencies [3578913e]
|
35
|
+
- Updated dependencies [1c3beab3]
|
36
|
+
- @modern-js/utils@1.6.0
|
37
|
+
- @modern-js/webpack@1.5.7
|
38
|
+
|
39
|
+
## 1.2.7
|
40
|
+
|
41
|
+
### Patch Changes
|
42
|
+
|
43
|
+
- 6cffe99d: chore:
|
44
|
+
remove react eslint rules for `modern-js` rule set.
|
45
|
+
add .eslintrc for each package to speed up linting
|
46
|
+
- 04ae5262: chore: bump @modern-js/utils to v1.4.1 in dependencies
|
47
|
+
- 60f7d8bf: feat: add tests dir to npmignore
|
48
|
+
- 5dbbeb57: fix: export extended Command type
|
49
|
+
- Updated dependencies [b8599d09]
|
50
|
+
- Updated dependencies [6cffe99d]
|
51
|
+
- Updated dependencies [04ae5262]
|
52
|
+
- Updated dependencies [60f7d8bf]
|
53
|
+
- Updated dependencies [e4cec1ce]
|
54
|
+
- Updated dependencies [3bf4f8b0]
|
55
|
+
- @modern-js/utils@1.5.0
|
56
|
+
- @modern-js/webpack@1.5.5
|
57
|
+
|
3
58
|
## 1.2.6
|
4
59
|
|
5
60
|
### Patch Changes
|
@@ -5,7 +5,8 @@ import webpack from 'webpack';
|
|
5
5
|
import { getWebpackConfig, WebpackConfigTarget } from '@modern-js/webpack';
|
6
6
|
import { UTILS_STATIC } from "../constant";
|
7
7
|
export function generatorWebpackConfig(appDirectory, tmpDir, isDev) {
|
8
|
-
|
8
|
+
// FIXME: 这个包现在没有使用,待使用时再重构 webpack 配置的获取
|
9
|
+
const originConfig = getWebpackConfig(WebpackConfigTarget.CLIENT, {}, {});
|
9
10
|
const plugins = (originConfig.plugins || []).filter(p => p.constructor !== webpack.HotModuleReplacementPlugin);
|
10
11
|
const config = {
|
11
12
|
mode: isDev ? 'development' : 'production',
|
@@ -21,7 +21,8 @@ var _constant = require("../constant");
|
|
21
21
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
22
22
|
|
23
23
|
function generatorWebpackConfig(appDirectory, tmpDir, isDev) {
|
24
|
-
|
24
|
+
// FIXME: 这个包现在没有使用,待使用时再重构 webpack 配置的获取
|
25
|
+
const originConfig = (0, _webpack2.getWebpackConfig)(_webpack2.WebpackConfigTarget.CLIENT, {}, {});
|
25
26
|
const plugins = (originConfig.plugins || []).filter(p => p.constructor !== _webpack.default.HotModuleReplacementPlugin);
|
26
27
|
const config = {
|
27
28
|
mode: isDev ? 'development' : 'production',
|
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.9",
|
15
15
|
"jsnext:source": "./src/index.ts",
|
16
16
|
"types": "./dist/types/index.d.ts",
|
17
17
|
"main": "./dist/js/node/index.js",
|
@@ -37,8 +37,8 @@
|
|
37
37
|
"@babel/runtime": "^7",
|
38
38
|
"@mdx-js/mdx": "^1.6.22",
|
39
39
|
"@mdx-js/react": "^1.6.22",
|
40
|
-
"@modern-js/utils": "^1.
|
41
|
-
"@modern-js/webpack": "^1.
|
40
|
+
"@modern-js/utils": "^1.7.2",
|
41
|
+
"@modern-js/webpack": "^1.6.2",
|
42
42
|
"antd": "^4.16.13",
|
43
43
|
"core-js": "^3.17.2",
|
44
44
|
"github-slugger": "^1.4.0",
|
@@ -58,7 +58,7 @@
|
|
58
58
|
"webpack-dev-server": "^4.1.1"
|
59
59
|
},
|
60
60
|
"devDependencies": {
|
61
|
-
"@modern-js/core": "1.
|
61
|
+
"@modern-js/core": "1.10.1",
|
62
62
|
"@scripts/build": "0.0.0",
|
63
63
|
"@scripts/jest-config": "0.0.0",
|
64
64
|
"@types/core-js": "^2.5.5",
|
package/tests/index.test.ts
DELETED
package/tests/tsconfig.json
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"extends": "@modern-js/tsconfig/base",
|
3
|
-
"compilerOptions": {
|
4
|
-
"declaration": true,
|
5
|
-
"jsx": "preserve",
|
6
|
-
"baseUrl": "./",
|
7
|
-
"outDir": "./out",
|
8
|
-
"emitDeclarationOnly": true,
|
9
|
-
"isolatedModules": true,
|
10
|
-
"paths": {},
|
11
|
-
"types": ["node", "jest"]
|
12
|
-
}
|
13
|
-
}
|