Skip to content

Commit e389dc4

Browse files
authored
Updated deps (#498)
* ci: update package-lock.json for dependency version bumps This commit updates the `package-lock.json` file to reflect minor and patch version upgrades for various dependencies, including @babel/runtime, @devicefarmer/adbkit, and @rollup packages, among others. These updates include improvements in licenses, integrity checks, and engine requirements. * ci: update dependencies - fixes #492 - fixes #441 - fixes #494 - fixes #411 - fixes #490 - bump vitest from 1.3.1 to 1.6.1 - bump unplugin-vue-components from 0.26.0 to 0.28.0 - bump typescript from 5.3.3 to 5.7.3 - bump @vitejs/plugin-vue from 5.0.4 to 5.2.1 - bump vite from 6.1.0 to 6.2.0 - bump vitest from 1.6.1 to 3.0.7 - bumped min node version from >=21.4.0 to >= 22.0.0 as needed for vite ^6.0.0 * fix: updated node version in test action * fix: changed workflow ubuntu version issue with puppeteer + ubuntu latest. See more: puppeteer/puppeteer#12818
1 parent 32a52aa commit e389dc4

9 files changed

+4250
-2656
lines changed

.github/workflows/test.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ on: # yamllint disable-line rule:truthy
3030
jobs:
3131
test:
3232
name: Test
33-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-22.04
3434
strategy:
3535
matrix:
3636
browser: [Chrome, Opera]
@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/checkout@v4
4040
- uses: actions/setup-node@v4
4141
with:
42-
node-version: ">=21.4.0"
42+
node-version: ">=22.0.0"
4343
- name: Install
4444
run: npm ci
4545
- name: Build

package-lock.json

+4,206-2,628
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"license": "MIT",
1111
"type": "module",
1212
"engines": {
13-
"node": ">=21.4.0",
13+
"node": ">=22.0.0",
1414
"npm": ">=10.2.5"
1515
},
1616
"scripts": {
@@ -33,7 +33,7 @@
3333
"@types/chrome": "0.0.260",
3434
"@typescript-eslint/eslint-plugin": "7.0.2",
3535
"@typescript-eslint/parser": "7.0.2",
36-
"@vitejs/plugin-vue": "5.0.4",
36+
"@vitejs/plugin-vue": "5.2.1",
3737
"@vue/eslint-config-typescript": "12.0.0",
3838
"bootstrap": "5.3.3",
3939
"bootstrap-vue-next": "0.16.6",
@@ -51,20 +51,20 @@
5151
"eslint-plugin-unicorn": "51.0.1",
5252
"eslint-plugin-vitest": "0.3.22",
5353
"eslint-plugin-vue": "9.21.1",
54-
"jsdom": "^24.0.0",
54+
"jsdom": "24.0.0",
5555
"prettier": "3.2.5",
5656
"prettier-eslint": "16.3.0",
57-
"puppeteer": "22.1.0",
57+
"puppeteer": "22.15.0",
5858
"sass": "1.71.1",
5959
"ts-node": "10.9.2",
60-
"typescript": "5.3.3",
61-
"unplugin-vue-components": "0.26.0",
62-
"vite": "5.2.11",
63-
"vite-plugin-web-extension": "4.1.1",
64-
"vitest": "^1.3.1",
60+
"typescript": "5.7.3",
61+
"unplugin-vue-components": "0.28.0",
62+
"vite": "6.2.0",
63+
"vite-plugin-web-extension": "4.4.3",
64+
"vitest": "3.0.7",
6565
"vue": "3.4.19",
6666
"vue-dndrop": "1.3.1",
67-
"vue-eslint-parser": "^9.4.2",
68-
"vue-tsc": "1.8.27"
67+
"vue-eslint-parser": "9.4.2",
68+
"vue-tsc": "2.0.29"
6969
}
7070
}

src/manifest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable camelcase */
2-
import pkg from '../package.json';
2+
import pkg from '../package.json' with { type: 'json' };
33

44
const icons = {
55
16: 'icons/icon16.png',

src/styles/global.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ $btn-box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
3232
}
3333
$modal-content-border-radius: 2px;
3434

35-
@import 'node_modules/bootstrap/scss/bootstrap';
35+
@import 'bootstrap/scss/bootstrap';
3636
@import 'bootstrap-vue-next/dist/bootstrap-vue-next.css';

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@
2525
"removeComments": true,
2626
"emitDecoratorMetadata": true,
2727
"experimentalDecorators": true,
28+
"types": ["vite/client", "chrome"],
2829
}
2930
}

vite-env.d.ts

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// eslint-disable-next-line eslint-comments/disable-enable-pair
2+
/* eslint-disable @typescript-eslint/no-explicit-any */
3+
declare module '@vitejs/plugin-vue' {
4+
const vue: () => any;
5+
export default vue;
6+
}
7+
8+
declare module 'vite-plugin-web-extension' {
9+
const webExtension: (options: any) => any;
10+
export default webExtension;
11+
}
12+
13+
declare module 'unplugin-vue-components/vite' {
14+
const Components: (options?: any) => any;
15+
export default Components;
16+
}

vite.config.ts

+11-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
import { BootstrapVueNextResolver } from 'unplugin-vue-components/resolvers';
22
import Components from 'unplugin-vue-components/vite';
3-
import { defineConfig } from 'vite';
3+
import { defineConfig } from 'vitest/config';
44
import { getManifest } from './src/manifest.ts';
55
import vue from '@vitejs/plugin-vue';
66
import webExtension from 'vite-plugin-web-extension';
77

88
// https://vitejs.dev/config/
9-
export default defineConfig(() => {
10-
return {
11-
plugins: [
12-
vue(),
13-
webExtension({ manifest: getManifest }),
14-
Components({ resolvers: [BootstrapVueNextResolver()], dts: false }),
15-
],
16-
build: { target: 'ESNext' },
17-
// eslint-disable-next-line unicorn/relative-url-style
18-
resolve: { alias: { '~': new URL('./src', import.meta.url).pathname } },
19-
};
9+
export default defineConfig({
10+
plugins: [
11+
vue(),
12+
webExtension({ manifest: getManifest }),
13+
// eslint-disable-next-line deprecation/deprecation
14+
Components({ resolvers: [BootstrapVueNextResolver()], dts: false }),
15+
],
16+
build: { target: 'ESNext' },
17+
// eslint-disable-next-line unicorn/relative-url-style
18+
resolve: { alias: { '~': new URL('./src', import.meta.url).pathname } },
2019
});

vitest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from 'vite';
1+
import { defineConfig } from 'vitest/config';
22
import vue from '@vitejs/plugin-vue';
33

44
export default defineConfig({

0 commit comments

Comments
 (0)