@anthonyalayo/drizzle-kit 1.1.0 → 1.2.1
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/api.d.mts +3 -1
- package/api.d.ts +3 -1
- package/api.js +135 -123
- package/api.mjs +136 -124
- package/bin.cjs +5116 -5044
- package/index.d.mts +3 -1
- package/index.d.ts +3 -1
- package/package.json +1 -67
package/index.d.mts
CHANGED
|
@@ -126,7 +126,9 @@ type Config = {
|
|
|
126
126
|
prefix?: Prefix;
|
|
127
127
|
};
|
|
128
128
|
introspect?: {
|
|
129
|
-
casing
|
|
129
|
+
casing?: 'camel' | 'preserve';
|
|
130
|
+
/** postgres pull: set to `false` to name schema-scoped entities `userRole` instead of `userRoleInApp` */
|
|
131
|
+
schemaSuffix?: boolean;
|
|
130
132
|
};
|
|
131
133
|
entities?: {
|
|
132
134
|
roles?: boolean | {
|
package/index.d.ts
CHANGED
|
@@ -126,7 +126,9 @@ type Config = {
|
|
|
126
126
|
prefix?: Prefix;
|
|
127
127
|
};
|
|
128
128
|
introspect?: {
|
|
129
|
-
casing
|
|
129
|
+
casing?: 'camel' | 'preserve';
|
|
130
|
+
/** postgres pull: set to `false` to name schema-scoped entities `userRole` instead of `userRoleInApp` */
|
|
131
|
+
schemaSuffix?: boolean;
|
|
130
132
|
};
|
|
131
133
|
entities?: {
|
|
132
134
|
roles?: boolean | {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthonyalayo/drizzle-kit",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"homepage": "https://orm.drizzle.team",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"drizzle",
|
|
@@ -45,72 +45,6 @@
|
|
|
45
45
|
"esbuild": "^0.25.4",
|
|
46
46
|
"tsx": "^4.21.0"
|
|
47
47
|
},
|
|
48
|
-
"devDependencies": {
|
|
49
|
-
"@arethetypeswrong/cli": "^0.15.3",
|
|
50
|
-
"@aws-sdk/client-rds-data": "^3.556.0",
|
|
51
|
-
"@cloudflare/workers-types": "^4.20230518.0",
|
|
52
|
-
"@electric-sql/pglite": "^0.2.12",
|
|
53
|
-
"@hono/node-server": "^1.9.0",
|
|
54
|
-
"@hono/zod-validator": "^0.2.1",
|
|
55
|
-
"@libsql/client": "^0.10.0",
|
|
56
|
-
"@neondatabase/serverless": "^0.9.1",
|
|
57
|
-
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
58
|
-
"@planetscale/database": "^1.16.0",
|
|
59
|
-
"@types/better-sqlite3": "^7.6.13",
|
|
60
|
-
"@types/dockerode": "^3.3.28",
|
|
61
|
-
"@types/glob": "^8.1.0",
|
|
62
|
-
"@types/json-diff": "^1.0.3",
|
|
63
|
-
"@types/micromatch": "^4.0.9",
|
|
64
|
-
"@types/minimatch": "^5.1.2",
|
|
65
|
-
"@types/node": "^18.11.15",
|
|
66
|
-
"@types/pg": "^8.10.7",
|
|
67
|
-
"@types/pluralize": "^0.0.33",
|
|
68
|
-
"@types/semver": "^7.5.5",
|
|
69
|
-
"@types/uuid": "^9.0.8",
|
|
70
|
-
"@types/ws": "^8.5.10",
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
72
|
-
"@typescript-eslint/parser": "^7.2.0",
|
|
73
|
-
"@vercel/postgres": "^0.8.0",
|
|
74
|
-
"ava": "^5.1.0",
|
|
75
|
-
"better-sqlite3": "^11.9.1",
|
|
76
|
-
"bun-types": "^0.6.6",
|
|
77
|
-
"camelcase": "^7.0.1",
|
|
78
|
-
"chalk": "^5.2.0",
|
|
79
|
-
"commander": "^12.1.0",
|
|
80
|
-
"dockerode": "^4.0.6",
|
|
81
|
-
"dotenv": "^16.0.3",
|
|
82
|
-
"drizzle-orm": "workspace:./drizzle-orm/dist",
|
|
83
|
-
"env-paths": "^3.0.0",
|
|
84
|
-
"esbuild-node-externals": "^1.9.0",
|
|
85
|
-
"eslint": "^8.57.0",
|
|
86
|
-
"eslint-config-prettier": "^9.1.0",
|
|
87
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
88
|
-
"gel": "^2.0.0",
|
|
89
|
-
"get-port": "^6.1.2",
|
|
90
|
-
"glob": "^8.1.0",
|
|
91
|
-
"hanji": "^0.0.8",
|
|
92
|
-
"hono": "^4.7.9",
|
|
93
|
-
"json-diff": "1.0.6",
|
|
94
|
-
"micromatch": "^4.0.8",
|
|
95
|
-
"minimatch": "^7.4.3",
|
|
96
|
-
"mysql2": "3.14.1",
|
|
97
|
-
"node-fetch": "^3.3.2",
|
|
98
|
-
"ohm-js": "^17.1.0",
|
|
99
|
-
"pg": "^8.11.5",
|
|
100
|
-
"pluralize": "^8.0.0",
|
|
101
|
-
"postgres": "^3.4.4",
|
|
102
|
-
"prettier": "^3.5.3",
|
|
103
|
-
"semver": "^7.7.2",
|
|
104
|
-
"superjson": "^2.2.1",
|
|
105
|
-
"tsup": "^8.3.5",
|
|
106
|
-
"typescript": "^5.6.3",
|
|
107
|
-
"uuid": "^9.0.1",
|
|
108
|
-
"vite-tsconfig-paths": "^4.3.2",
|
|
109
|
-
"vitest": "^3.1.3",
|
|
110
|
-
"ws": "^8.18.2",
|
|
111
|
-
"zod": "^3.20.2",
|
|
112
|
-
"zx": "^8.3.2"
|
|
113
|
-
},
|
|
114
48
|
"exports": {
|
|
115
49
|
".": {
|
|
116
50
|
"import": {
|