Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converted ckeditor5-dev-* packages to ESM #1011

Merged
merged 206 commits into from
Oct 2, 2024
Merged

Converted ckeditor5-dev-* packages to ESM #1011

merged 206 commits into from
Oct 2, 2024

Conversation

pomek
Copy link
Member

@pomek pomek commented Sep 19, 2024

Suggested merge commit message (convention)

Fix (release-tools): Passing an odd number as a value of the concurrency option will not crash the executeInParallel() function. Closes ckeditor/ckeditor5#17025.

Other: The CKEditor 5 Dev packages are now ESM.

Other: The @ckeditor/jsdoc-plugins package is no longer available as CKEditor 5 documentation uses TypeScript sources to prepare API docs. The package is no longer use by us anywhere. Hence, we decided to remove a dead code.

MAJOR BREAKING CHANGE (utils): The builds.getDllPluginWebpackConfig() function is now asynchronous now.

MAJOR BREAKING CHANGE (utils): The following functions from the bundler object are no longer available: createEntryFile(), getEditorConfig(), getPlugins().

MAJOR BREAKING CHANGE (utils): The following functions from the stream object are no longer available: isTestFile(), isSourceFile(), isJSFile().

MAJOR BREAKING CHANGE (utils): The styles.themeLogger() function is no longer exposed publicly.

MAJOR BREAKING CHANGE (tests): The IntelliJ Karma configuration path needs to be updated. Now, it ends with the cjs suffix instead of js.

MAJOR BREAKING CHANGE (docs): The package uses only TypeDoc to build the documentation. The build() function no longer supports type property in the configuration.

MAJOR BREAKING CHANGE (docs): An array of ignored files must be specified as ignoreFiles instead of negating a glob pattern in sourceFiles.

MAJOR BREAKING CHANGE: The following packages have been converted to ESM. To load them, use an import statement instead of require().


Additional information

Resolve the following TODOs before merging:

@pomek
Copy link
Member Author

pomek commented Sep 24, 2024

I think the job is done. I do not want to revert the alpha release changes if we want to re-release it.

When it comes to merging the PR, I would like to handle it once CKEditor 5 releases its next minor.

Fix (release-tools): Passing an odd number as a value of the `concurrency` option will not crash the `executeInParallel()` function. Closes ckeditor/ckeditor5#17025.
@pomek pomek marked this pull request as ready for review October 1, 2024 06:40
Copy link
Contributor

@psmyrek psmyrek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@pomek pomek merged commit 50c744e into master Oct 2, 2024
5 checks passed
@pomek pomek deleted the epic/3757-esm branch October 2, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prepackage script fails if OS reports odd number of cores
5 participants