@moneko/core 2.0.61 → 2.0.62-beta.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/package.json +10 -10
- package/typings/global.d.ts +15 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moneko/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.62-beta.0",
|
|
4
4
|
"description": "core",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"author": "moneko",
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@emotion/css": "11.
|
|
18
|
+
"@emotion/css": "11.11.0",
|
|
19
19
|
"@mapbox/rehype-prism": "0.8.0",
|
|
20
20
|
"@mdx-js/loader": "2.3.0",
|
|
21
21
|
"@moneko/common": "1.1.0",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@swc/core": "1.3.56",
|
|
25
25
|
"@swc/css": "0.0.20",
|
|
26
26
|
"@swc/helpers": "0.5.1",
|
|
27
|
-
"add-asset-html-webpack-plugin": "
|
|
28
|
-
"core-js": "3.30.
|
|
27
|
+
"add-asset-html-webpack-plugin": "6.0.0",
|
|
28
|
+
"core-js": "3.30.2",
|
|
29
29
|
"cross-env": "7.0.3",
|
|
30
30
|
"css-loader": "6.7.3",
|
|
31
31
|
"css-minimizer-webpack-plugin": "5.0.0",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"react-activation": "0.12.4",
|
|
42
42
|
"react-refresh": "0.14.0",
|
|
43
43
|
"react-refresh-typescript": "2.0.9",
|
|
44
|
-
"react-router": "6.11.
|
|
45
|
-
"react-router-dom": "6.11.
|
|
44
|
+
"react-router": "6.11.1",
|
|
45
|
+
"react-router-dom": "6.11.1",
|
|
46
46
|
"rehype-accessible-emojis": "0.3.2",
|
|
47
47
|
"rehype-figure": "1.0.1",
|
|
48
48
|
"shared-store-object": "1.0.7",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"ts-import-plugin": "3.0.0",
|
|
54
54
|
"ts-loader": "9.4.2",
|
|
55
55
|
"typescript": "5.0.4",
|
|
56
|
-
"webpack": "5.
|
|
56
|
+
"webpack": "5.82.1",
|
|
57
57
|
"webpack-bundle-analyzer": "4.8.0",
|
|
58
|
-
"webpack-cli": "5.
|
|
59
|
-
"webpack-dev-server": "4.
|
|
58
|
+
"webpack-cli": "5.1.1",
|
|
59
|
+
"webpack-dev-server": "4.15.0",
|
|
60
60
|
"webpack-merge": "5.8.0",
|
|
61
61
|
"webpackbar": "5.0.2",
|
|
62
62
|
"xml2js": "0.5.0"
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@types/shelljs": "^0.8.12",
|
|
71
71
|
"@types/webpack-bundle-analyzer": "^4.6.0",
|
|
72
72
|
"@types/webpack-env": "^1.18.0",
|
|
73
|
-
"antd": "5.4.
|
|
73
|
+
"antd": "5.4.6",
|
|
74
74
|
"eslint-config-neko": "^1.0.22",
|
|
75
75
|
"react": "^18.2.0",
|
|
76
76
|
"shelljs": "^0.8.5",
|
package/typings/global.d.ts
CHANGED
|
@@ -175,7 +175,21 @@ export declare type ConfigType<T = 'tsc'> = {
|
|
|
175
175
|
};
|
|
176
176
|
/** HtmlWebpackPlugin Option */
|
|
177
177
|
htmlPluginOption: HtmlWebpackOption;
|
|
178
|
-
/** 自定义插入 html 的 js 和 css
|
|
178
|
+
/** 自定义插入 html 的 js 和 css
|
|
179
|
+
* @example
|
|
180
|
+
* const conf = {
|
|
181
|
+
* assetHtml: [
|
|
182
|
+
* {
|
|
183
|
+
* glob: './public/*.entry.css',
|
|
184
|
+
* typeOfAsset: 'css',
|
|
185
|
+
* },
|
|
186
|
+
* {
|
|
187
|
+
* glob: './public/*.entry.js',
|
|
188
|
+
* typeOfAsset: 'js',
|
|
189
|
+
* },
|
|
190
|
+
* ]
|
|
191
|
+
* }
|
|
192
|
+
* */
|
|
179
193
|
assetHtml: AssetHtmlOptions[];
|
|
180
194
|
/** 路由模式
|
|
181
195
|
* @description
|