@davidbalzan/groundwork-seam 0.1.1 → 0.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@davidbalzan/groundwork-seam",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Schema owner of QUEUE / DONE / WORKSTREAMS / FACTS plus protocol record types.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -33,7 +33,8 @@
33
33
  "typescript": "^7.0.2"
34
34
  },
35
35
  "scripts": {
36
- "build": "tsc",
36
+ "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
37
+ "build": "pnpm run clean && tsc",
37
38
  "test": "node --test test/*.test.mjs"
38
39
  }
39
40
  }
package/dist/ids.d.ts DELETED
@@ -1,2 +0,0 @@
1
- /** Internal. Not a public export — work.ts never exported it. */
2
- export declare function idFor(kind: string, seed: string): string;
package/dist/ids.js DELETED
@@ -1,6 +0,0 @@
1
- import { createHash } from "node:crypto";
2
- /** Internal. Not a public export — work.ts never exported it. */
3
- export function idFor(kind, seed) {
4
- return `${kind}-${createHash("sha1").update(seed).digest("hex").slice(0, 8)}`;
5
- }
6
- //# sourceMappingURL=ids.js.map
package/dist/ids.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"ids.js","sourceRoot":"","sources":["../src/ids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,iEAAiE;AACjE,MAAM,UAAU,KAAK,CAAC,IAAY,EAAE,IAAY;IAC9C,OAAO,GAAG,IAAI,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;AAChF,CAAC"}