From 54b9c522d181edb491b8e6ee9c27be3bb1b6e311 Mon Sep 17 00:00:00 2001 From: Kamil Piechaczek Date: Wed, 2 Aug 2023 10:46:17 +0200 Subject: [PATCH] Internal: Removed references to ckeditor5-internal from configuration files. Closes cksource/ckeditor5-internal#3505. --- docs/umberto.json | 4 ++-- scripts/ci/check-dependencies-versions-match.js | 2 -- scripts/docs/buildapi.js | 10 +++++----- scripts/release/switchlatest.js | 1 - scripts/release/utils/constants.js | 1 - scripts/release/utils/isckeditor5packagefactory.js | 1 - tsconfig.docs.json | 1 - tsconfig.test.json | 1 - tsconfig.typedoc.json | 2 -- 9 files changed, 7 insertions(+), 16 deletions(-) diff --git a/docs/umberto.json b/docs/umberto.json index 2dd6616d5b3..2a085d08d3e 100644 --- a/docs/umberto.json +++ b/docs/umberto.json @@ -18,8 +18,8 @@ "extraScripts": "assets/buildwarningbanner.js", "packagesDir": [ "packages/*", - "external/@(ckeditor5-internal|ckeditor5-commercial)/", - "external/@(ckeditor5-internal|ckeditor5-commercial)/packages/*" + "external/ckeditor5-commercial/", + "external/ckeditor5-commercial/packages/*" ], "path": "docs", "observablesdocs": "module:utils/observablemixin~Observable", diff --git a/scripts/ci/check-dependencies-versions-match.js b/scripts/ci/check-dependencies-versions-match.js index 2d3dbaa946f..55b9713d9f6 100644 --- a/scripts/ci/check-dependencies-versions-match.js +++ b/scripts/ci/check-dependencies-versions-match.js @@ -28,8 +28,6 @@ console.log( chalk.blue( '🔍 Starting checking dependencies versions...' ) ); const [ packageJsons, pathMappings ] = getPackageJsons( [ 'package.json', 'packages/*/package.json', - 'external/ckeditor5-internal/packages/*/package.json', - 'external/ckeditor5-internal/package.json', 'external/ckeditor5-commercial/packages/*/package.json', 'external/ckeditor5-commercial/package.json' ] ); diff --git a/scripts/docs/buildapi.js b/scripts/docs/buildapi.js index 60c229c28ea..20ada29c76b 100644 --- a/scripts/docs/buildapi.js +++ b/scripts/docs/buildapi.js @@ -38,26 +38,26 @@ function getConfig() { sourceFiles: [ // CKEditor 5 sources. 'packages/ckeditor5-*/src/**/*.ts', - 'external/@(ckeditor5-internal|ckeditor5-commercial)/packages/ckeditor5-*/src/**/*.ts', + 'external/ckeditor5-commercial/packages/ckeditor5-*/src/**/*.ts', // Ignore libraries or generated files. '!packages/ckeditor5-*/src/lib/**/*.ts', - '!external/@(ckeditor5-internal|ckeditor5-commercial)/packages/ckeditor5-*/src/lib/**/*.ts', + '!external/ckeditor5-commercial/packages/ckeditor5-*/src/lib/**/*.ts', // Ignore not a direct sources. '!external/ckeditor5-commercial/packages/ckeditor5-operations-compressor/src/protobufdescriptions.ts', // Ignore builds. '!packages/ckeditor5-build-*/src/**/*.ts', - '!external/@(ckeditor5-internal|ckeditor5-commercial)/packages/ckeditor5-build-*/src/**/*.ts', + '!external/ckeditor5-commercial/packages/ckeditor5-build-*/src/**/*.ts', // Ignore all declarations. '!packages/ckeditor5-*/src/**/*.d.ts', - '!external/@(ckeditor5-internal|ckeditor5-commercial)/packages/ckeditor5-*/src/**/*.d.ts', + '!external/ckeditor5-commercial/packages/ckeditor5-*/src/**/*.d.ts', // Ignore augmentation files. '!packages/ckeditor5-*/src/augmentation.ts', - '!external/@(ckeditor5-internal|ckeditor5-commercial)/packages/ckeditor5-*/src/augmentation.ts' + '!external/ckeditor5-commercial/packages/ckeditor5-*/src/augmentation.ts' ] }; } diff --git a/scripts/release/switchlatest.js b/scripts/release/switchlatest.js index 3433fd5d118..ca424704620 100644 --- a/scripts/release/switchlatest.js +++ b/scripts/release/switchlatest.js @@ -18,7 +18,6 @@ const ROOT_DIRECTORY = upath.join( __dirname, '..', '..' ); const GLOB_PATTERNS = [ 'package.json', 'packages/*/package.json', - 'external/ckeditor5-internal/packages/*/package.json', 'external/ckeditor5-commercial/packages/*/package.json' ]; diff --git a/scripts/release/utils/constants.js b/scripts/release/utils/constants.js index 00c8f3e2a54..0897da849e8 100644 --- a/scripts/release/utils/constants.js +++ b/scripts/release/utils/constants.js @@ -14,6 +14,5 @@ module.exports = { PACKAGES_DIRECTORY: 'packages', RELEASE_DIRECTORY: 'release', CKEDITOR5_ROOT_PATH, - CKEDITOR5_INTERNAL_PATH: upath.resolve( CKEDITOR5_ROOT_PATH, 'external', 'ckeditor5-internal' ), CKEDITOR5_COMMERCIAL_PATH: upath.resolve( CKEDITOR5_ROOT_PATH, 'external', 'ckeditor5-commercial' ) }; diff --git a/scripts/release/utils/isckeditor5packagefactory.js b/scripts/release/utils/isckeditor5packagefactory.js index c3da0378838..82dc9ee6d1f 100644 --- a/scripts/release/utils/isckeditor5packagefactory.js +++ b/scripts/release/utils/isckeditor5packagefactory.js @@ -22,7 +22,6 @@ module.exports = async function isCKEditor5PackageFactory() { const allPathsToPackageJson = await glob( [ 'package.json', 'packages/*/package.json', - 'external/ckeditor5-internal/packages/*/package.json', 'external/ckeditor5-commercial/packages/*/package.json' ], { cwd: pathToCKEditor5, diff --git a/tsconfig.docs.json b/tsconfig.docs.json index 40d48727e70..cf784525cd6 100644 --- a/tsconfig.docs.json +++ b/tsconfig.docs.json @@ -7,7 +7,6 @@ "include": [ "./typings/", "./packages/*/src/augmentation.ts", - "./external/ckeditor5-internal/packages/*/src/augmentation.ts", "./external/ckeditor5-commercial/packages/*/src/augmentation.ts" ] } diff --git a/tsconfig.test.json b/tsconfig.test.json index a5eb7349fb6..042119c14fe 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -17,7 +17,6 @@ "include": [ "./typings/", "./packages/*/src/augmentation.ts", - "./external/ckeditor5-internal/packages/*/src/augmentation.ts", "./external/ckeditor5-commercial/packages/*/src/augmentation.ts" ] } diff --git a/tsconfig.typedoc.json b/tsconfig.typedoc.json index 0d1134932b1..44502fe3921 100644 --- a/tsconfig.typedoc.json +++ b/tsconfig.typedoc.json @@ -14,7 +14,6 @@ ], "@ckeditor/*": [ "packages/*", - "external/ckeditor5-internal/packages/*", "external/ckeditor5-commercial/packages/*" ], "@ckeditor/ckeditor-cloud-services-collaboration": [ @@ -27,7 +26,6 @@ }, "include": [ "./packages/*/src/**/*.ts", - "./external/ckeditor5-internal/packages/*/src/**/*.ts", "./external/ckeditor5-commercial/packages/*/src/**/*.ts", "./typings/" ],