Skip to content

Commit 02f56f0

Browse files
authored
Merge pull request #498 from dohooo/develop
chore: re-bump
2 parents e33ee25 + 096ac75 commit 02f56f0

File tree

4 files changed

+261
-24
lines changed

4 files changed

+261
-24
lines changed

.changeset/loud-cars-hunt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-native-reanimated-carousel': patch
3+
---
4+
5+
re-calculate when window size changed in browser. (re-bump for alpha.3)

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@ jobs:
3636
- name: install dependencies
3737
run: yarn install
3838

39-
- name: create and publish versions
39+
40+
- name: Create Release Pull Request or Publish to npm
41+
id: changesets
4042
uses: changesets/action@v1
4143
with:
42-
version: yarn run version
43-
commit: "chore: update versions"
44-
title: "chore: update versions"
45-
publish: yarn run publish
44+
publish: npx changeset publish
4645
env:
4746
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4847
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,19 @@
2929
"pods": "cd exampleExpo && pod-install --quiet",
3030
"bootstrap": "yarn && yarn pods",
3131
"deploy": "cd exampleExpo && yarn deploy",
32-
"publish": "yarn run prepare && changeset publish",
32+
"clean": "del-cli lib",
33+
"postinstall": "yarn clean && yarn prepare",
3334
"version": "changeset version"
3435
},
3536
"keywords": [
3637
"react-native",
3738
"ios",
3839
"android"
3940
],
40-
"repository": "https://github.com/dohooo/react-native-reanimated-carousel",
41+
"repository": {
42+
"type": "git",
43+
"url": "git+https://github.com/dohooo/react-native-reanimated-carousel.git"
44+
},
4145
"author": "Doho <[email protected]> (https://github.com/dohooo)",
4246
"license": "MIT",
4347
"bugs": {
@@ -66,6 +70,7 @@
6670
"babel-plugin-module-resolver": "^4.1.0",
6771
"commitlint": "^11.0.0",
6872
"cz-conventional-changelog": "^3.3.0",
73+
"del-cli": "^5.0.0",
6974
"eslint": "^8.26.0",
7075
"eslint-config-prettier": "^7.0.0",
7176
"eslint-plugin-prettier": "^3.1.3",

0 commit comments

Comments
 (0)