Skip to content

Commit

Permalink
Merge pull request #167 from ckeditor/add-ckeditor5-premium-fetures-t…
Browse files Browse the repository at this point in the history
…o-legacy-templates

Fix (generator): Allow to build plugin with potentially used external `ckeditor5-premium-features`. Closes #000.
  • Loading branch information
pszczesniak authored May 20, 2024
2 parents 9600a4f + 4fa56f9 commit 9af9807
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"license": "MIT",
"homepage": "https://ckeditor.com/ckeditor-5",
"devDependencies": {
"@ckeditor/ckeditor5-dev-bump-year": "^38.0.0",
"@ckeditor/ckeditor5-dev-ci": "^38.0.0",
"@ckeditor/ckeditor5-dev-release-tools": "^38.0.0",
"@ckeditor/ckeditor5-dev-web-crawler": "^38.0.0",
"@ckeditor/ckeditor5-dev-bump-year": "^40.0.1",
"@ckeditor/ckeditor5-dev-ci": "^40.0.1",
"@ckeditor/ckeditor5-dev-release-tools": "^40.0.1",
"@ckeditor/ckeditor5-dev-web-crawler": "^40.0.1",
"chalk": "^4.1.2",
"coveralls": "^3.1.1",
"eslint": "^7.32.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ function dist( path ) {
output: dist( './index.js' ),
external: [
'ckeditor5',
'ckeditor5-premium-features',
...Object.keys( {
...pkg.dependencies,
...pkg.peerDependencies
Expand All @@ -53,7 +54,8 @@ function dist( path ) {
browser: true,
name: '<%= formattedNames.plugin.lowerCaseMerged %>',
external: [
'ckeditor5'
'ckeditor5',
'ckeditor5-premium-features'
]
} );
} )();
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function dist( path ) {
tsconfig: 'tsconfig.dist.json',
external: [
'ckeditor5',
'ckeditor5-premium-features',
...Object.keys( {
...pkg.dependencies,
...pkg.peerDependencies
Expand All @@ -57,7 +58,8 @@ function dist( path ) {
browser: true,
name: '<%= formattedNames.plugin.lowerCaseMerged %>',
external: [
'ckeditor5'
'ckeditor5',
'ckeditor5-premium-features'
]
} );
} )();
2 changes: 1 addition & 1 deletion packages/ckeditor5-package-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"node": ">=18.0.0"
},
"dependencies": {
"@ckeditor/ckeditor5-dev-utils": "^38.0.0",
"@ckeditor/ckeditor5-dev-utils": "^40.0.1",
"chalk": "^4.1.2",
"commander": "^8.1.0",
"glob": "^7.1.7",
Expand Down
6 changes: 3 additions & 3 deletions packages/ckeditor5-package-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
],
"main": "lib/index.js",
"dependencies": {
"@ckeditor/ckeditor5-dev-transifex": "^38.0.0",
"@ckeditor/ckeditor5-dev-translations": "^38.0.0",
"@ckeditor/ckeditor5-dev-utils": "^38.0.0",
"@ckeditor/ckeditor5-dev-transifex": "^40.0.1",
"@ckeditor/ckeditor5-dev-translations": "^40.0.1",
"@ckeditor/ckeditor5-dev-utils": "^40.0.1",
"buffer": "^6.0.3",
"chai": "^4.3.4",
"css-loader": "^5.2.7",
Expand Down

0 comments on commit 9af9807

Please sign in to comment.