Skip to content

Commit 7517de6

Browse files
committed
Aligned to ckeditor5-dev ESM changes.
1 parent cc26aae commit 7517de6

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

scripts/ci/is-project-ready-to-release.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/* eslint-env node */
99

1010
import { createRequire } from 'module';
11-
import releaseTools from '@ckeditor/ckeditor5-dev-release-tools';
11+
import * as releaseTools from '@ckeditor/ckeditor5-dev-release-tools';
1212

1313
const require = createRequire( import.meta.url );
1414
const { name: packageName } = require( '../../package.json' );

scripts/preparepackages.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
import { createRequire } from 'module';
1111
import { Listr } from 'listr2';
12-
import releaseTools from '@ckeditor/ckeditor5-dev-release-tools';
13-
import devUtils from '@ckeditor/ckeditor5-dev-utils';
12+
import * as releaseTools from '@ckeditor/ckeditor5-dev-release-tools';
13+
import * as devUtils from '@ckeditor/ckeditor5-dev-utils';
1414
import parseArguments from './utils/parsearguments.js';
1515
import getListrOptions from './utils/getlistroptions.js';
1616

scripts/publishpackages.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
/* eslint-env node */
99

1010
import { Listr } from 'listr2';
11-
import releaseTools from '@ckeditor/ckeditor5-dev-release-tools';
12-
import releaseCliUtils from '@ckeditor/ckeditor5-dev-release-tools/lib/utils/cli.js';
11+
import * as releaseTools from '@ckeditor/ckeditor5-dev-release-tools';
1312
import parseArguments from './utils/parsearguments.js';
1413
import getListrOptions from './utils/getlistroptions.js';
1514

@@ -89,7 +88,7 @@ const tasks = new Listr( [
8988
if ( process.env.CKE5_RELEASE_TOKEN ) {
9089
githubToken = process.env.CKE5_RELEASE_TOKEN;
9190
} else {
92-
githubToken = await releaseCliUtils.provideToken();
91+
githubToken = await releaseTools.provideToken();
9392
}
9493

9594
await tasks.run();

0 commit comments

Comments
 (0)