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
josephsavona authored and skratchdot committed May 24, 2024
1 parent 935180c commit 996c486
Show file tree
Hide file tree
Showing 31 changed files with 199 additions and 44 deletions.
5 changes: 5 additions & 0 deletions compiler/apps/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"name": "playground",
"version": "0.1.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/apps/playground"
},
"scripts": {
"dev": "NODE_ENV=development next dev",
"build": "next build && node ./scripts/downloadFonts.js",
Expand Down
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,
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/crates/react_napi"
},
"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"
}
}
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 @@ -7,6 +7,11 @@
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/babel-plugin-react-compiler"
},
"scripts": {
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
"test": "yarn snap:ci",
Expand Down
5 changes: 5 additions & 0 deletions compiler/packages/eslint-plugin-react-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"version": "0.0.0-experimental-c8b3f72-20240517",
"description": "ESLint plugin to display errors found by the React compiler.",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/eslint-plugin-react-compiler"
},
"scripts": {
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
"test": "tsc && jest"
Expand Down
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 @@ -4,6 +4,11 @@
"files": [
"src"
],
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/make-read-only-util"
},
"scripts": {
"build": "tsc",
"test": "jest src"
Expand Down
5 changes: 5 additions & 0 deletions compiler/packages/react-compiler-healthcheck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"bin": {
"react-compiler-healthcheck": "dist/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/react-compiler-healthcheck"
},
"scripts": {
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
"test": "echo 'no tests'"
Expand Down
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 @@ -11,6 +11,11 @@
"peerDependencies": {
"react": "^18.2.0 || ^19.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "compiler/packages/react-compiler-runtime"
},
"scripts": {
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
"test": "echo 'no tests'"
Expand Down
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
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 @@ -2,6 +2,11 @@
"name": "react-devtools-extensions",
"version": "0.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-devtools-extensions"
},
"scripts": {
"build": "cross-env NODE_ENV=production yarn run build:chrome && yarn run build:firefox && yarn run build:edge",
"build:local": "cross-env NODE_ENV=development yarn run build:chrome:local && yarn run build:firefox:local && yarn run build:edge:local",
Expand Down
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,14 @@
"version": "0.0.0",
"private": "true",
"license": "MIT",
"files": ["dist"],
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-devtools-fusebox"
},
"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 Down
5 changes: 5 additions & 0 deletions packages/react-devtools-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"private": true,
"name": "react-devtools-shared",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-devtools-shared"
},
"scripts": {
"update-mock-source-maps": "babel-node --presets=@babel/preset-env,@babel/preset-flow ./src/hooks/__tests__/updateMockSourceMaps.js"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/react-devtools-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"private": true,
"name": "react-devtools-shell",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-devtools-shell"
},
"scripts": {
"start": "cross-env NODE_ENV=development node ./webpack-server.js"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/react-devtools-timeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"name": "react-devtools-timeline",
"version": "5.2.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "packages/react-devtools-timeline"
},
"dependencies": {
"@elg/speedscope": "1.9.0-a6f84db",
"clipboard-js": "^0.3.6",
Expand Down
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
5 changes: 5 additions & 0 deletions scripts/bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"name": "react-benchmark",
"version": "0.0.1",
"main": "runner.js",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "scripts/bench"
},
"scripts": {
"start": "node runner.js"
},
Expand Down
5 changes: 5 additions & 0 deletions scripts/devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"name": "react-devtools-release-script",
"version": "0.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "scripts/devtools"
},
"scripts": {},
"license": "MIT",
"dependencies": {
Expand Down
5 changes: 5 additions & 0 deletions scripts/perf-counters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
"description": "Lightweight bindings to Linux perf event counters.",
"main": "index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "scripts/perf-counters"
},
"dependencies": {
"bindings": "^1.2.1"
}
Expand Down
5 changes: 5 additions & 0 deletions scripts/release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
"name": "react-release-script",
"version": "0.0.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
"directory": "scripts/release"
},
"scripts": {},
"license": "MIT",
"dependencies": {
Expand Down
Loading

0 comments on commit 996c486

Please sign in to comment.