From f139e40e5cf3441fe6afcd41e026b850c51e1301 Mon Sep 17 00:00:00 2001 From: Westin Wrzesinski Date: Tue, 19 Apr 2022 21:29:38 -0500 Subject: [PATCH] chore!: deprecate flow-runtime and remove unused packages --- .flowconfig | 2 -- config/.flowconfig | 2 -- package.json | 13 ++----------- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.flowconfig b/.flowconfig index 87011d6..ade7f78 100644 --- a/.flowconfig +++ b/.flowconfig @@ -1,6 +1,4 @@ [ignore] -.*/node_modules/babel-plugin-flow-runtime -.*/node_modules/flow-runtime .*/node_modules/npm .*/node_modules/jsonlint .*/node_modules/resolve diff --git a/config/.flowconfig b/config/.flowconfig index 2d5eda0..3cf687e 100644 --- a/config/.flowconfig +++ b/config/.flowconfig @@ -1,6 +1,4 @@ [ignore] -.*/node_modules/babel-plugin-flow-runtime -.*/node_modules/flow-runtime [include] [libs] flow-typed diff --git a/package.json b/package.json index 75fcd44..b073264 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", @@ -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", @@ -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", @@ -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",