@ckeditor/ckeditor5-dev-release-tools 54.2.0 → 54.2.2
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/tasks/cleanuppackages.js +1 -1
- package/lib/tasks/preparerepository.js +1 -1
- package/lib/tasks/publishpackages.js +1 -1
- package/lib/tasks/reassignnpmtags.js +2 -2
- package/lib/tasks/updatedependencies.js +1 -1
- package/lib/tasks/updateversions.js +1 -1
- package/lib/utils/assertfilestopublish.js +1 -1
- package/lib/utils/assertnpmtag.js +1 -1
- package/lib/utils/assertpackages.js +1 -1
- package/lib/utils/confirmnpmtag.js +1 -1
- package/lib/utils/executeinparallel.js +4 -4
- package/lib/utils/getchangelog.js +2 -2
- package/lib/utils/parallelworker.js +1 -1
- package/lib/utils/publishpackageonnpmcallback.js +1 -1
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import upath from 'upath';
|
|
7
|
-
import fs from 'fs/promises';
|
|
7
|
+
import fs from 'node:fs/promises';
|
|
8
8
|
import assertNpmAuthorization from '../utils/assertnpmauthorization.js';
|
|
9
9
|
import assertPackages from '../utils/assertpackages.js';
|
|
10
10
|
import assertNpmTag from '../utils/assertnpmtag.js';
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { tools } from '@ckeditor/ckeditor5-dev-utils';
|
|
9
|
-
import { styleText, promisify } from 'util';
|
|
9
|
+
import { styleText, promisify } from 'node:util';
|
|
10
10
|
import columns from 'cli-columns';
|
|
11
11
|
import shellEscape from 'shell-escape';
|
|
12
12
|
import assertNpmAuthorization from '../utils/assertnpmauthorization.js';
|
|
13
|
-
import { exec } from 'child_process';
|
|
13
|
+
import { exec } from 'node:child_process';
|
|
14
14
|
|
|
15
15
|
const execPromise = promisify( exec );
|
|
16
16
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import crypto from 'crypto';
|
|
6
|
+
import crypto from 'node:crypto';
|
|
7
7
|
import upath from 'upath';
|
|
8
|
-
import os from 'os';
|
|
9
|
-
import fs from 'fs/promises';
|
|
10
|
-
import { Worker } from 'worker_threads';
|
|
8
|
+
import os from 'node:os';
|
|
9
|
+
import fs from 'node:fs/promises';
|
|
10
|
+
import { Worker } from 'node:worker_threads';
|
|
11
11
|
import { registerAbortController, deregisterAbortController } from './abortcontroller.js';
|
|
12
12
|
import { workspaces } from '@ckeditor/ckeditor5-dev-utils';
|
|
13
13
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
// This file is covered by the "executeInParallel() - integration" test cases.
|
|
7
7
|
|
|
8
|
-
import { parentPort, workerData } from 'worker_threads';
|
|
8
|
+
import { parentPort, workerData } from 'node:worker_threads';
|
|
9
9
|
|
|
10
10
|
// Required due to top-level await.
|
|
11
11
|
( async () => {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
export default async function publishPackageOnNpmCallback( packagePath, taskOptions ) {
|
|
15
15
|
const { tools } = await import( '@ckeditor/ckeditor5-dev-utils' );
|
|
16
|
-
const { rm } = await import( 'fs/promises' );
|
|
16
|
+
const { rm } = await import( 'node:fs/promises' );
|
|
17
17
|
|
|
18
18
|
try {
|
|
19
19
|
await tools.shExec( `npm publish --access=public --tag ${ taskOptions.npmTag }`, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-dev-release-tools",
|
|
3
|
-
"version": "54.2.
|
|
3
|
+
"version": "54.2.2",
|
|
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": "^54.2.
|
|
25
|
+
"@ckeditor/ckeditor5-dev-utils": "^54.2.2",
|
|
26
26
|
"@octokit/rest": "^22.0.0",
|
|
27
27
|
"cli-columns": "^4.0.0",
|
|
28
28
|
"glob": "^13.0.0",
|