@atlaskit/adf-schema 57.6.24 → 57.7.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,18 @@
|
|
|
1
1
|
# @atlaskit/adf-schema
|
|
2
2
|
|
|
3
|
+
## 57.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 57.7.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`3a77f9a4e4d20`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3a77f9a4e4d20) -
|
|
14
|
+
Include intended generated entrypoints in published packages
|
|
15
|
+
|
|
3
16
|
## 57.6.24
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-schema",
|
|
3
|
-
"version": "57.
|
|
3
|
+
"version": "57.7.1",
|
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -19,28 +19,28 @@
|
|
|
19
19
|
"atlaskit:src": "src/index.ts",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"clean:build": "rm -rf dist",
|
|
22
|
-
"ak-postbuild": "
|
|
23
|
-
"test": "
|
|
22
|
+
"ak-postbuild": "afm run build:move:json-schema",
|
|
23
|
+
"test": "afm run test:unit",
|
|
24
24
|
"test:unit": "afm workspace @atlaskit/editor-prosemirror build && jest --testPathPattern=packages/adf-schema/ --config=../../jest.config.js",
|
|
25
|
-
"test:json-schema": "
|
|
25
|
+
"test:json-schema": "jest --expand --testPathPattern=packages/adf-schema/schema-generators/__tests__/unit/json-full-schema.unit.ts --config=../../jest.config.js",
|
|
26
26
|
"build:cjs": "NODE_ENV=production BABEL_ENV=production:node-cjs babel --config-file ./babel.config.js src --out-dir dist/cjs -x .ts,.tsx",
|
|
27
27
|
"build:esm": "NODE_ENV=production BABEL_ENV=production:esm babel --config-file ./babel.config.js src -d dist/esm -x .ts,.tsx",
|
|
28
28
|
"build:es2019": "NODE_ENV=production BABEL_ENV=production:es2019 babel --config-file ./babel.config.js src -d dist/es2019 -x .ts,.tsx",
|
|
29
|
-
"build:types": "NODE_ENV=production
|
|
29
|
+
"build:types": "NODE_ENV=production tsc --project ./build/tsconfig.json --emitDeclarationOnly --outDir ./dist/types --rootDir ./src && afm run build:jsontypes",
|
|
30
30
|
"build:jsontypes": "mkdir -p dist/types/json-schema && cp src/json-schema/index.ts dist/types/json-schema/index.d.ts",
|
|
31
|
-
"build:all": "
|
|
32
|
-
"build": "
|
|
31
|
+
"build:all": "afm run build:cjs && afm run build:esm && afm run build:es2019 && afm run build:types",
|
|
32
|
+
"build": "afm run clean:build && afm workspace @atlaskit/editor-prosemirror build && afm workspace @atlaskit/adf-schema-generator build && afm run build:all && afm run build:schema:all",
|
|
33
33
|
"build:move:json-schema": "mkdir -p dist && cp -r json-schema dist",
|
|
34
34
|
"build:schema:pm": "run-ts ./schema-generators/pm-full-schema.ts && prettier --write --no-editorconfig './src/next-schema/generated/**/*.ts'",
|
|
35
35
|
"build:schema:json": "mkdir -p json-schema/v1/ && run-ts ./schema-generators/json-full-schema.ts && prettier --write --no-editorconfig './json-schema/v1/*.json' && afm run build:move:json-schema",
|
|
36
36
|
"build:schema:validator": "run-ts ./schema-generators/validator-full-schema.ts && prettier --write --no-editorconfig './src/validator-schema/generated/**/*.ts'",
|
|
37
|
-
"build:schema:all": "
|
|
37
|
+
"build:schema:all": "afm run build:schema:pm && afm run build:schema:json && afm run build:schema:validator"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@atlaskit/adf-schema-generator": "^4.0.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
43
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
43
|
+
"@atlaskit/tmp-editor-statsig": "^225.0.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"css-color-names": "0.0.4",
|
|
46
46
|
"linkify-it": "^5.0.2",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/adf-schema/src/schema/marks/index",
|
|
3
|
+
"main": "../../../../dist/cjs/schema/marks/index.js",
|
|
4
|
+
"module": "../../../../dist/esm/schema/marks/index.js",
|
|
5
|
+
"module:es2019": "../../../../dist/es2019/schema/marks/index.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../../../../dist/types/schema/marks/index.d.ts"
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/adf-schema/src/schema/nodes/index",
|
|
3
|
+
"main": "../../../../dist/cjs/schema/nodes/index.js",
|
|
4
|
+
"module": "../../../../dist/esm/schema/nodes/index.js",
|
|
5
|
+
"module:es2019": "../../../../dist/es2019/schema/nodes/index.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../../../../dist/types/schema/nodes/index.d.ts"
|
|
8
|
+
}
|