ckeditor / ckeditor5-package-generator

A tool for creating a new package for CKEditor 5.
Other
6 stars 6 forks source link

Aligned the TypeScript configuration to changes in CKEditor 5 #161

Closed pomek closed 10 months ago

pomek commented 10 months ago

Suggested merge commit message (convention)

Other (generator): Aligned the produced configuration to changes in CKEditor 5. See ckeditor/ckeditor5#14173. Closes #160.

Feature (tools): Karma will use the tsconfig.test.json file as a TypeScript configuration if it exists when executing automated tests. By default, it fallbacks to tsconfig.json file.

MINOR BREAKING CHANGE (tools): The typescript() function exported from the webpack-utils module requires passing the cwd as the first argument. Optionally, you can pass the TypeScript configuration file name that should be used when processing TS files by ts-loader.


Additional information

This PR bases on https://github.com/ckeditor/ckeditor5/pull/14808.

Supported scopes

pomek commented 10 months ago

All the changes are needed because the updated tsconfig.json file impacts automated tests. Hence, I decided to follow the CKEditor 5 convention - use a separate configuration for tests.