diff --git a/.circleci/config.yml b/.circleci/config.yml
index 217678d71..8aaa9b41a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,5 +1,21 @@
+# This is the based configuration required by CircleCI to run a build.
+#
+# The repository uses the dynamic configuration to generate
+# tasks for executing tests and checking the code coverage.
+#
+# This configuration aims to prepare a complete design and continue checking
+# the repository in a new workflow.
+#
+# To modify the commands to execute on CI, review the following files:
+# - scripts/ci/generate-circleci-configuration.js - the script that creates the `config-tests.yml` file used on the new workflow.
+# - .circleci/template.yml - the template filled with data to execute.
+#
+# Useful resources:
+# - https://circleci.com/docs/using-dynamic-configuration/
version: 2.1
+setup: true
+
parameters:
triggerCommitHash:
type: string
@@ -11,16 +27,10 @@ parameters:
type: boolean
default: false
-commands:
- bootstrap_repository_command:
- description: "Bootstrap the repository"
- steps:
- - install_ssh_keys_command
- - run:
- name: Install dependencies
- command: yarn install
- - prepare_environment_variables_commands
+orbs:
+ continuation: circleci/continuation@0.1.2
+commands:
install_ssh_keys_command:
description: "Install SSH keys"
steps:
@@ -28,242 +38,23 @@ commands:
fingerprints:
- "a0:41:a2:56:c8:7d:3f:29:41:d1:87:92:fd:50:2b:6b"
- npm_login_command:
- description: "Enable interacting with `npm` using an auth token"
- steps:
- - run:
- name: Login to the npm registry using '.npmrc' file
- command: echo "//registry.npmjs.org/:_authToken=\${CKE5_NPM_TOKEN}" > ~/.npmrc
-
- git_credentials_command:
- description: "Setup git configuration"
- steps:
- - run:
- name: Setup git configuration
- command: |
- git config --global user.email "ckeditor-bot@cksource.com"
- git config --global user.name "CKEditorBot"
-
- prepare_environment_variables_commands:
- description: "Prepare non-secret environment variables"
- steps:
- - run:
- name: Prepare environment variables
- command: |
- #!/bin/bash
-
- # Non-secret environment variables needed for the pipeline scripts.
- CKE5_GITHUB_ORGANIZATION="ckeditor"
- CKE5_GITHUB_REPOSITORY="ckeditor5-dev"
- CKE5_CIRCLE_APPROVAL_JOB_NAME="release_approval"
- CKE5_GITHUB_RELEASE_BRANCH="master"
-
- echo export CKE5_CIRCLE_APPROVAL_JOB_NAME=$CKE5_CIRCLE_APPROVAL_JOB_NAME >> $BASH_ENV
- echo export CKE5_GITHUB_RELEASE_BRANCH=$CKE5_GITHUB_RELEASE_BRANCH >> $BASH_ENV
- echo export CKE5_GITHUB_ORGANIZATION=$CKE5_GITHUB_ORGANIZATION >> $BASH_ENV
- echo export CKE5_GITHUB_REPOSITORY=$CKE5_GITHUB_REPOSITORY >> $BASH_ENV
- echo export CKE5_GITHUB_REPOSITORY_SLUG="$CKE5_GITHUB_ORGANIZATION/$CKE5_GITHUB_REPOSITORY" >> $BASH_ENV
- echo export CKE5_COMMIT_SHA1=$CIRCLE_SHA1 >> $BASH_ENV
-
jobs:
- notify_ci_failure:
- machine: true
- parameters:
- hideAuthor:
- type: string
- default: "false"
- steps:
- - checkout
- - bootstrap_repository_command
- - run:
- # In the PRs that comes from forked repositories, we do not share secret variables.
- # Hence, some of the scripts will not be executed.
- name: 👤 Verify if the build was triggered by community - Check if the build should continue
- command: |
- #!/bin/bash
-
- if [[ -z ${COVERALLS_REPO_TOKEN} ]];
- then
- circleci-agent step halt
- fi
- - run:
- environment:
- CKE5_SLACK_NOTIFY_HIDE_AUTHOR: << parameters.hideAuthor >>
- CKE5_PIPELINE_NUMBER: << pipeline.number >>
- name: Waiting for other jobs to finish and sending notification on failure
- command: yarn ckeditor5-dev-ci-circle-workflow-notifier
- no_output_timeout: 1h
-
- validate_and_tests:
- machine: true
- resource_class: large
- steps:
- - checkout
- - bootstrap_repository_command
- - run:
- name: Execute ESLint
- command: yarn run lint
- - run:
- name: Run unit tests
- command: yarn run coverage
- - unless:
- # Upload the code coverage results for non-nightly builds only.
- condition: << pipeline.parameters.isNightly >>
- steps:
- - run:
- # In the PRs that comes from forked repositories, we do not share secret variables.
- # Hence, some of the scripts will not be executed.
- name: 👤 Verify if the build was triggered by community - Check if the build should continue
- command: |
- #!/bin/bash
-
- if [[ -z ${COVERALLS_REPO_TOKEN} ]];
- then
- circleci-agent step halt
- fi
- - run:
- name: Upload code coverage
- command: cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
-
- release_prepare:
- machine: true
- resource_class: large
- steps:
- - checkout
- - bootstrap_repository_command
- - run:
- name: Check if packages are ready to be released
- command: yarn run release:prepare-packages --verbose --compile-only
-
- trigger_release_process:
- machine: true
- resource_class: large
- steps:
- - checkout
- - bootstrap_repository_command
- - run:
- name: Verify if the project is ready to release
- command: |
- #!/bin/bash
-
- # Do not fail if the Node script ends with non-zero exit code.
- set +e
-
- node scripts/ci/is-project-ready-to-release.js
- EXIT_CODE=$( echo $? )
-
- if [ ${EXIT_CODE} -eq 1 ];
- then
- circleci-agent step halt
- fi
- - run:
- name: Trigger the release pipeline
- command: yarn ckeditor5-dev-ci-trigger-circle-build
-
- release_project:
+ generate_configuration:
machine: true
- resource_class: large
steps:
- checkout
- - bootstrap_repository_command
- - run:
- name: Verify the trigger commit from the repository
- command: |
- #!/bin/bash
-
- CKE5_LATEST_COMMIT_HASH=$( git log -n 1 --pretty=format:%H origin/master )
- CKE5_TRIGGER_COMMIT_HASH=<< pipeline.parameters.triggerCommitHash >>
-
- if [[ "${CKE5_LATEST_COMMIT_HASH}" != "${CKE5_TRIGGER_COMMIT_HASH}" ]]; then
- echo "There is a newer commit in the repository on the \`#master\` branch. Use its build to start the release."
- circleci-agent step halt
- fi
- - npm_login_command
- - git_credentials_command
- - run:
- name: Verify if a releaser triggered the job
- command: |
- #!/bin/bash
-
- # Do not fail if the Node script ends with non-zero exit code.
- set +e
-
- yarn ckeditor5-dev-ci-is-job-triggered-by-member
- EXIT_CODE=$( echo $? )
-
- if [ ${EXIT_CODE} -ne 0 ];
- then
- echo "Aborting the release due to failed verification of the approver (no rights to release)."
- circleci-agent step halt
- fi
- - run:
- name: Disable the redundant workflows option
- command: yarn ckeditor5-dev-ci-circle-disable-auto-cancel-builds
- - run:
- name: Prepare the new version to release
- command: npm run release:prepare-packages -- --verbose
- - run:
- name: Publish the packages
- command: npm run release:publish-packages -- --verbose
+ - install_ssh_keys_command
- run:
- name: Enable the redundant workflows option
- command: yarn ckeditor5-dev-ci-circle-enable-auto-cancel-builds
- when: always
+ name: Install dependencies
+ command: yarn install
- run:
- name: Pack the "release/" directory (in case of failure)
- command: |
- zip -r ./release.zip ./release
- when: always
- - store_artifacts:
- path: ./release.zip
- when: always
+ name: Generate a new configuration to check all packages in the repository
+ command: node scripts/ci/generate-circleci-configuration.js
+ - continuation/continue:
+ configuration_path: .circleci/config-tests.yml
workflows:
version: 2
- main:
- when:
- and:
- - equal: [ false, << pipeline.parameters.isNightly >> ]
- - equal: [ false, << pipeline.parameters.isRelease >> ]
- jobs:
- - validate_and_tests
- - release_prepare
- - trigger_release_process:
- requires:
- - validate_and_tests
- - release_prepare
- filters:
- branches:
- only:
- - master
- - notify_ci_failure:
- filters:
- branches:
- only:
- - master
-
- release:
- when:
- and:
- - equal: [ false, << pipeline.parameters.isNightly >> ]
- - equal: [ true, << pipeline.parameters.isRelease >> ]
- jobs:
- - release_approval:
- type: approval
- - release_project:
- requires:
- - release_approval
-
- nightly:
- when:
- and:
- - equal: [ true, << pipeline.parameters.isNightly >> ]
- - equal: [ false, << pipeline.parameters.isRelease >> ]
+ config:
jobs:
- - validate_and_tests
- - notify_ci_failure:
- hideAuthor: "true"
- filters:
- branches:
- only:
- - master
+ - generate_configuration
diff --git a/.circleci/template.yml b/.circleci/template.yml
new file mode 100644
index 000000000..5b153d1b6
--- /dev/null
+++ b/.circleci/template.yml
@@ -0,0 +1,269 @@
+version: 2.1
+
+parameters:
+ triggerCommitHash:
+ type: string
+ default: ""
+ isNightly:
+ type: boolean
+ default: false
+ isRelease:
+ type: boolean
+ default: false
+
+commands:
+ bootstrap_repository_command:
+ description: "Bootstrap the repository"
+ steps:
+ - install_ssh_keys_command
+ - run:
+ name: Install dependencies
+ command: yarn install
+ - prepare_environment_variables_commands
+
+ install_ssh_keys_command:
+ description: "Install SSH keys"
+ steps:
+ - add_ssh_keys:
+ fingerprints:
+ - "a0:41:a2:56:c8:7d:3f:29:41:d1:87:92:fd:50:2b:6b"
+
+ npm_login_command:
+ description: "Enable interacting with `npm` using an auth token"
+ steps:
+ - run:
+ name: Login to the npm registry using '.npmrc' file
+ command: echo "//registry.npmjs.org/:_authToken=\${CKE5_NPM_TOKEN}" > ~/.npmrc
+
+ git_credentials_command:
+ description: "Setup git configuration"
+ steps:
+ - run:
+ name: Setup git configuration
+ command: |
+ git config --global user.email "ckeditor-bot@cksource.com"
+ git config --global user.name "CKEditorBot"
+
+ prepare_environment_variables_commands:
+ description: "Prepare non-secret environment variables"
+ steps:
+ - run:
+ name: Prepare environment variables
+ command: |
+ #!/bin/bash
+
+ # Non-secret environment variables needed for the pipeline scripts.
+ CKE5_GITHUB_ORGANIZATION="ckeditor"
+ CKE5_GITHUB_REPOSITORY="ckeditor5-dev"
+ CKE5_CIRCLE_APPROVAL_JOB_NAME="release_approval"
+ CKE5_GITHUB_RELEASE_BRANCH="master"
+
+ echo export CKE5_CIRCLE_APPROVAL_JOB_NAME=$CKE5_CIRCLE_APPROVAL_JOB_NAME >> $BASH_ENV
+ echo export CKE5_GITHUB_RELEASE_BRANCH=$CKE5_GITHUB_RELEASE_BRANCH >> $BASH_ENV
+ echo export CKE5_GITHUB_ORGANIZATION=$CKE5_GITHUB_ORGANIZATION >> $BASH_ENV
+ echo export CKE5_GITHUB_REPOSITORY=$CKE5_GITHUB_REPOSITORY >> $BASH_ENV
+ echo export CKE5_GITHUB_REPOSITORY_SLUG="$CKE5_GITHUB_ORGANIZATION/$CKE5_GITHUB_REPOSITORY" >> $BASH_ENV
+ echo export CKE5_COMMIT_SHA1=$CIRCLE_SHA1 >> $BASH_ENV
+
+jobs:
+ notify_ci_failure:
+ machine: true
+ parameters:
+ hideAuthor:
+ type: string
+ default: "false"
+ steps:
+ - checkout
+ - bootstrap_repository_command
+ - run:
+ # In the PRs that comes from forked repositories, we do not share secret variables.
+ # Hence, some of the scripts will not be executed.
+ name: 👤 Verify if the build was triggered by community - Check if the build should continue
+ command: |
+ #!/bin/bash
+
+ if [[ -z ${COVERALLS_REPO_TOKEN} ]];
+ then
+ circleci-agent step halt
+ fi
+ - run:
+ environment:
+ CKE5_SLACK_NOTIFY_HIDE_AUTHOR: << parameters.hideAuthor >>
+ CKE5_PIPELINE_NUMBER: << pipeline.number >>
+ name: Waiting for other jobs to finish and sending notification on failure
+ command: yarn ckeditor5-dev-ci-circle-workflow-notifier
+ no_output_timeout: 1h
+
+ validate_and_tests:
+ machine: true
+ resource_class: large
+ steps:
+ - checkout
+ - bootstrap_repository_command
+ - run:
+ name: Execute ESLint
+ command: yarn run lint
+ - unless:
+ # Upload the code coverage results for non-nightly builds only.
+ condition: << pipeline.parameters.isNightly >>
+ steps:
+ - run:
+ # In the PRs that comes from forked repositories, we do not share secret variables.
+ # Hence, some of the scripts will not be executed.
+ name: 👤 Verify if the build was triggered by community - Check if the build should continue
+ command: |
+ #!/bin/bash
+
+ if [[ -z ${COVERALLS_REPO_TOKEN} ]];
+ then
+ circleci-agent step halt
+ fi
+ - run:
+ name: Install the "coveralls" package
+ command: yarn add --ignore-workspace-root-check coveralls
+ - run:
+ name: Upload code coverage
+ command: cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
+
+ release_prepare:
+ machine: true
+ resource_class: large
+ steps:
+ - checkout
+ - bootstrap_repository_command
+ - run:
+ name: Check if packages are ready to be released
+ command: yarn run release:prepare-packages --verbose --compile-only
+
+ trigger_release_process:
+ machine: true
+ resource_class: large
+ steps:
+ - checkout
+ - bootstrap_repository_command
+ - run:
+ name: Verify if the project is ready to release
+ command: |
+ #!/bin/bash
+
+ # Do not fail if the Node script ends with non-zero exit code.
+ set +e
+
+ node scripts/ci/is-project-ready-to-release.js
+ EXIT_CODE=$( echo $? )
+
+ if [ ${EXIT_CODE} -eq 1 ];
+ then
+ circleci-agent step halt
+ fi
+ - run:
+ name: Trigger the release pipeline
+ command: yarn ckeditor5-dev-ci-trigger-circle-build
+
+ release_project:
+ machine: true
+ resource_class: large
+ steps:
+ - checkout
+ - bootstrap_repository_command
+ - run:
+ name: Verify the trigger commit from the repository
+ command: |
+ #!/bin/bash
+
+ CKE5_LATEST_COMMIT_HASH=$( git log -n 1 --pretty=format:%H origin/master )
+ CKE5_TRIGGER_COMMIT_HASH=<< pipeline.parameters.triggerCommitHash >>
+
+ if [[ "${CKE5_LATEST_COMMIT_HASH}" != "${CKE5_TRIGGER_COMMIT_HASH}" ]]; then
+ echo "There is a newer commit in the repository on the \`#master\` branch. Use its build to start the release."
+ circleci-agent step halt
+ fi
+ - npm_login_command
+ - git_credentials_command
+ - run:
+ name: Verify if a releaser triggered the job
+ command: |
+ #!/bin/bash
+
+ # Do not fail if the Node script ends with non-zero exit code.
+ set +e
+
+ yarn ckeditor5-dev-ci-is-job-triggered-by-member
+ EXIT_CODE=$( echo $? )
+
+ if [ ${EXIT_CODE} -ne 0 ];
+ then
+ echo "Aborting the release due to failed verification of the approver (no rights to release)."
+ circleci-agent step halt
+ fi
+ - run:
+ name: Disable the redundant workflows option
+ command: yarn ckeditor5-dev-ci-circle-disable-auto-cancel-builds
+ - run:
+ name: Prepare the new version to release
+ command: npm run release:prepare-packages -- --verbose
+ - run:
+ name: Publish the packages
+ command: npm run release:publish-packages -- --verbose
+ - run:
+ name: Enable the redundant workflows option
+ command: yarn ckeditor5-dev-ci-circle-enable-auto-cancel-builds
+ when: always
+ - run:
+ name: Pack the "release/" directory (in case of failure)
+ command: |
+ zip -r ./release.zip ./release
+ when: always
+ - store_artifacts:
+ path: ./release.zip
+ when: always
+
+workflows:
+ version: 2
+ main:
+ when:
+ and:
+ - equal: [ false, << pipeline.parameters.isNightly >> ]
+ - equal: [ false, << pipeline.parameters.isRelease >> ]
+ jobs:
+ - validate_and_tests
+ - release_prepare
+ - trigger_release_process:
+ requires:
+ - validate_and_tests
+ - release_prepare
+ filters:
+ branches:
+ only:
+ - master
+ - notify_ci_failure:
+ filters:
+ branches:
+ only:
+ - master
+
+ release:
+ when:
+ and:
+ - equal: [ false, << pipeline.parameters.isNightly >> ]
+ - equal: [ true, << pipeline.parameters.isRelease >> ]
+ jobs:
+ - release_approval:
+ type: approval
+ - release_project:
+ requires:
+ - release_approval
+
+ nightly:
+ when:
+ and:
+ - equal: [ true, << pipeline.parameters.isNightly >> ]
+ - equal: [ false, << pipeline.parameters.isRelease >> ]
+ jobs:
+ - validate_and_tests
+ - notify_ci_failure:
+ hideAuthor: "true"
+ filters:
+ branches:
+ only:
+ - master
diff --git a/.eslintrc.js b/.eslintrc.cjs
similarity index 55%
rename from .eslintrc.js
rename to .eslintrc.cjs
index 22527e8f2..f8cf0f0a8 100644
--- a/.eslintrc.js
+++ b/.eslintrc.cjs
@@ -7,17 +7,26 @@
module.exports = {
extends: 'ckeditor5',
+ parserOptions: {
+ ecmaVersion: 'latest',
+ sourceType: 'module'
+ },
env: {
node: true
},
ignorePatterns: [
'**/dist/*',
'**/coverage/**',
- '**/node_modules/**'
+ '**/node_modules/**',
+
+ // ESLint does not understand `import ... with { ... }`.
+ // See: https://github.com/eslint/eslint/discussions/15305.
+ 'packages/ckeditor5-dev-ci/lib/data/index.js',
+ 'packages/ckeditor5-dev-transifex/lib/data/index.js'
],
rules: {
'no-console': 'off',
- 'ckeditor5-rules/require-file-extensions-in-imports': 'off',
+ 'mocha/no-global-tests': 'off',
'ckeditor5-rules/license-header': [ 'error', {
headerLines: [
'/**',
@@ -29,9 +38,11 @@ module.exports = {
},
overrides: [
{
- files: [ './packages/ckeditor5-dev-build-tools/tests/**/*' ],
+ files: [
+ './packages/typedoc-plugins/**/*'
+ ],
rules: {
- 'mocha/no-global-tests': 'off'
+ 'ckeditor5-rules/require-file-extensions-in-imports': 'off',
}
}
]
diff --git a/.gitignore b/.gitignore
index 6050712d8..faaf9bd36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,9 @@ executeinparallel-integration.log
# Compiled TS.
packages/ckeditor5-dev-build-tools/dist
+
+packages/ckeditor5-dev-release-tools/tests/test-fixtures/**
+!packages/ckeditor5-dev-release-tools/tests/test-fixtures/.gitkeep
+
+# Generated automatically via CircleCI.
+.circleci/config-tests.yml
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21a4cbe49..7902e5f1a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,31 +1,11 @@
Changelog
=========
-## [43.0.0](https://github.com/ckeditor/ckeditor5-dev/compare/v42.1.0...v43.0.0) (2024-09-09)
-
-### MAJOR BREAKING CHANGES [ℹ️](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/versioning-policy.html#major-and-minor-breaking-changes)
-
-* **[utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils)**: The `git` and `workspace` objects are no longer exported from the package. Also, the following functions are no longer available in the `tools` object:
-
-* `isDirectory()`
-* `isFile()`
-* `isSymlink()`
-* `sortObject()`
-* `readPackageName()`
-* `npmInstall()`
-* `npmUninstall()`
-* `npmUpdate()`
-* `copyTemplateFile()`
-* `copyFile()`
-* `getGitUrlFromNpm()`
-* `removeSymlink()`
-* `clean()`
+## [44.0.0-alpha.5](https://github.com/ckeditor/ckeditor5-dev/compare/v44.0.0-alpha.4...v44.0.0-alpha.5) (2024-09-24)
### Other changes
-* **[dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker)**: The dependency checker analyzes dependencies by including the `lib/` and `bin/` directories as production code. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/e84c7019a61fa31c233e961afed014c1c9303989))
-* **[utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils)**: Removed several utilities functions non-used in the CKEditor 5 environment. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/e84c7019a61fa31c233e961afed014c1c9303989))
-* Added several missing `dependencies` and `devDependencies` in packages. Also, removed non-used ones. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/e84c7019a61fa31c233e961afed014c1c9303989))
+* **[web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler)**: Restored the previous version of the "puppeteer" package as the latest version is not too stable. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/3c2df981b960e20d4de943f527375dc408a425d7))
### Released packages
@@ -36,48 +16,28 @@ Check out the [Versioning policy](https://ckeditor.com/docs/ckeditor5/latest/fra
Other releases:
-* [@ckeditor/ckeditor5-dev-build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-bump-year](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-bump-year/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-ci](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-transifex](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-transifex/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-translations](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/ckeditor5-dev-web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/jsdoc-plugins](https://www.npmjs.com/package/@ckeditor/jsdoc-plugins/v/43.0.0): v42.1.0 => v43.0.0
-* [@ckeditor/typedoc-plugins](https://www.npmjs.com/package/@ckeditor/typedoc-plugins/v/43.0.0): v42.1.0 => v43.0.0
+* [@ckeditor/ckeditor5-dev-build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-bump-year](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-bump-year/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-ci](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-transifex](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-transifex/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-translations](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/ckeditor5-dev-web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
+* [@ckeditor/typedoc-plugins](https://www.npmjs.com/package/@ckeditor/typedoc-plugins/v/44.0.0-alpha.5): v44.0.0-alpha.4 => v44.0.0-alpha.5
-## [43.0.0-alpha.0](https://github.com/ckeditor/ckeditor5-dev/compare/v42.1.0...v43.0.0-alpha.0) (2024-09-02)
+## [44.0.0-alpha.4](https://github.com/ckeditor/ckeditor5-dev/compare/v44.0.0-alpha.3...v44.0.0-alpha.4) (2024-09-24)
-### MAJOR BREAKING CHANGES [ℹ️](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/versioning-policy.html#major-and-minor-breaking-changes)
-
-* **[utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils)**: The `git` and `workspace` objects are no longer exported from the package. Also, the following functions are no longer available in the `tools` object:
-
-* `isDirectory()`
-* `isFile()`
-* `isSymlink()`
-* `sortObject()`
-* `readPackageName()`
-* `npmInstall()`
-* `npmUninstall()`
-* `npmUpdate()`
-* `copyTemplateFile()`
-* `copyFile()`
-* `getGitUrlFromNpm()`
-* `removeSymlink()`
-* `clean()`
-
-### Other changes
+### Bug fixes
-* **[dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker)**: The dependency checker analyzes dependencies by including the `lib/` and `bin/` directories as production code. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/e84c7019a61fa31c233e961afed014c1c9303989))
-* **[utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils)**: Removed several utilities functions non-used in the CKEditor 5 environment. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/e84c7019a61fa31c233e961afed014c1c9303989))
-* Added several missing `dependencies` and `devDependencies` in packages. Also, removed non-used ones. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/e84c7019a61fa31c233e961afed014c1c9303989))
+* **[tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests)**: Prevent crashing the manual test server when reading a non-existing file due to an "ERR_HTTP_HEADERS_SENT" Node.js error. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/15a8f79e15a69ad4cec8365cb5d86cd731ba1953))
+* **[web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler)**: Use `jsonValue()` method to get the serialized arguments instead of calling `evaluate()` method, which may cause unhandled rejection due to destroyed context. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/c89444e9598bffbd7b3d1070df607ac05d54c2d9))
### Released packages
@@ -88,32 +48,28 @@ Check out the [Versioning policy](https://ckeditor.com/docs/ckeditor5/latest/fra
Other releases:
-* [@ckeditor/ckeditor5-dev-build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-bump-year](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-bump-year/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-ci](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-transifex](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-transifex/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-translations](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/ckeditor5-dev-web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/jsdoc-plugins](https://www.npmjs.com/package/@ckeditor/jsdoc-plugins/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
-* [@ckeditor/typedoc-plugins](https://www.npmjs.com/package/@ckeditor/typedoc-plugins/v/43.0.0-alpha.0): v42.1.0 => v43.0.0-alpha.0
+* [@ckeditor/ckeditor5-dev-build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-bump-year](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-bump-year/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-ci](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-transifex](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-transifex/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-translations](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/ckeditor5-dev-web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
+* [@ckeditor/typedoc-plugins](https://www.npmjs.com/package/@ckeditor/typedoc-plugins/v/44.0.0-alpha.4): v44.0.0-alpha.3 => v44.0.0-alpha.4
-## [42.1.0](https://github.com/ckeditor/ckeditor5-dev/compare/v42.0.1...v42.1.0) (2024-08-29)
-
-### Features
-
-* **[build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools)**: Introduced a new `loadSourcemaps` plugin for loading source maps of external dependencies. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/defb966ca3e090d062d173e5098a2325696491ec))
+## [44.0.0-alpha.3](https://github.com/ckeditor/ckeditor5-dev/compare/v44.0.0-alpha.2...v44.0.0-alpha.3) (2024-09-23)
-### Bug fixes
+### Other changes
-* **[build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools)**: Fixed source maps generation for the UMD build. Fixes [ckeditor/ckeditor5#16984](https://github.com/ckeditor/ckeditor5/issues/16984). ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/defb966ca3e090d062d173e5098a2325696491ec))
+* **[tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests)**: Downgrade the "sinon" package as it is not compatible with current CKEditor 5 tests. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/e94009abd804176cc381b9bac3de42b1da0db3da))
+* **[web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler)**: Aligned internals to the latest Puppeteer API. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/d70d99ffeed4609de954bae936e6f01875ded5a8))
### Released packages
@@ -122,37 +78,31 @@ Check out the [Versioning policy](https://ckeditor.com/docs/ckeditor5/latest/fra
Released packages (summary)
-Releases containing new features:
-
-* [@ckeditor/ckeditor5-dev-build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools/v/42.1.0): v42.0.1 => v42.1.0
-
Other releases:
-* [@ckeditor/ckeditor5-dev-bump-year](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-bump-year/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/ckeditor5-dev-ci](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/ckeditor5-dev-dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/ckeditor5-dev-docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/ckeditor5-dev-release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/ckeditor5-dev-stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/ckeditor5-dev-tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/ckeditor5-dev-transifex](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-transifex/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/ckeditor5-dev-translations](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/ckeditor5-dev-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/ckeditor5-dev-web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/jsdoc-plugins](https://www.npmjs.com/package/@ckeditor/jsdoc-plugins/v/42.1.0): v42.0.1 => v42.1.0
-* [@ckeditor/typedoc-plugins](https://www.npmjs.com/package/@ckeditor/typedoc-plugins/v/42.1.0): v42.0.1 => v42.1.0
+* [@ckeditor/ckeditor5-dev-build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-bump-year](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-bump-year/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-ci](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-transifex](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-transifex/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-translations](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/ckeditor5-dev-web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
+* [@ckeditor/typedoc-plugins](https://www.npmjs.com/package/@ckeditor/typedoc-plugins/v/44.0.0-alpha.3): v44.0.0-alpha.2 => v44.0.0-alpha.3
-## [42.0.1](https://github.com/ckeditor/ckeditor5-dev/compare/v42.0.0...v42.0.1) (2024-08-13)
-
-### Bug fixes
-
-* **[tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests)**: Added a Chrome flag to prevent displaying the search engine choice screen that disrupts automated tests in windowed mode. Closes [ckeditor/ckeditor5#16825](https://github.com/ckeditor/ckeditor5/issues/16825). ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/4f7291f1f8114ed0184f11a51c74752c6d8ecaa9))
+## [44.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-dev/compare/v44.0.0-alpha.1...v44.0.0-alpha.2) (2024-09-23)
### Other changes
-* **[stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot)**: Aligned stale bot to recent changes in the GitHub GraphQL API in the `repository.labels` connection. GitHub recently started returning a lot of mismatched labels for the query and now stale bot ensures that only the required ones are used. Closes [ckeditor/ckeditor5#16872](https://github.com/ckeditor/ckeditor5/issues/16872). ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/666daf6cfe52b5ce63e7937168022eb86fcb4f9c))
+* **[docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs)**: Support for passing an array of files to ignore when preparing API. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/3c858289a5826c9fceddfb380a4e35d48b44a099))
+* **[tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests)**: Restored the previous version of Chai and sinon-chai packages due to issues with processing ESM in Karma. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/833ac929e4193b6791c79cdc5df05e67539c0c7f))
+* Use the "2021" edition as a default preset for CKEditor 5 files (`postcss-nesting`). ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/ce3902d5855f1b3ba886dea1db195a5b27e22026))
### Released packages
@@ -163,46 +113,31 @@ Check out the [Versioning policy](https://ckeditor.com/docs/ckeditor5/latest/fra
Other releases:
-* [@ckeditor/ckeditor5-dev-build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-bump-year](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-bump-year/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-ci](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-transifex](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-transifex/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-translations](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/ckeditor5-dev-web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/jsdoc-plugins](https://www.npmjs.com/package/@ckeditor/jsdoc-plugins/v/42.0.1): v42.0.0 => v42.0.1
-* [@ckeditor/typedoc-plugins](https://www.npmjs.com/package/@ckeditor/typedoc-plugins/v/42.0.1): v42.0.0 => v42.0.1
+* [@ckeditor/ckeditor5-dev-build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-bump-year](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-bump-year/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-ci](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-transifex](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-transifex/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-translations](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/ckeditor5-dev-web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
+* [@ckeditor/typedoc-plugins](https://www.npmjs.com/package/@ckeditor/typedoc-plugins/v/44.0.0-alpha.2): v44.0.0-alpha.1 => v44.0.0-alpha.2
-## [42.0.0](https://github.com/ckeditor/ckeditor5-dev/compare/v41.0.0...v42.0.0) (2024-07-29)
-
-We are excited to announce a new major release of the `@ckeditor/ckeditor5-dev-*` packages.
-
-### Release highlights
-
-This release brings the updated configuration for the build tools. As it might produce output incompatible with the previous settings, this release is marked as a major bump.
-
-The [`@ckeditor/ckeditor5-dev-build-tools`](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools) package now supports a new `globals` option, which allows passing pairs of external package names and associated global variables used in the `umd` build.
-
-Additionally, the global names for the `ckeditor5` and `ckeditor5-premium-features` packages in the UMD builds have been changed to `CKEDITOR` and `CKEDITOR_PREMIUM_FEATURES` respectively.
-
-### MAJOR BREAKING CHANGES [ℹ️](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/versioning-policy.html#major-and-minor-breaking-changes)
+## [44.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-dev/compare/v44.0.0-alpha.0...v44.0.0-alpha.1) (2024-09-23)
-* **[build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools)**: The global names for the `ckeditor5` and `ckeditor5-premium-features` packages in the UMD builds have been changed to `CKEDITOR` and `CKEDITOR_PREMIUM_FEATURES` respectively.
-
-### MINOR BREAKING CHANGES [ℹ️](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/versioning-policy.html#major-and-minor-breaking-changes)
+### Features
-* **[build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools)**: Ability to pass `globals` parameter if necessary for external imports in `umd` bundles.
+* **[release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools)**: Allow defining a main branch when generating the changelog entries. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/8b5078e67ebbbe9e8a5a952fa18646dfca6a2563))
-### Bug fixes
+### Other changes
-* **[build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools)**: Ability to pass `globals` parameter if necessary for external imports in `umd` bundles. See https://github.com/ckeditor/ckeditor5/issues/16798. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/74f4571f186a2cbb30a8d3fcb62475c89f59c641))
+* Almost all dependencies of `ckeditor5-dev-*` packages have been bumped to their latest versions. ([commit](https://github.com/ckeditor/ckeditor5-dev/commit/2358a19113eb80f6204f39a1d0e0411810283ef2))
### Released packages
@@ -211,22 +146,24 @@ Check out the [Versioning policy](https://ckeditor.com/docs/ckeditor5/latest/fra
Released packages (summary)
+Releases containing new features:
+
+* [@ckeditor/ckeditor5-dev-release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+
Other releases:
-* [@ckeditor/ckeditor5-dev-build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-bump-year](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-bump-year/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-ci](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-release-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-release-tools/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-transifex](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-transifex/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-translations](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/ckeditor5-dev-web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/jsdoc-plugins](https://www.npmjs.com/package/@ckeditor/jsdoc-plugins/v/42.0.0): v41.0.0 => v42.0.0
-* [@ckeditor/typedoc-plugins](https://www.npmjs.com/package/@ckeditor/typedoc-plugins/v/42.0.0): v41.0.0 => v42.0.0
+* [@ckeditor/ckeditor5-dev-build-tools](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-build-tools/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/ckeditor5-dev-bump-year](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-bump-year/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/ckeditor5-dev-ci](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-ci/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/ckeditor5-dev-dependency-checker](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-dependency-checker/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/ckeditor5-dev-docs](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-docs/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/ckeditor5-dev-stale-bot](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-stale-bot/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/ckeditor5-dev-tests](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-tests/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/ckeditor5-dev-transifex](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-transifex/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/ckeditor5-dev-translations](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/ckeditor5-dev-utils](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/ckeditor5-dev-web-crawler](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
+* [@ckeditor/typedoc-plugins](https://www.npmjs.com/package/@ckeditor/typedoc-plugins/v/44.0.0-alpha.1): v44.0.0-alpha.0 => v44.0.0-alpha.1
---
diff --git a/README.md b/README.md
index 1e44996f3..16dfab7aa 100644
--- a/README.md
+++ b/README.md
@@ -20,8 +20,7 @@ This repository is a monorepo. It contains multiple npm packages.
| [`@ckeditor/ckeditor5-dev-utils`](/packages/ckeditor5-dev-utils) | [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-dev-utils.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-utils) |
| [`@ckeditor/ckeditor5-dev-translations`](/packages/ckeditor5-dev-translations) | [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-dev-translations.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-translations) |
| [`@ckeditor/ckeditor5-dev-web-crawler`](/packages/ckeditor5-dev-web-crawler) | [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-dev-web-crawler.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-dev-web-crawler) |
-| [`@ckeditor/jsdoc-plugins`](/packages/jsdoc-plugins) | [![npm version](https://badge.fury.io/js/%40ckeditor%2Fjsdoc-plugins.svg)](https://www.npmjs.com/package/@ckeditor/jsdoc-plugins) |
-| [`@ckeditor/typedoc-plugins`](/packages/typedoc-plugins) | [![npm version](https://badge.fury.io/js/%40ckeditor%2Ftypedoc-plugins.svg)](https://www.npmjs.com/package/@ckeditor/jsdoc-plugins) |
+| [`@ckeditor/typedoc-plugins`](/packages/typedoc-plugins) | [![npm version](https://badge.fury.io/js/%40ckeditor%2Ftypedoc-plugins.svg)](https://www.npmjs.com/package/@ckeditor/typedoc-plugins) |
## Cloning
diff --git a/package.json b/package.json
index cabf2e784..81e798001 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ckeditor5-dev",
- "version": "43.0.0",
+ "version": "44.0.0-alpha.5",
"private": true,
"author": "CKSource (http://cksource.com/)",
"license": "GPL-2.0-or-later",
@@ -13,21 +13,21 @@
"engines": {
"node": ">=18.0.0"
},
+ "type": "module",
"devDependencies": {
- "@ckeditor/ckeditor5-dev-ci": "^43.0.0",
- "@ckeditor/ckeditor5-dev-release-tools": "^43.0.0",
- "@ckeditor/ckeditor5-dev-bump-year": "^43.0.0",
- "coveralls": "^3.1.1",
- "eslint": "^7.0.0",
- "eslint-config-ckeditor5": "^6.0.0",
- "fs-extra": "^11.2.0",
- "glob": "^10.2.5",
+ "@ckeditor/ckeditor5-dev-ci": "^44.0.0-alpha.5",
+ "@ckeditor/ckeditor5-dev-release-tools": "^44.0.0-alpha.5",
+ "@ckeditor/ckeditor5-dev-bump-year": "^44.0.0-alpha.5",
+ "eslint": "^8.21.0",
+ "eslint-config-ckeditor5": "^7.0.0",
+ "fs-extra": "^11.0.0",
+ "glob": "^10.0.0",
"husky": "^8.0.2",
- "lint-staged": "^10.2.4",
- "listr2": "^6.5.0",
+ "js-yaml": "^4.1.0",
+ "lint-staged": "^15.0.0",
+ "listr2": "^8.0.0",
"minimist": "^1.2.8",
- "nyc": "^15.1.0",
- "semver": "^7.5.3",
+ "semver": "^7.6.3",
"upath": "^2.0.1"
},
"scripts": {
diff --git a/packages/ckeditor5-dev-build-tools/package.json b/packages/ckeditor5-dev-build-tools/package.json
index 27e3cdf49..047f4b115 100644
--- a/packages/ckeditor5-dev-build-tools/package.json
+++ b/packages/ckeditor5-dev-build-tools/package.json
@@ -1,6 +1,6 @@
{
"name": "@ckeditor/ckeditor5-dev-build-tools",
- "version": "43.0.0",
+ "version": "44.0.0-alpha.5",
"description": "Rollup-based tools used to build CKEditor 5 packages.",
"keywords": [],
"author": "CKSource (http://cksource.com/)",
@@ -35,17 +35,17 @@
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/pluginutils": "^5.1.0",
"@swc/core": "^1.4.8",
- "chalk": "^5.3.0",
- "cssnano": "^7.0.4",
+ "chalk": "^5.0.0",
+ "cssnano": "^7.0.0",
"cssnano-preset-lite": "^4.0.1",
"estree-walker": "^3.0.3",
- "glob": "^10.3.10",
+ "glob": "^10.0.0",
"lodash-es": "^4.17.21",
"magic-string": "^0.30.6",
"pofile": "^1.1.4",
"postcss": "^8.0.0",
- "postcss-mixins": "^9.0.4",
- "postcss-nesting": "^12.0.2",
+ "postcss-mixins": "^11.0.0",
+ "postcss-nesting": "^13.0.0",
"purgecss": "^6.0.0",
"rollup": "^4.9.5",
"rollup-plugin-styles": "^4.0.0",
diff --git a/packages/ckeditor5-dev-build-tools/src/build.ts b/packages/ckeditor5-dev-build-tools/src/build.ts
index 2814c84e0..e9303e406 100644
--- a/packages/ckeditor5-dev-build-tools/src/build.ts
+++ b/packages/ckeditor5-dev-build-tools/src/build.ts
@@ -104,6 +104,7 @@ async function generateUmdBuild( args: BuildOptions, bundle: RollupOutput ): Pro
args.input = args.output;
const { dir, name } = path.parse( args.output );
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
const { plugins, ...config } = await getRollupConfig( args );
/**
diff --git a/packages/ckeditor5-dev-build-tools/src/config.ts b/packages/ckeditor5-dev-build-tools/src/config.ts
index 586d4a46e..cd20ccec8 100644
--- a/packages/ckeditor5-dev-build-tools/src/config.ts
+++ b/packages/ckeditor5-dev-build-tools/src/config.ts
@@ -152,7 +152,8 @@ export async function getRollupConfig( options: BuildOptions ) {
plugins: [
postcssMixins,
postcssNesting( {
- noIsPseudoSelector: true
+ noIsPseudoSelector: true,
+ edition: '2021'
} )
],
minimize: minify,
diff --git a/packages/ckeditor5-dev-build-tools/src/plugins/translations.ts b/packages/ckeditor5-dev-build-tools/src/plugins/translations.ts
index 1a53b59e5..5abb33aac 100644
--- a/packages/ckeditor5-dev-build-tools/src/plugins/translations.ts
+++ b/packages/ckeditor5-dev-build-tools/src/plugins/translations.ts
@@ -11,7 +11,7 @@ import PO from 'pofile';
import { groupBy, merge } from 'lodash-es';
import { glob } from 'glob';
import type { Plugin } from 'rollup';
-import { removeWhitespace } from '../utils';
+import { removeWhitespace } from '../utils.js';
const TYPINGS = removeWhitespace( `
import type { Translations } from '@ckeditor/ckeditor5-utils';
diff --git a/packages/ckeditor5-dev-build-tools/tests/_utils/utils.ts b/packages/ckeditor5-dev-build-tools/tests/_utils/utils.ts
index 52873193b..75688e0a1 100644
--- a/packages/ckeditor5-dev-build-tools/tests/_utils/utils.ts
+++ b/packages/ckeditor5-dev-build-tools/tests/_utils/utils.ts
@@ -6,7 +6,7 @@
import { expect, vi } from 'vitest';
import swc from '@rollup/plugin-swc';
import type { RollupOutput, OutputChunk, OutputAsset, Plugin } from 'rollup';
-import * as utils from '../../src/utils';
+import * as utils from '../../src/utils.js';
/**
* Helper function for validating Rollup asset.
diff --git a/packages/ckeditor5-dev-build-tools/tests/build/build.test.ts b/packages/ckeditor5-dev-build-tools/tests/build/build.test.ts
index 85f597361..d91a25f68 100644
--- a/packages/ckeditor5-dev-build-tools/tests/build/build.test.ts
+++ b/packages/ckeditor5-dev-build-tools/tests/build/build.test.ts
@@ -64,7 +64,8 @@ async function mockCommercialDependencies() {
() => ( {
name: 'ckeditor5-premium-features',
dependencies: {
- '@ckeditor/ckeditor5-ai': '*'
+ '@ckeditor/ckeditor5-ai': '*',
+ 'ckeditor5-collaboration': '*'
}
} )
);
diff --git a/packages/ckeditor5-dev-bump-year/lib/bumpyear.js b/packages/ckeditor5-dev-bump-year/lib/bumpyear.js
index f10dfe25f..b91a7cbd2 100644
--- a/packages/ckeditor5-dev-bump-year/lib/bumpyear.js
+++ b/packages/ckeditor5-dev-bump-year/lib/bumpyear.js
@@ -3,11 +3,9 @@
* For licensing, see LICENSE.md.
*/
-'use strict';
-
-const chalk = require( 'chalk' );
-const fs = require( 'fs' );
-const { globSync } = require( 'glob' );
+import chalk from 'chalk';
+import fs from 'fs';
+import { globSync } from 'glob';
/**
* Updates year in all licenses in the provided directory, based on provided glob patterns.
@@ -18,13 +16,13 @@ const { globSync } = require( 'glob' );
* With:
* Copyright (c) [initial year]-[current year]
*
- * @param {Object} params
- * @param {String} params.cwd Current working directory from which all paths will be resolved.
- * @param {Array} params.globPatterns An array of objects, where each object has string property `pattern`,
+ * @param {object} params
+ * @param {string} params.cwd Current working directory from which all paths will be resolved.
+ * @param {Array.} params.globPatterns An array of objects, where each object has string property `pattern`,
* and optionally `options` property for this `glob` pattern.
- * @param {String} [params.initialYear='2003'] Year from which the licenses should begin.
+ * @param {string} [params.initialYear='2003'] Year from which the licenses should begin.
*/
-module.exports = function bumpYear( params ) {
+export default function bumpYear( params ) {
if ( !params.initialYear ) {
params.initialYear = '2003';
}
@@ -92,13 +90,13 @@ module.exports = function bumpYear( params ) {
console.log( file );
}
}
-};
+}
/**
* License headers are only required in JS and TS files.
*
- * @param {String} fileName
- * @returns {Boolean}
+ * @param {string} fileName
+ * @returns {boolean}
*/
function isLicenseHeaderRequired( fileName ) {
if ( fileName.endsWith( '.js' ) ) {
diff --git a/packages/ckeditor5-dev-bump-year/lib/index.js b/packages/ckeditor5-dev-bump-year/lib/index.js
index 4e20ce9e0..26fc3942f 100644
--- a/packages/ckeditor5-dev-bump-year/lib/index.js
+++ b/packages/ckeditor5-dev-bump-year/lib/index.js
@@ -3,10 +3,4 @@
* For licensing, see LICENSE.md.
*/
-'use strict';
-
-const bumpYear = require( './bumpyear' );
-
-module.exports = {
- bumpYear
-};
+export { default as bumpYear } from './bumpyear.js';
diff --git a/packages/ckeditor5-dev-bump-year/package.json b/packages/ckeditor5-dev-bump-year/package.json
index 0784b1a2e..51e419bab 100644
--- a/packages/ckeditor5-dev-bump-year/package.json
+++ b/packages/ckeditor5-dev-bump-year/package.json
@@ -1,6 +1,6 @@
{
"name": "@ckeditor/ckeditor5-dev-bump-year",
- "version": "43.0.0",
+ "version": "44.0.0-alpha.5",
"description": "Used to bump year in the licence text specified at the top of the file.",
"keywords": [],
"author": "CKSource (http://cksource.com/)",
@@ -17,11 +17,12 @@
"npm": ">=5.7.1"
},
"main": "lib/index.js",
+ "type": "module",
"files": [
"lib"
],
"dependencies": {
- "chalk": "^4.1.0",
- "glob": "^10.2.5"
+ "chalk": "^5.0.0",
+ "glob": "^10.0.0"
}
}
diff --git a/packages/ckeditor5-dev-ci/bin/circle-disable-auto-cancel-builds.js b/packages/ckeditor5-dev-ci/bin/circle-disable-auto-cancel-builds.js
index e27c08ff4..7e778b867 100755
--- a/packages/ckeditor5-dev-ci/bin/circle-disable-auto-cancel-builds.js
+++ b/packages/ckeditor5-dev-ci/bin/circle-disable-auto-cancel-builds.js
@@ -5,9 +5,7 @@
* For licensing, see LICENSE.md.
*/
-'use strict';
-
-const circleUpdateAutoCancelBuilds = require( '../lib/circle-update-auto-cancel-builds' );
+import circleUpdateAutoCancelBuilds from '../lib/circle-update-auto-cancel-builds.js';
/**
* This script updates CircleCI settings to disable the "Auto-cancel redundant workflows" option.
diff --git a/packages/ckeditor5-dev-ci/bin/circle-enable-auto-cancel-builds.js b/packages/ckeditor5-dev-ci/bin/circle-enable-auto-cancel-builds.js
index c5c1b9d06..15ae8cf69 100755
--- a/packages/ckeditor5-dev-ci/bin/circle-enable-auto-cancel-builds.js
+++ b/packages/ckeditor5-dev-ci/bin/circle-enable-auto-cancel-builds.js
@@ -5,9 +5,7 @@
* For licensing, see LICENSE.md.
*/
-'use strict';
-
-const circleUpdateAutoCancelBuilds = require( '../lib/circle-update-auto-cancel-builds' );
+import circleUpdateAutoCancelBuilds from '../lib/circle-update-auto-cancel-builds.js';
/**
* This script updates CircleCI settings to enable the "Auto-cancel redundant workflows" option.
diff --git a/packages/ckeditor5-dev-ci/bin/circle-workflow-notifier.js b/packages/ckeditor5-dev-ci/bin/circle-workflow-notifier.js
index 1b80a27d1..3d6382c6b 100755
--- a/packages/ckeditor5-dev-ci/bin/circle-workflow-notifier.js
+++ b/packages/ckeditor5-dev-ci/bin/circle-workflow-notifier.js
@@ -7,12 +7,9 @@
/* eslint-env node */
-'use strict';
-
-const { execSync } = require( 'child_process' );
-const fetch = require( 'node-fetch' );
-const minimist = require( 'minimist' );
-const processJobStatuses = require( '../lib/process-job-statuses' );
+import { execSync } from 'child_process';
+import minimist from 'minimist';
+import processJobStatuses from '../lib/process-job-statuses.js';
// This script allows the creation of a new job within a workflow that will be executed
// in the end, when all other jobs will be finished or errored.
@@ -107,7 +104,12 @@ async function waitForOtherJobsAndSendNotification() {
*/
async function getOtherJobsData() {
const url = `https://circleci.com/api/v2/workflow/${ CIRCLE_WORKFLOW_ID }/job`;
- const options = { headers: { 'Circle-Token': CKE5_CIRCLE_TOKEN } };
+ const options = {
+ method: 'GET',
+ headers: {
+ 'Circle-Token': CKE5_CIRCLE_TOKEN
+ }
+ };
const response = await fetch( url, options );
const data = await response.json();
@@ -116,10 +118,10 @@ async function getOtherJobsData() {
}
/**
- * @param {Array.} args
- * @returns {Object} result
- * @returns {String} result.task
- * @returns {Array} result.ignore
+ * @param {Array.} args
+ * @returns {object} result
+ * @returns {string} result.task
+ * @returns {Array.} result.ignore
*/
function parseArguments( args ) {
const config = {
diff --git a/packages/ckeditor5-dev-ci/bin/is-job-triggered-by-member.js b/packages/ckeditor5-dev-ci/bin/is-job-triggered-by-member.js
index 42e9a6584..adc296d0a 100755
--- a/packages/ckeditor5-dev-ci/bin/is-job-triggered-by-member.js
+++ b/packages/ckeditor5-dev-ci/bin/is-job-triggered-by-member.js
@@ -5,9 +5,7 @@
* For licensing, see LICENSE.md.
*/
-'use strict';
-
-const isJobTriggeredByMember = require( '../lib/is-job-triggered-by-member' );
+import isJobTriggeredByMember from '../lib/is-job-triggered-by-member.js';
/**
* This script checks if a user that approved an approval job could do that.
diff --git a/packages/ckeditor5-dev-ci/bin/notify-circle-status.js b/packages/ckeditor5-dev-ci/bin/notify-circle-status.js
index 6ee788746..3aed9a6cb 100755
--- a/packages/ckeditor5-dev-ci/bin/notify-circle-status.js
+++ b/packages/ckeditor5-dev-ci/bin/notify-circle-status.js
@@ -7,9 +7,8 @@
/* eslint-env node */
-const fetch = require( 'node-fetch' );
-const slackNotify = require( 'slack-notify' );
-const formatMessage = require( '../lib/format-message' );
+import slackNotify from 'slack-notify';
+import formatMessage from '../lib/format-message.js';
// This script assumes that is being executed on Circle CI.
// Step it is used on should have set value: `when: on_fail`, since it does not
diff --git a/packages/ckeditor5-dev-ci/bin/notify-travis-status.js b/packages/ckeditor5-dev-ci/bin/notify-travis-status.js
index eb1bd479f..93b6923f9 100755
--- a/packages/ckeditor5-dev-ci/bin/notify-travis-status.js
+++ b/packages/ckeditor5-dev-ci/bin/notify-travis-status.js
@@ -7,8 +7,8 @@
/* eslint-env node */
-const formatMessage = require( '../lib/format-message' );
-const slackNotify = require( 'slack-notify' );
+import formatMessage from '../lib/format-message.js';
+import slackNotify from 'slack-notify';
const ALLOWED_BRANCHES = [
'stable',
diff --git a/packages/ckeditor5-dev-ci/bin/trigger-circle-build.js b/packages/ckeditor5-dev-ci/bin/trigger-circle-build.js
index eb0b43d3c..17fd1da10 100755
--- a/packages/ckeditor5-dev-ci/bin/trigger-circle-build.js
+++ b/packages/ckeditor5-dev-ci/bin/trigger-circle-build.js
@@ -5,9 +5,7 @@
* For licensing, see LICENSE.md.
*/
-'use strict';
-
-const triggerCircleBuild = require( '../lib/trigger-circle-build' );
+import triggerCircleBuild from '../lib/trigger-circle-build.js';
/**
* This script triggers a new CircleCI build.
diff --git a/packages/ckeditor5-dev-ci/lib/circle-update-auto-cancel-builds.js b/packages/ckeditor5-dev-ci/lib/circle-update-auto-cancel-builds.js
index 46da393d5..351d115b7 100644
--- a/packages/ckeditor5-dev-ci/lib/circle-update-auto-cancel-builds.js
+++ b/packages/ckeditor5-dev-ci/lib/circle-update-auto-cancel-builds.js
@@ -3,19 +3,15 @@
* For licensing, see LICENSE.md.
*/
-'use strict';
-
-const fetch = require( 'node-fetch' );
-
/**
* @param options
- * @param {String} options.circleToken
- * @param {String} options.githubOrganization
- * @param {String} options.githubRepository
- * @param {Boolean} options.newValue
- * @return {Promise.}
+ * @param {string} options.circleToken
+ * @param {string} options.githubOrganization
+ * @param {string} options.githubRepository
+ * @param {boolean} options.newValue
+ * @returns {Promise.}
*/
-module.exports = async function circleUpdateAutoCancelBuilds( options ) {
+export default async function circleUpdateAutoCancelBuilds( options ) {
const {
circleToken,
githubOrganization,
@@ -24,7 +20,7 @@ module.exports = async function circleUpdateAutoCancelBuilds( options ) {
} = options;
const circleRequestOptions = {
- method: 'patch',
+ method: 'PATCH',
headers: {
'Content-Type': 'application/json',
'Circle-Token': circleToken
@@ -40,4 +36,4 @@ module.exports = async function circleUpdateAutoCancelBuilds( options ) {
return fetch( settingsUpdateUrl, circleRequestOptions )
.then( r => r.json() );
-};
+}
diff --git a/packages/ckeditor5-dev-ci/lib/data/index.js b/packages/ckeditor5-dev-ci/lib/data/index.js
new file mode 100644
index 000000000..f3dd882ac
--- /dev/null
+++ b/packages/ckeditor5-dev-ci/lib/data/index.js
@@ -0,0 +1,10 @@
+/**
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
+ * For licensing, see LICENSE.md.
+ */
+
+import { default as _members } from './members.json' with { type: 'json' };
+import { default as _bots } from './bots.json' with { type: 'json' };
+
+export const members = _members;
+export const bots = _bots;
diff --git a/packages/ckeditor5-dev-ci/lib/format-message.js b/packages/ckeditor5-dev-ci/lib/format-message.js
index 35b900348..1d69bc66e 100644
--- a/packages/ckeditor5-dev-ci/lib/format-message.js
+++ b/packages/ckeditor5-dev-ci/lib/format-message.js
@@ -5,31 +5,27 @@
/* eslint-env node */
-'use strict';
-
-const fetch = require( 'node-fetch' );
-const bots = require( './data/bots.json' );
-const members = require( './data/members.json' );
+import { bots, members } from './data/index.js';
const REPOSITORY_REGEXP = /github\.com\/([^/]+)\/([^/]+)/;
/**
- * @param {Object} options
- * @param {String} options.slackMessageUsername
- * @param {String} options.iconUrl
- * @param {String} options.repositoryOwner
- * @param {String} options.repositoryName
- * @param {String} options.branch
- * @param {String} options.buildTitle
- * @param {String} options.buildUrl
- * @param {String} options.buildId
- * @param {String} options.githubToken
- * @param {String} options.triggeringCommitUrl
- * @param {Number} options.startTime
- * @param {Number} options.endTime
- * @param {Boolean} options.shouldHideAuthor
+ * @param {object} options
+ * @param {string} options.slackMessageUsername
+ * @param {string} options.iconUrl
+ * @param {string} options.repositoryOwner
+ * @param {string} options.repositoryName
+ * @param {string} options.branch
+ * @param {string} options.buildTitle
+ * @param {string} options.buildUrl
+ * @param {string} options.buildId
+ * @param {string} options.githubToken
+ * @param {string} options.triggeringCommitUrl
+ * @param {number} options.startTime
+ * @param {number} options.endTime
+ * @param {boolean} options.shouldHideAuthor
*/
-module.exports = async function formatMessage( options ) {
+export default async function formatMessage( options ) {
const commitDetails = await getCommitDetails( options.triggeringCommitUrl, options.githubToken );
const repoUrl = `https://github.com/${ options.repositoryOwner }/${ options.repositoryName }`;
@@ -63,16 +59,16 @@ module.exports = async function formatMessage( options ) {
} ]
} ]
};
-};
+}
/**
* Returns the additional message that will be added to the notifier post.
*
- * @param {Object} options
- * @param {Boolean} options.shouldHideAuthor
- * @param {String|null} options.githubAccount
- * @param {String} options.commitAuthor
- * @returns {String}
+ * @param {object} options
+ * @param {boolean} options.shouldHideAuthor
+ * @param {string|null} options.githubAccount
+ * @param {string} options.commitAuthor
+ * @returns {string}
*/
function getNotifierMessage( options ) {
if ( options.shouldHideAuthor ) {
@@ -99,8 +95,8 @@ function getNotifierMessage( options ) {
}
/**
- * @param {String|null} githubAccount
- * @returns {String|null}
+ * @param {string|null} githubAccount
+ * @returns {string|null}
*/
function findSlackAccount( githubAccount ) {
if ( !githubAccount ) {
@@ -120,9 +116,9 @@ function findSlackAccount( githubAccount ) {
* Returns string representing amount of time passed between two timestamps.
* Timestamps should be in seconds instead of milliseconds.
*
- * @param {Number} startTime
- * @param {Number} endTime
- * @returns {String}
+ * @param {number} startTime
+ * @param {number} endTime
+ * @returns {string}
*/
function getExecutionTime( startTime, endTime ) {
if ( !startTime || !endTime ) {
@@ -159,8 +155,8 @@ function getExecutionTime( startTime, endTime ) {
/**
* Replaces `#Id` and `Repo/Owner#Id` with URls to Github Issues.
*
- * @param {String} commitMessage
- * @param {String} triggeringCommitUrl
+ * @param {string} commitMessage
+ * @param {string} triggeringCommitUrl
* @returns {string}
*/
function getFormattedMessage( commitMessage, triggeringCommitUrl ) {
@@ -182,9 +178,9 @@ function getFormattedMessage( commitMessage, triggeringCommitUrl ) {
/**
* Returns a promise that resolves the commit details (author and message) based on the specified GitHub URL.
*
- * @param {String} triggeringCommitUrl The URL to the commit on GitHub.
- * @param {String} githubToken Github token used for authorization a request,
- * @returns {Promise.