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.
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.
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 totsconfig.json
file.MINOR BREAKING CHANGE (tools): The
typescript()
function exported from thewebpack-utils
module requires passing thecwd
as the first argument. Optionally, you can pass the TypeScript configuration file name that should be used when processing TS files byts-loader
.Additional information
This PR bases on https://github.com/ckeditor/ckeditor5/pull/14808.
Supported scopes
generator
→ https://www.npmjs.com/package/ckeditor5-package-generator*
→ https://www.npmjs.com/package/@ckeditor/ckeditor5-package-*