|
11 | 11 | "clean": "rm -rf coverage; lerna exec -- rimraf lib dist", |
12 | 12 | "commit": "git-cz", |
13 | 13 | "build": "lerna run build --no-private", |
14 | | - "build:changelog": "lerna-changelog --from=$(git log --grep='chore(release): releasing component' --format='%H' | sed -n 2p) > tmp && cat CHANGELOG.md >> tmp && cat tmp > CHANGELOG.md && rm tmp", |
15 | | - "push:changelog": "git add CHANGELOG.md && git commit -m 'docs: update changelog' && git push", |
16 | 14 | "check-gh-auth-token": "if [[ -z \"${GITHUB_AUTH}\" ]]; then echo \"Need to set GITHUB_AUTH\" && exit 1; fi", |
17 | 15 | "build:typings": "NODE_ENV=production lerna run build:typings --no-private", |
18 | 16 | "lint": "jest --projects jest.eslint.config.js jest.flow.config.js", |
|
28 | 26 | "test:coverage": "yarn build && npm test -- --no-watchman --coverage", |
29 | 27 | "test:ci": "yarn test -- --ci --no-watchman --maxWorkers=10", |
30 | 28 | "test:coverage:ci": "yarn test:ci -- --coverage && codecov", |
31 | | - "release": "yarn check-gh-auth-token && cross-env NODE_ENV=cli yarn build && lerna publish --registry=https://registry.npmjs.org/ && yarn build:changelog && yarn push:changelog && yarn docs:publish", |
32 | 29 | "docs:clean": "rimraf _book", |
33 | 30 | "docs:prepare": "gitbook install", |
34 | 31 | "docs:build": "yarn docs:prepare && gitbook build && cp logo/apple-touch-icon.png _book/gitbook/images/apple-touch-icon-precomposed-152.png && cp logo/favicon.ico _book/gitbook/images", |
|
37 | 34 | "typecheck": "yarn typecheck:flow && yarn typecheck:ts", |
38 | 35 | "typecheck:flow": "flow check --include-warnings", |
39 | 36 | "typecheck:ts": "lerna run typecheck:ts", |
40 | | - "package-readme-entry": "./scripts/package-readme-entry.sh" |
| 37 | + "package-readme-entry": "./scripts/package-readme-entry.sh", |
| 38 | + "changeset": "changeset", |
| 39 | + "changeset:version-and-format": "changeset version && prettier --write --parser json '**/package.json'" |
41 | 40 | }, |
42 | 41 | "workspaces": [ |
43 | 42 | "integration-tests", |
|
57 | 56 | "@babel/preset-env": "7.11.0", |
58 | 57 | "@babel/preset-flow": "7.10.4", |
59 | 58 | "@babel/preset-typescript": "7.10.4", |
| 59 | + "@changesets/changelog-github": "^0.4.1", |
| 60 | + "@changesets/cli": "^2.17.0", |
60 | 61 | "@commitlint/cli": "9.1.2", |
61 | 62 | "@commitlint/config-conventional": "9.1.2", |
62 | 63 | "@rollup/plugin-alias": "3.1.1", |
|
73 | 74 | "commitizen": "4.1.2", |
74 | 75 | "common-tags": "1.8.0", |
75 | 76 | "cross-env": "7.0.2", |
76 | | - "cz-lerna-changelog": "2.0.3", |
77 | 77 | "debug": "4.1.1", |
78 | 78 | "eslint": "7.7.0", |
79 | 79 | "eslint-config-airbnb": "18.2.0", |
|
102 | 102 | "jest-runner-flowtype": "0.0.7", |
103 | 103 | "jest-silent-reporter": "0.2.1", |
104 | 104 | "lerna": "3.22.1", |
105 | | - "lerna-changelog": "1.0.1", |
106 | 105 | "lint-staged": "10.2.11", |
107 | 106 | "npm-check-updates": "7.1.1", |
108 | 107 | "prettier": "2.0.5", |
|
136 | 135 | "serialize-javascript": "3.1.0", |
137 | 136 | "diff": "3.5.0", |
138 | 137 | "object-path": "0.11.5" |
139 | | - }, |
140 | | - "config": { |
141 | | - "commitizen": { |
142 | | - "path": "./node_modules/cz-lerna-changelog" |
143 | | - } |
144 | 138 | } |
145 | 139 | } |
0 commit comments