From 000c67971bbffc093b00f29d7ff040e3eb7a2bee Mon Sep 17 00:00:00 2001 From: Vitalii Elenhaupt Date: Tue, 6 Oct 2026 14:37:15 +0200 Subject: [PATCH 1/2] chore(deps): drop the globals package the lint config never used --- eslint.config.js | 6 ------ package-lock.json | 14 -------------- package.json | 1 - 3 files changed, 21 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index fd249ab7..154a6080 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,5 +1,4 @@ import js from '@eslint/js'; -import globals from 'globals'; import tseslint from 'typescript-eslint'; export default tseslint.config( @@ -17,14 +16,9 @@ export default tseslint.config( ...tseslint.configs.recommended, { files: ['**/*.ts'], - languageOptions: { globals: globals.browser }, rules: { '@typescript-eslint/consistent-type-imports': 'error', '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }], }, }, - { - files: ['vite/**/*.ts', 'vite.config.ts', 'e2e/**/*.ts', 'playwright.config.ts'], - languageOptions: { globals: globals.node }, - }, ); diff --git a/package-lock.json b/package-lock.json index 77859efc..ea86aed4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,6 @@ "@types/node": "^24.19.0", "@types/three": "^0.186.0", "eslint": "^10.11.0", - "globals": "^17.12.0", "happy-dom": "^20.14.5", "node-html-parser": "^9.0.4", "prettier": "^3.9.9", @@ -1429,19 +1428,6 @@ "node": ">=10.13.0" } }, - "node_modules/globals": { - "version": "17.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-17.12.0.tgz", - "integrity": "sha512-cezEd/DTyyht9cvSSURyygXPfy04GtWO/5e6ZPvH7fCtjKz9PYOmuawphw1Ctd1f6C+5JypXfGD7ahNMXvevBA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/happy-dom": { "version": "20.14.5", "resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-20.14.5.tgz", diff --git a/package.json b/package.json index 86f32295..477b67b0 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,6 @@ "@types/node": "^24.19.0", "@types/three": "^0.186.0", "eslint": "^10.11.0", - "globals": "^17.12.0", "happy-dom": "^20.14.5", "node-html-parser": "^9.0.4", "prettier": "^3.9.9", From 6d667857fc10a80b40ac7c62c81041c936ce57ef Mon Sep 17 00:00:00 2001 From: Vitalii Elenhaupt Date: Tue, 6 Oct 2026 14:37:15 +0200 Subject: [PATCH 2/2] ci(dependabot): update npm packages and actions weekly in grouped pull requests --- .github/dependabot.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..dba36193 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,40 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 5 + cooldown: + default-days: 7 + commit-message: + prefix: chore + include: scope + ignore: + - dependency-name: '@types/node' + update-types: ['version-update:semver-major'] + groups: + three: + patterns: + - three + - '@types/three' + - three-mesh-bvh + runtime: + dependency-type: production + update-types: [minor, patch] + tooling: + dependency-type: development + update-types: [minor, patch] + + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + cooldown: + default-days: 7 + commit-message: + prefix: ci + include: scope + groups: + actions: + patterns: ['*']