Skip to content

Commit

Permalink
chore: update package.json files with repository fields
Browse files Browse the repository at this point in the history
  • Loading branch information
skratchdot committed May 24, 2024
1 parent 935180c commit eb32a88
Show file tree
Hide file tree
Showing 35 changed files with 198 additions and 50 deletions.
5 changes: 5 additions & 0 deletions compiler/apps/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,10 @@
"@babel/core": "7.2.0",
"@babel/traverse": "7.1.6",
"@babel/generator": "7.2.0"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/apps/playground"
}
}
39 changes: 21 additions & 18 deletions compiler/crates/react_napi/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
{
"name": "@react/forget-napi",
"version": "0.0.1",
"description": "JavaScript package exposing parts of React Forget compiler APIs via napi",
"main": "dist/index.js",
"license": "MIT",
"files": [
"src"
],
"private": true,
"scripts": {
"build": "napi build --platform --release --js-package-name @react/forget-napi --js dist/index.js --dts dist/index.d.ts && mv *.node dist/"
},
"dependencies": {
},
"devDependencies": {
"@napi-rs/cli": "^2.15.2"
}
"name": "@react/forget-napi",
"version": "0.0.1",
"description": "JavaScript package exposing parts of React Forget compiler APIs via napi",
"main": "dist/index.js",
"license": "MIT",
"files": [
"src"
],
"private": true,
"scripts": {
"build": "napi build --platform --release --js-package-name @react/forget-napi --js dist/index.js --dts dist/index.d.ts && mv *.node dist/"
},
"dependencies": {},
"devDependencies": {
"@napi-rs/cli": "^2.15.2"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/crates/react_napi"
}
}
3 changes: 2 additions & 1 deletion compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react-forget.git"
"url": "https://github.com/facebook/react.git",
"directory": "compiler"
},
"scripts": {
"bundle:meta": "scripts/bundle-meta.sh",
Expand Down
5 changes: 5 additions & 0 deletions compiler/packages/babel-plugin-react-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,10 @@
"@babel/core": "7.2.0",
"@babel/generator": "7.2.0",
"@babel/traverse": "7.7.4"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/babel-plugin-react-compiler"
}
}
7 changes: 6 additions & 1 deletion compiler/packages/eslint-plugin-react-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,10 @@
"peerDependencies": {
"eslint": ">=7"
},
"license": "MIT"
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/eslint-plugin-react-compiler"
}
}
5 changes: 5 additions & 0 deletions compiler/packages/make-read-only-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@
"prettier": "2.8.8",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.2"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/make-read-only-util"
}
}
7 changes: 6 additions & 1 deletion compiler/packages/react-compiler-healthcheck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@
"engines": {
"node": "^14.17.0 || ^16.0.0 || >= 18.0.0"
},
"license": "MIT"
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/react-compiler-healthcheck"
}
}
5 changes: 5 additions & 0 deletions compiler/packages/react-compiler-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@
"scripts": {
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
"test": "echo 'no tests'"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/react-compiler-runtime"
}
}
3 changes: 2 additions & 1 deletion compiler/packages/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react-forget.git"
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/snap"
},
"dependencies": {
"@babel/code-frame": "^7.22.5",
Expand Down
7 changes: 6 additions & 1 deletion packages/dom-event-testing-library/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"private": true,
"name": "dom-event-testing-library",
"version": "0.0.0"
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/dom-event-testing-library"
}
}
7 changes: 6 additions & 1 deletion packages/internal-test-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"private": true,
"name": "internal-test-utils",
"version": "0.0.0"
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/internal-test-utils"
}
}
4 changes: 2 additions & 2 deletions packages/react-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "A basic cache for React applications",
"version": "2.0.0-alpha.0",
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-cache"
},
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/react-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"cjs/"
],
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-client"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-debug-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"main": "index.js",
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-debug-tools"
},
"engines": {
Expand Down
5 changes: 5 additions & 0 deletions packages/react-devtools-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,10 @@
},
"dependencies": {
"web-ext": "^4"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-devtools-extensions"
}
}
9 changes: 8 additions & 1 deletion packages/react-devtools-fusebox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "0.0.0",
"private": "true",
"license": "MIT",
"files": ["dist"],
"files": [
"dist"
],
"scripts": {
"build:frontend:copy-types": "cp src/*.d.ts dist/",
"build:frontend:local": "cross-env NODE_ENV=development webpack --config webpack.config.frontend.js && yarn build:frontend:copy-types",
Expand All @@ -19,5 +21,10 @@
"webpack": "^5.82.1",
"webpack-cli": "^5.1.1",
"workerize-loader": "^2.0.2"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-devtools-fusebox"
}
}
5 changes: 5 additions & 0 deletions packages/react-devtools-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@
"memoize-one": "^3.1.1",
"react-virtualized-auto-sizer": "^1.0.23",
"react-window": "^1.8.10"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-devtools-shared"
}
}
5 changes: 5 additions & 0 deletions packages/react-devtools-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@
"webpack": "^5.82.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-devtools-shell"
}
}
5 changes: 5 additions & 0 deletions packages/react-devtools-timeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,10 @@
"webpack": "^5.82.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-devtools-timeline"
}
}
4 changes: 2 additions & 2 deletions packages/react-native-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "16.0.0",
"private": true,
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-native-renderer"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-noop-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"description": "React package for testing the Fiber, Fizz and Flight reconcilers.",
"main": "index.js",
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-noop-renderer"
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-refresh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react"
"directory": "packages/react-refresh"
},
"engines": {
"node": ">=0.10.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-server-dom-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
},
"main": "index.js",
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-server-dom-esm"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-server-dom-fb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.1.0",
"private": true,
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-server-dom-fb"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-server-dom-turbopack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
},
"main": "index.js",
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-server-dom-turbopack"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-server-dom-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
},
"main": "index.js",
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-server-dom-webpack"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
],
"main": "index.js",
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-server"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-suspense-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.1.0",
"private": true,
"repository": {
"type" : "git",
"url" : "https://github.com/facebook/react.git",
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-suspense-test-utils"
},
"license": "MIT",
Expand Down
7 changes: 6 additions & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"private": true,
"name": "shared",
"version": "0.0.0"
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/shared"
}
}
5 changes: 5 additions & 0 deletions scripts/bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@
"nodegit": "^0.18.3",
"rimraf": "^2.6.1",
"stats-analysis": "^2.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "scripts/bench"
}
}
5 changes: 5 additions & 0 deletions scripts/devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@
"progress-estimator": "^0.2.1",
"prompt-promise": "^1.0.3",
"semver": "^5.4.1"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "scripts/devtools"
}
}
7 changes: 6 additions & 1 deletion scripts/eslint-rules/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"name": "eslint-plugin-react-internal",
"version": "0.0.0"
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "scripts/eslint-rules"
}
}
Loading

0 comments on commit eb32a88

Please sign in to comment.