@atlaskit/adf-utils 19.0.13 → 19.0.15

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/adf-utils
2
2
 
3
+ ## 19.0.15
4
+
5
+ ### Patch Changes
6
+
7
+ - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147) [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) - Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
8
+
9
+ ## 19.0.14
10
+
11
+ ### Patch Changes
12
+
13
+ - [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763) [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) - update ADF schema
14
+
3
15
  ## 19.0.13
4
16
 
5
17
  ### Patch Changes
@@ -0,0 +1,25 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.confluence.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "composite": true,
7
+ "outDir": "../dist",
8
+ "rootDir": "../",
9
+ "baseUrl": "../"
10
+ },
11
+ "include": [
12
+ "../src/**/*.ts",
13
+ "../src/**/*.tsx"
14
+ ],
15
+ "exclude": [
16
+ "../src/**/__tests__/*",
17
+ "../src/**/*.test.*",
18
+ "../src/**/test.*"
19
+ ],
20
+ "references": [
21
+ {
22
+ "path": "../../../monorepo-tooling/codemod-utils/afm-cc/tsconfig.json"
23
+ }
24
+ ]
25
+ }
@@ -18,7 +18,7 @@ var _default = exports.default = {
18
18
  },
19
19
  type: {
20
20
  type: 'enum',
21
- values: ['link', 'file'],
21
+ values: ['link', 'file', 'image'],
22
22
  optional: true
23
23
  },
24
24
  id: {
@@ -49,7 +49,7 @@ var _default = exports.default = {
49
49
  },
50
50
  marks: {
51
51
  type: 'array',
52
- items: ['link'],
52
+ items: [['link', 'border']],
53
53
  optional: true
54
54
  }
55
55
  }
@@ -12,7 +12,7 @@ export default {
12
12
  },
13
13
  type: {
14
14
  type: 'enum',
15
- values: ['link', 'file'],
15
+ values: ['link', 'file', 'image'],
16
16
  optional: true
17
17
  },
18
18
  id: {
@@ -43,7 +43,7 @@ export default {
43
43
  },
44
44
  marks: {
45
45
  type: 'array',
46
- items: ['link'],
46
+ items: [['link', 'border']],
47
47
  optional: true
48
48
  }
49
49
  }
@@ -12,7 +12,7 @@ export default {
12
12
  },
13
13
  type: {
14
14
  type: 'enum',
15
- values: ['link', 'file'],
15
+ values: ['link', 'file', 'image'],
16
16
  optional: true
17
17
  },
18
18
  id: {
@@ -43,7 +43,7 @@ export default {
43
43
  },
44
44
  marks: {
45
45
  type: 'array',
46
- items: ['link'],
46
+ items: [['link', 'border']],
47
47
  optional: true
48
48
  }
49
49
  }
@@ -43,7 +43,7 @@ declare const _default: {
43
43
  };
44
44
  marks: {
45
45
  type: string;
46
- items: string[];
46
+ items: string[][];
47
47
  optional: boolean;
48
48
  };
49
49
  };
@@ -43,7 +43,7 @@ declare const _default: {
43
43
  };
44
44
  marks: {
45
45
  type: string;
46
- items: string[];
46
+ items: string[][];
47
47
  optional: boolean;
48
48
  };
49
49
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "19.0.13",
3
+ "version": "19.0.15",
4
4
  "description": "Set of utilities to traverse, modify and create ADF documents.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "generate:spec": "rm -rf ./src/validator/specs/ && yarn json-schema-generator --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@atlaskit/adf-schema": "^34.0.1",
44
+ "@atlaskit/adf-schema": "^35.0.0",
45
45
  "@atlaskit/codemod-utils": "^4.2.0",
46
46
  "@babel/runtime": "^7.0.0"
47
47
  },