Skip to content

Commit

Permalink
chore!: deprecate flow-runtime and remove unused packages
Browse files Browse the repository at this point in the history
  • Loading branch information
westeezy committed Apr 20, 2022
1 parent 3d70c3c commit f139e40
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[ignore]
.*/node_modules/babel-plugin-flow-runtime
.*/node_modules/flow-runtime
.*/node_modules/npm
.*/node_modules/jsonlint
.*/node_modules/resolve
Expand Down
2 changes: 0 additions & 2 deletions config/.flowconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[ignore]
.*/node_modules/babel-plugin-flow-runtime
.*/node_modules/flow-runtime
[include]
[libs]
flow-typed
Expand Down
13 changes: 2 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@
"karma": "cross-env NODE_ENV=test babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/karma start",
"babel": "babel ./config --ignore=node_modules --ignore=./config/types.js --out-dir ./config",
"webpack": "babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress",
"test": "npm run lint && npm run flow && npm run test-babel && npm run test-webpack && npm run find-eslint-rules",
"test": "npm run lint && npm run flow && npm run test-babel && npm run test-webpack",
"build": "npm run test && npm run babel && npm run webpack",
"clean": "rimraf dist coverage",
"reinstall": "rimraf flow-typed && rimraf node_modules && npm install && flow-typed install",
"debug": "cross-env NODE_ENV=debug",
"prepublishOnly": "npm run babel",
"postpublish": "git checkout config",
"find-eslint-rules": "eslint-find-rules --unused --no-error ./config/.eslintrc.js",
"test-babel": "babel --config-file ./config/.babelrc-node test/* > /dev/null && babel --config-file ./config/.babelrc-browser test/* > /dev/null",
"test-webpack": "babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress",
"check-updates": "npm-check-updates",
"check-updates": "npx npm-check-updates",
"prepare": "husky install",
"prerelease": "npm run test",
"release": "standard-version --commit-all",
Expand Down Expand Up @@ -115,7 +114,6 @@
"babel-jest": "^27.3.1",
"babel-loader": "^8.1.0",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-plugin-flow-runtime": "^0.19.0",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-react-scoped-css": "^1.0.0",
"babel-plugin-syntax-async-functions": "^6.13.0",
Expand All @@ -130,8 +128,6 @@
"cross-env": "^7.0.3",
"css-loader": "^3.4.2",
"eslint": "^8.1.0",
"eslint-find-rules": "^4.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-import-resolver-typescript": "2.7.1",
"eslint-plugin-compat": "^3.13.0",
"eslint-plugin-const-immutable": "^2.1.0",
Expand All @@ -143,12 +139,10 @@
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-unicorn": "^38.0.1",
"flow-bin": "0.164.0",
"flow-runtime": "^0.17.0",
"flow-typed": "3.6.1",
"fs-extra": "^9.0.1",
"hard-source-webpack-plugin": "^0.13.1",
"imports": "^1.0.0",
"in-publish": "^2.0.0",
"isomorphic-style-loader": "^5.1.0",
"istanbul-instrumenter-loader": "^3.0.0",
"jest": "^27.3.1",
Expand All @@ -167,10 +161,7 @@
"mocha": "^9.1.3",
"node-cleanup": "^2.1.2",
"node-sass": "^4.13.1",
"npm-check-updates": "^12.0.2",
"npx": "^10.2.1",
"process-exists": "^4.0.0",
"querystring": "^0.2.0",
"raw-loader": "^4.0.0",
"rimraf": "^3.0.2",
"rmfr": "^2.0.0",
Expand Down

0 comments on commit f139e40

Please sign in to comment.