@atlaskit/editor-plugins 8.5.26 → 8.5.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +3 -3
- package/scripts/update-editor-plugins.ts +12 -4
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugins",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.27",
|
|
4
4
|
"description": "A convenience facade package that exposes all @atlaskit/editor-plugin-* plugins so that users can add this package without having to manually add all their plugins",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -209,11 +209,11 @@
|
|
|
209
209
|
"@atlaskit/editor-plugin-selection-toolbar": "3.6.5",
|
|
210
210
|
"@atlaskit/editor-plugin-status": "3.1.17",
|
|
211
211
|
"@atlaskit/editor-plugin-submit-editor": "2.0.5",
|
|
212
|
-
"@atlaskit/editor-plugin-table": "10.10.
|
|
212
|
+
"@atlaskit/editor-plugin-table": "10.10.6",
|
|
213
213
|
"@atlaskit/editor-plugin-tasks-and-decisions": "5.1.8",
|
|
214
214
|
"@atlaskit/editor-plugin-text-color": "2.3.4",
|
|
215
215
|
"@atlaskit/editor-plugin-text-formatting": "2.2.8",
|
|
216
|
-
"@atlaskit/editor-plugin-toolbar-lists-indentation": "3.2.
|
|
216
|
+
"@atlaskit/editor-plugin-toolbar-lists-indentation": "3.2.6",
|
|
217
217
|
"@atlaskit/editor-plugin-type-ahead": "2.7.6",
|
|
218
218
|
"@atlaskit/editor-plugin-ufo": "2.0.6",
|
|
219
219
|
"@atlaskit/editor-plugin-undo-redo": "2.0.15",
|
|
@@ -221,6 +221,16 @@ function removeNonEditorPluginDeps(currentDeps: Record<string, string>): Record<
|
|
|
221
221
|
return filteredDeps;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
function mapToWorkspaceVersions(workspaceDeps: Record<string, string>): Record<string, string> {
|
|
225
|
+
const updatedDeps: Record<string, string> = {};
|
|
226
|
+
|
|
227
|
+
Object.keys(workspaceDeps).forEach((key) => {
|
|
228
|
+
updatedDeps[key] = 'workspace:*'; // Use workspace version for editor plugins
|
|
229
|
+
});
|
|
230
|
+
|
|
231
|
+
return updatedDeps;
|
|
232
|
+
}
|
|
233
|
+
|
|
224
234
|
// Function to remove Atlaskit editor plugin dependencies
|
|
225
235
|
function removeEditorPluginDeps(currentDeps: Record<string, string>): Record<string, string> {
|
|
226
236
|
const filteredDeps: Record<string, string> = {};
|
|
@@ -436,10 +446,8 @@ async function run() {
|
|
|
436
446
|
}
|
|
437
447
|
|
|
438
448
|
const currentEditorPluginDeps = removeNonEditorPluginDeps(currentDeps);
|
|
439
|
-
const newEditorPluginsDepsWithOldVersions =
|
|
440
|
-
currentEditorPluginDeps,
|
|
441
|
-
newEditorPluginsDeps,
|
|
442
|
-
argv['force-versions'],
|
|
449
|
+
const newEditorPluginsDepsWithOldVersions = mapToWorkspaceVersions(
|
|
450
|
+
preferOlderVersions(currentEditorPluginDeps, newEditorPluginsDeps, argv['force-versions']),
|
|
443
451
|
);
|
|
444
452
|
const diff = generateDependenciesDiff(
|
|
445
453
|
currentEditorPluginDeps,
|