@rimelight/config 0.0.6 → 0.0.8
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 +21 -0
- package/astro/index.js +333 -329
- package/astro/index.ts +421 -415
- package/drizzle/index.js +17 -0
- package/drizzle/index.ts +19 -0
- package/package.json +18 -2
package/README.md
CHANGED
|
@@ -124,6 +124,27 @@ export default defineConfig({
|
|
|
124
124
|
})
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
+
## Drizzle Configs
|
|
128
|
+
|
|
129
|
+
Zero-boilerplate Drizzle Kit configuration with standard defaults (`sqlite` dialect, `./drizzle` out directory, `./src/db/schema/index.ts` schema):
|
|
130
|
+
|
|
131
|
+
```typescript
|
|
132
|
+
import { rimelightDrizzleConfig } from "@rimelight/config/drizzle"
|
|
133
|
+
|
|
134
|
+
export default rimelightDrizzleConfig()
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Custom / overridden options:
|
|
138
|
+
|
|
139
|
+
```typescript
|
|
140
|
+
import { rimelightDrizzleConfig } from "@rimelight/config/drizzle"
|
|
141
|
+
|
|
142
|
+
export default rimelightDrizzleConfig({
|
|
143
|
+
schema: "./src/db/schema.ts",
|
|
144
|
+
tablesFilter: ["custom_*"]
|
|
145
|
+
})
|
|
146
|
+
```
|
|
147
|
+
|
|
127
148
|
## Config Details
|
|
128
149
|
|
|
129
150
|
### TypeScript Base Config
|