From d3c68d00d8c50e1ce23103f8d37951099a0af953 Mon Sep 17 00:00:00 2001 From: ThaUnknown <6506529+ThaUnknown@users.noreply.github.com> Date: Thu, 7 Dec 2023 15:02:12 +0100 Subject: [PATCH] chore: improve type configs --- .vscode/settings.json | 3 +++ capacitor/git_modules/nodejs-mobile | 1 + common/jsconfig.json | 2 +- common/tsconfig.json | 2 +- jsconfig.json | 2 +- tsconfig.json | 2 +- web/jsconfig.json | 2 +- web/tsconfig.json | 2 +- 8 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 .vscode/settings.json create mode 160000 capacitor/git_modules/nodejs-mobile diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..036ee9f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "npm.exclude": "**/git_modules/**" +} \ No newline at end of file diff --git a/capacitor/git_modules/nodejs-mobile b/capacitor/git_modules/nodejs-mobile new file mode 160000 index 0000000..23c5599 --- /dev/null +++ b/capacitor/git_modules/nodejs-mobile @@ -0,0 +1 @@ +Subproject commit 23c55996d50e0f750e4b013a51d212e98dc661ea diff --git a/common/jsconfig.json b/common/jsconfig.json index 6c557ba..a097cac 100644 --- a/common/jsconfig.json +++ b/common/jsconfig.json @@ -11,5 +11,5 @@ "types": ["./types.d.ts"], "allowSyntheticDefaultImports": true }, - "exclude": ["node_modules/**", "**/node_modules", "dist", "build"] + "exclude": ["node_modules", "dist", "build", "git_modules", "**/node_modules", "**/dist", "**/build", "**/git_modules",] } \ No newline at end of file diff --git a/common/tsconfig.json b/common/tsconfig.json index 6c557ba..a097cac 100644 --- a/common/tsconfig.json +++ b/common/tsconfig.json @@ -11,5 +11,5 @@ "types": ["./types.d.ts"], "allowSyntheticDefaultImports": true }, - "exclude": ["node_modules/**", "**/node_modules", "dist", "build"] + "exclude": ["node_modules", "dist", "build", "git_modules", "**/node_modules", "**/dist", "**/build", "**/git_modules",] } \ No newline at end of file diff --git a/jsconfig.json b/jsconfig.json index fc9339d..f4c6047 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -9,5 +9,5 @@ "@/*": ["./common/*"], } }, - "exclude": ["node_modules/**", "**/node_modules", "dist", "build"] + "exclude": ["node_modules", "dist", "build", "git_modules", "**/node_modules", "**/dist", "**/build", "**/git_modules",] } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index fc9339d..f4c6047 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,5 +9,5 @@ "@/*": ["./common/*"], } }, - "exclude": ["node_modules/**", "**/node_modules", "dist", "build"] + "exclude": ["node_modules", "dist", "build", "git_modules", "**/node_modules", "**/dist", "**/build", "**/git_modules",] } \ No newline at end of file diff --git a/web/jsconfig.json b/web/jsconfig.json index 0b56d3e..f997b75 100644 --- a/web/jsconfig.json +++ b/web/jsconfig.json @@ -21,7 +21,7 @@ "types": ["./types.d.ts"], "allowSyntheticDefaultImports": true }, - "exclude": ["node_modules/**", "**/node_modules", "dist", "build"] + "exclude": ["node_modules", "dist", "build", "git_modules", "**/node_modules", "**/dist", "**/build", "**/git_modules",] // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files // // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes diff --git a/web/tsconfig.json b/web/tsconfig.json index 0b56d3e..f997b75 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -21,7 +21,7 @@ "types": ["./types.d.ts"], "allowSyntheticDefaultImports": true }, - "exclude": ["node_modules/**", "**/node_modules", "dist", "build"] + "exclude": ["node_modules", "dist", "build", "git_modules", "**/node_modules", "**/dist", "**/build", "**/git_modules",] // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias and https://kit.svelte.dev/docs/configuration#files // // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes