diff --git a/.circleci/config.yml b/.circleci/config.yml index a8beb25c..525a982a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,10 +27,10 @@ commands: name: Install pnpm # Pinned to ~11.14.0; pnpm 11.15.x duplicates the CKEditor packages in the # LTS integration run, which breaks the editor. - command: sudo npm i -g pnpm@~11.14.0 + 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" @@ -49,7 +49,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 73beb778..2c82c5cb 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -28,11 +28,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