Skip to content

Commit fb766e5

Browse files
authored
Merge pull request #80 from troberts-28/patch/v2.6.1
🐛 Fix build issue
2 parents d0ed562 + 67aad74 commit fb766e5

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ jobs:
2525
run: npm install -g npm@latest
2626
- name: Install dependencies
2727
run: yarn
28+
- name: Build
29+
run: yarn build
2830
- name: Release
2931
run: npm publish

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"url": "https://github.com/troberts-28"
77
},
88
"license": "MIT",
9-
"version": "2.6.0",
9+
"version": "2.6.1",
1010
"main": "dist/commonjs/index.js",
1111
"module": "dist/module/index.js",
1212
"types": "dist/typescript/index.d.ts",
@@ -30,7 +30,8 @@
3030
"lint:fix": "eslint src/ examples/ --fix",
3131
"format": "prettier --check ./src ./examples",
3232
"format:fix": "prettier --write ./src ./examples",
33-
"prepare": "simple-git-hooks"
33+
"prepare": "simple-git-hooks",
34+
"prepublishOnly": "yarn build"
3435
},
3536
"homepage": "https://github.com/troberts-28/react-native-timer-picker",
3637
"bugs": {

0 commit comments

Comments
 (0)