drizzle-cube 0.2.16 → 0.2.18
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/README.md +19 -20
- package/dist/adapters/compiler-A8IN32GM.cjs +22 -0
- package/dist/adapters/{compiler-B_yO7zBu.js → compiler-Cwmfwbls.js} +2848 -2628
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.js +1 -1
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/fastify/index.js +1 -1
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +1 -1
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +1 -1
- package/dist/server/index.cjs +14 -14
- package/dist/server/index.d.ts +55 -89
- package/dist/server/index.js +2529 -2309
- package/package.json +1 -1
- package/dist/adapters/compiler-BU728aIU.cjs +0 -22
package/README.md
CHANGED
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
Transform your Drizzle schema into a powerful, type-safe analytics platform with SQL injection protection and full TypeScript support.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
- **[Documentation](https://www.drizzle-cube.dev/)**
|
|
10
|
+
- **[Try the Sandbox](https://try.drizzle-cube.dev/)**
|
|
11
|
+
- **[Contribute to the Roadmap](https://github.com/users/cliftonc/projects/2)**
|
|
11
12
|
|
|
12
13
|
[](https://www.npmjs.com/package/drizzle-cube)
|
|
13
14
|
[](https://www.typescriptlang.org/)
|
|
@@ -141,22 +142,22 @@ function App() {
|
|
|
141
142
|
|
|
142
143
|
## Key Features
|
|
143
144
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
- **SQL Injection Proof** - All queries use Drizzle's parameterized SQL
|
|
146
|
+
- **Type Safe** - Full TypeScript inference from your database schema
|
|
147
|
+
- **Performance** - Prepared statements and query optimization
|
|
148
|
+
- **Cube.js Compatible** - Works with existing Cube.js React components
|
|
149
|
+
- **Zero Config** - Infer cube definitions from your Drizzle schema
|
|
150
|
+
- **Themeable** - Built-in light/dark themes with CSS variables
|
|
150
151
|
|
|
151
152
|
|
|
152
153
|
## Supported Features
|
|
153
154
|
|
|
154
|
-
✅ **Multiple Database Types** - PostgreSQL, MySQL
|
|
155
|
-
✅ **Framework Adapters** - Hono, Express, Fastify, Next.js
|
|
156
|
-
✅ **Full Type Safety** - Complete TypeScript inference
|
|
157
|
-
✅ **All SQL Features** - Joins, CTEs, subqueries, window functions
|
|
158
|
-
✅ **Cube.js Compatibility** - Drop-in replacement for existing apps
|
|
159
|
-
✅ **Scalable Theming** - Built-in themes (light/dark/neon) with semantic CSS variables
|
|
155
|
+
- ✅ **Multiple Database Types** - PostgreSQL, MySQL
|
|
156
|
+
- ✅ **Framework Adapters** - Hono, Express, Fastify, Next.js
|
|
157
|
+
- ✅ **Full Type Safety** - Complete TypeScript inference
|
|
158
|
+
- ✅ **All SQL Features** - Joins, CTEs, subqueries, window functions
|
|
159
|
+
- ✅ **Cube.js Compatibility** - Drop-in replacement for existing apps
|
|
160
|
+
- ✅ **Scalable Theming** - Built-in themes (light/dark/neon) with semantic CSS variables
|
|
160
161
|
|
|
161
162
|
## Theming
|
|
162
163
|
|
|
@@ -164,9 +165,9 @@ Drizzle Cube features a **scalable semantic theming system** with three built-in
|
|
|
164
165
|
|
|
165
166
|
### Built-in Themes
|
|
166
167
|
|
|
167
|
-
🌞 **Light** - Clean white backgrounds with blue accents
|
|
168
|
-
🌙 **Dark** - Slate grays with lighter blue highlights
|
|
169
|
-
⚡ **Neon** - Bold fluorescent colors with deep purple backgrounds
|
|
168
|
+
- 🌞 **Light** - Clean white backgrounds with blue accents
|
|
169
|
+
- 🌙 **Dark** - Slate grays with lighter blue highlights
|
|
170
|
+
- ⚡ **Neon** - Bold fluorescent colors with deep purple backgrounds (to show flexibility!)
|
|
170
171
|
|
|
171
172
|
### Quick Start
|
|
172
173
|
|
|
@@ -237,9 +238,7 @@ We welcome contributions! Please see our [Contributing Guide](./CONTRIBUTING.md)
|
|
|
237
238
|
|
|
238
239
|
## Roadmap
|
|
239
240
|
|
|
240
|
-
|
|
241
|
-
- 🔄 **Real-time Updates** - WebSocket support
|
|
242
|
-
- 🔄 **Query Caching** - Redis integration
|
|
241
|
+
To view or contribute to the roadmap please visit the [Github Project](https://github.com/users/cliftonc/projects/2)
|
|
243
242
|
|
|
244
243
|
## License
|
|
245
244
|
|