@zodic/shared 0.0.22 → 0.0.23
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/db/schema.ts
CHANGED
|
@@ -109,7 +109,7 @@ export const astroFeatures = sqliteTable(
|
|
|
109
109
|
name: text('name').notNull(), // e.g., "Fire", "Mutable", "First Quarter Moon"
|
|
110
110
|
description: text('description'), // Detailed description
|
|
111
111
|
percentage: real('percentage'), // For elements, modes, dominant sign
|
|
112
|
-
order: integer('order')
|
|
112
|
+
order: integer('order'), // For consistent display order
|
|
113
113
|
prominentId: integer('prominent_id'), // NEW: Highlighted option index (1-based)
|
|
114
114
|
},
|
|
115
115
|
(t) => [index('astro_features_user_id_idx').on(t.userId)]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zodic/shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"module": "index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"migrate-latest": "wrangler d1 execute DB --file=$(ls -t ./db/migrations/*.sql | head -n 1) --remote",
|
|
12
12
|
"db:generate": "drizzle-kit generate",
|
|
13
13
|
"db:up": "drizzle-kit up",
|
|
14
|
-
"
|
|
14
|
+
"publish": "npm run db:generate && npm run db:up && npm run migrate-latest && npm publish"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/inversify": "^2.0.33",
|