Skip to content

Commit 9d4f61c

Browse files
committed
build: configure release
1 parent 139ce85 commit 9d4f61c

File tree

2 files changed

+1453
-164
lines changed

2 files changed

+1453
-164
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"private": true,
44
"devDependencies": {
55
"lerna": "^4.0.0",
6-
"react-scripts": "^4.0.3"
6+
"react-scripts": "^4.0.3",
7+
"semantic-release": "^19.0.2",
8+
"semantic-release-monorepo": "^7.0.5"
79
},
810
"scripts": {
911
"example:alias:install": "cd example/main && yarn install",
@@ -15,6 +17,7 @@
1517
"coverage": "jest --coverage",
1618
"test:unit": "jest",
1719
"test:integration": "yarn example:alias:test && yarn example:aliasex:test",
18-
"test": "yarn test:unit && yarn test:integration"
20+
"test": "yarn test:unit && yarn test:integration",
21+
"release": "lerna exec --concurrency 1 --scope 'react-app-alias*' -- npx --no-install semantic-release -e semantic-release-monorepo"
1922
}
2023
}

0 commit comments

Comments
 (0)