From 23b50913d485b7649d4233abb7f63078f1d5ee4d Mon Sep 17 00:00:00 2001 From: Marcin Panek Date: Thu, 3 Sep 2026 10:55:15 +0000 Subject: [PATCH] Apply the ratified dependency policy. --- .circleci/config.yml | 4 ++-- .github/CODEOWNERS | 6 ++++++ pnpm-workspace.yaml | 11 ++++++++++- 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.circleci/config.yml b/.circleci/config.yml index f683e5d5..6dd0413d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,7 +31,7 @@ commands: command: sudo npm i -g pnpm@11.14.0 - run: name: Install dependencies - command: pnpm install + command: pnpm install --frozen-lockfile install_ssh_keys_command: description: "Install SSH keys" @@ -50,7 +50,7 @@ commands: steps: - run: name: Install npm with CircleCI OIDC support - command: sudo npm i -g npm@^11.11.0 + command: sudo npm i -g npm@11.19.1 - run: name: Get npm OIDC token command: | diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..57c7b5c7 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,6 @@ +# Dependency and CI files are owned by the platform team - see ckeditor5-internal#4697. +/.github/ @ckeditor/ckeditor-5-platform +/.circleci/ @ckeditor/ckeditor-5-platform +/package.json @ckeditor/ckeditor-5-platform +/pnpm-lock.yaml @ckeditor/ckeditor-5-platform +/pnpm-workspace.yaml @ckeditor/ckeditor-5-platform diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3143cf3c..4e263b95 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -15,11 +15,20 @@ overrides: minimumReleaseAge: 4320 # 3 days minimumReleaseAgeExclude: + # Company-owned scopes - every release comes from our own pipelines. - '@ckeditor/*' - '@cksource/*' - - '*ckeditor5*' + # Company-owned unscoped names, listed one by one. The `*ckeditor5*` glob used here before + # also matched foreign packages with `ckeditor5` in the name - see ckeditor5-internal#4665. + - 'ckeditor5' # Owned by the `ckeditor` npm account. + - 'ckeditor5-premium-features' # Owned by the `ckeditor` npm account. + - 'eslint-config-ckeditor5' # Published from `ckeditor/ckeditor5-linters-config`. + - 'eslint-plugin-ckeditor5-rules' # Published from `ckeditor/ckeditor5-linters-config`. shellEmulator: true shamefullyHoist: true preferFrozenLockfile: true verifyDepsBeforeRun: false +# Only registry tarballs may enter the tree as subdependencies. Direct git/tarball +# dependencies stay allowed - see ckeditor/ckeditor5#20216. +blockExoticSubdeps: true