@semiont/ontology 0.5.3 → 0.5.5
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/index.d.ts +2 -1
- package/package.json +6 -4
package/dist/index.d.ts
CHANGED
|
@@ -85,4 +85,5 @@ declare function getTagCategory(annotation: Annotation): string | undefined;
|
|
|
85
85
|
*/
|
|
86
86
|
declare function getTagSchemaId(annotation: Annotation): string | undefined;
|
|
87
87
|
|
|
88
|
-
export { DEFAULT_ENTITY_TYPES,
|
|
88
|
+
export { DEFAULT_ENTITY_TYPES, getEntityTypes, getTagCategory, getTagSchemaId };
|
|
89
|
+
export type { TagCollection, TagCollectionOperations };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semiont/ontology",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Entity types, tag schemas, and W3C annotation vocabularies",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"README.md"
|
|
17
17
|
],
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "npm run typecheck && tsup",
|
|
19
|
+
"build": "npm run typecheck && tsup && tsc -p tsconfig.build.json && rollup -c rollup.dts.config.mjs && rm -rf dist-types",
|
|
20
20
|
"typecheck": "tsc --noEmit",
|
|
21
|
-
"clean": "rm -rf dist",
|
|
21
|
+
"clean": "rm -rf dist dist-types",
|
|
22
22
|
"test": "vitest run",
|
|
23
23
|
"test:watch": "vitest",
|
|
24
24
|
"test:coverage": "vitest run --coverage"
|
|
@@ -26,8 +26,10 @@
|
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@vitest/coverage-v8": "^4.1.0",
|
|
29
|
+
"rollup": "^4.60.3",
|
|
30
|
+
"rollup-plugin-dts": "^6.4.1",
|
|
29
31
|
"tsup": "^8.0.1",
|
|
30
|
-
"typescript": "^
|
|
32
|
+
"typescript": "^6.0.2"
|
|
31
33
|
},
|
|
32
34
|
"publishConfig": {
|
|
33
35
|
"access": "public"
|