Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit dd7df13

Browse files
committed
fix(ckeditor5): build failing due to types path
1 parent 929ebf1 commit dd7df13

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

docs/Developer Guide/Developer Guide/Project Structure/CKEditor/Plugin migration guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ In the newly copied package, go to `package.json` and edit:
3535
3. Similarly, update `vitest` dependencies to match the monorepo one.
3636
4. Remove the `prepare` entry from the `scripts` section.
3737
5. Change `build:dist` to simply `build` in order to integrate it with NX.
38+
6. In `tsconfig.dist.json`, change `typings/types` to `../typings/types.d.ts` to be compatible with the latest TypeScript version.
3839

3940
## Step 4. Install missing dependencies and build errors
4041

packages/ckeditor5-admonition/tsconfig.dist.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"rootDir": "./src",
77
"composite": false,
88
"types": [
9-
"./typings/types"
9+
"../typings/types.d.ts"
1010
]
1111
}
1212
}

packages/ckeditor5-footnotes/tsconfig.dist.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"rootDir": "./src",
77
"composite": false,
88
"types": [
9-
"./typings/types"
9+
"../typings/types.d.ts"
1010
]
1111
}
1212
}

packages/ckeditor5-keyboard-marker/tsconfig.dist.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"rootDir": "./src",
77
"composite": false,
88
"types": [
9-
"./typings/types"
9+
"../typings/types.d.ts"
1010
]
1111
}
1212
}

packages/ckeditor5-math/tsconfig.dist.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"rootDir": "./src",
77
"composite": false,
88
"types": [
9-
"./typings/types"
9+
"../typings/types.d.ts"
1010
]
1111
}
1212
}

packages/ckeditor5-mermaid/tsconfig.dist.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"rootDir": "./src",
77
"composite": false,
88
"types": [
9-
"./typings/types"
9+
"../typings/types.d.ts"
1010
]
1111
}
1212
}

0 commit comments

Comments
 (0)