From e68cd5ba194378242ce4040d77dbcfb4c6e5bbdf Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Tue, 16 May 2023 18:25:11 -0400 Subject: [PATCH 1/2] Upgrade addon dependencies --- files/__addonLocation__/package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/files/__addonLocation__/package.json b/files/__addonLocation__/package.json index 0cf92d3d..c53e0f78 100644 --- a/files/__addonLocation__/package.json +++ b/files/__addonLocation__/package.json @@ -39,7 +39,7 @@ "@glint/core": "^1.0.2", "@glint/environment-ember-loose": "^1.0.2", "@glint/template": "^1.0.2", - "@tsconfig/ember": "^1.0.0", + "@tsconfig/ember": "^2.0.0", "@types/ember": "^4.0.0", "@types/ember__object": "^4.0.0", "@types/ember__service": "^4.0.0", @@ -59,19 +59,19 @@ "@types/ember__routing": "^4.0.0", "@typescript-eslint/eslint-plugin": "^5.30.5", "@typescript-eslint/parser": "^5.30.5",<% } else { %> - "@rollup/plugin-babel": "^5.3.0",<% } %> - "concurrently": "^7.2.1", - "ember-template-lint": "^4.0.0", + "@rollup/plugin-babel": "^6.0.3",<% } %> + "concurrently": "^8.0.1", + "ember-template-lint": "^5.7.3", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", - "eslint-plugin-ember": "^10.5.8", - "eslint-plugin-node": "^11.1.0", + "eslint-plugin-ember": "^11.6.0", + "eslint-plugin-n": "^16.0.0", "eslint-plugin-prettier": "^4.0.0", "prettier": "^2.5.1", - "rollup": "^2.67.0"<% if (!isExistingMonorepo) { %>, + "rollup": "^3.21.8"<% if (!isExistingMonorepo) { %>, "rollup-plugin-copy": "^3.4.0"<% } %><% if (typescript) { %>, "rollup-plugin-ts": "^3.0.2", - "typescript": "^4.9.5"<% } %> + "typescript": "^5.0.4"<% } %> }, "publishConfig": { "registry": "https://registry.npmjs.org" From eff700f3cfd888c4926179b3b64045cd1fa4adfc Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Tue, 16 May 2023 18:28:50 -0400 Subject: [PATCH 2/2] When swapping eslint-plugin-node for eslint-plugin-n I forgot to update the lint config --- files/__addonLocation__/.eslintrc.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/__addonLocation__/.eslintrc.cjs b/files/__addonLocation__/.eslintrc.cjs index 7191772f..2164f12a 100644 --- a/files/__addonLocation__/.eslintrc.cjs +++ b/files/__addonLocation__/.eslintrc.cjs @@ -50,8 +50,8 @@ module.exports = { browser: false, node: true, }, - plugins: ['node'], - extends: ['plugin:node/recommended'], + plugins: ['n'], + extends: ['plugin:n/recommended'], }, ], };