mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
0.1.7
This commit is contained in:
parent
4a1a2f980b
commit
23eaa88192
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@astrojs/db",
|
"name": "@astrojs/db",
|
||||||
"version": "0.1.6",
|
"version": "0.1.7",
|
||||||
"description": "",
|
"description": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
|
@ -64,6 +64,7 @@ const params = ${JSON.stringify({
|
||||||
})};
|
})};
|
||||||
|
|
||||||
params.dbUrl = new URL(${JSON.stringify(DB_PATH)}, 'file://' + process.cwd() + '/');
|
params.dbUrl = new URL(${JSON.stringify(DB_PATH)}, 'file://' + process.cwd() + '/');
|
||||||
|
console.log('createLocalDatabaseClient', params);
|
||||||
export const db = await createLocalDatabaseClient(params);
|
export const db = await createLocalDatabaseClient(params);
|
||||||
|
|
||||||
export * from ${DRIZZLE_MOD_IMPORT};
|
export * from ${DRIZZLE_MOD_IMPORT};
|
||||||
|
|
Loading…
Reference in a new issue