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" + ] }