@atlaskit/adf-utils 19.0.20 → 19.0.22
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 +12 -0
- package/afm-cc/tsconfig.json +3 -0
- package/dist/cjs/validator/custom-specs/inline-card-with-annotation.js +35 -0
- package/dist/cjs/validator/specs/extensionFrame.js +5 -0
- package/dist/cjs/validator/specs/inlineCard.js +1 -0
- package/dist/cjs/validator/validator.js +9 -2
- package/dist/es2019/validator/custom-specs/inline-card-with-annotation.js +29 -0
- package/dist/es2019/validator/specs/extensionFrame.js +5 -0
- package/dist/es2019/validator/specs/inlineCard.js +1 -0
- package/dist/es2019/validator/validator.js +7 -0
- package/dist/esm/validator/custom-specs/inline-card-with-annotation.js +29 -0
- package/dist/esm/validator/specs/extensionFrame.js +5 -0
- package/dist/esm/validator/specs/inlineCard.js +1 -0
- package/dist/esm/validator/validator.js +7 -0
- package/dist/types/types/validatorTypes.d.ts +1 -1
- package/dist/types/validator/custom-specs/inline-card-with-annotation.d.ts +30 -0
- package/dist/types/validator/specs/extensionFrame.d.ts +5 -0
- package/dist/types/validator/validator.d.ts +1 -1
- package/dist/types-ts4.5/types/validatorTypes.d.ts +1 -1
- package/dist/types-ts4.5/validator/custom-specs/inline-card-with-annotation.d.ts +30 -0
- package/dist/types-ts4.5/validator/specs/extensionFrame.d.ts +5 -0
- package/dist/types-ts4.5/validator/validator.d.ts +1 -1
- package/package.json +10 -3
- package/tsconfig.json +1 -33
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/adf-utils
|
|
2
2
|
|
|
3
|
+
## 19.0.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#79538](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79538) [`d4d91668d3ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d4d91668d3ac) - ED-22501 Update validator specs for inline-card based on feature flag
|
|
8
|
+
|
|
9
|
+
## 19.0.21
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224) [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) - ED-22219: adf-schema updated to 35.5.2
|
|
14
|
+
|
|
3
15
|
## 19.0.20
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.inlineCardWithAnnotation = void 0;
|
|
7
|
+
// This is a custom spec we're using for inline card till the inline comments feature is fully rolled out.
|
|
8
|
+
var inlineCardWithAnnotation = exports.inlineCardWithAnnotation = {
|
|
9
|
+
props: {
|
|
10
|
+
type: {
|
|
11
|
+
type: 'enum',
|
|
12
|
+
values: ['inlineCard']
|
|
13
|
+
},
|
|
14
|
+
attrs: [{
|
|
15
|
+
props: {
|
|
16
|
+
url: {
|
|
17
|
+
type: 'string',
|
|
18
|
+
validatorFn: 'safeUrl'
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}, {
|
|
22
|
+
props: {
|
|
23
|
+
data: {
|
|
24
|
+
type: 'object'
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}],
|
|
28
|
+
marks: {
|
|
29
|
+
type: 'array',
|
|
30
|
+
items: ['annotation'],
|
|
31
|
+
optional: true
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
required: ['attrs']
|
|
35
|
+
};
|
|
@@ -14,6 +14,11 @@ var _default = exports.default = {
|
|
|
14
14
|
type: 'array',
|
|
15
15
|
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
|
|
16
16
|
minItems: 1
|
|
17
|
+
},
|
|
18
|
+
marks: {
|
|
19
|
+
type: 'array',
|
|
20
|
+
items: [['dataConsumer', 'fragment']],
|
|
21
|
+
optional: true
|
|
17
22
|
}
|
|
18
23
|
}
|
|
19
24
|
};
|
|
@@ -10,14 +10,17 @@ exports.validator = validator;
|
|
|
10
10
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
11
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
12
12
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
14
|
var specs = _interopRequireWildcard(require("./specs"));
|
|
15
|
+
var _inlineCardWithAnnotation = require("./custom-specs/inline-card-with-annotation");
|
|
14
16
|
var _utils = require("./utils");
|
|
15
17
|
var _rules = require("./rules");
|
|
16
18
|
var _excluded = ["items"];
|
|
17
|
-
function _getRequireWildcardCache(
|
|
18
|
-
function _interopRequireWildcard(
|
|
19
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
21
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
20
22
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23
|
+
var INLINE_NODES_SUPPORTING_COMMENTS = ['inlineCard'];
|
|
21
24
|
function mapMarksItems(spec) {
|
|
22
25
|
var fn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function (x) {
|
|
23
26
|
return x;
|
|
@@ -54,8 +57,12 @@ var partitionObject = function partitionObject(obj, predicate) {
|
|
|
54
57
|
* We denormalised the spec to save bundle size.
|
|
55
58
|
*/
|
|
56
59
|
function createSpec(nodes, marks) {
|
|
60
|
+
var allowCommentsOnInlineNodes = !!(0, _platformFeatureFlags.getBooleanFF)('platform.editor.allow-inline-comments-for-inline-nodes');
|
|
57
61
|
return Object.keys(specs).reduce(function (newSpecs, k) {
|
|
58
62
|
var spec = _objectSpread({}, specs[k]);
|
|
63
|
+
if (INLINE_NODES_SUPPORTING_COMMENTS.includes(k) && allowCommentsOnInlineNodes) {
|
|
64
|
+
spec.props = _inlineCardWithAnnotation.inlineCardWithAnnotation.props;
|
|
65
|
+
}
|
|
59
66
|
if (spec.props) {
|
|
60
67
|
spec.props = _objectSpread({}, spec.props);
|
|
61
68
|
if (spec.props.content) {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This is a custom spec we're using for inline card till the inline comments feature is fully rolled out.
|
|
2
|
+
export const inlineCardWithAnnotation = {
|
|
3
|
+
props: {
|
|
4
|
+
type: {
|
|
5
|
+
type: 'enum',
|
|
6
|
+
values: ['inlineCard']
|
|
7
|
+
},
|
|
8
|
+
attrs: [{
|
|
9
|
+
props: {
|
|
10
|
+
url: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
validatorFn: 'safeUrl'
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
props: {
|
|
17
|
+
data: {
|
|
18
|
+
type: 'object'
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}],
|
|
22
|
+
marks: {
|
|
23
|
+
type: 'array',
|
|
24
|
+
items: ['annotation'],
|
|
25
|
+
optional: true
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
required: ['attrs']
|
|
29
|
+
};
|
|
@@ -8,6 +8,11 @@ export default {
|
|
|
8
8
|
type: 'array',
|
|
9
9
|
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
|
|
10
10
|
minItems: 1
|
|
11
|
+
},
|
|
12
|
+
marks: {
|
|
13
|
+
type: 'array',
|
|
14
|
+
items: [['dataConsumer', 'fragment']],
|
|
15
|
+
optional: true
|
|
11
16
|
}
|
|
12
17
|
}
|
|
13
18
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
1
2
|
import * as specs from './specs';
|
|
3
|
+
import { inlineCardWithAnnotation } from './custom-specs/inline-card-with-annotation';
|
|
2
4
|
import { copy, isBoolean, isDefined, isInteger, isNumber, isPlainObject, isString, makeArray } from './utils';
|
|
3
5
|
import { validatorFnMap } from './rules';
|
|
6
|
+
const INLINE_NODES_SUPPORTING_COMMENTS = ['inlineCard'];
|
|
4
7
|
function mapMarksItems(spec, fn = x => x) {
|
|
5
8
|
if (spec.props && spec.props.marks) {
|
|
6
9
|
const {
|
|
@@ -36,10 +39,14 @@ const partitionObject = (obj, predicate) => Object.keys(obj).reduce((acc, key) =
|
|
|
36
39
|
* We denormalised the spec to save bundle size.
|
|
37
40
|
*/
|
|
38
41
|
function createSpec(nodes, marks) {
|
|
42
|
+
const allowCommentsOnInlineNodes = !!getBooleanFF('platform.editor.allow-inline-comments-for-inline-nodes');
|
|
39
43
|
return Object.keys(specs).reduce((newSpecs, k) => {
|
|
40
44
|
const spec = {
|
|
41
45
|
...specs[k]
|
|
42
46
|
};
|
|
47
|
+
if (INLINE_NODES_SUPPORTING_COMMENTS.includes(k) && allowCommentsOnInlineNodes) {
|
|
48
|
+
spec.props = inlineCardWithAnnotation.props;
|
|
49
|
+
}
|
|
43
50
|
if (spec.props) {
|
|
44
51
|
spec.props = {
|
|
45
52
|
...spec.props
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// This is a custom spec we're using for inline card till the inline comments feature is fully rolled out.
|
|
2
|
+
export var inlineCardWithAnnotation = {
|
|
3
|
+
props: {
|
|
4
|
+
type: {
|
|
5
|
+
type: 'enum',
|
|
6
|
+
values: ['inlineCard']
|
|
7
|
+
},
|
|
8
|
+
attrs: [{
|
|
9
|
+
props: {
|
|
10
|
+
url: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
validatorFn: 'safeUrl'
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
props: {
|
|
17
|
+
data: {
|
|
18
|
+
type: 'object'
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}],
|
|
22
|
+
marks: {
|
|
23
|
+
type: 'array',
|
|
24
|
+
items: ['annotation'],
|
|
25
|
+
optional: true
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
required: ['attrs']
|
|
29
|
+
};
|
|
@@ -8,6 +8,11 @@ export default {
|
|
|
8
8
|
type: 'array',
|
|
9
9
|
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
|
|
10
10
|
minItems: 1
|
|
11
|
+
},
|
|
12
|
+
marks: {
|
|
13
|
+
type: 'array',
|
|
14
|
+
items: [['dataConsumer', 'fragment']],
|
|
15
|
+
optional: true
|
|
11
16
|
}
|
|
12
17
|
}
|
|
13
18
|
};
|
|
@@ -4,9 +4,12 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
4
4
|
var _excluded = ["items"];
|
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
|
+
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
7
8
|
import * as specs from './specs';
|
|
9
|
+
import { inlineCardWithAnnotation } from './custom-specs/inline-card-with-annotation';
|
|
8
10
|
import { copy, isBoolean, isDefined, isInteger, isNumber, isPlainObject, isString, makeArray } from './utils';
|
|
9
11
|
import { validatorFnMap } from './rules';
|
|
12
|
+
var INLINE_NODES_SUPPORTING_COMMENTS = ['inlineCard'];
|
|
10
13
|
function mapMarksItems(spec) {
|
|
11
14
|
var fn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function (x) {
|
|
12
15
|
return x;
|
|
@@ -43,8 +46,12 @@ var partitionObject = function partitionObject(obj, predicate) {
|
|
|
43
46
|
* We denormalised the spec to save bundle size.
|
|
44
47
|
*/
|
|
45
48
|
function createSpec(nodes, marks) {
|
|
49
|
+
var allowCommentsOnInlineNodes = !!getBooleanFF('platform.editor.allow-inline-comments-for-inline-nodes');
|
|
46
50
|
return Object.keys(specs).reduce(function (newSpecs, k) {
|
|
47
51
|
var spec = _objectSpread({}, specs[k]);
|
|
52
|
+
if (INLINE_NODES_SUPPORTING_COMMENTS.includes(k) && allowCommentsOnInlineNodes) {
|
|
53
|
+
spec.props = inlineCardWithAnnotation.props;
|
|
54
|
+
}
|
|
48
55
|
if (spec.props) {
|
|
49
56
|
spec.props = _objectSpread({}, spec.props);
|
|
50
57
|
if (spec.props.content) {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const inlineCardWithAnnotation: {
|
|
2
|
+
props: {
|
|
3
|
+
type: {
|
|
4
|
+
type: string;
|
|
5
|
+
values: string[];
|
|
6
|
+
};
|
|
7
|
+
attrs: ({
|
|
8
|
+
props: {
|
|
9
|
+
url: {
|
|
10
|
+
type: string;
|
|
11
|
+
validatorFn: string;
|
|
12
|
+
};
|
|
13
|
+
data?: undefined;
|
|
14
|
+
};
|
|
15
|
+
} | {
|
|
16
|
+
props: {
|
|
17
|
+
data: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
url?: undefined;
|
|
21
|
+
};
|
|
22
|
+
})[];
|
|
23
|
+
marks: {
|
|
24
|
+
type: string;
|
|
25
|
+
items: string[];
|
|
26
|
+
optional: boolean;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
required: string[];
|
|
30
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AttributesSpec, ValidationOptions, Validate } from '../types/validatorTypes';
|
|
1
|
+
import type { AttributesSpec, ValidationOptions, Validate } from '../types/validatorTypes';
|
|
2
2
|
export declare function validateAttrs<T>(spec: AttributesSpec, value: T): boolean;
|
|
3
3
|
export declare function validator(nodes?: Array<string>, marks?: Array<string>, options?: ValidationOptions): Validate;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const inlineCardWithAnnotation: {
|
|
2
|
+
props: {
|
|
3
|
+
type: {
|
|
4
|
+
type: string;
|
|
5
|
+
values: string[];
|
|
6
|
+
};
|
|
7
|
+
attrs: ({
|
|
8
|
+
props: {
|
|
9
|
+
url: {
|
|
10
|
+
type: string;
|
|
11
|
+
validatorFn: string;
|
|
12
|
+
};
|
|
13
|
+
data?: undefined;
|
|
14
|
+
};
|
|
15
|
+
} | {
|
|
16
|
+
props: {
|
|
17
|
+
data: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
url?: undefined;
|
|
21
|
+
};
|
|
22
|
+
})[];
|
|
23
|
+
marks: {
|
|
24
|
+
type: string;
|
|
25
|
+
items: string[];
|
|
26
|
+
optional: boolean;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
required: string[];
|
|
30
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { AttributesSpec, ValidationOptions, Validate } from '../types/validatorTypes';
|
|
1
|
+
import type { AttributesSpec, ValidationOptions, Validate } from '../types/validatorTypes';
|
|
2
2
|
export declare function validateAttrs<T>(spec: AttributesSpec, value: T): boolean;
|
|
3
3
|
export declare function validator(nodes?: Array<string>, marks?: Array<string>, options?: ValidationOptions): Validate;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-utils",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.22",
|
|
4
4
|
"description": "Set of utilities to traverse, modify and create ADF documents.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,13 +41,15 @@
|
|
|
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.5.
|
|
44
|
+
"@atlaskit/adf-schema": "^35.5.2",
|
|
45
45
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
46
|
+
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
46
47
|
"@babel/runtime": "^7.0.0"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@atlassian/adf-schema-json": "^1.0.7",
|
|
50
51
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
52
|
+
"@atlassian/feature-flags-test-utils": "*",
|
|
51
53
|
"jscodeshift": "^0.13.0",
|
|
52
54
|
"react": "^16.8.0",
|
|
53
55
|
"typescript": "~4.9.5",
|
|
@@ -66,5 +68,10 @@
|
|
|
66
68
|
]
|
|
67
69
|
}
|
|
68
70
|
},
|
|
69
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
71
|
+
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
|
|
72
|
+
"platform-feature-flags": {
|
|
73
|
+
"platform.editor.allow-inline-comments-for-inline-nodes": {
|
|
74
|
+
"type": "boolean"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
70
77
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,39 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extends": "../../../tsconfig.json",
|
|
3
3
|
"compilerOptions": {
|
|
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
|
-
}
|
|
4
|
+
"baseUrl": "./"
|
|
37
5
|
},
|
|
38
6
|
"include": [
|
|
39
7
|
"./src/**/*.ts",
|