Skip to content

Commit

Permalink
Merge pull request #33 from ckeditor/ci/3772
Browse files Browse the repository at this point in the history
Internal: Aligned to ckeditor5-dev ESM changes.
  • Loading branch information
pomek authored Oct 2, 2024
2 parents 4ab0f1d + 41ef4bf commit def1a2f
Show file tree
Hide file tree
Showing 5 changed files with 2,510 additions and 3,002 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
]
},
"devDependencies": {
"@ckeditor/ckeditor5-dev-bump-year": "^42.0.0",
"@ckeditor/ckeditor5-dev-ci": "^42.0.0",
"@ckeditor/ckeditor5-dev-release-tools": "^42.0.0",
"@ckeditor/ckeditor5-dev-utils": "^42.0.0",
"@ckeditor/ckeditor5-dev-bump-year": "^44.0.0",
"@ckeditor/ckeditor5-dev-ci": "^44.0.0",
"@ckeditor/ckeditor5-dev-release-tools": "^44.0.0",
"@ckeditor/ckeditor5-dev-utils": "^44.0.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@vitest/browser": "^2.0.5",
"@vitest/coverage-istanbul": "^2.0.5",
Expand Down
4 changes: 1 addition & 3 deletions scripts/ci/is-project-ready-to-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@

/* eslint-env node */

'use strict';

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

const require = createRequire( import.meta.url );
const { name: packageName } = require( '../../package.json' );
Expand Down
6 changes: 3 additions & 3 deletions scripts/preparepackages.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

import { createRequire } from 'module';
import { Listr } from 'listr2';
import releaseTools from '@ckeditor/ckeditor5-dev-release-tools';
import utils from '@ckeditor/ckeditor5-dev-utils';
import * as releaseTools from '@ckeditor/ckeditor5-dev-release-tools';
import * as devUtils from '@ckeditor/ckeditor5-dev-utils';
import parseArguments from './utils/parsearguments.js';
import getListrOptions from './utils/getlistroptions.js';

Expand Down Expand Up @@ -65,7 +65,7 @@ const tasks = new Listr( [
{
title: 'Running build command.',
task: () => {
return utils.tools.shExec( 'yarn run build', { async: true, verbosity: 'silent' } );
return devUtils.tools.shExec( 'yarn run build', { async: true, verbosity: 'silent' } );
}
},
{
Expand Down
5 changes: 2 additions & 3 deletions scripts/publishpackages.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
/* eslint-env node */

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

Expand Down Expand Up @@ -89,7 +88,7 @@ const tasks = new Listr( [
if ( process.env.CKE5_RELEASE_TOKEN ) {
githubToken = process.env.CKE5_RELEASE_TOKEN;
} else {
githubToken = await releaseCliUtils.provideToken();
githubToken = await releaseTools.provideToken();
}

await tasks.run();
Expand Down
Loading

0 comments on commit def1a2f

Please sign in to comment.