Skip to content

Commit 90a8b58

Browse files
author
Lenz Weber
committed
add release-it config to packages
1 parent 406716a commit 90a8b58

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"hooks": {
3+
"after:bump": "yarn && git add -u"
4+
},
5+
"git": {
6+
"commitMessage": "Release @rtk-query/codegen-openapi ${version}",
7+
"tagName": "@rtk-query/codegen-openapi@${version}"
8+
}
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"hooks": {
3+
"after:bump": "yarn && git add -u"
4+
},
5+
"git": {
6+
"commitMessage": "Release @rtk-query/graphql-request-base-query ${version}",
7+
"tagName": "@rtk-query/graphql-request-base-query@${version}"
8+
}
9+
}

packages/rtk-query-graphql-request-base-query/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"types": "./dist/index.d.ts",
1717
"scripts": {
1818
"build": "microbundle",
19+
"prepack": "rimraf dist/*; npm run build",
1920
"dev": "microbundle watch"
2021
},
2122
"dependencies": {
@@ -29,6 +30,7 @@
2930
"@reduxjs/toolkit": "^1.6.0",
3031
"graphql": "^15.5.0",
3132
"microbundle": "^0.13.3",
33+
"rimraf": "^3.0.2",
3234
"typescript": "^4.3.4"
3335
},
3436
"publishConfig": {

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5560,6 +5560,7 @@ __metadata:
55605560
graphql: ^15.5.0
55615561
graphql-request: ^4.0.0
55625562
microbundle: ^0.13.3
5563+
rimraf: ^3.0.2
55635564
typescript: ^4.3.4
55645565
peerDependencies:
55655566
"@reduxjs/toolkit": ^1.7.1

0 commit comments

Comments
 (0)