create-jant 0.1.10 → 0.1.11

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/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import path from "path";
8
8
  import { fileURLToPath } from "url";
9
9
  var __filename = fileURLToPath(import.meta.url);
10
10
  var __dirname = path.dirname(__filename);
11
- var CORE_VERSION = "0.2.7";
11
+ var CORE_VERSION = "0.2.8";
12
12
  var TEMPLATE_DIR = fs.existsSync(path.resolve(__dirname, "../template")) ? path.resolve(__dirname, "../template") : path.resolve(__dirname, "../../../templates/jant-site");
13
13
  function isValidProjectName(name) {
14
14
  return /^[a-z0-9]([a-z0-9-]*[a-z0-9])?$/.test(name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-jant",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Create a new Jant project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,19 +1,19 @@
1
1
  {
2
- "hash": "9ea0de39",
2
+ "hash": "12cc01ea",
3
3
  "configHash": "6a80e0af",
4
- "lockfileHash": "bb0101e2",
5
- "browserHash": "4aee1de1",
4
+ "lockfileHash": "7751e69a",
5
+ "browserHash": "b528e805",
6
6
  "optimized": {
7
7
  "@sudodevnull/datastar": {
8
8
  "src": "../../../../../node_modules/.pnpm/@sudodevnull+datastar@0.19.9/node_modules/@sudodevnull/datastar/dist/datastar.js",
9
9
  "file": "@sudodevnull_datastar.js",
10
- "fileHash": "2bb1edea",
10
+ "fileHash": "b34e76af",
11
11
  "needsInterop": false
12
12
  },
13
13
  "basecoat-css/all": {
14
14
  "src": "../../../../../node_modules/.pnpm/basecoat-css@0.3.10/node_modules/basecoat-css/dist/js/all.js",
15
15
  "file": "basecoat-css_all.js",
16
- "fileHash": "ef618ee1",
16
+ "fileHash": "179ab69e",
17
17
  "needsInterop": true
18
18
  }
19
19
  },
@@ -1,187 +1,187 @@
1
1
  {
2
- "hash": "84328e76",
2
+ "hash": "ecece117",
3
3
  "configHash": "1efff14b",
4
- "lockfileHash": "bb0101e2",
5
- "browserHash": "1f5db248",
4
+ "lockfileHash": "7751e69a",
5
+ "browserHash": "de33bf0d",
6
6
  "optimized": {
7
7
  "unenv/node/inspector/promises": {
8
8
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/inspector/promises.mjs",
9
9
  "file": "unenv_node_inspector_promises.js",
10
- "fileHash": "bab20974",
10
+ "fileHash": "338b139e",
11
11
  "needsInterop": false
12
12
  },
13
13
  "unenv/node/readline/promises": {
14
14
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/readline/promises.mjs",
15
15
  "file": "unenv_node_readline_promises.js",
16
- "fileHash": "d55ef434",
16
+ "fileHash": "60bf3d37",
17
17
  "needsInterop": false
18
18
  },
19
19
  "unenv/node/worker_threads": {
20
20
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/worker_threads.mjs",
21
21
  "file": "unenv_node_worker_threads.js",
22
- "fileHash": "35cc6a1a",
22
+ "fileHash": "1cbf7bf4",
23
23
  "needsInterop": false
24
24
  },
25
25
  "unenv/node/child_process": {
26
26
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/child_process.mjs",
27
27
  "file": "unenv_node_child_process.js",
28
- "fileHash": "0e13b234",
28
+ "fileHash": "947998d9",
29
29
  "needsInterop": false
30
30
  },
31
31
  "unenv/mock/proxy-cjs": {
32
32
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/lib/mock.cjs",
33
33
  "file": "unenv_mock_proxy-cjs.js",
34
- "fileHash": "67ef5a99",
34
+ "fileHash": "212e6a62",
35
35
  "needsInterop": true
36
36
  },
37
37
  "unenv/node/perf_hooks": {
38
38
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/perf_hooks.mjs",
39
39
  "file": "unenv_node_perf_hooks.js",
40
- "fileHash": "c9c5387e",
40
+ "fileHash": "5d976f83",
41
41
  "needsInterop": false
42
42
  },
43
43
  "unenv/node/inspector": {
44
44
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/inspector.mjs",
45
45
  "file": "unenv_node_inspector.js",
46
- "fileHash": "ec4c11c2",
46
+ "fileHash": "20761a58",
47
47
  "needsInterop": false
48
48
  },
49
49
  "unenv/node/readline": {
50
50
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/readline.mjs",
51
51
  "file": "unenv_node_readline.js",
52
- "fileHash": "728ac537",
52
+ "fileHash": "a6bfc788",
53
53
  "needsInterop": false
54
54
  },
55
55
  "@cloudflare/unenv-preset/node/process": {
56
56
  "src": "../../../../../node_modules/.pnpm/@cloudflare+unenv-preset@2.12.0_unenv@2.0.0-rc.24_workerd@1.20260128.0/node_modules/@cloudflare/unenv-preset/dist/runtime/node/process.mjs",
57
57
  "file": "@cloudflare_unenv-preset_node_process.js",
58
- "fileHash": "75b7f9e5",
58
+ "fileHash": "cfff251c",
59
59
  "needsInterop": false
60
60
  },
61
61
  "unenv/node/sqlite": {
62
62
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/sqlite.mjs",
63
63
  "file": "unenv_node_sqlite.js",
64
- "fileHash": "ce9e49de",
64
+ "fileHash": "3aed748b",
65
65
  "needsInterop": false
66
66
  },
67
67
  "unenv/node/dgram": {
68
68
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/dgram.mjs",
69
69
  "file": "unenv_node_dgram.js",
70
- "fileHash": "2bd557d9",
70
+ "fileHash": "059f1811",
71
71
  "needsInterop": false
72
72
  },
73
73
  "unenv/node/repl": {
74
74
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/repl.mjs",
75
75
  "file": "unenv_node_repl.js",
76
- "fileHash": "99ff58dd",
76
+ "fileHash": "e9d2b8ef",
77
77
  "needsInterop": false
78
78
  },
79
79
  "unenv/node/tty": {
80
80
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/tty.mjs",
81
81
  "file": "unenv_node_tty.js",
82
- "fileHash": "702a4f59",
82
+ "fileHash": "c74375cb",
83
83
  "needsInterop": false
84
84
  },
85
85
  "unenv/node/v8": {
86
86
  "src": "../../../../../node_modules/.pnpm/unenv@2.0.0-rc.24/node_modules/unenv/dist/runtime/node/v8.mjs",
87
87
  "file": "unenv_node_v8.js",
88
- "fileHash": "9350be40",
88
+ "fileHash": "26d7ec79",
89
89
  "needsInterop": false
90
90
  },
91
91
  "@cloudflare/unenv-preset/polyfill/performance": {
92
92
  "src": "../../../../../node_modules/.pnpm/@cloudflare+unenv-preset@2.12.0_unenv@2.0.0-rc.24_workerd@1.20260128.0/node_modules/@cloudflare/unenv-preset/dist/runtime/polyfill/performance.mjs",
93
93
  "file": "@cloudflare_unenv-preset_polyfill_performance.js",
94
- "fileHash": "d0b7d119",
94
+ "fileHash": "97f87ec4",
95
95
  "needsInterop": false
96
96
  },
97
97
  "@lingui/core": {
98
98
  "src": "../../../../../node_modules/.pnpm/@lingui+core@5.9.0_@lingui+babel-plugin-lingui-macro@5.9.0_babel-plugin-macros@3.1.0_ty_6f6920476f14c28067c19501b3987170/node_modules/@lingui/core/dist/index.mjs",
99
99
  "file": "@lingui_core.js",
100
- "fileHash": "c8fd7f86",
100
+ "fileHash": "6fad5bed",
101
101
  "needsInterop": false
102
102
  },
103
103
  "better-auth": {
104
104
  "src": "../../../../../node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.8_drizzle-orm@0.45.1_@cloudflare+workers-types@4.20_a31fcad55de5b8c118775528fba151d7/node_modules/better-auth/dist/index.mjs",
105
105
  "file": "better-auth.js",
106
- "fileHash": "ae55dd06",
106
+ "fileHash": "989d77b3",
107
107
  "needsInterop": false
108
108
  },
109
109
  "better-auth/adapters/drizzle": {
110
110
  "src": "../../../../../node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.8_drizzle-orm@0.45.1_@cloudflare+workers-types@4.20_a31fcad55de5b8c118775528fba151d7/node_modules/better-auth/dist/adapters/drizzle-adapter/index.mjs",
111
111
  "file": "better-auth_adapters_drizzle.js",
112
- "fileHash": "21b6265a",
112
+ "fileHash": "dbb90f51",
113
113
  "needsInterop": false
114
114
  },
115
115
  "drizzle-orm": {
116
116
  "src": "../../../../../node_modules/.pnpm/drizzle-orm@0.45.1_@cloudflare+workers-types@4.20260131.0_gel@2.2.0_kysely@0.28.10/node_modules/drizzle-orm/index.js",
117
117
  "file": "drizzle-orm.js",
118
- "fileHash": "58c8b9ef",
118
+ "fileHash": "549f299a",
119
119
  "needsInterop": false
120
120
  },
121
121
  "drizzle-orm/d1": {
122
122
  "src": "../../../../../node_modules/.pnpm/drizzle-orm@0.45.1_@cloudflare+workers-types@4.20260131.0_gel@2.2.0_kysely@0.28.10/node_modules/drizzle-orm/d1/index.js",
123
123
  "file": "drizzle-orm_d1.js",
124
- "fileHash": "7946e018",
124
+ "fileHash": "ba8d5b11",
125
125
  "needsInterop": false
126
126
  },
127
127
  "drizzle-orm/sqlite-core": {
128
128
  "src": "../../../../../node_modules/.pnpm/drizzle-orm@0.45.1_@cloudflare+workers-types@4.20260131.0_gel@2.2.0_kysely@0.28.10/node_modules/drizzle-orm/sqlite-core/index.js",
129
129
  "file": "drizzle-orm_sqlite-core.js",
130
- "fileHash": "741fe2b3",
130
+ "fileHash": "7936df9f",
131
131
  "needsInterop": false
132
132
  },
133
133
  "hono": {
134
134
  "src": "../../../../../node_modules/.pnpm/hono@4.11.7/node_modules/hono/dist/index.js",
135
135
  "file": "hono.js",
136
- "fileHash": "0c44094c",
136
+ "fileHash": "7f11bedc",
137
137
  "needsInterop": false
138
138
  },
139
139
  "hono/html": {
140
140
  "src": "../../../../../node_modules/.pnpm/hono@4.11.7/node_modules/hono/dist/helper/html/index.js",
141
141
  "file": "hono_html.js",
142
- "fileHash": "e2b2f91f",
142
+ "fileHash": "2b39dcd0",
143
143
  "needsInterop": false
144
144
  },
145
145
  "hono/jsx/jsx-dev-runtime": {
146
146
  "src": "../../../../../node_modules/.pnpm/hono@4.11.7/node_modules/hono/dist/jsx/jsx-dev-runtime.js",
147
147
  "file": "hono_jsx_jsx-dev-runtime.js",
148
- "fileHash": "a6c7340e",
148
+ "fileHash": "864f64e2",
149
149
  "needsInterop": false
150
150
  },
151
151
  "marked": {
152
152
  "src": "../../../../../node_modules/.pnpm/marked@17.0.1/node_modules/marked/lib/marked.esm.js",
153
153
  "file": "marked.js",
154
- "fileHash": "a52eb538",
154
+ "fileHash": "aff8b94b",
155
155
  "needsInterop": false
156
156
  },
157
157
  "sqids": {
158
158
  "src": "../../../../../node_modules/.pnpm/sqids@0.3.0/node_modules/sqids/esm/sqids.js",
159
159
  "file": "sqids.js",
160
- "fileHash": "24a8ec9b",
160
+ "fileHash": "5626f5ad",
161
161
  "needsInterop": false
162
162
  },
163
163
  "uuidv7": {
164
164
  "src": "../../../../../node_modules/.pnpm/uuidv7@1.1.0/node_modules/uuidv7/dist/index.js",
165
165
  "file": "uuidv7.js",
166
- "fileHash": "ea2c42dd",
166
+ "fileHash": "818e120b",
167
167
  "needsInterop": false
168
168
  },
169
169
  "vite-ssr-components/hono": {
170
170
  "src": "../../../../../node_modules/.pnpm/vite-ssr-components@0.5.2/node_modules/vite-ssr-components/dist/hono/index.js",
171
171
  "file": "vite-ssr-components_hono.js",
172
- "fileHash": "d710f067",
172
+ "fileHash": "361765b2",
173
173
  "needsInterop": false
174
174
  },
175
175
  "zod": {
176
176
  "src": "../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/index.js",
177
177
  "file": "zod.js",
178
- "fileHash": "6ef36e0e",
178
+ "fileHash": "25ff4a3c",
179
179
  "needsInterop": false
180
180
  },
181
181
  "hono/jsx/jsx-runtime": {
182
182
  "src": "../../../../../node_modules/.pnpm/hono@4.11.7/node_modules/hono/dist/jsx/jsx-runtime.js",
183
183
  "file": "hono_jsx_jsx-runtime.js",
184
- "fileHash": "619673c9",
184
+ "fileHash": "fc56a088",
185
185
  "needsInterop": false
186
186
  }
187
187
  },
@@ -198,17 +198,8 @@
198
198
  "bun-sqlite-dialect-F76YTHJM": {
199
199
  "file": "bun-sqlite-dialect-F76YTHJM.js"
200
200
  },
201
- "chunk-D7USTLYK": {
202
- "file": "chunk-D7USTLYK.js"
203
- },
204
- "chunk-SJJ7DRMD": {
205
- "file": "chunk-SJJ7DRMD.js"
206
- },
207
- "chunk-HMJQ47OB": {
208
- "file": "chunk-HMJQ47OB.js"
209
- },
210
- "chunk-LINEGJW7": {
211
- "file": "chunk-LINEGJW7.js"
201
+ "chunk-KZPCQ6U4": {
202
+ "file": "chunk-KZPCQ6U4.js"
212
203
  },
213
204
  "chunk-AZQFNDDQ": {
214
205
  "file": "chunk-AZQFNDDQ.js"
@@ -222,6 +213,15 @@
222
213
  "chunk-RW5OYDKV": {
223
214
  "file": "chunk-RW5OYDKV.js"
224
215
  },
216
+ "chunk-D7USTLYK": {
217
+ "file": "chunk-D7USTLYK.js"
218
+ },
219
+ "chunk-SJJ7DRMD": {
220
+ "file": "chunk-SJJ7DRMD.js"
221
+ },
222
+ "chunk-LINEGJW7": {
223
+ "file": "chunk-LINEGJW7.js"
224
+ },
225
225
  "chunk-EQK6E7BY": {
226
226
  "file": "chunk-EQK6E7BY.js"
227
227
  },
@@ -234,12 +234,12 @@
234
234
  "chunk-CY66HEWY": {
235
235
  "file": "chunk-CY66HEWY.js"
236
236
  },
237
- "chunk-EBFNORPD": {
238
- "file": "chunk-EBFNORPD.js"
239
- },
240
237
  "chunk-KXKHNKXE": {
241
238
  "file": "chunk-KXKHNKXE.js"
242
239
  },
240
+ "chunk-EBFNORPD": {
241
+ "file": "chunk-EBFNORPD.js"
242
+ },
243
243
  "chunk-7GIDCG6B": {
244
244
  "file": "chunk-7GIDCG6B.js"
245
245
  },
@@ -1,3 +1,9 @@
1
+ import {
2
+ BetterAuthError,
3
+ createAdapterFactory,
4
+ logger
5
+ } from "./chunk-UKPGDBD6.js";
6
+ import "./chunk-RW5OYDKV.js";
1
7
  import "./chunk-D7USTLYK.js";
2
8
  import "./chunk-SJJ7DRMD.js";
3
9
  import {
@@ -17,12 +23,6 @@ import {
17
23
  or,
18
24
  sql
19
25
  } from "./chunk-LINEGJW7.js";
20
- import {
21
- BetterAuthError,
22
- createAdapterFactory,
23
- logger
24
- } from "./chunk-UKPGDBD6.js";
25
- import "./chunk-RW5OYDKV.js";
26
26
  import "./chunk-G3PMV62Z.js";
27
27
 
28
28
  // ../../node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.8_drizzle-orm@0.45.1_@cloudflare+workers-types@4.20_a31fcad55de5b8c118775528fba151d7/node_modules/better-auth/dist/adapters/drizzle-adapter/drizzle-adapter.mjs
@@ -3647,10 +3647,6 @@ function sqliteView(name, selection) {
3647
3647
  var view = sqliteView;
3648
3648
 
3649
3649
  export {
3650
- alias,
3651
- CheckBuilder,
3652
- Check,
3653
- check,
3654
3650
  ForeignKeyBuilder,
3655
3651
  ForeignKey,
3656
3652
  foreignKey,
@@ -3700,6 +3696,9 @@ export {
3700
3696
  SQLiteTable,
3701
3697
  sqliteTable,
3702
3698
  sqliteTableCreator,
3699
+ CheckBuilder,
3700
+ Check,
3701
+ check,
3703
3702
  IndexBuilderOn,
3704
3703
  IndexBuilder,
3705
3704
  Index,
@@ -3730,6 +3729,7 @@ export {
3730
3729
  BaseSQLiteDatabase,
3731
3730
  withReplicas,
3732
3731
  NoopCache,
3732
+ alias,
3733
3733
  ExecuteResultSync,
3734
3734
  SQLitePreparedQuery,
3735
3735
  SQLiteSession,
@@ -3741,4 +3741,4 @@ export {
3741
3741
  sqliteView,
3742
3742
  view
3743
3743
  };
3744
- //# sourceMappingURL=chunk-HMJQ47OB.js.map
3744
+ //# sourceMappingURL=chunk-KZPCQ6U4.js.map
@@ -1,7 +1,3 @@
1
- import {
2
- DefaultLogger,
3
- NoopLogger
4
- } from "./chunk-SJJ7DRMD.js";
5
1
  import {
6
2
  BaseSQLiteDatabase,
7
3
  NoopCache,
@@ -9,7 +5,11 @@ import {
9
5
  SQLitePreparedQuery,
10
6
  SQLiteSession,
11
7
  SQLiteTransaction
12
- } from "./chunk-HMJQ47OB.js";
8
+ } from "./chunk-KZPCQ6U4.js";
9
+ import {
10
+ DefaultLogger,
11
+ NoopLogger
12
+ } from "./chunk-SJJ7DRMD.js";
13
13
  import {
14
14
  createTableRelationsHelpers,
15
15
  entityKind,
@@ -91,7 +91,7 @@ import {
91
91
  uniqueKeyName,
92
92
  view,
93
93
  withReplicas
94
- } from "./chunk-HMJQ47OB.js";
94
+ } from "./chunk-KZPCQ6U4.js";
95
95
  import "./chunk-LINEGJW7.js";
96
96
  import "./chunk-G3PMV62Z.js";
97
97
  export {
@@ -1,5 +1,11 @@
1
1
  # @jant/core
2
2
 
3
+ ## 0.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - fix css
8
+
3
9
  ## 0.2.7
4
10
 
5
11
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jant/core",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "A modern, open-source microblogging platform built on Cloudflare Workers",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,7 +16,10 @@
16
16
  "default": "./dist/theme/index.js"
17
17
  },
18
18
  "./preset.css": "./src/preset.css",
19
- "./client": "./src/client.ts",
19
+ "./client": {
20
+ "types": "./dist/client.d.ts",
21
+ "default": "./dist/client.js"
22
+ },
20
23
  "./*": "./*"
21
24
  },
22
25
  "files": [