@atlaskit/embedded-document 0.11.20 → 1.0.1

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,51 @@
1
1
  # @atlaskit/embedded-document
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [#181024](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/181024)
14
+ [`8e80c487ca307`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8e80c487ca307) - ##
15
+ Make `@atlaskit/editor-common` a peer dependency
16
+
17
+ **WHAT:** `@atlaskit/editor-common` has been moved from `dependencies` to `peerDependencies` in
18
+ all editor plugin packages.
19
+
20
+ **WHY:** This change ensures that only a single version of `@atlaskit/editor-common` is used in
21
+ consuming applications, preventing issues caused by multiple versions of singleton libraries (such
22
+ as context mismatches or duplicated state). This is especially important for packages that rely on
23
+ shared context or singletons.
24
+
25
+ **HOW TO ADJUST:**
26
+
27
+ - Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
28
+ any of these editor plugins.
29
+ - Ensure the version you install matches the version required by the plugins.
30
+ - You can use the
31
+ [`check-peer-dependencies`](https://www.npmjs.com/package/check-peer-dependencies) package to
32
+ verify that all required peer dependencies are installed and compatible.
33
+ - Example install command:
34
+ ```
35
+ npm install @atlaskit/editor-common
36
+ ```
37
+ or
38
+ ```
39
+ yarn add @atlaskit/editor-common
40
+ ```
41
+
42
+ **Note:** This is a breaking change. If `@atlaskit/editor-common` is not installed at the
43
+ application level, you may see errors or unexpected behavior.
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies
48
+
3
49
  ## 0.11.20
4
50
 
5
51
  ### Patch Changes
@@ -12,6 +12,12 @@
12
12
  "exclude": [
13
13
  "../src/**/__tests__/*",
14
14
  "../src/**/*.test.*",
15
- "../src/**/test.*"
15
+ "../src/**/test.*",
16
+ "../src/**/examples.*",
17
+ "../src/**/examples/*",
18
+ "../src/**/examples/**/*",
19
+ "../src/**/*.stories.*",
20
+ "../src/**/stories/*",
21
+ "../src/**/stories/**/*"
16
22
  ]
17
- }
23
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/embedded-document",
3
- "version": "0.11.20",
3
+ "version": "1.0.1",
4
4
  "description": "DEPRECATED Embedded Document component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,20 +30,19 @@
30
30
  "website": {
31
31
  "name": "embedded-document",
32
32
  "deprecated": "This package is no longer being used and will not be actively maintained"
33
- },
34
- "runReact18": true
33
+ }
35
34
  },
36
35
  "dependencies": {
37
- "@atlaskit/button": "^23.2.0",
38
- "@atlaskit/editor-common": "^107.0.0",
39
- "@atlaskit/editor-core": "^208.0.0",
40
- "@atlaskit/editor-shared-styles": "^3.4.0",
41
- "@atlaskit/renderer": "^119.0.0",
42
- "@atlaskit/tokens": "^5.2.0",
36
+ "@atlaskit/button": "^23.3.0",
37
+ "@atlaskit/editor-core": "^209.5.0",
38
+ "@atlaskit/editor-shared-styles": "^3.5.0",
39
+ "@atlaskit/renderer": "^120.3.0",
40
+ "@atlaskit/tokens": "^6.0.0",
43
41
  "@atlaskit/util-service-support": "^6.3.0",
44
42
  "@babel/runtime": "^7.0.0"
45
43
  },
46
44
  "peerDependencies": {
45
+ "@atlaskit/editor-common": "^107.16.0",
47
46
  "react": "^18.2.0",
48
47
  "styled-components": "^3.2.6"
49
48
  },
package/tsconfig.json CHANGED
@@ -1,13 +1,18 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.json",
3
- "compilerOptions": {
4
- },
3
+ "compilerOptions": {},
5
4
  "include": [
6
5
  "./src/**/*.ts",
7
6
  "./src/**/*.tsx",
8
7
  "./docs/**/*.ts",
9
8
  "./docs/**/*.tsx",
10
9
  "./examples/**/*.ts",
11
- "./examples/**/*.tsx"
10
+ "./examples/**/*.tsx",
11
+ "**/stories.ts",
12
+ "**/stories.tsx",
13
+ "**/stories/*.ts",
14
+ "**/stories/*.tsx",
15
+ "**/stories/**/*.ts",
16
+ "**/stories/**/*.tsx"
12
17
  ]
13
- }
18
+ }