Skip to content

Commit 12c0552

Browse files
fix: add NODE_AUTH_TOKEN for npm publish, fix husky install deprecation and repository field
Agent-Logs-Url: https://github.com/web-ridge/react-native-paper-dates/sessions/1bbf4831-3265-44d8-ad52-9f13b1e1f553 Co-authored-by: RichardLindhout <6492229+RichardLindhout@users.noreply.github.com>
1 parent f239b97 commit 12c0552

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
- run: yarn release
7272
env:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7475
NPM_CONFIG_PROVENANCE: true
7576
deploy-example:
7677
runs-on: ubuntu-latest

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,16 @@
156156
}
157157
}
158158
},
159-
"repository": "https://github.com/web-ridge/react-native-paper-dates",
159+
"repository": {
160+
"type": "git",
161+
"url": "https://github.com/web-ridge/react-native-paper-dates.git"
162+
},
160163
"scripts": {
161164
"test": "jest --config=jest.config.js --watchAll=false",
162165
"test-watch": "jest --config=jest.config.js --watchAll",
163166
"typecheck": "tsc --noEmit",
164167
"lint": "eslint \"**/*.{js,ts,tsx}\"",
165-
"prepare": "husky install && bob build",
168+
"prepare": "husky && bob build",
166169
"release": "release-it --ci --github.autoGenerate",
167170
"example": "yarn --cwd example",
168171
"pods": "cd example && pod-install --quiet",

0 commit comments

Comments
 (0)