feat: Add reusable frontend composables package (#13077)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
This commit is contained in:
Alex Grozav
2025-02-06 12:44:30 +02:00
committed by GitHub
parent df89c6fff4
commit ef87da4c19
49 changed files with 684 additions and 309 deletions

View File

@@ -1,16 +1,10 @@
{
"extends": "../../tsconfig.json",
"extends": "@n8n/frontend-typescript-config",
"compilerOptions": {
"rootDir": ".",
"outDir": "dist",
"target": "esnext",
"module": "esnext",
"importHelpers": true,
"allowJs": true,
"incremental": false,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"types": ["vitest/globals"],
"rootDirs": [".", "../../frontend/@n8n/composables/src"],
"outDir": "dist",
"types": ["vite/client", "vitest/globals"],
"typeRoots": [
"./node_modules/@testing-library",
"./node_modules/@types",
@@ -18,12 +12,9 @@
"../../node_modules/@types"
],
"paths": {
"n8n-design-system/*": ["./src/*"]
},
"lib": ["esnext", "dom", "dom.iterable", "scripthost"],
// TODO: remove all options below this line
"noImplicitAny": false,
"noImplicitReturns": false
"n8n-design-system*": ["./src*"],
"@n8n/composables*": ["../frontend/@n8n/composables/src*"]
}
},
"include": ["src/**/*.ts", "src/**/*.vue"]
}