Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(build): separate tsconfig for public
Elian Doran9e661ed684e0
diff --git a/src/public/tsconfig.json b/src/public/tsconfig.jsonnew file mode 100644index 0000000000..923a1779d7--- /dev/null+++ b/src/public/tsconfig.json@@ -0,0 +1,27 @@+{+ "compilerOptions": {+ "module": "NodeNext",+ "declaration": false,+ "sourceMap": true,+ "outDir": "./build",+ "strict": true,+ "noImplicitAny": true,+ "resolveJsonModule": true,+ "lib": [+ "ES2022"+ ],+ "downlevelIteration": true,+ "skipLibCheck": true,+ "esModuleInterop": true,+ "allowJs": true+ },+ "include": [+ "**/*",+ ],+ "exclude": [+ "./app-dist",+ ],+ "files": [+ "./app/types.d.ts"+ ]+}\ No newline at end of filediff --git a/tsconfig.json b/tsconfig.jsonindex 5c32d1522b..cd4ea40e29 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -1,28 +1,31 @@{"compilerOptions": {- "module": "NodeNext",- "declaration": false,- "sourceMap": true,- "outDir": "./build",- "strict": true,- "noImplicitAny": true,- "resolveJsonModule": true,- "lib": ["ES2022"],- "downlevelIteration": true,- "skipLibCheck": true,- "esModuleInterop": true,- "allowJs": true+ "module": "NodeNext",+ "declaration": false,+ "sourceMap": true,+ "outDir": "./build",+ "strict": true,+ "noImplicitAny": true,+ "resolveJsonModule": true,+ "lib": [+ "ES2022"+ ],+ "downlevelIteration": true,+ "skipLibCheck": true,+ "esModuleInterop": true,},"include": [- "./src/**/*.js",- "./src/**/*.ts",- "./*.ts",- "./spec/**/*.ts",- "./spec-es6/**/*.ts"+ "./src/**/*.js",+ "./src/**/*.ts",+ "./*.ts",+ "./spec/**/*.ts",+ "./spec-es6/**/*.ts"+ ],+ "exclude": [+ "./src/public/**/*",+ "./node_modules/**/*"],- "exclude": ["./node_modules/**/*"],"files": [- "src/types.d.ts",- "src/public/app/types.d.ts"+ "src/types.d.ts"]-}+}\ No newline at end of file