File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ const tasks = new Listr( [
6666 } ,
6767 {
6868 title : 'Creating the `ckeditor5-vue` package in the release directory.' ,
69- task : ( ) => {
69+ task : async ( ) => {
7070 return releaseTools . prepareRepository ( {
7171 outputDirectory : 'release' ,
72- rootPackageJson : preparePackageJson ( )
72+ rootPackageJson : await preparePackageJson ( )
7373 } ) ;
7474 }
7575 } ,
Original file line number Diff line number Diff line change 33 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
44 */
55
6- import packageJson from '../../package.json' with { type : 'json' } ;
6+ export async function preparePackageJson ( ) {
7+ const { default : packageJson } = await import ( '../../package.json' , { with : { type : 'json' } } ) ;
78
8- export function preparePackageJson ( ) {
99 if ( packageJson . engines ) {
1010 delete packageJson . engines ;
1111 }
You can’t perform that action at this time.
0 commit comments