@mastergo/plugin-typings 2.5.0 → 2.7.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +1080 -3
  2. package/package.json +17 -9
  3. package/CHANGELOG.md +0 -849
package/package.json CHANGED
@@ -1,18 +1,16 @@
1
1
  {
2
2
  "name": "@mastergo/plugin-typings",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "description": "MasterGo插件API声明文件",
5
5
  "main": "",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
8
8
  "prepare": "husky install",
9
- "dev": "node scripts/dev.js",
10
- "build": "node scripts/build.js",
11
- "postbuild": "node scripts/concat-typings",
9
+ "dev": "rollup -c --environment NODE_ENV=development",
10
+ "build": "rollup -c --environment NODE_ENV=production",
12
11
  "release": "node scripts/release.js",
13
- "publish-to-npm": "node scripts/publish.js",
14
- "verify-commit": "node scripts/verify-commit.js",
15
- "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
12
+ "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
13
+ "commit": "git-cz"
16
14
  },
17
15
  "files": [
18
16
  "dist",
@@ -51,7 +49,12 @@
51
49
  "rollup-plugin-typescript2": "^0.30.0",
52
50
  "semver": "^7.3.5",
53
51
  "shelljs": "^0.8.5",
54
- "typescript": "^4.4.3"
52
+ "typescript": "^4.4.3",
53
+ "@commitlint/cli": "^17.0.0",
54
+ "@commitlint/config-conventional": "^17.0.0",
55
+ "commitizen": "^4.2.4",
56
+ "cz-conventional-changelog": "^3.3.0",
57
+ "csstype": "^3.1.3"
55
58
  },
56
59
  "lint-staged": {
57
60
  "*.js": [
@@ -60,5 +63,10 @@
60
63
  "*.ts": [
61
64
  "prettier --parser=typescript --write"
62
65
  ]
66
+ },
67
+ "config": {
68
+ "commitizen": {
69
+ "path": "cz-conventional-changelog"
70
+ }
63
71
  }
64
- }
72
+ }