@digicatapult/dtdl-parser 0.0.10 → 0.0.12

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/README.md CHANGED
@@ -21,8 +21,7 @@ Build javascript files
21
21
  Basic usage
22
22
 
23
23
  ```javascript
24
- import { parseDirectories, validateDirectories} from "dtdl-parser"
25
- import { getInterop } from 'dtdl-parser/src/interop'
24
+ import { parseDirectories, validateDirectories, getInterop } from "dtdl-parser"
26
25
 
27
26
  const parser = await getInterop()
28
27
  parseDirectories('../dtdl/simple', parser)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "mainAssemblyName": "DTDLParserJSInterop.dll",
3
3
  "resources": {
4
- "hash": "sha256-TCb+gdR4wD9I5Ho3Cfz2AEySad5W57YKQQn3y82dkU4=",
4
+ "hash": "sha256-KIzvqXpYlOr6Oka+P5gCQyjyn1lnfpDAFy0H/1F1ChE=",
5
5
  "jsModuleNative": {
6
6
  "dotnet.native.js": "sha256-79LdZogK41buIci0KtOWmQvQc2swMI3jvDQCoN23NBM="
7
7
  },
@@ -181,10 +181,10 @@
181
181
  "mscorlib.wasm": "sha256-KvqZaNpjwhrOuzE4b4aMFsI+VUTyiWfoDI4zn4l9BM8=",
182
182
  "netstandard.wasm": "sha256-v+s7sWxtOM6bnOvC0jFrtnm6uMfbDymwl2nHNgbS2LM=",
183
183
  "System.Private.CoreLib.wasm": "sha256-pklll63uFQoY6vaD3vbluS9osYiJWLLLmob1yHFgepI=",
184
- "DTDLParserJSInterop.wasm": "sha256-s2HRbKevr+9HNtqfgQqcb4wtap0lhibEu+mEHv+gpPo="
184
+ "DTDLParserJSInterop.wasm": "sha256-OppuzjjH2LJ0wr4EDY3v5q/r8pxEDTsSwIKPjZvuPRQ="
185
185
  },
186
186
  "pdb": {
187
- "DTDLParserJSInterop.pdb": "sha256-/RowHo8egn7n/kS6BPLbcWjE/cssFY5Yzy1B40xBELE="
187
+ "DTDLParserJSInterop.pdb": "sha256-631DTL43213F1Sj5TzWIpy86sqyY1GtQ3Wn3CezF9lQ="
188
188
  },
189
189
  "vfs": {
190
190
  "runtimeconfig.bin": {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@digicatapult/dtdl-parser",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "JS tool to parse DTDL defined Ontologies",
5
5
  "main": "build/src/index.js",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "test": "NODE_ENV=test ./node_modules/.bin/mocha --config ./test/mocharc.json ./src/**/*.test.ts",
9
- "build": "swc ./src ./package.json -d build --copy-files && npm run interop:build",
9
+ "build": "swc ./src ./package.json -d ./build --copy-files && npm run interop:build",
10
10
  "interop:debug": "dotnet build interop",
11
11
  "interop:build": "dotnet build interop --configuration Release",
12
12
  "clean": "rimraf -rf ./build",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@digicatapult/dtdl-parser",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "JS tool to parse DTDL defined Ontologies",
5
5
  "main": "build/src/index.js",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "test": "NODE_ENV=test ./node_modules/.bin/mocha --config ./test/mocharc.json ./src/**/*.test.ts",
9
- "build": "swc ./src ./package.json -d build --copy-files && npm run interop:build",
9
+ "build": "swc ./src ./package.json -d ./build --copy-files && npm run interop:build",
10
10
  "interop:debug": "dotnet build interop",
11
11
  "interop:build": "dotnet build interop --configuration Release",
12
12
  "clean": "rimraf -rf ./build",