@ckeditor/ckeditor5-dev-release-tools 59.1.0 → 61.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -3,8 +3,6 @@
3
3
  * For licensing, see LICENSE.md.
4
4
  */
5
5
 
6
- import { npm, workspaces } from '@ckeditor/ckeditor5-dev-utils';
7
-
8
6
  export { default as updateDependencies } from './tasks/updatedependencies.js';
9
7
  export { default as commitAndTag } from './tasks/commitandtag.js';
10
8
  export { default as createGithubRelease } from './tasks/creategithubrelease.js';
@@ -34,32 +32,3 @@ export { default as executeInParallel } from './utils/executeinparallel.js';
34
32
  export { default as validateRepositoryToRelease } from './utils/validaterepositorytorelease.js';
35
33
  export { default as getNpmTagFromVersion } from './utils/getnpmtagfromversion.js';
36
34
  export { default as provideToken } from './utils/providetoken.js';
37
-
38
- // Backwards compatibility for the old API.
39
- export const checkVersionAvailability = ( ...args ) => {
40
- process.emitWarning(
41
- 'The `checkVersionAvailability()` function has been moved and will be removed in the upcoming release (v51). ' +
42
- 'Use the `npm` namespace from `@ckeditor/ckeditor5-dev-utils` instead.',
43
- {
44
- type: 'DeprecationWarning',
45
- code: 'DEP0002',
46
- detail: 'https://github.com/ckeditor/ckeditor5-dev/blob/master/DEPRECATIONS.md#dep0002-checkversionavailability'
47
- }
48
- );
49
-
50
- return npm.checkVersionAvailability( ...args );
51
- };
52
-
53
- export const findPathsToPackages = ( ...args ) => {
54
- process.emitWarning(
55
- 'The `findPathsToPackages()` function has been moved and will be removed in the upcoming release (v51). ' +
56
- 'Use the `workspaces` namespace from `@ckeditor/ckeditor5-dev-utils` instead.',
57
- {
58
- type: 'DeprecationWarning',
59
- code: 'DEP0003',
60
- detail: 'https://github.com/ckeditor/ckeditor5-dev/blob/master/DEPRECATIONS.md#dep0003-findpathstopackages'
61
- }
62
- );
63
-
64
- return workspaces.findPathsToPackages( ...args );
65
- };
@@ -55,6 +55,8 @@ export default async function cleanUpPackages( options ) {
55
55
  * @returns {object}
56
56
  */
57
57
  function parseOptions( options ) {
58
+ // The `depcheckIgnore` field was used by the removed `@ckeditor/ckeditor5-dev-dependency-checker` package.
59
+ // It is still stripped here because repositories that have not migrated to `knip` yet may carry it.
58
60
  const defaultPackageJsonFieldsToRemove = [ 'devDependencies', 'depcheckIgnore', 'scripts', 'private' ];
59
61
  const packageJsonFieldsToRemove = typeof options.packageJsonFieldsToRemove === 'function' ?
60
62
  options.packageJsonFieldsToRemove( defaultPackageJsonFieldsToRemove ) :
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-dev-release-tools",
3
- "version": "59.1.0",
3
+ "version": "61.0.0",
4
4
  "description": "Tools used for releasing CKEditor 5 and related packages.",
5
5
  "keywords": [],
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -22,7 +22,7 @@
22
22
  "lib"
23
23
  ],
24
24
  "dependencies": {
25
- "@ckeditor/ckeditor5-dev-utils": "^59.1.0",
25
+ "@ckeditor/ckeditor5-dev-utils": "^61.0.0",
26
26
  "@octokit/rest": "^22.0.1",
27
27
  "cli-columns": "^4.0.0",
28
28
  "glob": "^13.0.6",