From e36902e440005cce13bcacaf64713c6e7052cd07 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 6fea453..3078e36 100644 --- a/package.json +++ b/package.json @@ -13,17 +13,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 format:check && npm run lint && npm run flow && npm run test-babel && npm run test-webpack && npm run find-eslint-rules", + "test": "npm run format:check && 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", @@ -123,7 +122,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", @@ -138,8 +136,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", @@ -151,12 +147,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", @@ -175,10 +169,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",