create-strata 2.2.1 → 2.2.3

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/cli.js CHANGED
@@ -3197,9 +3197,9 @@ function renderPackageJson(projectName, options = {}) {
3197
3197
  "@getstrata/cli": "workspace:*",
3198
3198
  "@getstrata/core": "workspace:*"
3199
3199
  } : {
3200
- "@getstrata/bootstrap": "^2.2.1",
3201
- "@getstrata/cli": "^2.2.1",
3202
- "@getstrata/core": "^2.2.1"
3200
+ "@getstrata/bootstrap": "^2.2.3",
3201
+ "@getstrata/cli": "^2.2.3",
3202
+ "@getstrata/core": "^2.2.3"
3203
3203
  };
3204
3204
  coreDeps.eta = "^4.6.0";
3205
3205
  if (options.layers?.database === "mysql") {
@@ -3811,10 +3811,7 @@ import {
3811
3811
  } from "@getstrata/core/database/defaultConnection";
3812
3812
  import { useSqlDialect } from "@getstrata/core/database/dialect";
3813
3813
 
3814
- export type SqlClient = {
3815
- unsafe<T>(query: string, params?: readonly unknown[]): Promise<T[]>;
3816
- close?: () => Promise<void> | void;
3817
- };
3814
+ export type SqlClient = SqlDatabaseConnection;
3818
3815
 
3819
3816
  let sql: SqlClient | null = null;
3820
3817
 
@@ -3832,7 +3829,7 @@ export function getSql(): SqlClient {
3832
3829
  const pool = createBunSqlPool({ url, max: 5 }) as SqlDatabaseConnection;
3833
3830
  registerDefaultDatabasePool(pool);
3834
3831
  bindDatabaseConnection(getDefaultDatabaseQuery());
3835
- sql = getDefaultDatabaseQuery() as SqlClient;
3832
+ sql = getDefaultDatabaseQuery();
3836
3833
  return sql;
3837
3834
  }
3838
3835
 
@@ -12,9 +12,9 @@
12
12
  "check": "tsc --noEmit"
13
13
  },
14
14
  "dependencies": {
15
- "@getstrata/bootstrap": "^2.2.1",
16
- "@getstrata/cli": "^2.2.1",
17
- "@getstrata/core": "^2.2.1",
15
+ "@getstrata/bootstrap": "^2.2.3",
16
+ "@getstrata/cli": "^2.2.3",
17
+ "@getstrata/core": "^2.2.3",
18
18
  "eta": "^4.6.0"
19
19
  },
20
20
  "devDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-strata",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "description": "Create a new Strata app. Interactive wizard; choose each layer; one database engine.",
5
5
  "type": "module",
6
6
  "license": "MIT",