create-z3 0.0.16 → 0.0.18

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
@@ -147,8 +147,8 @@ var OAUTH_PROVIDERS = {
147
147
  import: "",
148
148
  clientSideProvider: '"google"',
149
149
  socialProvider: `google({
150
- clientId: process.env.GOOGLE_CLIENT_ID as string,
151
- clientSecret: process.env.GOOGLE_CLIENT_SECRET as string,
150
+ clientId: process.env.GOOGLE_CLIENT_ID!,
151
+ clientSecret: process.env.GOOGLE_CLIENT_SECRET!,
152
152
  })`,
153
153
  scopes: []
154
154
  },
@@ -192,8 +192,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
192
192
  import: "",
193
193
  clientSideProvider: '"github"',
194
194
  socialProvider: `github({
195
- clientId: process.env.GITHUB_CLIENT_ID as string,
196
- clientSecret: process.env.GITHUB_CLIENT_SECRET as string,
195
+ clientId: process.env.GITHUB_CLIENT_ID!,
196
+ clientSecret: process.env.GITHUB_CLIENT_SECRET!,
197
197
  })`,
198
198
  scopes: ["user:email"]
199
199
  },
@@ -238,8 +238,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
238
238
  import: "",
239
239
  clientSideProvider: '"discord"',
240
240
  socialProvider: `discord({
241
- clientId: process.env.DISCORD_CLIENT_ID as string,
242
- clientSecret: process.env.DISCORD_CLIENT_SECRET as string,
241
+ clientId: process.env.DISCORD_CLIENT_ID!,
242
+ clientSecret: process.env.DISCORD_CLIENT_SECRET!,
243
243
  })`,
244
244
  scopes: []
245
245
  },
@@ -283,8 +283,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
283
283
  import: "",
284
284
  clientSideProvider: '"apple"',
285
285
  socialProvider: `apple({
286
- clientId: process.env.APPLE_CLIENT_ID as string,
287
- clientSecret: process.env.APPLE_CLIENT_SECRET as string,
286
+ clientId: process.env.APPLE_CLIENT_ID!,
287
+ clientSecret: process.env.APPLE_CLIENT_SECRET!,
288
288
  })`,
289
289
  scopes: []
290
290
  },
@@ -331,8 +331,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
331
331
  import: "",
332
332
  clientSideProvider: '"microsoft"',
333
333
  socialProvider: `microsoft({
334
- clientId: process.env.MICROSOFT_CLIENT_ID as string,
335
- clientSecret: process.env.MICROSOFT_CLIENT_SECRET as string,
334
+ clientId: process.env.MICROSOFT_CLIENT_ID!,
335
+ clientSecret: process.env.MICROSOFT_CLIENT_SECRET!,
336
336
  tenantId: process.env.MICROSOFT_TENANT_ID,
337
337
  })`,
338
338
  scopes: []
@@ -384,8 +384,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
384
384
  import: "",
385
385
  clientSideProvider: '"facebook"',
386
386
  socialProvider: `facebook({
387
- clientId: process.env.FACEBOOK_CLIENT_ID as string,
388
- clientSecret: process.env.FACEBOOK_CLIENT_SECRET as string,
387
+ clientId: process.env.FACEBOOK_CLIENT_ID!,
388
+ clientSecret: process.env.FACEBOOK_CLIENT_SECRET!,
389
389
  })`,
390
390
  scopes: []
391
391
  },
@@ -430,8 +430,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
430
430
  import: "",
431
431
  clientSideProvider: '"twitter"',
432
432
  socialProvider: `twitter({
433
- clientId: process.env.TWITTER_CLIENT_ID as string,
434
- clientSecret: process.env.TWITTER_CLIENT_SECRET as string,
433
+ clientId: process.env.TWITTER_CLIENT_ID!,
434
+ clientSecret: process.env.TWITTER_CLIENT_SECRET!,
435
435
  })`,
436
436
  scopes: []
437
437
  },
@@ -476,8 +476,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
476
476
  import: "",
477
477
  clientSideProvider: '"linkedin"',
478
478
  socialProvider: `linkedin({
479
- clientId: process.env.LINKEDIN_CLIENT_ID as string,
480
- clientSecret: process.env.LINKEDIN_CLIENT_SECRET as string,
479
+ clientId: process.env.LINKEDIN_CLIENT_ID!,
480
+ clientSecret: process.env.LINKEDIN_CLIENT_SECRET!,
481
481
  })`,
482
482
  scopes: []
483
483
  },
@@ -522,8 +522,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
522
522
  import: "",
523
523
  clientSideProvider: '"twitch"',
524
524
  socialProvider: `twitch({
525
- clientId: process.env.TWITCH_CLIENT_ID as string,
526
- clientSecret: process.env.TWITCH_CLIENT_SECRET as string,
525
+ clientId: process.env.TWITCH_CLIENT_ID!,
526
+ clientSecret: process.env.TWITCH_CLIENT_SECRET!,
527
527
  })`,
528
528
  scopes: []
529
529
  },
@@ -568,8 +568,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
568
568
  import: "",
569
569
  clientSideProvider: '"spotify"',
570
570
  socialProvider: `spotify({
571
- clientId: process.env.SPOTIFY_CLIENT_ID as string,
572
- clientSecret: process.env.SPOTIFY_CLIENT_SECRET as string,
571
+ clientId: process.env.SPOTIFY_CLIENT_ID!,
572
+ clientSecret: process.env.SPOTIFY_CLIENT_SECRET!,
573
573
  })`,
574
574
  scopes: []
575
575
  },
@@ -616,8 +616,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
616
616
  import: "",
617
617
  clientSideProvider: '"atlassian"',
618
618
  socialProvider: `atlassian({
619
- clientId: process.env.ATLASSIAN_CLIENT_ID as string,
620
- clientSecret: process.env.ATLASSIAN_CLIENT_SECRET as string,
619
+ clientId: process.env.ATLASSIAN_CLIENT_ID!,
620
+ clientSecret: process.env.ATLASSIAN_CLIENT_SECRET!,
621
621
  })`,
622
622
  scopes: []
623
623
  },
@@ -662,11 +662,11 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
662
662
  import: "",
663
663
  clientSideProvider: '"cognito"',
664
664
  socialProvider: `cognito({
665
- clientId: process.env.COGNITO_CLIENT_ID as string,
666
- clientSecret: process.env.COGNITO_CLIENT_SECRET as string,
667
- domain: process.env.COGNITO_DOMAIN as string,
668
- region: process.env.COGNITO_REGION as string,
669
- userPoolId: process.env.COGNITO_USER_POOL_ID as string,
665
+ clientId: process.env.COGNITO_CLIENT_ID!,
666
+ clientSecret: process.env.COGNITO_CLIENT_SECRET!,
667
+ domain: process.env.COGNITO_DOMAIN!,
668
+ region: process.env.COGNITO_REGION!,
669
+ userPoolId: process.env.COGNITO_USER_POOL_ID!,
670
670
  })`,
671
671
  scopes: []
672
672
  },
@@ -732,8 +732,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
732
732
  import: "",
733
733
  clientSideProvider: '"dropbox"',
734
734
  socialProvider: `dropbox({
735
- clientId: process.env.DROPBOX_CLIENT_ID as string,
736
- clientSecret: process.env.DROPBOX_CLIENT_SECRET as string,
735
+ clientId: process.env.DROPBOX_CLIENT_ID!,
736
+ clientSecret: process.env.DROPBOX_CLIENT_SECRET!,
737
737
  })`,
738
738
  scopes: []
739
739
  },
@@ -778,9 +778,9 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
778
778
  import: "",
779
779
  clientSideProvider: '"figma"',
780
780
  socialProvider: `figma({
781
- clientId: process.env.FIGMA_CLIENT_ID as string,
782
- clientSecret: process.env.FIGMA_CLIENT_SECRET as string,
783
- clientKey: process.env.FIGMA_CLIENT_KEY as string,
781
+ clientId: process.env.FIGMA_CLIENT_ID!,
782
+ clientSecret: process.env.FIGMA_CLIENT_SECRET!,
783
+ clientKey: process.env.FIGMA_CLIENT_KEY!,
784
784
  })`,
785
785
  scopes: []
786
786
  },
@@ -830,8 +830,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
830
830
  import: "",
831
831
  clientSideProvider: '"gitlab"',
832
832
  socialProvider: `gitlab({
833
- clientId: process.env.GITLAB_CLIENT_ID as string,
834
- clientSecret: process.env.GITLAB_CLIENT_SECRET as string,
833
+ clientId: process.env.GITLAB_CLIENT_ID!,
834
+ clientSecret: process.env.GITLAB_CLIENT_SECRET!,
835
835
  })`,
836
836
  scopes: []
837
837
  },
@@ -876,8 +876,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
876
876
  import: "",
877
877
  clientSideProvider: '"huggingface"',
878
878
  socialProvider: `huggingface({
879
- clientId: process.env.HUGGINGFACE_CLIENT_ID as string,
880
- clientSecret: process.env.HUGGINGFACE_CLIENT_SECRET as string,
879
+ clientId: process.env.HUGGINGFACE_CLIENT_ID!,
880
+ clientSecret: process.env.HUGGINGFACE_CLIENT_SECRET!,
881
881
  })`,
882
882
  scopes: ["email"]
883
883
  },
@@ -922,8 +922,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
922
922
  import: "",
923
923
  clientSideProvider: '"kakao"',
924
924
  socialProvider: `kakao({
925
- clientId: process.env.KAKAO_CLIENT_ID as string,
926
- clientSecret: process.env.KAKAO_CLIENT_SECRET as string,
925
+ clientId: process.env.KAKAO_CLIENT_ID!,
926
+ clientSecret: process.env.KAKAO_CLIENT_SECRET!,
927
927
  })`,
928
928
  scopes: []
929
929
  },
@@ -968,8 +968,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
968
968
  import: "",
969
969
  clientSideProvider: '"kick"',
970
970
  socialProvider: `kick({
971
- clientId: process.env.KICK_CLIENT_ID as string,
972
- clientSecret: process.env.KICK_CLIENT_SECRET as string,
971
+ clientId: process.env.KICK_CLIENT_ID!,
972
+ clientSecret: process.env.KICK_CLIENT_SECRET!,
973
973
  })`,
974
974
  scopes: []
975
975
  },
@@ -1014,8 +1014,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1014
1014
  import: "",
1015
1015
  clientSideProvider: '"line"',
1016
1016
  socialProvider: `line({
1017
- clientId: process.env.LINE_CLIENT_ID as string,
1018
- clientSecret: process.env.LINE_CLIENT_SECRET as string,
1017
+ clientId: process.env.LINE_CLIENT_ID!,
1018
+ clientSecret: process.env.LINE_CLIENT_SECRET!,
1019
1019
  })`,
1020
1020
  scopes: []
1021
1021
  },
@@ -1060,8 +1060,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1060
1060
  import: "",
1061
1061
  clientSideProvider: '"linear"',
1062
1062
  socialProvider: `linear({
1063
- clientId: process.env.LINEAR_CLIENT_ID as string,
1064
- clientSecret: process.env.LINEAR_CLIENT_SECRET as string,
1063
+ clientId: process.env.LINEAR_CLIENT_ID!,
1064
+ clientSecret: process.env.LINEAR_CLIENT_SECRET!,
1065
1065
  })`,
1066
1066
  scopes: []
1067
1067
  },
@@ -1105,8 +1105,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1105
1105
  import: "",
1106
1106
  clientSideProvider: '"naver"',
1107
1107
  socialProvider: `naver({
1108
- clientId: process.env.NAVER_CLIENT_ID as string,
1109
- clientSecret: process.env.NAVER_CLIENT_SECRET as string,
1108
+ clientId: process.env.NAVER_CLIENT_ID!,
1109
+ clientSecret: process.env.NAVER_CLIENT_SECRET!,
1110
1110
  })`,
1111
1111
  scopes: []
1112
1112
  },
@@ -1151,8 +1151,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1151
1151
  import: "",
1152
1152
  clientSideProvider: '"notion"',
1153
1153
  socialProvider: `notion({
1154
- clientId: process.env.NOTION_CLIENT_ID as string,
1155
- clientSecret: process.env.NOTION_CLIENT_SECRET as string,
1154
+ clientId: process.env.NOTION_CLIENT_ID!,
1155
+ clientSecret: process.env.NOTION_CLIENT_SECRET!,
1156
1156
  })`,
1157
1157
  scopes: []
1158
1158
  },
@@ -1197,8 +1197,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1197
1197
  import: "",
1198
1198
  clientSideProvider: '"paybin"',
1199
1199
  socialProvider: `paybin({
1200
- clientId: process.env.PAYBIN_CLIENT_ID as string,
1201
- clientSecret: process.env.PAYBIN_CLIENT_SECRET as string,
1200
+ clientId: process.env.PAYBIN_CLIENT_ID!,
1201
+ clientSecret: process.env.PAYBIN_CLIENT_SECRET!,
1202
1202
  })`,
1203
1203
  scopes: []
1204
1204
  },
@@ -1243,8 +1243,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1243
1243
  import: "",
1244
1244
  clientSideProvider: '"paypal"',
1245
1245
  socialProvider: `paypal({
1246
- clientId: process.env.PAYPAL_CLIENT_ID as string,
1247
- clientSecret: process.env.PAYPAL_CLIENT_SECRET as string,
1246
+ clientId: process.env.PAYPAL_CLIENT_ID!,
1247
+ clientSecret: process.env.PAYPAL_CLIENT_SECRET!,
1248
1248
  environment: process.env.PAYPAL_ENVIRONMENT || "sandbox",
1249
1249
  })`,
1250
1250
  scopes: []
@@ -1296,8 +1296,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1296
1296
  import: "",
1297
1297
  clientSideProvider: '"polar"',
1298
1298
  socialProvider: `polar({
1299
- clientId: process.env.POLAR_CLIENT_ID as string,
1300
- clientSecret: process.env.POLAR_CLIENT_SECRET as string,
1299
+ clientId: process.env.POLAR_CLIENT_ID!,
1300
+ clientSecret: process.env.POLAR_CLIENT_SECRET!,
1301
1301
  })`,
1302
1302
  scopes: []
1303
1303
  },
@@ -1342,8 +1342,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1342
1342
  import: "",
1343
1343
  clientSideProvider: '"reddit"',
1344
1344
  socialProvider: `reddit({
1345
- clientId: process.env.REDDIT_CLIENT_ID as string,
1346
- clientSecret: process.env.REDDIT_CLIENT_SECRET as string,
1345
+ clientId: process.env.REDDIT_CLIENT_ID!,
1346
+ clientSecret: process.env.REDDIT_CLIENT_SECRET!,
1347
1347
  })`,
1348
1348
  scopes: []
1349
1349
  },
@@ -1388,8 +1388,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1388
1388
  import: "",
1389
1389
  clientSideProvider: '"roblox"',
1390
1390
  socialProvider: `roblox({
1391
- clientId: process.env.ROBLOX_CLIENT_ID as string,
1392
- clientSecret: process.env.ROBLOX_CLIENT_SECRET as string,
1391
+ clientId: process.env.ROBLOX_CLIENT_ID!,
1392
+ clientSecret: process.env.ROBLOX_CLIENT_SECRET!,
1393
1393
  })`,
1394
1394
  scopes: []
1395
1395
  },
@@ -1436,8 +1436,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1436
1436
  import: "",
1437
1437
  clientSideProvider: '"salesforce"',
1438
1438
  socialProvider: `salesforce({
1439
- clientId: process.env.SALESFORCE_CLIENT_ID as string,
1440
- clientSecret: process.env.SALESFORCE_CLIENT_SECRET as string,
1439
+ clientId: process.env.SALESFORCE_CLIENT_ID!,
1440
+ clientSecret: process.env.SALESFORCE_CLIENT_SECRET!,
1441
1441
  environment: process.env.SALESFORCE_ENVIRONMENT || "login",
1442
1442
  })`,
1443
1443
  scopes: []
@@ -1489,8 +1489,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1489
1489
  import: "",
1490
1490
  clientSideProvider: '"slack"',
1491
1491
  socialProvider: `slack({
1492
- clientId: process.env.SLACK_CLIENT_ID as string,
1493
- clientSecret: process.env.SLACK_CLIENT_SECRET as string,
1492
+ clientId: process.env.SLACK_CLIENT_ID!,
1493
+ clientSecret: process.env.SLACK_CLIENT_SECRET!,
1494
1494
  })`,
1495
1495
  scopes: []
1496
1496
  },
@@ -1535,8 +1535,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1535
1535
  import: "",
1536
1536
  clientSideProvider: '"tiktok"',
1537
1537
  socialProvider: `tiktok({
1538
- clientKey: process.env.TIKTOK_CLIENT_KEY as string,
1539
- clientSecret: process.env.TIKTOK_CLIENT_SECRET as string,
1538
+ clientKey: process.env.TIKTOK_CLIENT_KEY!,
1539
+ clientSecret: process.env.TIKTOK_CLIENT_SECRET!,
1540
1540
  })`,
1541
1541
  scopes: []
1542
1542
  },
@@ -1583,8 +1583,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1583
1583
  import: "",
1584
1584
  clientSideProvider: '"vercel"',
1585
1585
  socialProvider: `vercel({
1586
- clientId: process.env.VERCEL_CLIENT_ID as string,
1587
- clientSecret: process.env.VERCEL_CLIENT_SECRET as string,
1586
+ clientId: process.env.VERCEL_CLIENT_ID!,
1587
+ clientSecret: process.env.VERCEL_CLIENT_SECRET!,
1588
1588
  })`,
1589
1589
  scopes: []
1590
1590
  },
@@ -1629,8 +1629,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1629
1629
  import: "",
1630
1630
  clientSideProvider: '"vk"',
1631
1631
  socialProvider: `vk({
1632
- clientId: process.env.VK_CLIENT_ID as string,
1633
- clientSecret: process.env.VK_CLIENT_SECRET as string,
1632
+ clientId: process.env.VK_CLIENT_ID!,
1633
+ clientSecret: process.env.VK_CLIENT_SECRET!,
1634
1634
  })`,
1635
1635
  scopes: []
1636
1636
  },
@@ -1675,8 +1675,8 @@ For more details, see the [Better Auth documentation](https://www.better-auth.co
1675
1675
  import: "",
1676
1676
  clientSideProvider: '"zoom"',
1677
1677
  socialProvider: `zoom({
1678
- clientId: process.env.ZOOM_CLIENT_ID as string,
1679
- clientSecret: process.env.ZOOM_CLIENT_SECRET as string,
1678
+ clientId: process.env.ZOOM_CLIENT_ID!,
1679
+ clientSecret: process.env.ZOOM_CLIENT_SECRET!,
1680
1680
  })`,
1681
1681
  scopes: ["user:read:user"]
1682
1682
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-z3",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "type": "module",
5
5
  "description": "CLI for scaffolding Z3 Stack applications (TanStack/Next.js + Convex + Better Auth)",
6
6
  "bin": {
@@ -98,7 +98,7 @@ export default tseslint.config(
98
98
  "perfectionist/sort-named-imports": "warn",
99
99
  "perfectionist/sort-object-types": "warn",
100
100
  "perfectionist/sort-objects": [
101
- "off",
101
+ "warn",
102
102
  {
103
103
  customGroups: [
104
104
  {
@@ -38,11 +38,7 @@ export default function BetterAuthClientProvider({ children }: { children: React
38
38
  router.refresh()
39
39
  }}
40
40
  replace={router.replace}
41
- social={{
42
- providers: [
43
- // {{OAUTH_UI_PROVIDERS}}
44
- ],
45
- }}
41
+ // {{OAUTH_UI_PROVIDERS}}
46
42
  >
47
43
  {children}
48
44
  </AuthUIProvider>