From 0a7f98dd80e32e7688ed7807c270f19c5fc7084a Mon Sep 17 00:00:00 2001 From: ajnart Date: Sun, 29 May 2022 18:47:12 +0200 Subject: [PATCH] :building_construction: Change packageManager --- .gitignore | 3 ++- .yarnrc.yml | 3 +++ package.json | 3 ++- tsconfig.json | 17 ++++++++++++++--- 4 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 .yarnrc.yml diff --git a/.gitignore b/.gitignore index 97405ae66..614b66c5e 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,5 @@ yarn-error.log* # storybook storybook-static -data/configs \ No newline at end of file +data/configs +.yarn \ No newline at end of file diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 000000000..d9f8454ea --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1,3 @@ +nodeLinker: node-modules + +yarnPath: .yarn/releases/yarn-3.2.1.cjs diff --git a/package.json b/package.json index 2c98b3015..dd8eef488 100644 --- a/package.json +++ b/package.json @@ -81,5 +81,6 @@ }, "resolutions": { "@types/react": "17.0.30" - } + }, + "packageManager": "yarn@3.2.1" } diff --git a/tsconfig.json b/tsconfig.json index 3ff0501fd..97fd02c6c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -15,6 +19,13 @@ "jsx": "preserve", "incremental": true }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "next.config.js"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + "next.config.js" + ], + "exclude": [ + "node_modules" + ] }