@atlaskit/editor-plugins 12.0.38 → 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
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugins
2
2
 
3
+ ## 12.0.40
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 12.0.39
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 12.0.38
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugins",
3
- "version": "12.0.38",
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",
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/editor-plugin-batch-attribute-updates": "7.0.0",
40
40
  "@atlaskit/editor-plugin-before-primary-toolbar": "7.0.2",
41
41
  "@atlaskit/editor-plugin-better-type-history": "7.0.0",
42
- "@atlaskit/editor-plugin-block-controls": "8.3.4",
42
+ "@atlaskit/editor-plugin-block-controls": "8.4.0",
43
43
  "@atlaskit/editor-plugin-block-menu": "6.0.42",
44
44
  "@atlaskit/editor-plugin-block-type": "11.2.15",
45
45
  "@atlaskit/editor-plugin-border": "7.0.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.0",
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",
@@ -94,7 +94,7 @@
94
94
  "@atlaskit/editor-plugin-media": "9.4.17",
95
95
  "@atlaskit/editor-plugin-media-editing": "1.4.3",
96
96
  "@atlaskit/editor-plugin-media-insert": "18.0.1",
97
- "@atlaskit/editor-plugin-mentions": "9.2.4",
97
+ "@atlaskit/editor-plugin-mentions": "9.2.5",
98
98
  "@atlaskit/editor-plugin-metrics": "8.0.9",
99
99
  "@atlaskit/editor-plugin-ncs-step-metrics": "6.0.0",
100
100
  "@atlaskit/editor-plugin-panel": "9.0.17",
@@ -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.17",
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['af:exports'] ?? packageJson['exports'];
38
+ const exportsValue = packageJson['exports'];
39
39
  if (!exportsValue) {
40
- throw new Error(`Could not find af:exports or exports in package.json at ${packageJsonPath}`);
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),