olp-table 5.1.4 → 5.3.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/olp-table/olp-table.common.js +36 -51
- package/olp-table/olp-table.css +1 -1
- package/olp-table/olp-table.umd.js +36 -51
- package/olp-table/olp-table.umd.min.js +3 -3
- package/package.json +6 -6
- package/rmMode.bat +1 -0
- package/src/config/dev-config.js +1 -1
- package/vue.config.js +2 -1
- package/z-package1.bat +0 -2
- package/z-package2.bat +0 -2
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "olp-table",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"serve": "vue-cli-service serve",
|
|
6
6
|
"build": "vue-cli-service build",
|
|
7
7
|
"lint": "vue-cli-service lint",
|
|
8
8
|
"build:report": "vue-cli-service build --report",
|
|
9
9
|
"package": "vue-cli-service build --target lib src/package/index.js --name olp-table --dest olp-table --mode build",
|
|
10
|
-
"patch": "npm run package && npm version patch && npm publish",
|
|
11
|
-
"minor": "npm run package && npm version minor && npm publish",
|
|
12
|
-
"major": "npm run package && npm version major && npm publish"
|
|
10
|
+
"patch": "npm run package && npm version patch && npm publish --registry https://registry.npmjs.org",
|
|
11
|
+
"minor": "npm run package && npm version minor && npm publish --registry https://registry.npmjs.org",
|
|
12
|
+
"major": "npm run package && npm version major && npm publish --registry https://registry.npmjs.org"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@codemirror/lang-html": "^6.4.6",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"vue": "^3.2.13",
|
|
40
40
|
"vue-codemirror": "^6.1.1",
|
|
41
41
|
"vue-json-viewer": "^3.0.4",
|
|
42
|
-
"vxe-table": "
|
|
42
|
+
"vxe-table": "4.6.18",
|
|
43
43
|
"xe-utils": "^3.5.7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"less-loader": "^6.0.0",
|
|
57
57
|
"sass-loader": "^14.0.0",
|
|
58
58
|
"vue-cli-plugin-axios": "~0.0.4",
|
|
59
|
-
"vxe-table": "
|
|
59
|
+
"vxe-table": "4.6.18"
|
|
60
60
|
},
|
|
61
61
|
"eslintConfig": {
|
|
62
62
|
"root": true,
|
package/rmMode.bat
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
rimraf node_modules
|
package/src/config/dev-config.js
CHANGED
package/vue.config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const {defineConfig} = require('@vue/cli-service')
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
module.exports = defineConfig({
|
|
4
4
|
publicPath: "./",
|
|
5
5
|
transpileDependencies: true,
|
|
@@ -8,6 +8,7 @@ module.exports = defineConfig({
|
|
|
8
8
|
// 生产环境不生成 SourceMap
|
|
9
9
|
productionSourceMap: false,
|
|
10
10
|
configureWebpack: (config) => {
|
|
11
|
+
const isProduction = process.env.NODE_ENV === 'production';
|
|
11
12
|
const externals = isProduction ? {
|
|
12
13
|
// 排除 Vue 依赖,避免重复打包
|
|
13
14
|
'element-plus': 'element-plus',
|
package/z-package1.bat
DELETED
package/z-package2.bat
DELETED