From 8f17df2e857e68c6548bd2109e073c5a4576be5a Mon Sep 17 00:00:00 2001 From: Daniil Suvorov Date: Fri, 22 Nov 2024 12:23:46 +0300 Subject: [PATCH] chore: update node to 22 (#7973) --- .nvmrc | 2 +- package.json | 2 +- packages/token-translator/tsconfig.json | 3 ++- packages/vkui-floating-ui/main.mjs | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.nvmrc b/.nvmrc index 2edeafb09d..8fdd954df9 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 \ No newline at end of file +22 \ No newline at end of file diff --git a/package.json b/package.json index 32ac9502f9..922de605e7 100644 --- a/package.json +++ b/package.json @@ -143,7 +143,7 @@ "prettier --check" ] }, - "packageManager": "yarn@4.5.0", + "packageManager": "yarn@4.5.2", "workspaces": { "packages": [ "benchmark", diff --git a/packages/token-translator/tsconfig.json b/packages/token-translator/tsconfig.json index a442d2c1b9..6b393f87bb 100644 --- a/packages/token-translator/tsconfig.json +++ b/packages/token-translator/tsconfig.json @@ -5,7 +5,8 @@ "esModuleInterop": true, "resolveJsonModule": true, "isolatedModules": true, - "strict": true + "strict": true, + "skipLibCheck": true }, "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"], "exclude": ["**/*.test.ts", "node_modules"] diff --git a/packages/vkui-floating-ui/main.mjs b/packages/vkui-floating-ui/main.mjs index 2d571b1949..e0a771c2e1 100644 --- a/packages/vkui-floating-ui/main.mjs +++ b/packages/vkui-floating-ui/main.mjs @@ -3,7 +3,7 @@ import * as fsPromises from 'node:fs/promises'; import * as path from 'node:path'; import * as url from 'node:url'; import swc from '@swc/core'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: 'json' }; function removePathFromStart(subPackagePath) { return subPackagePath.replace(/^\.\//, '');