forked from cms/tibi-svelte-starter
chore: tibi-types als Submodul, validate bricht bei Warnings ab
- tibi-types nach ./tibi-types als Submodul (relativ ../tibi-types.git), CI holt es via submodules:true - tsconfig + validate enthalten Sibling und ./tibi-types (Fallback, fehlende Pfade ignoriert TS) - yarn validate mit --fail-on-warnings
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[submodule "tibi-types"]
|
||||
path = tibi-types
|
||||
url = ../tibi-types.git
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
"author": "Sebastian Frank <sebastian@webmakers.de>",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"validate": "svelte-check --tsconfig ./tsconfig.validate.json && tsc --noEmit -p ./tsconfig.validate.json",
|
||||
"validate": "svelte-check --tsconfig ./tsconfig.validate.json --fail-on-warnings && tsc --noEmit -p ./tsconfig.validate.json",
|
||||
"dev": "node scripts/esbuild-wrapper.js watch",
|
||||
"start": "node scripts/esbuild-wrapper.js start",
|
||||
"start:mock": "MOCK=1 node scripts/esbuild-wrapper.js start",
|
||||
|
||||
Submodule
+1
Submodule tibi-types added at 5e04a1ca3a
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"extends": "@tsconfig/svelte/tsconfig.json",
|
||||
|
||||
"include": ["frontend/src/**/*", "types/**/*", "./../../cms/tibi-types", "api/**/*"],
|
||||
"exclude": ["**/app.server.js", "**/app.server.js.map", "_temp/**", "./../../cms/tibi-types/scripts"],
|
||||
"include": ["frontend/src/**/*", "types/**/*", "./../../cms/tibi-types", "./tibi-types", "api/**/*"],
|
||||
"exclude": ["**/app.server.js", "**/app.server.js.map", "_temp/**", "./../../cms/tibi-types/scripts", "./tibi-types/scripts"],
|
||||
"compilerOptions": {
|
||||
"module": "esnext",
|
||||
"typeRoots": ["./node_modules/@types", "./types"],
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": ["frontend/src/**/*", "types/**/*", "api/**/*", "./../../cms/tibi-types/index.d.ts"],
|
||||
"include": ["frontend/src/**/*", "types/**/*", "api/**/*", "./../../cms/tibi-types/index.d.ts", "./tibi-types/index.d.ts"],
|
||||
"exclude": [
|
||||
"_temp/**",
|
||||
"api/hooks/lib/app.server.js",
|
||||
|
||||
Reference in New Issue
Block a user