@atlaskit/adf-utils 19.0.19 → 19.0.20

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,11 @@
1
1
  # @atlaskit/adf-utils
2
2
 
3
+ ## 19.0.20
4
+
5
+ ### Patch Changes
6
+
7
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152) [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) - Updating adf-schema version to 35.5.1
8
+
3
9
  ## 19.0.19
4
10
 
5
11
  ### Patch Changes
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _default = exports.default = {
8
8
  type: 'array',
9
- items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'heading_with_no_marks', 'mediaGroup']],
9
+ items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote']],
10
10
  minItems: 1,
11
11
  allowUnsupportedBlock: true
12
12
  };
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  type: 'array',
3
- items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'heading_with_no_marks', 'mediaGroup']],
3
+ items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote']],
4
4
  minItems: 1,
5
5
  allowUnsupportedBlock: true
6
6
  };
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  type: 'array',
3
- items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'heading_with_no_marks', 'mediaGroup']],
3
+ items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote']],
4
4
  minItems: 1,
5
5
  allowUnsupportedBlock: true
6
6
  };
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "19.0.19",
3
+ "version": "19.0.20",
4
4
  "description": "Set of utilities to traverse, modify and create ADF documents.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
7
7
  },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
9
  "author": "Atlassian Pty Ltd",
10
10
  "license": "Apache-2.0",
11
11
  "main": "dist/cjs/index.js",
@@ -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": "^35.3.0",
44
+ "@atlaskit/adf-schema": "^35.5.1",
45
45
  "@atlaskit/codemod-utils": "^4.2.0",
46
46
  "@babel/runtime": "^7.0.0"
47
47
  },
package/tsconfig.json CHANGED
@@ -1,7 +1,39 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.json",
3
3
  "compilerOptions": {
4
- "baseUrl": "./"
4
+ "baseUrl": "./",
5
+ "paths": {
6
+ "@atlaskit/codemod-utils": [
7
+ "../../monorepo-tooling/codemod-utils/src/index.ts"
8
+ ],
9
+ "@atlaskit/adf-utils/builders": [
10
+ "src/builders.ts"
11
+ ],
12
+ "@atlaskit/adf-utils/empty-adf": [
13
+ "src/empty-adf.ts"
14
+ ],
15
+ "@atlaskit/adf-utils/scrub": [
16
+ "src/scrub.ts"
17
+ ],
18
+ "@atlaskit/adf-utils/transforms": [
19
+ "src/transforms.ts"
20
+ ],
21
+ "@atlaskit/adf-utils/traverse": [
22
+ "src/traverse.ts"
23
+ ],
24
+ "@atlaskit/adf-utils/validator": [
25
+ "src/validator.ts"
26
+ ],
27
+ "@atlaskit/adf-utils/types": [
28
+ "src/types/index.ts"
29
+ ],
30
+ "@atlaskit/adf-utils/validatorTypes": [
31
+ "src/types/validatorTypes.ts"
32
+ ],
33
+ "@atlaskit/adf-utils": [
34
+ "./src"
35
+ ]
36
+ }
5
37
  },
6
38
  "include": [
7
39
  "./src/**/*.ts",
@@ -12,4 +44,4 @@
12
44
  "./examples/**/*.tsx",
13
45
  "codemods"
14
46
  ]
15
- }
47
+ }