create-z3 0.0.21 → 0.0.22

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/index.js CHANGED
@@ -1808,11 +1808,11 @@ function generateAuthProvidersBlock(oauthProviders, emailPasswordEnabled) {
1808
1808
  throw new Error(`Unknown OAuth provider: ${providerId}`);
1809
1809
  }
1810
1810
  const configLines = [
1811
- `clientId: process.env.${provider.envPrefix}_CLIENT_ID as string,`,
1812
- `clientSecret: process.env.${provider.envPrefix}_CLIENT_SECRET as string,`
1811
+ `clientId: process.env.${provider.envPrefix}_CLIENT_ID!,`,
1812
+ `clientSecret: process.env.${provider.envPrefix}_CLIENT_SECRET!,`
1813
1813
  ];
1814
1814
  if (providerId === "figma") {
1815
- configLines.push(`clientKey: process.env.FIGMA_CLIENT_KEY as string,`);
1815
+ configLines.push(`clientKey: process.env.FIGMA_CLIENT_KEY!,`);
1816
1816
  }
1817
1817
  return `${providerId}: {
1818
1818
  ${configLines.join("\n ")}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-z3",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "type": "module",
5
5
  "description": "CLI for scaffolding Z3 Stack applications (TanStack/Next.js + Convex + Better Auth)",
6
6
  "bin": {
@@ -36,7 +36,7 @@ export const createAuth = (
36
36
  session: {
37
37
  modelName: TABLE_SLUG_SESSIONS
38
38
  },
39
- trustedOrigins: [process.env.SITE_URL],
39
+ trustedOrigins: [process.env.SITE_URL!],
40
40
  user: {
41
41
  additionalFields: {
42
42
  role: {