@atlaskit/editor-plugins 12.0.39 → 12.0.40
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
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugins",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.40",
|
|
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",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@atlaskit/editor-plugin-emoji": "8.1.14",
|
|
69
69
|
"@atlaskit/editor-plugin-engagement-platform": "8.0.0",
|
|
70
70
|
"@atlaskit/editor-plugin-expand": "8.2.10",
|
|
71
|
-
"@atlaskit/editor-plugin-extension": "10.1.
|
|
71
|
+
"@atlaskit/editor-plugin-extension": "10.1.1",
|
|
72
72
|
"@atlaskit/editor-plugin-feature-flags": "6.0.0",
|
|
73
73
|
"@atlaskit/editor-plugin-feedback-dialog": "7.0.0",
|
|
74
74
|
"@atlaskit/editor-plugin-find-replace": "7.0.15",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"@atlaskit/editor-plugin-status": "8.1.14",
|
|
116
116
|
"@atlaskit/editor-plugin-submit-editor": "7.0.0",
|
|
117
117
|
"@atlaskit/editor-plugin-synced-block": "5.3.21",
|
|
118
|
-
"@atlaskit/editor-plugin-table": "17.3.
|
|
118
|
+
"@atlaskit/editor-plugin-table": "17.3.18",
|
|
119
119
|
"@atlaskit/editor-plugin-tasks-and-decisions": "10.1.16",
|
|
120
120
|
"@atlaskit/editor-plugin-text-color": "7.2.18",
|
|
121
121
|
"@atlaskit/editor-plugin-text-formatting": "7.2.16",
|
|
@@ -35,9 +35,9 @@ function getExports(folderPath: string) {
|
|
|
35
35
|
const packageJsonPath = path.join(folderPath, 'package.json');
|
|
36
36
|
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
|
|
37
37
|
|
|
38
|
-
const exportsValue = packageJson['
|
|
38
|
+
const exportsValue = packageJson['exports'];
|
|
39
39
|
if (!exportsValue) {
|
|
40
|
-
throw new Error(`Could not find
|
|
40
|
+
throw new Error(`Could not find exports in package.json at ${packageJsonPath}`);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
const folderName = path.basename(folderPath);
|
|
@@ -482,10 +482,6 @@ async function run() {
|
|
|
482
482
|
exports: orderObjectByDepthAndRoot(newEditorPluginsExports),
|
|
483
483
|
dependencies: sortObjectKeys(updatedDeps),
|
|
484
484
|
'platform-feature-flags': featureFlags,
|
|
485
|
-
// only update the 'af:exports' property if it already exists in the package
|
|
486
|
-
...(editorPluginsPackageJson['af:exports'] && {
|
|
487
|
-
'af:exports': orderObjectByDepthAndRoot(newEditorPluginsExports),
|
|
488
|
-
}),
|
|
489
485
|
// only update the 'exports' property if it already exists in the package
|
|
490
486
|
...(editorPluginsPackageJson.exports && {
|
|
491
487
|
exports: orderObjectByDepthAndRoot(newEditorPluginsExports),
|