refactor: Move tsconfig.*.json files to separate npm package (no-changelog) (#13426)

This commit is contained in:
Alex Grozav
2025-02-25 20:45:50 +02:00
committed by GitHub
parent 288cce6370
commit 2f395fe89a
62 changed files with 200 additions and 99 deletions

View File

@@ -46,6 +46,7 @@
"devDependencies": {
"@iconify-json/mdi": "^1.1.54",
"@n8n/storybook": "workspace:*",
"@n8n/typescript-config": "workspace:*",
"@vitejs/plugin-vue": "catalog:frontend",
"@vitest/coverage-v8": "catalog:frontend",
"unplugin-icons": "^0.19.0",

View File

@@ -1,5 +1,5 @@
{
"extends": "../../../../tsconfig.json",
"extends": "@n8n/typescript-config/tsconfig.common.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",

View File

@@ -26,8 +26,8 @@
},
"devDependencies": {
"@n8n/frontend-eslint-config": "workspace:*",
"@n8n/frontend-typescript-config": "workspace:*",
"@n8n/frontend-vitest-config": "workspace:*",
"@n8n/typescript-config": "workspace:*",
"@testing-library/jest-dom": "catalog:frontend",
"@testing-library/user-event": "catalog:frontend",
"@testing-library/vue": "catalog:frontend",

View File

@@ -1,5 +1,5 @@
{
"extends": "@n8n/frontend-typescript-config",
"extends": "@n8n/typescript-config/tsconfig.frontend.json",
"compilerOptions": {
"baseUrl": ".",
"rootDir": ".",

View File

@@ -1,18 +0,0 @@
{
"name": "@n8n/frontend-typescript-config",
"version": "1.1.0",
"type": "module",
"files": [
"tsconfig.json"
],
"main": "./tsconfig.json",
"module": "./tsconfig.json",
"exports": {
".": {
"import": "./tsconfig.json",
"require": "./tsconfig.json"
},
"./*": "./*"
},
"license": "See LICENSE.md file in the root of the repository"
}

View File

@@ -1,13 +0,0 @@
{
"extends": "../../../../tsconfig.json",
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"importHelpers": true,
"allowJs": true,
"incremental": false,
"allowSyntheticDefaultImports": true,
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
},
"include": ["src/**/*.ts", "src/**/*.vue"]
}