From c2f5c214c577e6b1d26c4030518dd9336995efaf Mon Sep 17 00:00:00 2001 From: Curtis Dulmage Date: Sat, 27 Apr 2024 20:16:38 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20[Dependency]=20Update?= =?UTF-8?q?=20packages=20and=20switch=20to=20`eslint-config-love`=20(#82)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/chatty-pugs-refuse.md | 6 + .eslintrc | 10 +- .nvmrc | 2 +- .vscode/extensions.json | 3 +- app/website/package.json | 22 +- app/website/src/components/DragHandle.vue | 4 +- app/website/src/components/IconAction.vue | 4 +- app/website/src/components/MuteBar.vue | 5 +- app/website/src/components/SpeedSlider.vue | 5 +- app/website/src/components/StackLabel.vue | 6 +- app/website/src/components/VolumeManager.vue | 5 +- app/website/src/components/VolumeSound.vue | 9 +- app/website/src/components/VolumeStack.vue | 3 +- app/website/src/helpers/classNames.ts | 36 - app/website/src/helpers/index.ts | 3 - app/website/src/hooks/useMediaQuery.ts | 2 +- app/website/src/hooks/useMetronome.ts | 2 +- app/website/src/primitives/ProgressBar.vue | 5 +- app/website/src/primitives/SquareAction.vue | 6 +- app/website/src/store/useDebugManager.ts | 2 +- package.json | 27 +- pkg/earwurm/package.json | 15 +- pkg/earwurm/src/Earwurm.ts | 2 +- pkg/earwurm/src/Sound.ts | 2 +- pkg/earwurm/src/Stack.ts | 2 +- pkg/earwurm/src/tests/Stack.test.ts | 2 +- pkg/helpers/package.json | 4 +- pkg/mocks/MockAudioParam.ts | 2 +- pkg/mocks/package.json | 6 +- pkg/types/package.json | 4 +- pkg/utilities/array.ts | 29 - pkg/utilities/error.ts | 33 - pkg/utilities/index.ts | 34 - pkg/utilities/number.ts | 62 - pkg/utilities/object.ts | 14 - pkg/utilities/package.json | 14 - pkg/utilities/random.ts | 15 - pkg/utilities/string.ts | 24 - pkg/utilities/support.ts | 9 - pkg/utilities/tests/array.test.ts | 86 - pkg/utilities/tests/error.test.ts | 35 - pkg/utilities/tests/number.test.ts | 199 - pkg/utilities/tests/object.test.ts | 31 - pkg/utilities/tests/random.test.ts | 44 - pkg/utilities/tests/string.test.ts | 40 - pkg/utilities/tests/support.test.ts | 19 - pkg/utilities/tests/time.test.ts | 19 - pkg/utilities/tests/wait.test.ts | 14 - pkg/utilities/time.ts | 71 - pkg/utilities/wait.ts | 18 - pnpm-lock.yaml | 8029 ++++++++++-------- 51 files changed, 4555 insertions(+), 4490 deletions(-) create mode 100644 .changeset/chatty-pugs-refuse.md delete mode 100644 app/website/src/helpers/classNames.ts delete mode 100644 pkg/utilities/array.ts delete mode 100644 pkg/utilities/error.ts delete mode 100644 pkg/utilities/index.ts delete mode 100644 pkg/utilities/number.ts delete mode 100644 pkg/utilities/object.ts delete mode 100644 pkg/utilities/package.json delete mode 100644 pkg/utilities/random.ts delete mode 100644 pkg/utilities/string.ts delete mode 100644 pkg/utilities/support.ts delete mode 100644 pkg/utilities/tests/array.test.ts delete mode 100644 pkg/utilities/tests/error.test.ts delete mode 100644 pkg/utilities/tests/number.test.ts delete mode 100644 pkg/utilities/tests/object.test.ts delete mode 100644 pkg/utilities/tests/random.test.ts delete mode 100644 pkg/utilities/tests/string.test.ts delete mode 100644 pkg/utilities/tests/support.test.ts delete mode 100644 pkg/utilities/tests/time.test.ts delete mode 100644 pkg/utilities/tests/wait.test.ts delete mode 100644 pkg/utilities/time.ts delete mode 100644 pkg/utilities/wait.ts diff --git a/.changeset/chatty-pugs-refuse.md b/.changeset/chatty-pugs-refuse.md new file mode 100644 index 0000000..058a407 --- /dev/null +++ b/.changeset/chatty-pugs-refuse.md @@ -0,0 +1,6 @@ +--- +"website": minor +"earwurm": minor +--- + +Switched from local utilities package to beeftools. diff --git a/.eslintrc b/.eslintrc index 90a4639..b870848 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,17 +1,17 @@ { "env": { "browser": true, - "es2022": true + "es2022": true, }, - "extends": ["standard-with-typescript", "plugin:prettier/recommended"], + "extends": ["love", "plugin:prettier/recommended"], "parserOptions": { "ecmaVersion": "latest", "sourceType": "module", - "project": "./tsconfig.json" + "project": "./tsconfig.json", }, "rules": { "no-console": "error", "@typescript-eslint/explicit-function-return-type": "off", - "@typescript-eslint/strict-boolean-expressions": "off" - } + "@typescript-eslint/strict-boolean-expressions": "off", + }, } diff --git a/.nvmrc b/.nvmrc index d4c3d32..7795cad 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.10 +20.12 diff --git a/.vscode/extensions.json b/.vscode/extensions.json index bd034ae..98c949d 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -9,8 +9,7 @@ "DavidAnson.vscode-markdownlint", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", - "Vue.volar", - "Vue.vscode-typescript-vue-plugin", + "vue.volar", "csstools.postcss", "stylelint.vscode-stylelint" ] diff --git a/app/website/package.json b/app/website/package.json index 93e8408..9add13b 100644 --- a/app/website/package.json +++ b/app/website/package.json @@ -12,8 +12,8 @@ "private": true, "type": "module", "engines": { - "node": ">=20.10.0", - "pnpm": ">=8.15.0" + "node": ">=20.12.0", + "pnpm": ">=9.0.0" }, "scripts": { "clean": "rm -rf dist && rm -rf *.tsbuildinfo", @@ -26,21 +26,21 @@ "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false" }, "dependencies": { - "@earwurm/utilities": "workspace:*", + "beeftools": "^0.0.5", "earwurm": "workspace:*", - "vue": "^3.4.15" + "vue": "^3.4.25" }, "devDependencies": { "@earwurm/types": "workspace:*", - "@rushstack/eslint-patch": "^1.7.2", - "@tsconfig/node20": "^20.1.2", - "@vitejs/plugin-vue": "^5.0.3", + "@rushstack/eslint-patch": "^1.10.2", + "@tsconfig/node20": "^20.1.4", + "@vitejs/plugin-vue": "^5.0.4", "@vue/eslint-config-prettier": "^9.0.0", - "@vue/eslint-config-typescript": "^12.0.0", + "@vue/eslint-config-typescript": "^13.0.0", "@vue/tsconfig": "^0.5.1", - "eslint-plugin-vue": "^9.20.1", - "lightningcss": "^1.23.0", + "eslint-plugin-vue": "^9.25.0", + "lightningcss": "^1.24.1", "vite-plugin-svg-sprite": "^0.5.1", - "vue-tsc": "^1.8.27" + "vue-tsc": "^2.0.14" } } diff --git a/app/website/src/components/DragHandle.vue b/app/website/src/components/DragHandle.vue index aba4b57..83d0dc0 100644 --- a/app/website/src/components/DragHandle.vue +++ b/app/website/src/components/DragHandle.vue @@ -1,5 +1,5 @@