@lionhummer/constellation 0.2.0 → 0.4.0

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": "@lionhummer/constellation",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "TypeScript client for durable model requests and caller events",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -9,23 +9,33 @@
9
9
  "url": "git+https://github.com/FlatFilers/constellation.git",
10
10
  "directory": "packages/sdk"
11
11
  },
12
- "files": ["dist", "README.md"],
13
- "publishConfig": { "access": "public" },
14
- "types": "./dist/index.d.ts",
12
+ "files": [
13
+ "dist/index.js",
14
+ "dist/types/**/*.d.ts",
15
+ "examples/quickstart.mjs",
16
+ "README.md"
17
+ ],
18
+ "publishConfig": {
19
+ "access": "public"
20
+ },
21
+ "types": "./dist/types/sdk/src/index.d.ts",
15
22
  "exports": {
16
23
  ".": {
17
- "types": "./dist/index.d.ts",
24
+ "types": "./dist/types/sdk/src/index.d.ts",
18
25
  "import": "./dist/index.js",
19
26
  "default": "./dist/index.js"
20
27
  }
21
28
  },
22
29
  "scripts": {
23
- "build": "tsc -p tsconfig.build.json",
30
+ "build": "tsc -p tsconfig.build.json && bun build ./src/index.ts --target node --format esm --outdir ./dist",
24
31
  "prepack": "bun run build",
25
32
  "test": "bun test",
26
33
  "typecheck": "tsc --noEmit --strict --target ES2022 --module ESNext --moduleResolution Bundler --lib ES2022,DOM src/index.ts"
27
34
  },
28
35
  "devDependencies": {
29
36
  "typescript": "^5.9.0"
37
+ },
38
+ "engines": {
39
+ "node": ">=22"
30
40
  }
31
41
  }