pg-codegen 5.12.0 → 5.14.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": "pg-codegen",
3
- "version": "5.12.0",
3
+ "version": "5.14.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Type-safe TypeScript codegen from live PostgreSQL schemas: row types, coerce-backed decoders, serializers, table metadata, and enum unions",
6
6
  "main": "index.js",
@@ -26,8 +26,9 @@
26
26
  "clean": "makage clean",
27
27
  "copy": "makage assets",
28
28
  "prepack": "npm run build",
29
- "build": "makage build",
30
- "build:dev": "makage build --dev",
29
+ "copy:templates": "mkdir -p dist/emit/templates dist/esm/emit/templates && cp src/emit/templates/*.ts dist/emit/templates/ && cp src/emit/templates/*.ts dist/esm/emit/templates/",
30
+ "build": "makage build && npm run copy:templates",
31
+ "build:dev": "makage build --dev && npm run copy:templates",
31
32
  "dev": "ts-node ./src/cli.ts",
32
33
  "lint": "eslint . --fix",
33
34
  "test": "jest",
@@ -45,6 +46,7 @@
45
46
  "@babel/generator": "^7.29.1",
46
47
  "@babel/types": "^7.29.0",
47
48
  "@constructive-io/coerce": "^0.3.0",
49
+ "@constructive-io/query-builder": "^3.10.4",
48
50
  "inflekt": "^0.8.1",
49
51
  "introspectron": "^5.12.0",
50
52
  "pg": "^8.21.0",
@@ -56,5 +58,5 @@
56
58
  "makage": "^0.3.0",
57
59
  "pgsql-test": "^5.11.0"
58
60
  },
59
- "gitHead": "44a9cf96358c65dccab99871d61682a1ad6b32db"
61
+ "gitHead": "4da763d15eefc04846e27a6e8b1647f57676be28"
60
62
  }