-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate to yarn v2 and upgrade dev deps
- Loading branch information
1 parent
0645568
commit db0cb09
Showing
9 changed files
with
9,299 additions
and
7,497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ coverage/ | |
yarn.lock | ||
LICENSE | ||
.gitignore | ||
.npmignore | ||
.npmignore | ||
yarnrc.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,28 @@ | ||
name: CI | ||
|
||
on: | ||
|
||
push: | ||
branches: [ $default-branch ] | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ $default-branch ] | ||
|
||
workflow_dispatch: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: '20.x' | ||
|
||
- name: Enable corepack | ||
run: corepack enable | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
- name: yarn test | ||
run: yarn test | ||
|
||
- name: Run tests | ||
run: yarn run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ LICENSE | |
.gitignore | ||
.npmignore | ||
.eslintignore | ||
|
||
tsconfig.json | ||
.yarnrc.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,24 +32,23 @@ | |
}, | ||
"homepage": "https://github.com/testshallpass/react-native-dropdownalert#readme", | ||
"devDependencies": { | ||
"@jest/globals": "29.6.3", | ||
"@react-native/babel-preset": "0.73.18", | ||
"@react-native/eslint-config": "0.73.1", | ||
"@react-native/typescript-config": "0.73.1", | ||
"@react-native/babel-preset": "0.76.2", | ||
"@react-native/eslint-config": "0.76.2", | ||
"@react-native/typescript-config": "0.76.2", | ||
"@testing-library/jest-native": "5.4.3", | ||
"@testing-library/react-native": "12.4.1", | ||
"@types/jest": "29.5.11", | ||
"@types/react": "18.2.45", | ||
"@types/react-test-renderer": "18.0.0", | ||
"babel-jest": "29.6.3", | ||
"eslint": "8.55.0", | ||
"jest": "29.6.3", | ||
"prettier": "2.8.8", | ||
"react": "18.2.0", | ||
"react-native": "0.73.0", | ||
"react-test-renderer": "18.2.0", | ||
"ts-jest": "29.1.1", | ||
"ts-node": "10.9.2", | ||
"typescript": "5.0.4" | ||
} | ||
"@testing-library/react-native": "12.8.1", | ||
"@types/jest": "29.5.14", | ||
"@types/react": "18.3.12", | ||
"@types/react-test-renderer": "18.0.7", | ||
"babel-jest": "29.7.0", | ||
"eslint": "8.57.1", | ||
"jest": "29.7.0", | ||
"prettier": "3.3.3", | ||
"react": "18.3.1", | ||
"react-native": "0.76.2", | ||
"react-test-renderer": "18.3.1", | ||
"ts-jest": "29.2.5", | ||
"typescript": "5.5.4" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.