diff --git a/frontend/package.json b/frontend/package.json index 4f32f2b..9bf824f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -30,7 +30,7 @@ "@intlify/unplugin-vue-i18n": "^4.0.0", "@rushstack/eslint-patch": "^1.10.4", "@types/jsdom": "^16.2.15", - "@types/node": "^16.18.105", + "@types/node": "^22.3.0", "@types/qs": "^6.9.15", "@vitejs/plugin-vue": "^5.1.2", "@vue/eslint-config-prettier": "^7.1.0", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index bf931e4..3de17aa 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -58,14 +58,14 @@ importers: specifier: ^16.2.15 version: 16.2.15 '@types/node': - specifier: ^16.18.105 - version: 16.18.105 + specifier: ^22.3.0 + version: 22.3.0 '@types/qs': specifier: ^6.9.15 version: 6.9.15 '@vitejs/plugin-vue': specifier: ^5.1.2 - version: 5.1.2(vite@5.4.0(@types/node@16.18.105))(vue@3.4.37(typescript@5.5.4)) + version: 5.1.2(vite@5.4.0(@types/node@22.3.0))(vue@3.4.37(typescript@5.5.4)) '@vue/eslint-config-prettier': specifier: ^7.1.0 version: 7.1.0(eslint@8.57.0)(prettier@2.8.8) @@ -77,7 +77,7 @@ importers: version: 2.4.6 '@vue/tsconfig': specifier: ^0.1.3 - version: 0.1.3(@types/node@16.18.105) + version: 0.1.3(@types/node@22.3.0) '@vueuse/core': specifier: ^10.11.1 version: 10.11.1(vue@3.4.37(typescript@5.5.4)) @@ -110,10 +110,10 @@ importers: version: 0.27.4(@babel/parser@7.25.3)(rollup@4.20.0)(vue@3.4.37(typescript@5.5.4)) vite: specifier: ^5.4.0 - version: 5.4.0(@types/node@16.18.105) + version: 5.4.0(@types/node@22.3.0) vitest: specifier: ^2.0.5 - version: 2.0.5(@types/node@16.18.105)(jsdom@19.0.0) + version: 2.0.5(@types/node@22.3.0)(jsdom@19.0.0) vue-tsc: specifier: ^2.0.29 version: 2.0.29(typescript@5.5.4) @@ -551,8 +551,8 @@ packages: '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/node@16.18.105': - resolution: {integrity: sha512-w2d0Z9yMk07uH3+Cx0N8lqFyi3yjXZxlbYappPj+AsOlT02OyxyiuNoNHdGt6EuiSm8Wtgp2YV7vWg+GMFrvFA==} + '@types/node@22.3.0': + resolution: {integrity: sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==} '@types/parse5@6.0.3': resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} @@ -1991,6 +1991,9 @@ packages: ufo@1.5.4: resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} + undici-types@6.18.2: + resolution: {integrity: sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ==} + universalify@0.2.0: resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} engines: {node: '>= 4.0.0'} @@ -2601,13 +2604,15 @@ snapshots: '@types/jsdom@16.2.15': dependencies: - '@types/node': 16.18.105 + '@types/node': 22.3.0 '@types/parse5': 6.0.3 '@types/tough-cookie': 4.0.5 '@types/json-schema@7.0.15': {} - '@types/node@16.18.105': {} + '@types/node@22.3.0': + dependencies: + undici-types: 6.18.2 '@types/parse5@6.0.3': {} @@ -2705,9 +2710,9 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue@5.1.2(vite@5.4.0(@types/node@16.18.105))(vue@3.4.37(typescript@5.5.4))': + '@vitejs/plugin-vue@5.1.2(vite@5.4.0(@types/node@22.3.0))(vue@3.4.37(typescript@5.5.4))': dependencies: - vite: 5.4.0(@types/node@16.18.105) + vite: 5.4.0(@types/node@22.3.0) vue: 3.4.37(typescript@5.5.4) '@vitest/expect@2.0.5': @@ -2853,9 +2858,9 @@ snapshots: js-beautify: 1.15.1 vue-component-type-helpers: 2.0.29 - '@vue/tsconfig@0.1.3(@types/node@16.18.105)': + '@vue/tsconfig@0.1.3(@types/node@22.3.0)': optionalDependencies: - '@types/node': 16.18.105 + '@types/node': 22.3.0 '@vueuse/core@10.11.1(vue@3.4.37(typescript@5.5.4))': dependencies: @@ -4124,6 +4129,8 @@ snapshots: ufo@1.5.4: {} + undici-types@6.18.2: {} + universalify@0.2.0: {} unplugin-icons@0.19.2(@vue/compiler-sfc@3.4.37): @@ -4183,13 +4190,13 @@ snapshots: util-deprecate@1.0.2: {} - vite-node@2.0.5(@types/node@16.18.105): + vite-node@2.0.5(@types/node@22.3.0): dependencies: cac: 6.7.14 debug: 4.3.6 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.0(@types/node@16.18.105) + vite: 5.4.0(@types/node@22.3.0) transitivePeerDependencies: - '@types/node' - less @@ -4201,16 +4208,16 @@ snapshots: - supports-color - terser - vite@5.4.0(@types/node@16.18.105): + vite@5.4.0(@types/node@22.3.0): dependencies: esbuild: 0.21.5 postcss: 8.4.41 rollup: 4.20.0 optionalDependencies: - '@types/node': 16.18.105 + '@types/node': 22.3.0 fsevents: 2.3.3 - vitest@2.0.5(@types/node@16.18.105)(jsdom@19.0.0): + vitest@2.0.5(@types/node@22.3.0)(jsdom@19.0.0): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.5 @@ -4228,11 +4235,11 @@ snapshots: tinybench: 2.9.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.4.0(@types/node@16.18.105) - vite-node: 2.0.5(@types/node@16.18.105) + vite: 5.4.0(@types/node@22.3.0) + vite-node: 2.0.5(@types/node@22.3.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 16.18.105 + '@types/node': 22.3.0 jsdom: 19.0.0 transitivePeerDependencies: - less diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts index 09d66fc..4f796ab 100644 --- a/frontend/tailwind.config.ts +++ b/frontend/tailwind.config.ts @@ -1,18 +1,16 @@ -const animate = require('tailwindcss-animate') +import animate from 'tailwindcss-animate' /** @type {import('tailwindcss').Config} */ -module.exports = { +const tailwindConfig = { darkMode: ['class'], safelist: ['dark'], prefix: '', - content: [ './pages/**/*.{ts,tsx,vue}', './components/**/*.{ts,tsx,vue}', './app/**/*.{ts,tsx,vue}', './src/**/*.{ts,tsx,vue}' ], - theme: { container: { center: true, @@ -91,3 +89,5 @@ module.exports = { }, plugins: [animate] } + +export default tailwindConfig