Skip to content

Commit

Permalink
Update various deps for internal scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
chaance authored and mjackson committed Jul 16, 2021
1 parent f8a9020 commit a1430fb
Show file tree
Hide file tree
Showing 4 changed files with 1,368 additions and 1,059 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/build/
/fixtures/
node_modules/
/docs/api
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"generate-api-docs": "node ./scripts/generate-api-docs.js"
},
"dependencies": {
"@ampproject/filesize": "^2.1.1",
"@ampproject/filesize": "^4.3.0",
"@ampproject/rollup-plugin-closure-compiler": "^0.21.0",
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
Expand All @@ -23,7 +23,7 @@
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-node-resolve": "^7.0.0",
"@rollup/plugin-replace": "^2.2.1",
"@types/jest": "24.x",
"@types/jest": "26.x",
"@types/react": "16.x",
"@types/react-dom": "16.x",
"@types/react-native": "*",
Expand All @@ -33,8 +33,8 @@
"babel-eslint": "^10.1.0",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-transform-remove-imports": "^1.3.2",
"chalk": "^3.0.0",
"cheerio": "^1.0.0-rc.3",
"chalk": "^4.1.1",
"cheerio": "^1.0.0-rc.10",
"eslint": "^7.30.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.8.0",
Expand All @@ -43,10 +43,10 @@
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"history": "^5.0.0",
"jest": "^24.9.0",
"jsonfile": "^5.0.0",
"jest": "^26.6.3",
"jsonfile": "^6.1.0",
"metro-react-native-babel-preset": "^0.57.0",
"node-fetch": "^2.6.0",
"node-fetch": "^2.6.1",
"prettier": "^2.3.2",
"prompt-confirm": "^2.0.4",
"react": "^16.12.0",
Expand All @@ -57,8 +57,8 @@
"rollup-plugin-copy": "^3.1.0",
"rollup-plugin-prettier": "^0.6.0",
"rollup-plugin-terser": "^5.1.2",
"semver": "^7.1.2",
"typedoc": "^0.17.6",
"semver": "^7.3.5",
"typedoc": "0.21.4",
"typescript": "^4.3.5"
},
"workspaces": {
Expand Down
6 changes: 5 additions & 1 deletion scripts/generate-api-docs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { execSync } from "child_process";

const packages = ["react-router", "react-router-dom", "react-router-native"];

execSync(
`typedoc --ignoreCompilerErrors --includeDeclarations --excludeExternals --out docs/api build`,
`typedoc ${packages
.map(pkg => `packages/${pkg}/index.tsx`)
.join(" ")} --out docs/api --name "React Router"`,
{
env: process.env,
stdio: "inherit"
Expand Down
Loading

0 comments on commit a1430fb

Please sign in to comment.