From 391afc84bbdeb00d7efce3635b5349e5ed1849c9 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 13 May 2024 15:52:03 +0900 Subject: [PATCH 1/4] breaking: drop support for versions less than node v18 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 815825a2..beb5d4b3 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "url": "https://github.com/intlify/eslint-plugin-vue-i18n/issues" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" }, "packageManager": "pnpm@8.15.8", "type": "commonjs", From b6b1d437576c9fd90c1072a4c8870d19dbea3ca6 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 13 May 2024 15:53:58 +0900 Subject: [PATCH 2/4] fix: updates --- .github/workflows/Release.yml | 4 ++-- .github/workflows/test.yml | 2 +- docs/started.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 98b8e3c4..31174d40 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -16,10 +16,10 @@ jobs: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - - name: Setup Node.js 16 + - name: Setup Node.js 18 uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 18 - name: Enable corepack run: corepack enable diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0924e612..d98615b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [18, 20] + node: [18, 20, 22] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/docs/started.md b/docs/started.md index ce1f2c50..4f9924d9 100644 --- a/docs/started.md +++ b/docs/started.md @@ -11,7 +11,7 @@ npm install --save-dev eslint @intlify/eslint-plugin-vue-i18n ::: tip Requirements - ESLint v5.0.0 or later -- Node.js v16.x or later +- Node.js v18.x or later ::: From f6797f8274880c707e69c8156d344ce17dc7c11d Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Mon, 13 May 2024 15:57:07 +0900 Subject: [PATCH 3/4] breaking: drop support for versions less than eslint v8 --- .github/workflows/test.yml | 2 +- docs/started.md | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d98615b9..d12fb9ed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,7 +54,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - eslint: [5, 6, 7, 8, ^9.0.0-0] + eslint: [8, ^9.0.0-0] node: [20] steps: - name: Checkout diff --git a/docs/started.md b/docs/started.md index 4f9924d9..d1f3ec2c 100644 --- a/docs/started.md +++ b/docs/started.md @@ -10,7 +10,7 @@ npm install --save-dev eslint @intlify/eslint-plugin-vue-i18n ::: tip Requirements -- ESLint v5.0.0 or later +- ESLint v8.0.0 or later - Node.js v18.x or later ::: diff --git a/package.json b/package.json index beb5d4b3..09839426 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ "vue-github-button": "^3.1.0" }, "peerDependencies": { - "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0-0" + "eslint": "^8.0.0 || ^9.0.0-0" }, "publishConfig": { "access": "public" From 7d657b547a6d52f67578ebf3bbb9c59d26b379f0 Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Fri, 24 May 2024 15:43:59 +0900 Subject: [PATCH 4/4] Create slow-needles-smash.md --- .changeset/slow-needles-smash.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/slow-needles-smash.md diff --git a/.changeset/slow-needles-smash.md b/.changeset/slow-needles-smash.md new file mode 100644 index 00000000..fd1ecdb0 --- /dev/null +++ b/.changeset/slow-needles-smash.md @@ -0,0 +1,5 @@ +--- +"@intlify/eslint-plugin-vue-i18n": major +--- + +breaking: drop support for versions less than eslint v8