@getstrata/starter 2.0.1 → 2.0.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
@@ -3060,9 +3060,9 @@ function renderPackageJson(projectName, options = {}) {
3060
3060
  "@getstrata/cli": "workspace:*",
3061
3061
  "@getstrata/core": "workspace:*"
3062
3062
  } : {
3063
- "@getstrata/bootstrap": "^2.0.1",
3064
- "@getstrata/cli": "^2.0.1",
3065
- "@getstrata/core": "^2.0.1"
3063
+ "@getstrata/bootstrap": "^2.0.3",
3064
+ "@getstrata/cli": "^2.0.3",
3065
+ "@getstrata/core": "^2.0.3"
3066
3066
  };
3067
3067
  coreDeps.eta = "^4.6.0";
3068
3068
  if (options.layers?.database === "mysql") {
@@ -3091,7 +3091,7 @@ function renderPackageJson(projectName, options = {}) {
3091
3091
  dependencies: coreDeps,
3092
3092
  devDependencies: {
3093
3093
  "@types/bun": "^1.4.0",
3094
- typescript: "^5.9.2"
3094
+ typescript: "^7.0.2"
3095
3095
  }
3096
3096
  }, null, 2)}
3097
3097
  `;
@@ -5133,7 +5133,7 @@ function renderBillingModule(layers) {
5133
5133
  "SELECT plan, status, stripe_subscription_id, current_period_end FROM subscription LIMIT 1",
5134
5134
  );`;
5135
5135
  return `import type { AppModule } from "@getstrata/bootstrap/contracts";
5136
- import { jsonResponse, withErrorHandling } from "@getstrata/core/http/response";
5136
+ import { jsonResponse, withJsonErrorHandling } from "@getstrata/core/http/response";
5137
5137
  import { verifyStripeWebhookSignature } from "@getstrata/core/security/stripeWebhook";
5138
5138
  import { applyStripeWebhook } from "../../billing/applyStripeWebhook.ts";
5139
5139
  ${tenantImport}import { getSql } from "../../bootstrap/database.ts";
@@ -5150,7 +5150,7 @@ const billingModule: AppModule = {
5150
5150
  "/billing/webhooks/stripe": {
5151
5151
  POST: kernel.wrap(
5152
5152
  "api",
5153
- withErrorHandling(async (request) => {
5153
+ withJsonErrorHandling(async (request) => {
5154
5154
  if (!billingEnabled()) {
5155
5155
  return new Response("Not found", { status: 404 });
5156
5156
  }
@@ -5173,7 +5173,7 @@ const billingModule: AppModule = {
5173
5173
  },
5174
5174
  "/api/v1/billing/subscription": {
5175
5175
  GET: kernel.wrapApi(
5176
- withErrorHandling(async () => {
5176
+ withJsonErrorHandling(async () => {
5177
5177
  if (!billingEnabled()) {
5178
5178
  return new Response("Not found", { status: 404 });
5179
5179
  }
@@ -2,3 +2,6 @@ declare module "*.html" {
2
2
  const value: import("bun").HTMLBundle;
3
3
  export default value;
4
4
  }
5
+
6
+ // Bun's browser bundler accepts CSS imports for their side effects.
7
+ declare module "*.css";
@@ -16,6 +16,6 @@
16
16
  "@types/bun": "^1.4.0",
17
17
  "@types/react": "^19.1.10",
18
18
  "@types/react-dom": "^19.1.7",
19
- "typescript": "^5.9.2"
19
+ "typescript": "^7.0.2"
20
20
  }
21
21
  }
@@ -12,13 +12,13 @@
12
12
  "check": "tsc --noEmit"
13
13
  },
14
14
  "dependencies": {
15
- "@getstrata/bootstrap": "^2.0.1",
16
- "@getstrata/cli": "^2.0.1",
17
- "@getstrata/core": "^2.0.1",
15
+ "@getstrata/bootstrap": "^2.0.3",
16
+ "@getstrata/cli": "^2.0.3",
17
+ "@getstrata/core": "^2.0.3",
18
18
  "eta": "^4.6.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/bun": "^1.4.0",
22
- "typescript": "^5.9.2"
22
+ "typescript": "^7.0.2"
23
23
  }
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getstrata/starter",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Interactive create-strata wizard. Choose each layer; one database engine.",
5
5
  "type": "module",
6
6
  "license": "MIT",