Skip to content

Commit

Permalink
chore: Update to Yarn 4, remove segmented-control patch (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Apr 18, 2024
1 parent bc4c496 commit d75913f
Show file tree
Hide file tree
Showing 7 changed files with 15,757 additions and 11,185 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# - rn/yarn_install
# fails with Error untarring cache: Error extracting tarball /var/folders/bq/mjrgbpkx5h1g_b22fpv0tlzc0000gn/T/cache376822577 : tmp/yarn/: Cannot extract through symlink tmp/yarn tmp/yarn/v6/: Cannot extract through symlink tmp/yarn/v6 tmp/yarn/v6/.tmp/: Cannot extract through symlink tmp/yarn/v6/.tmp tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel/code-frame/: Cannot extract: exit status 1
- run:
command: yarn install --frozen-lockfile
command: yarn install --immutable
name: yarn install
- run:
command: yarn lint
Expand All @@ -37,7 +37,7 @@ jobs:
steps:
- checkout
- run:
command: yarn install --frozen-lockfile
command: yarn install --immutable
name: yarn install
- run:
command: (cd example && RCT_NEW_ARCH_ENABLED=1 npx pod-install)
Expand All @@ -62,7 +62,7 @@ jobs:
device: 'iPhone 14'
# - rn/yarn_install
- run:
command: yarn install --frozen-lockfile && npx patch-package
command: yarn install --immutable
name: yarn install
- run:
command: yarn bundle:ios
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
command: npm install --global yarn
name: install yarn
- run:
command: yarn install --frozen-lockfile && npx patch-package
command: yarn install --immutable
name: yarn install
- run:
command: yarn bundle:android
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
command: npm install --global yarn
name: install yarn
- run:
command: yarn install --frozen-lockfile && npx patch-package
command: yarn install --immutable
name: yarn install
- run:
command: yarn bundle:android
Expand All @@ -179,7 +179,7 @@ jobs:
# - rn/yarn_install
# fails with Error untarring cache: Error extracting tarball /var/folders/bq/mjrgbpkx5h1g_b22fpv0tlzc0000gn/T/cache376822577 : tmp/yarn/: Cannot extract through symlink tmp/yarn tmp/yarn/v6/: Cannot extract through symlink tmp/yarn/v6 tmp/yarn/v6/.tmp/: Cannot extract through symlink tmp/yarn/v6/.tmp tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel/code-frame/: Cannot extract: exit status 1
- run:
command: yarn install --frozen-lockfile
command: yarn install --immutable
name: yarn install
- run:
command: npx semantic-release
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,7 @@ buck-out/
# CocoaPods
example/ios/Pods/

.xcode.env
.xcode.env

# Yarn
.yarn/install-state.gz
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.1.cjs
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
},
"homepage": "https://github.com/react-native-community/datetimepicker#readme",
"devDependencies": {
"@react-native-segmented-control/segmented-control": "^2.4.0",
"@react-native-segmented-control/segmented-control": "^2.5.2",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.73.2",
"@semantic-release/git": "^10.0.1",
Expand All @@ -82,8 +82,6 @@
"jest": "^29.5.0",
"moment": "^2.24.0",
"moment-timezone": "^0.5.41",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.8.8",
"react": "18.2.0",
"react-native": "^0.72.7",
Expand All @@ -103,5 +101,6 @@
"android": {
"javaPackageName": "com.reactcommunity.rndatetimepicker"
}
}
},
"packageManager": "yarn@4.1.1"
}

This file was deleted.

0 comments on commit d75913f

Please sign in to comment.