diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f0bee0..1af8d3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,4 +24,4 @@ separately. - CI: dependency check, typecheck, tools tests, ingress tests and build each run as separate jobs. -[Unreleased]: https://github.com/corbitsdev/corbits-granola +[Unreleased]: https://github.com/corbitsdev/granola-tools diff --git a/README.md b/README.md index 3cdca82..78864d2 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ depend on the root export; the root export depends on neither — see ## Runtime support -Node >= 24 consumes built `dist/`. Bun loads TypeScript source directly via -the `bun` export condition. `@corbits/granola/ingress` additionally needs -`hono` ^4 as a peer. Nothing in the package reads `process.env` itself — every -credential, base URL, and store is a constructor argument the host supplies. +All runtimes (including Bun) consume built `dist/`. `@corbits/granola/ingress` +additionally needs `hono` ^4 as a peer. Nothing in the package reads +`process.env` itself — every credential, base URL, and store is a constructor +argument the host supplies. ## Install @@ -22,7 +22,7 @@ yarn add @corbits/granola bun add @corbits/granola ``` -Not on npm yet — install from git (`bun add github:corbitsdev/corbits-granola`, +Not on npm yet — install from git (`bun add github:corbitsdev/granola-tools`, ideally pinned to a commit) until it is. ## Quickstart diff --git a/package.json b/package.json index e62ee6e..7b62914 100644 --- a/package.json +++ b/package.json @@ -14,13 +14,16 @@ "ingress" ], "author": "Sawyer Cutler ", - "homepage": "https://github.com/corbitsdev/corbits-granola#readme", + "homepage": "https://github.com/corbitsdev/granola-tools#readme", "repository": { "type": "git", - "url": "git+https://github.com/corbitsdev/corbits-granola.git" + "url": "git+https://github.com/corbitsdev/granola-tools.git" }, "bugs": { - "url": "https://github.com/corbitsdev/corbits-granola/issues" + "url": "https://github.com/corbitsdev/granola-tools/issues" + }, + "publishConfig": { + "access": "public" }, "engines": { "node": ">=24" @@ -29,25 +32,20 @@ "types": "./dist/tools/index.d.ts", "exports": { ".": { - "bun": "./src/tools/index.ts", "types": "./dist/tools/index.d.ts", "default": "./dist/tools/index.js" }, "./ingress": { - "bun": "./src/ingress/index.ts", "types": "./dist/ingress/index.d.ts", "default": "./dist/ingress/index.js" }, "./ingest": { - "bun": "./src/ingest/index.ts", "types": "./dist/ingest/index.d.ts", "default": "./dist/ingest/index.js" } }, "files": [ "dist", - "src", - "!src/**/*.test.ts", "LICENSE", "README.md" ], diff --git a/src/ingress/webhook-registration.ts b/src/ingress/webhook-registration.ts index b670d33..acbc901 100644 --- a/src/ingress/webhook-registration.ts +++ b/src/ingress/webhook-registration.ts @@ -36,7 +36,7 @@ import { type } from "arktype"; import { getLogger } from "@intx/log"; -import type { GranolaBindingStore } from "./binding-store"; +import type { GranolaBindingStore } from "./binding-store.js"; const log = getLogger(["corbits", "granola", "webhook-registration"]); diff --git a/tsconfig.build.json b/tsconfig.build.json index 7b4187d..2bf7731 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,13 +1,19 @@ { - "extends": "./tsconfig.json", "compilerOptions": { - "types": ["node"], - "noEmit": false, + "strict": true, + "target": "ESNext", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "allowImportingTsExtensions": false, + "composite": false, + "verbatimModuleSyntax": true, + "skipLibCheck": true, "declaration": true, - "declarationMap": true, - "sourceMap": true, + "declarationMap": false, + "sourceMap": false, "outDir": "dist", - "rootDir": "src" + "rootDir": "src", + "types": ["node"] }, "include": ["src"], "exclude": ["src/**/*.test.ts"]