unify-external-plugin-platform 0.0.2-24 → 0.0.2-26
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/.browserslistrc +3 -3
- package/README.md +49 -49
- package/babel.config.js +5 -5
- package/dist/external-plugin.common.js +2 -4
- package/dist/external-plugin.common.js.map +1 -1
- package/dist/external-plugin.umd.js +2 -4
- package/dist/external-plugin.umd.js.map +1 -1
- package/dist/external-plugin.umd.min.js +2 -2
- package/dist/external-plugin.umd.min.js.map +1 -1
- package/package.json +4 -2
- package/tsconfig.json +42 -42
- package/vue.config.js +0 -31
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "unify-external-plugin-platform",
|
3
|
-
"version": "0.0.2-
|
3
|
+
"version": "0.0.2-26",
|
4
4
|
"description": "统一对外插件平台",
|
5
5
|
"main": "./dist/external-plugin.umd.min.js",
|
6
6
|
"author": "Young",
|
@@ -16,6 +16,7 @@
|
|
16
16
|
"core-js": "^3.8.3",
|
17
17
|
"element-ui": "^2.15.12",
|
18
18
|
"register-service-worker": "^1.7.2",
|
19
|
+
"unify-external-plugin-platform": "^0.0.2-25",
|
19
20
|
"vue": "^2.6.14",
|
20
21
|
"vue-class-component": "^7.2.3",
|
21
22
|
"vue-property-decorator": "^9.1.2",
|
@@ -33,6 +34,7 @@
|
|
33
34
|
"sass-loader": "^12.0.0",
|
34
35
|
"typescript": "~4.5.5",
|
35
36
|
"vue-template-compiler": "^2.6.14",
|
36
|
-
"vuepress": "^1.9.7"
|
37
|
+
"vuepress": "^1.9.7",
|
38
|
+
"vuepress-plugin-demo-container": "^0.2.0"
|
37
39
|
}
|
38
40
|
}
|
package/tsconfig.json
CHANGED
@@ -1,42 +1,42 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"target": "esnext",
|
4
|
-
"module": "esnext",
|
5
|
-
"strict": true,
|
6
|
-
"noImplicitAny": false,
|
7
|
-
"jsx": "preserve",
|
8
|
-
"moduleResolution": "node",
|
9
|
-
"experimentalDecorators": true,
|
10
|
-
"skipLibCheck": true,
|
11
|
-
"esModuleInterop": true,
|
12
|
-
"allowSyntheticDefaultImports": true,
|
13
|
-
"forceConsistentCasingInFileNames": true,
|
14
|
-
"useDefineForClassFields": true,
|
15
|
-
"sourceMap": true,
|
16
|
-
"baseUrl": ".",
|
17
|
-
"types": [
|
18
|
-
"webpack-env"
|
19
|
-
],
|
20
|
-
"paths": {
|
21
|
-
"@/*": [
|
22
|
-
"src/*"
|
23
|
-
]
|
24
|
-
},
|
25
|
-
"lib": [
|
26
|
-
"esnext",
|
27
|
-
"dom",
|
28
|
-
"dom.iterable",
|
29
|
-
"scripthost"
|
30
|
-
]
|
31
|
-
},
|
32
|
-
"include": [
|
33
|
-
"src/**/*.ts",
|
34
|
-
"src/**/*.tsx",
|
35
|
-
"src/**/*.vue",
|
36
|
-
"tests/**/*.ts",
|
37
|
-
"tests/**/*.tsx"
|
38
|
-
],
|
39
|
-
"exclude": [
|
40
|
-
"node_modules"
|
41
|
-
]
|
42
|
-
}
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
"target": "esnext",
|
4
|
+
"module": "esnext",
|
5
|
+
"strict": true,
|
6
|
+
"noImplicitAny": false,
|
7
|
+
"jsx": "preserve",
|
8
|
+
"moduleResolution": "node",
|
9
|
+
"experimentalDecorators": true,
|
10
|
+
"skipLibCheck": true,
|
11
|
+
"esModuleInterop": true,
|
12
|
+
"allowSyntheticDefaultImports": true,
|
13
|
+
"forceConsistentCasingInFileNames": true,
|
14
|
+
"useDefineForClassFields": true,
|
15
|
+
"sourceMap": true,
|
16
|
+
"baseUrl": ".",
|
17
|
+
"types": [
|
18
|
+
"webpack-env"
|
19
|
+
],
|
20
|
+
"paths": {
|
21
|
+
"@/*": [
|
22
|
+
"src/*"
|
23
|
+
]
|
24
|
+
},
|
25
|
+
"lib": [
|
26
|
+
"esnext",
|
27
|
+
"dom",
|
28
|
+
"dom.iterable",
|
29
|
+
"scripthost"
|
30
|
+
]
|
31
|
+
},
|
32
|
+
"include": [
|
33
|
+
"src/**/*.ts",
|
34
|
+
"src/**/*.tsx",
|
35
|
+
"src/**/*.vue",
|
36
|
+
"tests/**/*.ts",
|
37
|
+
"tests/**/*.tsx"
|
38
|
+
],
|
39
|
+
"exclude": [
|
40
|
+
"node_modules"
|
41
|
+
]
|
42
|
+
}
|
package/vue.config.js
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
const { defineConfig } = require('@vue/cli-service')
|
2
|
-
const path = require('path');
|
3
|
-
module.exports = {
|
4
|
-
configureWebpack: {
|
5
|
-
resolve: {
|
6
|
-
extensions: ['.js', '.ts', '.vue', '.json'],
|
7
|
-
alias: {
|
8
|
-
main: path.resolve(__dirname, '../src'),
|
9
|
-
packages: path.resolve(__dirname, '../packages'),
|
10
|
-
examples: path.resolve(__dirname, '../examples'),
|
11
|
-
},
|
12
|
-
modules: ['node_modules']
|
13
|
-
},
|
14
|
-
// externals: { // 忽略不进行处理的文件 这里 不对 Vue进行打包
|
15
|
-
// vue: {
|
16
|
-
// root: 'Vue',
|
17
|
-
// commonjs: 'vue',
|
18
|
-
// commonjs2: 'vue',
|
19
|
-
// amd: 'vue'
|
20
|
-
// },
|
21
|
-
// 'element-ui': {
|
22
|
-
// root: 'element-ui',
|
23
|
-
// commonjs: 'element-ui',
|
24
|
-
// commonjs2: 'element-ui',
|
25
|
-
// amd: 'element-ui'
|
26
|
-
// }
|
27
|
-
// },
|
28
|
-
}
|
29
|
-
|
30
|
-
// transpileDependencies: true
|
31
|
-
}
|