diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5686270d..4bb253e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,9 +11,9 @@ jobs: fail-fast: true matrix: node-version: - - 18 - 22 - 23 + - 24 steps: - uses: actions/checkout@v4 diff --git a/apps/api/src/lib/billing/upsert-stripe-pricing.ts b/apps/api/src/lib/billing/upsert-stripe-pricing.ts index 96d3a722..402cfb3e 100644 --- a/apps/api/src/lib/billing/upsert-stripe-pricing.ts +++ b/apps/api/src/lib/billing/upsert-stripe-pricing.ts @@ -29,7 +29,8 @@ import { stripe } from '@/lib/external/stripe' * The `project` will be updated in the DB with any changes. * * The `deployment` is readonly and will not be updated, since all Stripe - * resources persist on its Project in case they're the same across deployments. + * resources persist on its Project so they can be reused if possible across + * deployments. * * @note This function assumes that the deployment's pricing config has already * been validated. diff --git a/apps/gateway/src/reset.d.ts b/apps/gateway/src/lib/reset.d.ts similarity index 100% rename from apps/gateway/src/reset.d.ts rename to apps/gateway/src/lib/reset.d.ts diff --git a/package.json b/package.json index 71888a9a..f7c9c1b0 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "packageManager": "pnpm@10.11.0", "engines": { - "node": ">=18" + "node": ">=22" }, "type": "module", "scripts": { diff --git a/packages/types/src/pricing.ts b/packages/types/src/pricing.ts index dfa7a20c..46959ff7 100644 --- a/packages/types/src/pricing.ts +++ b/packages/types/src/pricing.ts @@ -476,14 +476,16 @@ export const pricingPlanSchema = z name: z .string() .nonempty() - .describe('Human-readable name for the pricing plan') + .describe( + 'Human-readable name for the pricing plan (eg, "Free", "Starter Monthly", "Pro Annual", etc)' + ) .openapi('name', { example: 'Starter Monthly' }), slug: z .string() .nonempty() .describe( - 'PricingPlan slug ("free", "starter-monthly", "pro-annual", etc). Should be lower-cased and kebab-cased. Should be stable across deployments.' + 'PricingPlan slug (eg, "free", "starter-monthly", "pro-annual", etc). Should be lower-cased and kebab-cased. Should be stable across deployments.' ) .openapi('slug', { example: 'starter-monthly' }),