@vrplatform/kysely 1.3.45-952 → 1.3.45-965

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.
Files changed (1) hide show
  1. package/package.json +4 -4
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.45-952",
6
+ "version": "1.3.45-965",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -34,12 +34,12 @@
34
34
  "generate": "bun pgdump && bun run generate:v1 && bun run generate:v2 && bun run generate:v1:sed",
35
35
  "migrate:control-plane": "bun migrate-control-plane.ts --up",
36
36
  "generate:v1": "kysely-codegen --env-file=../../.env --out-file=./src/v1.generated.ts --date-parser=string --default-schema=xxx --camel-case",
37
- "generate:v1:sed": "sed -i '' 's/Timestamp = ColumnType<Date, Date | string, Date | string>/Timestamp = ColumnType<Date | string, Date | string, Date | string>/g' ./src/v1.generated.ts",
37
+ "generate:v1:sed": "perl -pi -e 's/Timestamp = ColumnType<Date, Date \\| string, Date \\| string>/Timestamp = ColumnType<Date | string, Date | string, Date | string>/g' ./src/v1.generated.ts",
38
38
  "generate:v2": "bun pg-dump:legacy-prune && rm -f .data.tar && bun setup.ts",
39
39
  "pgdump": "dotenvx run -f ../../.env -- bun pg-dump:run && bun pg-dump:rm && bun pg-dump:fix-uuid && bun pg-dump:legacy-prune",
40
40
  "pg-dump:run": "pg_dump --clean --schema-only --if-exists --no-owner --no-acl $DATABASE_URL > initial/0000000000000-init.sql",
41
- "pg-dump:rm": "sed -i '' '/EXTENSION/d' initial/0000000000000-init.sql",
42
- "pg-dump:fix-uuid": "sed -i '' 's/public\\.gen_random_uuid()/gen_random_uuid()/g' initial/0000000000000-init.sql",
41
+ "pg-dump:rm": "perl -ni -e 'print unless /EXTENSION/' initial/0000000000000-init.sql",
42
+ "pg-dump:fix-uuid": "perl -pi -e 's/public\\.gen_random_uuid\\(\\)/gen_random_uuid()/g' initial/0000000000000-init.sql",
43
43
  "pg-dump:legacy-prune": "bun ./src/local/prune-pulled-schema.ts",
44
44
  "build": "bun build:main && bun build:module",
45
45
  "build:main": "tsc -b tsconfig.main.json",