Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit 2cff291

Browse files
committed
Merge branch 'release-it'
2 parents 391ebd2 + d6bb803 commit 2cff291

3 files changed

Lines changed: 1536 additions & 64 deletions

File tree

.release-it.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"preReleaseId": "beta",
3+
"scripts": {
4+
"beforeStart": "yarn test",
5+
"beforeStage": "conventional-changelog -i CHANGELOG.md -s -n node_modules/conventional-changelog-cz-emoji",
6+
"changelog": "conventional-changelog -n node_modules/conventional-changelog-cz-emoji | tail -n +3"
7+
},
8+
"npm": {
9+
"otp": true
10+
},
11+
"github": {
12+
"release": true
13+
}
14+
}

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"test:unit:ci": "jest --runInBand",
2626
"test:type": "tsc --noEmit",
2727
"test": "yarn test:lint && yarn test:unit && yarn test:type",
28-
"test:ci": "yarn test:lint && yarn test:unit:ci && yarn test:type"
28+
"test:ci": "yarn test:lint && yarn test:unit:ci && yarn test:type",
29+
"release": "release-it"
2930
},
3031
"devDependencies": {
3132
"@babel/core": "^7.4.3",
@@ -34,6 +35,7 @@
3435
"@types/react-native": "^0.57.43",
3536
"@types/react-test-renderer": "^16.8.1",
3637
"babel-jest": "^24.7.0",
38+
"conventional-changelog-cz-emoji": "^1.1.0",
3739
"eslint": "^5.16.0",
3840
"eslint-config-bambi": "^1.4.0",
3941
"jest": "^24.7.0",
@@ -44,7 +46,11 @@
4446
"react": "16.8.3",
4547
"react-native": "0.59.3",
4648
"react-test-renderer": "^16.8.6",
49+
"release-it": "^10.4.2",
4750
"tslint": "^5.15.0",
4851
"typescript": "^3.4.3"
52+
},
53+
"publishConfig": {
54+
"registry": "https://registry.npmjs.org/"
4955
}
5056
}

0 commit comments

Comments
 (0)