From 13e5541e27e708b7853bb218e2116ce90a48d32d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Sun, 10 Oct 2021 16:29:37 +0200 Subject: [PATCH 1/3] feat: support ESLint 8.X BREAKING CHANGE: Requires Node@^12.22.0 || ^14.17.0 || >=16.0.0 --- .github/workflows/test-external.yml | 2 +- .github/workflows/test-internal.yml | 2 +- package.json | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-external.yml b/.github/workflows/test-external.yml index c44d4c1aa..08dcd300d 100644 --- a/.github/workflows/test-external.yml +++ b/.github/workflows/test-external.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: ['lts/*'] + node-version: [12.22, 12, 14.17, 14, 16.0.0, 16] fail-fast: false steps: diff --git a/.github/workflows/test-internal.yml b/.github/workflows/test-internal.yml index 2cc7bac07..91bc15f2c 100644 --- a/.github/workflows/test-internal.yml +++ b/.github/workflows/test-internal.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [12.20.0, 14.13.1, 16.0.0, 17] + node-version: [12.22, 12, 14.17, 14, 16.0.0, 16] fail-fast: false steps: diff --git a/package.json b/package.json index 93fc69a50..f0e1ac1e2 100644 --- a/package.json +++ b/package.json @@ -15,13 +15,13 @@ "url": "https://github.com/standard/standard/issues" }, "dependencies": { - "eslint": "~7.18.0", - "eslint-config-standard": "16.0.3", - "eslint-config-standard-jsx": "10.0.0", - "eslint-plugin-import": "~2.25.3", - "eslint-plugin-node": "~11.1.0", - "eslint-plugin-promise": "~5.1.1", - "eslint-plugin-react": "~7.27.0", + "eslint": "^8.7.0", + "eslint-config-standard": "^17.0.0-0", + "eslint-config-standard-jsx": "^10.0.0", + "eslint-plugin-import": "^2.25.4", + "eslint-plugin-n": "^14.0.0", + "eslint-plugin-promise": "^6.0.0", + "eslint-plugin-react": "^7.28.0", "standard-engine": "^15.0.0-0" }, "devDependencies": { @@ -34,7 +34,7 @@ "tape": "^5.3.2" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "homepage": "https://standardjs.com", "keywords": [ From fc66f449164f1c4986c590e7cd380beb7d10062a Mon Sep 17 00:00:00 2001 From: Divlo Date: Mon, 31 Jan 2022 20:39:06 +0100 Subject: [PATCH 2/3] build(deps): eslint-config-standard-jsx to 11.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f0e1ac1e2..80b389b27 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "dependencies": { "eslint": "^8.7.0", "eslint-config-standard": "^17.0.0-0", - "eslint-config-standard-jsx": "^10.0.0", + "eslint-config-standard-jsx": "^11.0.0-0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-n": "^14.0.0", "eslint-plugin-promise": "^6.0.0", From c42ff2bf80ac0794e23e7bb09193a2e87545abe8 Mon Sep 17 00:00:00 2001 From: Divlo Date: Mon, 31 Jan 2022 20:43:59 +0100 Subject: [PATCH 3/3] ci: only test-external with lts/* --- .github/workflows/test-external.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-external.yml b/.github/workflows/test-external.yml index 08dcd300d..9262948b2 100644 --- a/.github/workflows/test-external.yml +++ b/.github/workflows/test-external.yml @@ -12,19 +12,14 @@ jobs: test-external: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [12.22, 12, 14.17, 14, 16.0.0, 16] - fail-fast: false - steps: - name: Checkout project uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node-version }} + node-version: lts/* - name: Cache Node dependencies uses: actions/cache@v2