mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix(ckeditor5): build failing due to types path
This commit is contained in:
		| @@ -35,6 +35,7 @@ In the newly copied package, go to `package.json` and edit: | ||||
| 3.  Similarly, update `vitest` dependencies to match the monorepo one. | ||||
| 4.  Remove the `prepare` entry from the `scripts` section. | ||||
| 5.  Change `build:dist` to simply `build` in order to integrate it with NX. | ||||
| 6.  In `tsconfig.dist.json`, change `typings/types` to `../typings/types.d.ts` to be compatible with the latest TypeScript version. | ||||
|  | ||||
| ## Step 4. Install missing dependencies and build errors | ||||
|  | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
|     "rootDir": "./src", | ||||
| 	"composite": false, | ||||
|     "types": [ | ||||
|       "./typings/types" | ||||
|       "../typings/types.d.ts" | ||||
|     ] | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
|     "rootDir": "./src", | ||||
| 	"composite": false, | ||||
|     "types": [ | ||||
|       "./typings/types" | ||||
|       "../typings/types.d.ts" | ||||
|     ] | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
|     "rootDir": "./src", | ||||
| 	"composite": false, | ||||
|     "types": [ | ||||
|       "./typings/types" | ||||
|       "../typings/types.d.ts" | ||||
|     ] | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
|     "rootDir": "./src", | ||||
| 	"composite": false, | ||||
|     "types": [ | ||||
|       "./typings/types" | ||||
|       "../typings/types.d.ts" | ||||
|     ] | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
|     "rootDir": "./src", | ||||
| 	"composite": false, | ||||
|     "types": [ | ||||
|       "./typings/types" | ||||
|       "../typings/types.d.ts" | ||||
|     ] | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user