Skip to content

Commit

Permalink
Use yarn 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Jan 23, 2024
1 parent 740732e commit 9c1ce68
Show file tree
Hide file tree
Showing 19 changed files with 15,983 additions and 10,830 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,11 @@ package-lock.json

# CircleCI
.circleci/generated_config.yml

#[macOS
#Yarn
.yarn/*
!.yarn/patches/
!.yarn/plugins/
!.yarn/releases/
# macOS]
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodeLinker: "node-modules"
yarnPath: .yarn/releases/yarn-4.0.2.cjs
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,6 @@
"readable-stream": "Eliminates dependency on outdated string_decoder component",
"shell-quote": "Versions prior to 1.7.3 have an RCE vulnerability. Should be removable once we upgrade CLI tools to ^8.0.0 with RN 0.69.",
"tough-cookie": "@definitelytyped/dtslint indirectly depends on this through an out-of-date library, and our particular use case doesn't need cookies"
}
},
"packageManager": "[email protected]"
}
7 changes: 6 additions & 1 deletion packages/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"directory": "packages/assets"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/assets#readme",
"keywords": ["assets", "registry", "react-native", "support"],
"keywords": [
"assets",
"registry",
"react-native",
"support"
],
"bugs": "https://github.com/facebook/react-native/issues",
"engines": {
"node": ">=18"
Expand Down
10 changes: 8 additions & 2 deletions packages/babel-plugin-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@
"directory": "packages/babel-plugin-codegen"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/babel-plugin-codegen#readme",
"keywords": ["babel", "plugin", "codegen", "react-native", "native-modules", "view-manager"],
"keywords": [
"babel",
"plugin",
"codegen",
"react-native",
"native-modules",
"view-manager"
],
"bugs": "https://github.com/facebook/react-native/issues",
"engines": {
"node": ">=18"
Expand All @@ -23,7 +30,6 @@
"devDependencies": {
"@babel/core": "^7.20.0"
},
"license": "MIT",
"beachball": {
"shouldPublish": false
}
Expand Down
2 changes: 1 addition & 1 deletion packages/community-cli-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"dist"
],
"dependencies": {
"@react-native/dev-middleware": "^0.73.0",
"@react-native-community/cli-server-api": "12.0.0-alpha.15",
"@react-native-community/cli-tools": "12.0.0-alpha.15",
"@react-native/dev-middleware": "^0.73.0",
"@react-native/metro-babel-transformer": "^0.73.11",
"chalk": "^4.0.0",
"execa": "^5.1.1",
Expand Down
7 changes: 6 additions & 1 deletion packages/eslint-plugin-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"directory": "packages/eslint-plugin-react-native"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-plugin-react-native#readme",
"keywords": ["eslint", "rules", "eslint-config", "react-native"],
"keywords": [
"eslint",
"rules",
"eslint-config",
"react-native"
],
"bugs": "https://github.com/facebook/react-native/issues",
"engines": {
"node": ">=18"
Expand Down
9 changes: 8 additions & 1 deletion packages/eslint-plugin-specs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@
"directory": "packages/eslint-plugin-specs"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-plugin-specs#readme",
"keywords": ["eslint", "rules", "react-native", "native-modules", "components", "specs"],
"keywords": [
"eslint",
"rules",
"react-native",
"native-modules",
"components",
"specs"
],
"bugs": "https://github.com/facebook/react-native/issues",
"engines": {
"node": ">=18"
Expand Down
8 changes: 6 additions & 2 deletions packages/metro-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@
"directory": "packages/metro-config"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/metro-config#readme",
"keywords": ["metro", "config", "react-native"],
"keywords": [
"metro",
"config",
"react-native"
],
"bugs": "https://github.com/facebook/react-native/issues",
"engines": {
"node": ">=18"
},
"exports": "./index.js",
"dependencies": {
"@react-native/metro-babel-transformer": "^0.73.11",
"@react-native/js-polyfills": "^0.73.0",
"@react-native/metro-babel-transformer": "^0.73.11",
"metro-config": "0.79.1",
"metro-runtime": "0.79.1"
}
Expand Down
7 changes: 6 additions & 1 deletion packages/normalize-color/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"directory": "packages/normalize-color"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/normalize-color#readme",
"keywords": ["color", "normalization", "normalize-colors", "react-native"],
"keywords": [
"color",
"normalization",
"normalize-colors",
"react-native"
],
"bugs": "https://github.com/facebook/react-native/issues",
"engines": {
"node": ">=18"
Expand Down
8 changes: 7 additions & 1 deletion packages/polyfills/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
"directory": "packages/polyfills"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/polyfills#readme",
"keywords": ["polyfill", "polyfills", "js", "js-polyfills", "react-native"],
"keywords": [
"polyfill",
"polyfills",
"js",
"js-polyfills",
"react-native"
],
"bugs": "https://github.com/facebook/react-native/issues",
"engines": {
"node": ">=18"
Expand Down
10 changes: 6 additions & 4 deletions packages/react-native-gradle-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"directory": "packages/react-native-gradle-plugin"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-gradle-plugin#readme",
"keywords": ["gradle", "plugin", "react-native"],
"keywords": [
"gradle",
"plugin",
"react-native"
],
"bugs": "https://github.com/facebook/react-native/issues",
"engines": {
"node": ">=18"
Expand All @@ -27,7 +31,5 @@
"gradlew.bat",
"src/main",
"README.md"
],
"dependencies": {},
"devDependencies": {}
]
}
5 changes: 1 addition & 4 deletions packages/react-native-macos-init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"main": "index.js",
"repository": "https://github.com/microsoft/react-native-macos",
"license": "MIT",
"private": false,
"scripts": {
"change": "beachball change",
"check": "beachball check",
Expand All @@ -16,9 +15,7 @@
"lint:fix": "just-scripts lint:fix",
"prepublishOnly": "npm run build"
},
"bin": {
"react-native-macos-init": "./bin.js"
},
"bin": "./bin.js",
"dependencies": {
"chalk": "^3",
"find-up": "^4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@
"@react-native-community/cli": "12.0.0-alpha.15",
"@react-native-community/cli-platform-android": "12.0.0-alpha.15",
"@react-native-community/cli-platform-ios": "12.0.0-alpha.15",
"@react-native-mac/virtualized-lists": "^0.73.0",
"@react-native/assets-registry": "^0.73.0",
"@react-native/community-cli-plugin": "^0.73.0",
"@react-native/codegen": "^0.73.0",
"@react-native/community-cli-plugin": "^0.73.0",
"@react-native/gradle-plugin": "^0.73.0",
"@react-native/js-polyfills": "^0.73.0",
"@react-native/normalize-colors": "^0.73.0",
"@react-native-mac/virtualized-lists": "^0.73.0",
"abort-controller": "^3.0.0",
"anser": "^1.4.9",
"ansi-regex": "^5.0.0",
Expand Down
16 changes: 8 additions & 8 deletions packages/rn-tester-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
"description": "React Native E2E tester app.",
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/rn-tester-e2e",
"repository": {
"type": "git",
"url": "[email protected]:facebook/react-native.git",
"directory": "packages/rn-tester-e2e"
"type": "git",
"url": "[email protected]:facebook/react-native.git",
"directory": "packages/rn-tester-e2e"
},
"scripts": {
"test-e2e": "node ./../../scripts/e2e/run-e2e-tests.js"
},
"devDependencies": {
"eslint": "^8.19.0",
"jest": "^29.6.3",
"webdriverio": "^7.32.0",
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
"@types/jest": "^29.5.3"
"@babel/preset-env": "^7.20.0",
"@types/jest": "^29.5.3",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"webdriverio": "^7.32.0"
}
}
6 changes: 5 additions & 1 deletion packages/typescript-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"directory": "packages/typescript-config"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/typescript-config#readme",
"keywords": ["typescript", "tsconfig", "react-native"],
"keywords": [
"typescript",
"tsconfig",
"react-native"
],
"bugs": "https://github.com/facebook/react-native/issues",
"main": "tsconfig.json"
}
7 changes: 6 additions & 1 deletion packages/virtualized-lists/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"beachball:publish": "beachball publish"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/virtualized-lists#readme",
"keywords": ["lists", "virtualized-lists", "section-lists", "react-native"],
"keywords": [
"lists",
"virtualized-lists",
"section-lists",
"react-native"
],
"bugs": "https://github.com/facebook/react-native/issues",
"engines": {
"node": ">=18"
Expand Down
Loading

0 comments on commit 9c1ce68

Please sign in to comment.