Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Update build, static analysis deps #2541

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test-ci": "cross-env NODE_ENV=test npm run lint && npm run flow && npm run test"
},
"dependencies": {
"fbjs": "^1.0.0",
"fbjs": "^2.0.0",
"immutable": "~3.7.4",
"object-assign": "^4.1.1"
},
Expand All @@ -44,42 +44,42 @@
"react-dom": ">=0.14.0"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"alex": "^8.0.0",
"babel-eslint": "^10.0.3",
"@babel/core": "^7.11.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"alex": "^8.2.0",
"babel-eslint": "^10.1.0",
"babel-preset-fbjs": "^3.3.0",
"cross-env": "^7.0.2",
"del": "^5.1.0",
"es6-shim": "^0.35.5",
"eslint": "^7.0.0",
"eslint": "^7.6.0",
"eslint-config-fbjs": "^3.1.1",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-flowtype": "^5.1.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"fbjs-scripts": "^1.2.0",
"flow-bin": "^0.125.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.5",
"fbjs-scripts": "^2.0.0",
"flow-bin": "^0.130.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-clean-css": "^4.2.0",
"gulp-clean-css": "^4.3.0",
"gulp-concat-css": "^3.1.0",
"gulp-derequire": "^3.0.0",
"gulp-flatten": "^0.4.0",
"gulp-header": "^2.0.9",
"gulp-if": "^3.0.0",
"gulp-rename": "^2.0.0",
"gulp-util": "^3.0.6",
"jest": "^26.0.1",
"gulp-util": "^3.0.8",
"jest": "^26.2.2",
"prettier": "1.19.1",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-test-renderer": "^16.0.0",
"stats-webpack-plugin": "^0.6.2",
"through2": "^3.0.1",
"stats-webpack-plugin": "^0.7.0",
"through2": "^4.0.2",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack-stream": "5.2.1"
},
Expand Down
20 changes: 10 additions & 10 deletions src/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ module.system.haste.use_name_reducers=true
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
# strip .js or .js.flow suffix
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
module.system.haste.paths.whitelist=<PROJECT_ROOT>/.*
module.system.haste.paths.whitelist=.*/node_modules/fbjs/lib/.*
module.system.haste.paths.blacklist=.*/__tests__/.*
module.system.haste.paths.blacklist=.*/react/node_modules/.*
module.system.haste.paths.blacklist=.*/react-dom/node_modules/.*
module.system.haste.paths.blacklist=.*/fbjs/node_modules/.*
module.system.haste.paths.blacklist=.*/node_modules/invariant/.*
module.system.haste.paths.includes=<PROJECT_ROOT>/.*
module.system.haste.paths.includes=.*/node_modules/fbjs/lib/.*
module.system.haste.paths.excludes=.*/__tests__/.*
module.system.haste.paths.excludes=.*/react/node_modules/.*
module.system.haste.paths.excludes=.*/react-dom/node_modules/.*
module.system.haste.paths.excludes=.*/fbjs/node_modules/.*
module.system.haste.paths.excludes=.*/node_modules/invariant/.*

esproposal.class_static_fields=enable
esproposal.optional_chaining=enable
suppress_type=$FlowIssue
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-8]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\).*\n
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
; suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-8]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\).*\n
; suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
module.name_mapper='ReactDOMComet' -> 'react-dom'

[strict]
Expand All @@ -51,4 +51,4 @@ unsafe-getters-setters
; nonstrict-import

[version]
^0.125.0
^0.130.0
Loading