@pisell/build-plugin-lowcode 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/package.json +6 -2
  2. package/src/index.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/build-plugin-lowcode",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "build plugin for component-to-lowcode",
5
5
  "main": "src/index.js",
6
6
  "keywords": [
@@ -9,7 +9,8 @@
9
9
  "scripts": {
10
10
  "component:dev": "cd demo/component && npm start",
11
11
  "setter:dev": "cd demo/setter && npm start",
12
- "antdSetterMap:dev": "cd demo/antd-setter-map && npm start"
12
+ "antdSetterMap:dev": "cd demo/antd-setter-map && npm start",
13
+ "release": "np --no-cleanup --any-branch --yolo --tag"
13
14
  },
14
15
  "repository": {
15
16
  "type": "git",
@@ -40,5 +41,8 @@
40
41
  "rpx-loader": "^1.0.1",
41
42
  "style-loader": "^2.0.0",
42
43
  "webpack": "^4.46.0"
44
+ },
45
+ "devDependencies": {
46
+ "np": "^7.7.0"
43
47
  }
44
48
  }
package/src/index.js CHANGED
@@ -1209,7 +1209,8 @@ function updatePackage(
1209
1209
  isBetaVersion ? 'daily' : 'prod'
1210
1210
  }.json`;
1211
1211
  packageData.componentConfig = componentConfig;
1212
- fse.outputFileSync(path.resolve(rootDir, 'package.json'), JSON.stringify(packageData, null, 2) + '\n');
1212
+ // 不更新package.json的componentConfig
1213
+ // fse.outputFileSync(path.resolve(rootDir, 'package.json'), JSON.stringify(packageData, null, 2) + '\n');
1213
1214
  }
1214
1215
 
1215
1216
  async function bundleComponentMeta(webPackConfig, options, pluginOptions, execCompile) {