diff --git a/.quixos-subtree-source.json b/.quixos-subtree-source.json index 39a6a3c..12072a8 100644 --- a/.quixos-subtree-source.json +++ b/.quixos-subtree-source.json @@ -1,7 +1,7 @@ { "version": 1, "sourceRepo": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git", - "sourceCommit": "7c91cadcce482cce86e16d724fc6678d6d783d88", + "sourceCommit": "9c51b9f412ef04d0f8b4a9f8f533956ef027b47f", "sourcePath": "quixos-instance/packages/camino-datatypes", "exportName": "camino-datatypes", "mirrorRemote": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/camino-datatypes.git" diff --git a/package.json b/package.json index 03b3b5b..6b01a01 100644 --- a/package.json +++ b/package.json @@ -4,22 +4,26 @@ "private": true, "packageManager": "yarn@4.14.1", "type": "module", + "files": [ + "dist/src" + ], "exports": { ".": { - "types": "./src/index.ts", - "default": "./src/index.ts" + "types": "./dist/src/index.d.ts", + "default": "./dist/src/index.js" }, "./field-semantics": { - "types": "./src/field-semantics.ts", - "default": "./src/field-semantics.ts" + "types": "./dist/src/field-semantics.d.ts", + "default": "./dist/src/field-semantics.js" }, "./crdt-automerge": { - "types": "./src/crdt-automerge.ts", - "default": "./src/crdt-automerge.ts" + "types": "./dist/src/crdt-automerge.d.ts", + "default": "./dist/src/crdt-automerge.js" } }, "scripts": { "build": "tsc -p tsconfig.build.json", + "prepare": "yarn build", "test": "yarn build && node --test dist/test/*.test.js", "typecheck": "tsc --noEmit" },