Skip to content

Commit c05323f

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/packages/docs-gesture-handler/mdast-util-to-hast-13.2.1
2 parents b6c84ed + cfe0b14 commit c05323f

723 files changed

Lines changed: 37727 additions & 17394 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"@eslint-react/no-array-index-key": "warn",
7272
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
7373
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn",
74+
"@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": "warn",
7475
"no-redeclare": "off",
7576
"@typescript-eslint/no-redeclare": "error",
7677
"no-use-before-define": "off",

.github/actions/publish-npm-package/action.yml

Lines changed: 0 additions & 134 deletions
This file was deleted.

.github/workflows/android-build-paper.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/check-archs-consistency.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/docs-check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
uses: actions/setup-node@v6
2626
with:
2727
node-version: 24
28-
cache: yarn
2928

3029
- name: Install node dependencies
3130
working-directory: ${{ env.WORKING_DIRECTORY }}

.github/workflows/ios-build-paper.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ jobs:
1111

1212
runs-on: ubuntu-latest
1313

14+
permissions:
15+
contents: write
16+
1417
steps:
1518
- name: Check out
16-
uses: actions/checkout@v1
19+
uses: actions/checkout@v6
1720

1821
- name: Generate docs
1922
run: >-
@@ -24,8 +27,8 @@ jobs:
2427
&& yarn build
2528
2629
- name: Publish generated content to GitHub Pages
27-
uses: JamesIves/github-pages-deploy-action@releases/v3
30+
uses: JamesIves/github-pages-deploy-action@v4
2831
with:
29-
FOLDER: packages/docs-gesture-handler/build
30-
BRANCH: gh-pages
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
folder: packages/docs-gesture-handler/build
33+
branch: gh-pages
34+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish-release.yml

Lines changed: 45 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
name: Publish release to npm
22
on:
3-
# For commitlies
4-
push:
5-
branches:
6-
- main
7-
paths:
8-
- packages/react-native-gesture-handler/**
9-
# For stable releases
3+
# For nightly releases
4+
schedule:
5+
- cron: '27 23 * * *' # at 23:27 every day
6+
# For manual releases
107
workflow_dispatch:
118
inputs:
9+
release-type:
10+
description: Type of release to publish.
11+
type: choice
12+
options:
13+
- stable
14+
- nightly
15+
- beta
16+
- rc
17+
default: stable
18+
version:
19+
description: Specific version to publish (usually inferred from x.y-stable branch name).
20+
type: string
21+
required: false
22+
default: ''
1223
dry-run:
1324
description: Whether to perform a dry run of the publish.
1425
type: boolean
@@ -31,16 +42,36 @@ jobs:
3142
- name: Check out
3243
uses: actions/checkout@v4
3344

34-
- name: Publish stable release
45+
- name: Set up environment
46+
shell: bash
47+
run: |
48+
echo "YARN_ENABLE_HARDENED_MODE=0" >> $GITHUB_ENV
49+
50+
- name: Setup Node
51+
uses: actions/setup-node@v6
52+
with:
53+
node-version: 24
54+
cache: 'yarn'
55+
registry-url: https://registry.npmjs.org/
56+
57+
- name: Publish manual release
3558
if: ${{ github.event_name == 'workflow_dispatch' }}
36-
uses: ./.github/actions/publish-npm-package
59+
uses: software-mansion/npm-package-publish@273bbdd5df5d28ae2de6c3ecd4a6f8067e4ff370
3760
with:
38-
is-commitly: false
61+
package-name: 'react-native-gesture-handler'
62+
package-json-path: 'packages/react-native-gesture-handler/package.json'
63+
install-dependencies-command: 'yarn install --immutable'
64+
release-type: ${{ inputs.release-type }}
65+
version: ${{ inputs.version }}
3966
dry-run: ${{ inputs.dry-run }}
4067

41-
- name: Publish commitly release
42-
if: ${{ github.event_name == 'push' }}
43-
uses: ./.github/actions/publish-npm-package
68+
- name: Publish automatic nightly release
69+
if: ${{ github.event_name == 'schedule' }}
70+
uses: software-mansion/npm-package-publish@273bbdd5df5d28ae2de6c3ecd4a6f8067e4ff370
4471
with:
45-
is-commitly: true
72+
package-name: 'react-native-gesture-handler'
73+
package-json-path: 'packages/react-native-gesture-handler/package.json'
74+
install-dependencies-command: 'yarn install --immutable'
75+
release-type: 'nightly'
76+
version: "3.0.0"
4677
dry-run: false

0 commit comments

Comments
 (0)