@atlaskit/adf-schema 36.3.0 → 36.4.0

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-schema
2
2
 
3
+ ## 36.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fad062c: Bootstrap ADF DSL -> PM transformation
8
+
3
9
  ## 36.3.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "36.3.0",
3
+ "version": "36.4.0",
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/"
@@ -28,6 +28,7 @@
28
28
  "build:jsontypes": "mkdir -p dist/types/json-schema && cp src/json-schema/index.ts dist/types/json-schema/index.d.ts",
29
29
  "build:all": "yarn build:cjs && yarn build:esm && yarn build:es2019 && yarn build:types",
30
30
  "build": "yarn workspace @atlaskit/editor-prosemirror build && yarn run build:all && yarn run generate:json-schema && yarn run build:json-schema",
31
+ "build:full": "yarn ts-node ./schema-generators/full-schema.ts",
31
32
  "clean": "../../scripts/build-clean.sh",
32
33
  "link:afe": "yarn build:all && node ./copy-dist-to-afe.js"
33
34
  },
@@ -42,6 +43,7 @@
42
43
  },
43
44
  "devDependencies": {
44
45
  "@atlassian/adf-schema-json": "^1.14.0",
46
+ "@atlaskit/adf-schema-generator": "^1.4.0",
45
47
  "@babel/cli": "^7.22.9",
46
48
  "@babel/core": "^7.22.9",
47
49
  "@babel/plugin-proposal-class-properties": "^7.18.6",
@@ -68,6 +70,7 @@
68
70
  "rxjs": "^5.5.0",
69
71
  "styled-components": "^3.2.6",
70
72
  "ts-jest": "^29.1.1",
73
+ "ts-node": "^10.9.2",
71
74
  "typescript": "~4.9.5"
72
75
  }
73
76
  }
@@ -0,0 +1,7 @@
1
+ import { adfToPm } from '@atlaskit/adf-schema-generator';
2
+
3
+ function main() {
4
+ console.log(adfToPm);
5
+ }
6
+
7
+ main();