@alizarin/clm 2.0.0-beta.1 → 2.0.0-beta.3
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/dist/clm.js +6 -1
- package/package.json +14 -4
package/dist/clm.js
CHANGED
|
@@ -287,4 +287,9 @@ var ReferenceValueViewModel = class c extends String {
|
|
|
287
287
|
return f && f.multiValue ? ReferenceListViewModel.__create(e, l, u, d) : ReferenceValueViewModel.__create(e, l, u, d);
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
|
-
viewModels.CUSTOM_DATATYPES.set("reference", ReferenceMergedDataType), registerResolvableDatatype("reference")
|
|
290
|
+
viewModels.CUSTOM_DATATYPES.set("reference", ReferenceMergedDataType), registerResolvableDatatype("reference"), (async () => {
|
|
291
|
+
try {
|
|
292
|
+
let e = await import("@alizarin/napi"), c = await import("@alizarin/clm-napi");
|
|
293
|
+
e.registerExtensionHandler(c.referenceHandlerPtr());
|
|
294
|
+
} catch {}
|
|
295
|
+
})();
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alizarin/clm",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.3",
|
|
4
4
|
"description": "Alizarin display serializers for CLM reference datatypes",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/flaxandteal/alizarin",
|
|
9
|
-
"directory": "ext/
|
|
9
|
+
"directory": "ext/clm/js"
|
|
10
10
|
},
|
|
11
11
|
"author": "Phil Weir <phil.weir@flaxandteal.co.uk>",
|
|
12
12
|
"type": "module",
|
|
@@ -20,10 +20,20 @@
|
|
|
20
20
|
"dev": "vite",
|
|
21
21
|
"build": "vite build && tsc -p tsconfig.build.json",
|
|
22
22
|
"preview": "vite preview",
|
|
23
|
-
"test": "cd ../../.. && npm test -- ext/
|
|
23
|
+
"test": "cd ../../.. && npm test -- ext/clm/js/tests/clm.test.ts"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"alizarin": "2.0.0-beta.
|
|
26
|
+
"alizarin": "2.0.0-beta.3",
|
|
27
|
+
"@alizarin/napi": "2.0.0-beta.1",
|
|
28
|
+
"@alizarin/clm-napi": "2.0.0-beta.1"
|
|
29
|
+
},
|
|
30
|
+
"peerDependenciesMeta": {
|
|
31
|
+
"@alizarin/napi": {
|
|
32
|
+
"optional": true
|
|
33
|
+
},
|
|
34
|
+
"@alizarin/clm-napi": {
|
|
35
|
+
"optional": true
|
|
36
|
+
}
|
|
27
37
|
},
|
|
28
38
|
"devDependencies": {
|
|
29
39
|
"alizarin": "file:../../..",
|