@tmsfe/tmskit 0.0.15-beta.0 → 0.0.15-beta.4

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/dist/index.cjs.js CHANGED
@@ -3280,7 +3280,7 @@ var entry = [{
3280
3280
 
3281
3281
  var require$$7 = {
3282
3282
  name: "@tmsfe/tmskit",
3283
- version: "0.0.15-beta.0",
3283
+ version: "0.0.15-beta.4",
3284
3284
  description: "tmskit",
3285
3285
  main: "dist/index.cjs",
3286
3286
  bin: {
@@ -3297,7 +3297,8 @@ var require$$7 = {
3297
3297
  build: "rollup -c --environment TARGET:tmskit",
3298
3298
  "pub:patch": "sh build/publish.sh patch",
3299
3299
  "pub:minor": "sh build/publish.sh minor",
3300
- "pub:major": "sh build/publish.sh major"
3300
+ "pub:major": "sh build/publish.sh major",
3301
+ postinstall: "cd ./node_modules/gulp-watch && npm install chokidar@3.5.3"
3301
3302
  },
3302
3303
  author: "tms·web",
3303
3304
  license: "ISC",
@@ -3336,6 +3337,7 @@ var require$$7 = {
3336
3337
  moment: "^2.29.1",
3337
3338
  "object-assign": "^4.0.1",
3338
3339
  ora: "^5.1.0",
3340
+ "patch-package": "^6.4.7",
3339
3341
  "plugin-error": "^1.0.0",
3340
3342
  postcss: "^8.4.6",
3341
3343
  precinct: "^8.3.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmsfe/tmskit",
3
- "version": "0.0.15-beta.0",
3
+ "version": "0.0.15-beta.4",
4
4
  "description": "tmskit",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {
@@ -17,7 +17,8 @@
17
17
  "build": "rollup -c --environment TARGET:tmskit",
18
18
  "pub:patch": "sh build/publish.sh patch",
19
19
  "pub:minor": "sh build/publish.sh minor",
20
- "pub:major": "sh build/publish.sh major"
20
+ "pub:major": "sh build/publish.sh major",
21
+ "postinstall": "cd ./node_modules/gulp-watch && npm install chokidar@3.5.3"
21
22
  },
22
23
  "author": "tms·web",
23
24
  "license": "ISC",
@@ -56,6 +57,7 @@
56
57
  "moment": "^2.29.1",
57
58
  "object-assign": "^4.0.1",
58
59
  "ora": "^5.1.0",
60
+ "patch-package": "^6.4.7",
59
61
  "plugin-error": "^1.0.0",
60
62
  "postcss": "^8.4.6",
61
63
  "precinct": "^8.3.1",
@@ -7,7 +7,6 @@ const { info } = require('../../../utils/log');
7
7
  const { global } = require('../../../utils/global');
8
8
  const { CACHE_DIR } = require('../../../config/constant');
9
9
 
10
-
11
10
  // 用户编译分包时,需要将dist中其他分包(主包不能删除)的内容删除,否则其他分包的内容混入到主包(导致主包的体积超2M)
12
11
  function delOtherModule(tmsConfig, targetModules) {
13
12
  const modules = tmsModulesMergeLocalModuleCfg(tmsConfig.modules, tmsConfig.appName);