@astrojs/db 0.10.4 → 0.10.5

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.
@@ -152,3 +152,4 @@ export declare const NOW: import("drizzle-orm").SQL<unknown>;
152
152
  export declare const TRUE: import("drizzle-orm").SQL<unknown>;
153
153
  export declare const FALSE: import("drizzle-orm").SQL<unknown>;
154
154
  export { sql, eq, gt, gte, lt, lte, ne, isNull, isNotNull, inArray, notInArray, exists, notExists, between, notBetween, like, notIlike, not, asc, desc, and, or, count, countDistinct, avg, avgDistinct, sum, sumDistinct, max, min, } from 'drizzle-orm';
155
+ export { alias } from 'drizzle-orm/sqlite-core';
@@ -27,7 +27,7 @@ function printHelp({
27
27
  message.push(
28
28
  linebreak(),
29
29
  ` ${bgGreen(black(` ${commandName} `))} ${green(
30
- `v${"0.10.4"}`
30
+ `v${"0.10.5"}`
31
31
  )} ${headline}`
32
32
  );
33
33
  }
@@ -1,4 +1,4 @@
1
- import { bold, red } from "kleur/colors";
1
+ import { bold } from "kleur/colors";
2
2
  const FOREIGN_KEY_DNE_ERROR = (tableName) => {
3
3
  return `Table ${bold(
4
4
  tableName
@@ -70,10 +70,12 @@ import {
70
70
  max,
71
71
  min
72
72
  } from "drizzle-orm";
73
+ import { alias } from "drizzle-orm/sqlite-core";
73
74
  export {
74
75
  FALSE,
75
76
  NOW,
76
77
  TRUE,
78
+ alias,
77
79
  and,
78
80
  asc,
79
81
  avg,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/db",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "description": "Add libSQL and Astro Studio support to your Astro site",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -88,7 +88,7 @@
88
88
  "mocha": "^10.2.0",
89
89
  "typescript": "^5.2.2",
90
90
  "vite": "^5.1.4",
91
- "astro": "4.6.1",
91
+ "astro": "4.6.3",
92
92
  "astro-scripts": "0.0.14"
93
93
  },
94
94
  "scripts": {
package/virtual.d.ts CHANGED
@@ -42,4 +42,5 @@ declare module 'astro:db' {
42
42
  export const sumDistinct: RuntimeConfig['sumDistinct'];
43
43
  export const max: RuntimeConfig['max'];
44
44
  export const min: RuntimeConfig['min'];
45
+ export const alias: RuntimeConfig['alias'];
45
46
  }