diff --git a/.nvmrc b/.nvmrc index 2a393af..1d9b783 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.18.0 +22.12.0 diff --git a/Containerfile b/Containerfile index 53b386c..b15d4da 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,4 @@ -FROM node:20.18.0 AS base +FROM node:22.12.0 AS base WORKDIR /app RUN npm config set update-notifier false diff --git a/package-lock.json b/package-lock.json index 6f5d216..e36035f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,8 +28,8 @@ "@nethesis/nethesis-solid-svg-icons": "github:nethesis/Font-Awesome#ns-solid", "@rushstack/eslint-patch": "^1.3.3", "@tailwindcss/forms": "^0.5.6", - "@tsconfig/node18": "^18.2.2", - "@types/node": "^20.0.0", + "@tsconfig/node22": "^22.0.0", + "@types/node": "^22.0.0", "@vitejs/plugin-vue": "^5.2.1", "@vitejs/plugin-vue-jsx": "^4.1.1", "@vue/eslint-config-prettier": "^10.1.0", @@ -2093,10 +2093,10 @@ "vue": "^2.7.0 || ^3.0.0" } }, - "node_modules/@tsconfig/node18": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@tsconfig/node18/-/node18-18.2.4.tgz", - "integrity": "sha512-5xxU8vVs9/FNcvm3gE07fPbn9tl6tqGGWA9tSlwsUEkBxtRnTsNmwrV8gasZ9F/EobaSv9+nu8AxUKccw77JpQ==", + "node_modules/@tsconfig/node22": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/@tsconfig/node22/-/node22-22.0.0.tgz", + "integrity": "sha512-twLQ77zevtxobBOD4ToAtVmuYrpeYUh3qh+TEp+08IWhpsrIflVHqQ1F1CiPxQGL7doCdBIOOCF+1Tm833faNg==", "dev": true, "license": "MIT" }, @@ -2125,13 +2125,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "20.17.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.9.tgz", - "integrity": "sha512-0JOXkRyLanfGPE2QRCwgxhzlBAvaRdCNMcvbd7jFfpmD4eEXll7LRwy5ymJmyeZqk7Nh7eD2LeUyQ68BbndmXw==", + "version": "22.10.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz", + "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.20.0" } }, "node_modules/@types/web-bluetooth": { @@ -6283,9 +6283,9 @@ } }, "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index e136eb6..72c9cbe 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,8 @@ "@nethesis/nethesis-solid-svg-icons": "github:nethesis/Font-Awesome#ns-solid", "@rushstack/eslint-patch": "^1.3.3", "@tailwindcss/forms": "^0.5.6", - "@tsconfig/node18": "^18.2.2", - "@types/node": "^20.0.0", + "@tsconfig/node22": "^22.0.0", + "@types/node": "^22.0.0", "@vitejs/plugin-vue": "^5.2.1", "@vitejs/plugin-vue-jsx": "^4.1.1", "@vue/eslint-config-prettier": "^10.1.0", diff --git a/renovate.json b/renovate.json index 01ccd51..1a1f78d 100644 --- a/renovate.json +++ b/renovate.json @@ -8,7 +8,7 @@ "matchPackageNames": [ "node" ], - "allowedVersions": "<= 20" + "allowedVersions": "<= 22" }, { "excludePackageNames": [ diff --git a/tailwind.config.ts b/tailwind.config.ts index a73375f..97a954a 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,9 +1,10 @@ import type { Config } from 'tailwindcss' import colors from 'tailwindcss/colors' import defaultTheme from 'tailwindcss/defaultTheme' +import tailwindConfig from '@nethesis/vue-components/tailwind.config' export default { - presets: [require('@nethesis/vue-components/tailwind.config.ts')], + presets: [tailwindConfig], content: [ './index.html', './src/**/*.{vue,js,ts,jsx,tsx}', diff --git a/tsconfig.node.json b/tsconfig.node.json index dee96be..3af32d3 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node18/tsconfig.json", + "extends": "@tsconfig/node22/tsconfig.json", "include": [ "vite.config.*", "vitest.config.*",