Skip to content

Commit

Permalink
Merge pull request #530 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 3, 2024
2 parents 8886ca3 + 6b06c80 commit 5f93e09
Show file tree
Hide file tree
Showing 5 changed files with 2,129 additions and 2,558 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
},
"devDependencies": {
"@testing-library/jest-dom": "^6.4.8",
"@ckeditor/ckeditor5-dev-bump-year": "^40.0.0",
"@ckeditor/ckeditor5-dev-ci": "^40.0.0",
"@ckeditor/ckeditor5-dev-release-tools": "^40.0.0",
"@ckeditor/ckeditor5-dev-utils": "^40.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",
"@testing-library/dom": "^10.3.1",
"@testing-library/react": "^16.0.0",
"@types/react": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/is-project-ready-to-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'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 5f93e09

Please sign in to comment.