pipework 0.7.10 → 0.7.12
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/CHANGELOG.md +16 -0
- package/REFERENCE.md +778 -0
- package/dist/REFERENCE.md +844 -0
- package/dist/cli/commands/dev.js +5 -2
- package/dist/cli/commands/dev.js.map +1 -1
- package/dist/cli/commands/run.d.ts.map +1 -1
- package/dist/cli/commands/run.js +0 -2
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/commands/test.d.ts.map +1 -1
- package/dist/cli/commands/test.js +0 -2
- package/dist/cli/commands/test.js.map +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +2 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/config/discover.d.ts.map +1 -1
- package/dist/config/discover.js +14 -0
- package/dist/config/discover.js.map +1 -1
- package/dist/config/ts-register.d.ts +2 -0
- package/dist/config/ts-register.d.ts.map +1 -0
- package/dist/config/ts-register.js +3 -0
- package/dist/config/ts-register.js.map +1 -0
- package/dist/config/ts-resolve-hooks.d.ts +10 -0
- package/dist/config/ts-resolve-hooks.d.ts.map +1 -0
- package/dist/config/ts-resolve-hooks.js +14 -0
- package/dist/config/ts-resolve-hooks.js.map +1 -0
- package/dist/db/excluded.d.ts +7 -0
- package/dist/db/excluded.d.ts.map +1 -0
- package/dist/db/excluded.js +11 -0
- package/dist/db/excluded.js.map +1 -0
- package/dist/db/index.d.ts +1 -0
- package/dist/db/index.d.ts.map +1 -1
- package/dist/db/index.js +1 -0
- package/dist/db/index.js.map +1 -1
- package/dist/db/namespace.d.ts +5 -0
- package/dist/db/namespace.d.ts.map +1 -1
- package/dist/db/namespace.js +5 -0
- package/dist/db/namespace.js.map +1 -1
- package/dist/domain/field.d.ts +4 -2
- package/dist/domain/field.d.ts.map +1 -1
- package/dist/domain/field.js.map +1 -1
- package/dist/domain/index.d.ts +1 -1
- package/dist/domain/index.d.ts.map +1 -1
- package/dist/domain/types.d.ts +19 -6
- package/dist/domain/types.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/log/namespace.d.ts +1 -1
- package/dist/logging/index.d.ts +1 -1
- package/dist/logging/index.d.ts.map +1 -1
- package/dist/logging/proxy.d.ts +2 -2
- package/dist/logging/proxy.d.ts.map +1 -1
- package/dist/logging/proxy.js +9 -2
- package/dist/logging/proxy.js.map +1 -1
- package/dist/logging/types.d.ts +7 -0
- package/dist/logging/types.d.ts.map +1 -1
- package/dist/temporal/definition-queries.d.ts +5 -5
- package/dist/temporal/definition-queries.d.ts.map +1 -1
- package/dist/temporal/definition-queries.js.map +1 -1
- package/dist/vector/query.d.ts +1 -1
- package/dist/vector/query.d.ts.map +1 -1
- package/dist/vector/query.js.map +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.12
|
|
4
|
+
|
|
5
|
+
- **Branded types flow through `select()`/`returning()` automatically** — `DefinedTable` now parameterizes `PgTable` with `ProjectedColumns`, so Drizzle's column metadata carries named, branded types. Query results are correctly typed without casts. `eq()` enforces brand safety at compile time (#186).
|
|
6
|
+
- **`.references()` works under `exactOptionalPropertyTypes`** — structural `{ $fields }` constraint replaces `DefinedTable<FieldRecord>`, eliminating index-signature variance mismatch (#185).
|
|
7
|
+
- **`excluded()` helper for upsert conflict clauses** — `pipe.excluded(table)` returns typed `EXCLUDED."column"` references for `onConflictDoUpdate` (#184).
|
|
8
|
+
- **CLI loads `.env` automatically** — all `pipework` commands load env files before dispatching, no manual `source .env` needed.
|
|
9
|
+
- **`log.create()` / `log.get()` accessible on log proxy** — namespace functions exposed on the proxy target so they're callable without context.
|
|
10
|
+
- **`toTsvector` accepts `Column` argument** — in addition to `string | SQL`.
|
|
11
|
+
- **REFERENCE.md ships with the package** — `node_modules/pipework/REFERENCE.md` and `CHANGELOG.md` are available to tools and sessions without needing the source repo.
|
|
12
|
+
- **`/pipework` skill refined** — focused on workflow and mental model, not implementation detail. Points to REFERENCE.md and CHANGELOG.md for deeper lookup.
|
|
13
|
+
- **CI runs checks once per PR** — removed redundant `push` trigger that doubled CI on merge.
|
|
14
|
+
|
|
15
|
+
## 0.7.11
|
|
16
|
+
|
|
17
|
+
- **Config loader resolves `.js` → `.ts` imports across workspace packages** — `pipework.config.ts` can now import surfaces and other TypeScript source from workspace packages using standard `.js` extension imports. Registers an ESM resolve hook before loading the config. `pipework dev` gets the same resolution (#181).
|
|
18
|
+
|
|
3
19
|
## 0.7.10
|
|
4
20
|
|
|
5
21
|
- **`pipework check` is workspace-aware** — type-checks each module via `tsc --noEmit -p <module>/tsconfig.json` instead of failing when no root `tsconfig.json` exists. Lint runs per-module `src/`. Boundary check only runs when `scripts/check-boundaries.js` exists (#170).
|