create-better-fullstack 1.6.0 → 1.6.2
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/README.md +13 -8
- package/dist/addons-setup-CBK1Htlc.mjs +5 -0
- package/dist/{addons-setup--oB72n29.mjs → addons-setup-DQa6TRrx.mjs} +174 -104
- package/dist/{bts-config-snHxP_EH.mjs → bts-config-B_rZ4_sj.mjs} +21 -73
- package/dist/cli.mjs +1 -1
- package/dist/index.d.mts +99 -9
- package/dist/index.mjs +2611 -1198
- package/dist/{mcp-Bx_Esljk.mjs → mcp-CuEEG8e5.mjs} +1 -1
- package/dist/mcp-entry.mjs +88 -21
- package/dist/virtual.d.mts +1 -1
- package/package.json +24 -9
- package/dist/addons-setup-By7Kqjss.mjs +0 -5
package/dist/index.d.mts
CHANGED
|
@@ -36,6 +36,7 @@ declare const router: {
|
|
|
36
36
|
rust: "rust";
|
|
37
37
|
python: "python";
|
|
38
38
|
go: "go";
|
|
39
|
+
java: "java";
|
|
39
40
|
}>>;
|
|
40
41
|
database: z.ZodOptional<z.ZodEnum<{
|
|
41
42
|
none: "none";
|
|
@@ -499,6 +500,10 @@ declare const router: {
|
|
|
499
500
|
redis: "redis";
|
|
500
501
|
moka: "moka";
|
|
501
502
|
}>>;
|
|
503
|
+
rustAuth: z.ZodOptional<z.ZodEnum<{
|
|
504
|
+
none: "none";
|
|
505
|
+
oauth2: "oauth2";
|
|
506
|
+
}>>;
|
|
502
507
|
pythonWebFramework: z.ZodOptional<z.ZodEnum<{
|
|
503
508
|
none: "none";
|
|
504
509
|
fastapi: "fastapi";
|
|
@@ -510,6 +515,7 @@ declare const router: {
|
|
|
510
515
|
none: "none";
|
|
511
516
|
sqlalchemy: "sqlalchemy";
|
|
512
517
|
sqlmodel: "sqlmodel";
|
|
518
|
+
"tortoise-orm": "tortoise-orm";
|
|
513
519
|
}>>;
|
|
514
520
|
pythonValidation: z.ZodOptional<z.ZodEnum<{
|
|
515
521
|
none: "none";
|
|
@@ -569,6 +575,51 @@ declare const router: {
|
|
|
569
575
|
zerolog: "zerolog";
|
|
570
576
|
slog: "slog";
|
|
571
577
|
}>>;
|
|
578
|
+
goAuth: z.ZodOptional<z.ZodEnum<{
|
|
579
|
+
none: "none";
|
|
580
|
+
jwt: "jwt";
|
|
581
|
+
casbin: "casbin";
|
|
582
|
+
}>>;
|
|
583
|
+
javaWebFramework: z.ZodOptional<z.ZodEnum<{
|
|
584
|
+
none: "none";
|
|
585
|
+
"spring-boot": "spring-boot";
|
|
586
|
+
}>>;
|
|
587
|
+
javaBuildTool: z.ZodOptional<z.ZodEnum<{
|
|
588
|
+
none: "none";
|
|
589
|
+
maven: "maven";
|
|
590
|
+
gradle: "gradle";
|
|
591
|
+
}>>;
|
|
592
|
+
javaOrm: z.ZodOptional<z.ZodEnum<{
|
|
593
|
+
none: "none";
|
|
594
|
+
"spring-data-jpa": "spring-data-jpa";
|
|
595
|
+
}>>;
|
|
596
|
+
javaAuth: z.ZodOptional<z.ZodEnum<{
|
|
597
|
+
none: "none";
|
|
598
|
+
"spring-security": "spring-security";
|
|
599
|
+
}>>;
|
|
600
|
+
javaLibraries: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
601
|
+
none: "none";
|
|
602
|
+
"spring-actuator": "spring-actuator";
|
|
603
|
+
"spring-validation": "spring-validation";
|
|
604
|
+
flyway: "flyway";
|
|
605
|
+
liquibase: "liquibase";
|
|
606
|
+
"springdoc-openapi": "springdoc-openapi";
|
|
607
|
+
lombok: "lombok";
|
|
608
|
+
mapstruct: "mapstruct";
|
|
609
|
+
caffeine: "caffeine";
|
|
610
|
+
}>>>;
|
|
611
|
+
javaTestingLibraries: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
612
|
+
none: "none";
|
|
613
|
+
junit5: "junit5";
|
|
614
|
+
mockito: "mockito";
|
|
615
|
+
testcontainers: "testcontainers";
|
|
616
|
+
assertj: "assertj";
|
|
617
|
+
"rest-assured": "rest-assured";
|
|
618
|
+
wiremock: "wiremock";
|
|
619
|
+
awaitility: "awaitility";
|
|
620
|
+
archunit: "archunit";
|
|
621
|
+
jqwik: "jqwik";
|
|
622
|
+
}>>>;
|
|
572
623
|
aiDocs: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
573
624
|
none: "none";
|
|
574
625
|
"claude-md": "claude-md";
|
|
@@ -581,7 +632,7 @@ declare const router: {
|
|
|
581
632
|
projectName: string;
|
|
582
633
|
projectDir: string;
|
|
583
634
|
relativePath: string;
|
|
584
|
-
ecosystem: "typescript" | "rust" | "python" | "go";
|
|
635
|
+
ecosystem: "typescript" | "rust" | "python" | "go" | "java";
|
|
585
636
|
database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb" | "edgedb" | "redis";
|
|
586
637
|
orm: "none" | "drizzle" | "prisma" | "mongoose" | "typeorm" | "kysely" | "mikroorm" | "sequelize";
|
|
587
638
|
backend: "none" | "hono" | "express" | "fastify" | "elysia" | "fets" | "nestjs" | "adonisjs" | "nitro" | "encore" | "convex" | "self";
|
|
@@ -630,8 +681,9 @@ declare const router: {
|
|
|
630
681
|
rustLogging: "none" | "tracing" | "env-logger";
|
|
631
682
|
rustErrorHandling: "none" | "anyhow-thiserror" | "eyre";
|
|
632
683
|
rustCaching: "none" | "redis" | "moka";
|
|
684
|
+
rustAuth: "none" | "oauth2";
|
|
633
685
|
pythonWebFramework: "none" | "fastapi" | "django" | "flask" | "litestar";
|
|
634
|
-
pythonOrm: "none" | "sqlalchemy" | "sqlmodel";
|
|
686
|
+
pythonOrm: "none" | "sqlalchemy" | "sqlmodel" | "tortoise-orm";
|
|
635
687
|
pythonValidation: "none" | "pydantic";
|
|
636
688
|
pythonAi: ("none" | "langgraph" | "langchain" | "llamaindex" | "openai-sdk" | "anthropic-sdk" | "crewai")[];
|
|
637
689
|
pythonAuth: "none" | "authlib" | "jwt";
|
|
@@ -643,6 +695,13 @@ declare const router: {
|
|
|
643
695
|
goApi: "none" | "grpc-go";
|
|
644
696
|
goCli: "none" | "cobra" | "bubbletea";
|
|
645
697
|
goLogging: "none" | "zap" | "zerolog" | "slog";
|
|
698
|
+
goAuth: "none" | "jwt" | "casbin";
|
|
699
|
+
javaWebFramework: "none" | "spring-boot";
|
|
700
|
+
javaBuildTool: "none" | "maven" | "gradle";
|
|
701
|
+
javaOrm: "none" | "spring-data-jpa";
|
|
702
|
+
javaAuth: "none" | "spring-security";
|
|
703
|
+
javaLibraries: ("none" | "spring-actuator" | "spring-validation" | "flyway" | "liquibase" | "springdoc-openapi" | "lombok" | "mapstruct" | "caffeine")[];
|
|
704
|
+
javaTestingLibraries: ("none" | "junit5" | "mockito" | "testcontainers" | "assertj" | "rest-assured" | "wiremock" | "awaitility" | "archunit" | "jqwik")[];
|
|
646
705
|
aiDocs: ("none" | "claude-md" | "agents-md" | "cursorrules")[];
|
|
647
706
|
astroIntegration?: "none" | "svelte" | "solid" | "react" | "vue" | undefined;
|
|
648
707
|
shadcnBase?: "radix" | "base" | undefined;
|
|
@@ -669,7 +728,7 @@ declare const router: {
|
|
|
669
728
|
projectName: string;
|
|
670
729
|
projectDir: string;
|
|
671
730
|
relativePath: string;
|
|
672
|
-
ecosystem: "typescript" | "rust" | "python" | "go";
|
|
731
|
+
ecosystem: "typescript" | "rust" | "python" | "go" | "java";
|
|
673
732
|
database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb" | "edgedb" | "redis";
|
|
674
733
|
orm: "none" | "drizzle" | "prisma" | "mongoose" | "typeorm" | "kysely" | "mikroorm" | "sequelize";
|
|
675
734
|
backend: "none" | "hono" | "express" | "fastify" | "elysia" | "fets" | "nestjs" | "adonisjs" | "nitro" | "encore" | "convex" | "self";
|
|
@@ -718,8 +777,9 @@ declare const router: {
|
|
|
718
777
|
rustLogging: "none" | "tracing" | "env-logger";
|
|
719
778
|
rustErrorHandling: "none" | "anyhow-thiserror" | "eyre";
|
|
720
779
|
rustCaching: "none" | "redis" | "moka";
|
|
780
|
+
rustAuth: "none" | "oauth2";
|
|
721
781
|
pythonWebFramework: "none" | "fastapi" | "django" | "flask" | "litestar";
|
|
722
|
-
pythonOrm: "none" | "sqlalchemy" | "sqlmodel";
|
|
782
|
+
pythonOrm: "none" | "sqlalchemy" | "sqlmodel" | "tortoise-orm";
|
|
723
783
|
pythonValidation: "none" | "pydantic";
|
|
724
784
|
pythonAi: ("none" | "langgraph" | "langchain" | "llamaindex" | "openai-sdk" | "anthropic-sdk" | "crewai")[];
|
|
725
785
|
pythonAuth: "none" | "authlib" | "jwt";
|
|
@@ -731,6 +791,13 @@ declare const router: {
|
|
|
731
791
|
goApi: "none" | "grpc-go";
|
|
732
792
|
goCli: "none" | "cobra" | "bubbletea";
|
|
733
793
|
goLogging: "none" | "zap" | "zerolog" | "slog";
|
|
794
|
+
goAuth: "none" | "jwt" | "casbin";
|
|
795
|
+
javaWebFramework: "none" | "spring-boot";
|
|
796
|
+
javaBuildTool: "none" | "maven" | "gradle";
|
|
797
|
+
javaOrm: "none" | "spring-data-jpa";
|
|
798
|
+
javaAuth: "none" | "spring-security";
|
|
799
|
+
javaLibraries: ("none" | "spring-actuator" | "spring-validation" | "flyway" | "liquibase" | "springdoc-openapi" | "lombok" | "mapstruct" | "caffeine")[];
|
|
800
|
+
javaTestingLibraries: ("none" | "junit5" | "mockito" | "testcontainers" | "assertj" | "rest-assured" | "wiremock" | "awaitility" | "archunit" | "jqwik")[];
|
|
734
801
|
aiDocs: ("none" | "claude-md" | "agents-md" | "cursorrules")[];
|
|
735
802
|
astroIntegration?: "none" | "svelte" | "solid" | "react" | "vue" | undefined;
|
|
736
803
|
shadcnBase?: "radix" | "base" | undefined;
|
|
@@ -770,7 +837,7 @@ declare const router: {
|
|
|
770
837
|
projectName: string;
|
|
771
838
|
projectDir: string;
|
|
772
839
|
relativePath: string;
|
|
773
|
-
ecosystem: "typescript" | "rust" | "python" | "go";
|
|
840
|
+
ecosystem: "typescript" | "rust" | "python" | "go" | "java";
|
|
774
841
|
database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb" | "edgedb" | "redis";
|
|
775
842
|
orm: "none" | "drizzle" | "prisma" | "mongoose" | "typeorm" | "kysely" | "mikroorm" | "sequelize";
|
|
776
843
|
backend: "none" | "hono" | "express" | "fastify" | "elysia" | "fets" | "nestjs" | "adonisjs" | "nitro" | "encore" | "convex" | "self";
|
|
@@ -819,8 +886,9 @@ declare const router: {
|
|
|
819
886
|
rustLogging: "none" | "tracing" | "env-logger";
|
|
820
887
|
rustErrorHandling: "none" | "anyhow-thiserror" | "eyre";
|
|
821
888
|
rustCaching: "none" | "redis" | "moka";
|
|
889
|
+
rustAuth: "none" | "oauth2";
|
|
822
890
|
pythonWebFramework: "none" | "fastapi" | "django" | "flask" | "litestar";
|
|
823
|
-
pythonOrm: "none" | "sqlalchemy" | "sqlmodel";
|
|
891
|
+
pythonOrm: "none" | "sqlalchemy" | "sqlmodel" | "tortoise-orm";
|
|
824
892
|
pythonValidation: "none" | "pydantic";
|
|
825
893
|
pythonAi: ("none" | "langgraph" | "langchain" | "llamaindex" | "openai-sdk" | "anthropic-sdk" | "crewai")[];
|
|
826
894
|
pythonAuth: "none" | "authlib" | "jwt";
|
|
@@ -832,6 +900,13 @@ declare const router: {
|
|
|
832
900
|
goApi: "none" | "grpc-go";
|
|
833
901
|
goCli: "none" | "cobra" | "bubbletea";
|
|
834
902
|
goLogging: "none" | "zap" | "zerolog" | "slog";
|
|
903
|
+
goAuth: "none" | "jwt" | "casbin";
|
|
904
|
+
javaWebFramework: "none" | "spring-boot";
|
|
905
|
+
javaBuildTool: "none" | "maven" | "gradle";
|
|
906
|
+
javaOrm: "none" | "spring-data-jpa";
|
|
907
|
+
javaAuth: "none" | "spring-security";
|
|
908
|
+
javaLibraries: ("none" | "spring-actuator" | "spring-validation" | "flyway" | "liquibase" | "springdoc-openapi" | "lombok" | "mapstruct" | "caffeine")[];
|
|
909
|
+
javaTestingLibraries: ("none" | "junit5" | "mockito" | "testcontainers" | "assertj" | "rest-assured" | "wiremock" | "awaitility" | "archunit" | "jqwik")[];
|
|
835
910
|
aiDocs: ("none" | "claude-md" | "agents-md" | "cursorrules")[];
|
|
836
911
|
astroIntegration?: "none" | "svelte" | "solid" | "react" | "vue" | undefined;
|
|
837
912
|
shadcnBase?: "radix" | "base" | undefined;
|
|
@@ -858,7 +933,7 @@ declare const router: {
|
|
|
858
933
|
projectName: string;
|
|
859
934
|
projectDir: string;
|
|
860
935
|
relativePath: string;
|
|
861
|
-
ecosystem: "typescript" | "rust" | "python" | "go";
|
|
936
|
+
ecosystem: "typescript" | "rust" | "python" | "go" | "java";
|
|
862
937
|
database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb" | "edgedb" | "redis";
|
|
863
938
|
orm: "none" | "drizzle" | "prisma" | "mongoose" | "typeorm" | "kysely" | "mikroorm" | "sequelize";
|
|
864
939
|
backend: "none" | "hono" | "express" | "fastify" | "elysia" | "fets" | "nestjs" | "adonisjs" | "nitro" | "encore" | "convex" | "self";
|
|
@@ -907,8 +982,9 @@ declare const router: {
|
|
|
907
982
|
rustLogging: "none" | "tracing" | "env-logger";
|
|
908
983
|
rustErrorHandling: "none" | "anyhow-thiserror" | "eyre";
|
|
909
984
|
rustCaching: "none" | "redis" | "moka";
|
|
985
|
+
rustAuth: "none" | "oauth2";
|
|
910
986
|
pythonWebFramework: "none" | "fastapi" | "django" | "flask" | "litestar";
|
|
911
|
-
pythonOrm: "none" | "sqlalchemy" | "sqlmodel";
|
|
987
|
+
pythonOrm: "none" | "sqlalchemy" | "sqlmodel" | "tortoise-orm";
|
|
912
988
|
pythonValidation: "none" | "pydantic";
|
|
913
989
|
pythonAi: ("none" | "langgraph" | "langchain" | "llamaindex" | "openai-sdk" | "anthropic-sdk" | "crewai")[];
|
|
914
990
|
pythonAuth: "none" | "authlib" | "jwt";
|
|
@@ -920,6 +996,13 @@ declare const router: {
|
|
|
920
996
|
goApi: "none" | "grpc-go";
|
|
921
997
|
goCli: "none" | "cobra" | "bubbletea";
|
|
922
998
|
goLogging: "none" | "zap" | "zerolog" | "slog";
|
|
999
|
+
goAuth: "none" | "jwt" | "casbin";
|
|
1000
|
+
javaWebFramework: "none" | "spring-boot";
|
|
1001
|
+
javaBuildTool: "none" | "maven" | "gradle";
|
|
1002
|
+
javaOrm: "none" | "spring-data-jpa";
|
|
1003
|
+
javaAuth: "none" | "spring-security";
|
|
1004
|
+
javaLibraries: ("none" | "spring-actuator" | "spring-validation" | "flyway" | "liquibase" | "springdoc-openapi" | "lombok" | "mapstruct" | "caffeine")[];
|
|
1005
|
+
javaTestingLibraries: ("none" | "junit5" | "mockito" | "testcontainers" | "assertj" | "rest-assured" | "wiremock" | "awaitility" | "archunit" | "jqwik")[];
|
|
923
1006
|
aiDocs: ("none" | "claude-md" | "agents-md" | "cursorrules")[];
|
|
924
1007
|
astroIntegration?: "none" | "svelte" | "solid" | "react" | "vue" | undefined;
|
|
925
1008
|
shadcnBase?: "radix" | "base" | undefined;
|
|
@@ -1104,11 +1187,18 @@ type Effect = import__better_fullstack_types.Effect;
|
|
|
1104
1187
|
type Examples = import__better_fullstack_types.Examples;
|
|
1105
1188
|
type Frontend = import__better_fullstack_types.Frontend;
|
|
1106
1189
|
type GoApi = import__better_fullstack_types.GoApi;
|
|
1190
|
+
type GoAuth = import__better_fullstack_types.GoAuth;
|
|
1107
1191
|
type GoCli = import__better_fullstack_types.GoCli;
|
|
1108
1192
|
type GoLogging = import__better_fullstack_types.GoLogging;
|
|
1109
1193
|
type GoOrm = import__better_fullstack_types.GoOrm;
|
|
1110
1194
|
type GoWebFramework = import__better_fullstack_types.GoWebFramework;
|
|
1111
1195
|
type InitResult = import__better_fullstack_types.InitResult;
|
|
1196
|
+
type JavaAuth = import__better_fullstack_types.JavaAuth;
|
|
1197
|
+
type JavaBuildTool = import__better_fullstack_types.JavaBuildTool;
|
|
1198
|
+
type JavaLibraries = import__better_fullstack_types.JavaLibraries;
|
|
1199
|
+
type JavaOrm = import__better_fullstack_types.JavaOrm;
|
|
1200
|
+
type JavaTestingLibraries = import__better_fullstack_types.JavaTestingLibraries;
|
|
1201
|
+
type JavaWebFramework = import__better_fullstack_types.JavaWebFramework;
|
|
1112
1202
|
type Logging = import__better_fullstack_types.Logging;
|
|
1113
1203
|
type ORM = import__better_fullstack_types.ORM;
|
|
1114
1204
|
type PackageManager = import__better_fullstack_types.PackageManager;
|
|
@@ -1132,4 +1222,4 @@ type ServerDeploy = import__better_fullstack_types.ServerDeploy;
|
|
|
1132
1222
|
type Template = import__better_fullstack_types.Template;
|
|
1133
1223
|
type UILibrary = import__better_fullstack_types.UILibrary;
|
|
1134
1224
|
type WebDeploy = import__better_fullstack_types.WebDeploy;
|
|
1135
|
-
export { type API, type AddInput, type AddResult, type Addons, type AiDocs, type Analytics, type Animation, type Auth, type Backend, type BetterTStackConfig, type CMS, type CSSFramework, type Caching, type CreateInput, type Database, type DatabaseSetup, type DirectoryConflict, EMBEDDED_TEMPLATES, type Ecosystem, type Effect, type Examples, type Frontend, type GeneratorOptions, type GeneratorResult, type GoApi, type GoCli, type GoLogging, type GoOrm, type GoWebFramework, type InitResult, type Logging, type ORM, type PackageManager, type Payments, type PythonAi, type PythonOrm, type PythonQuality, type PythonTaskQueue, type PythonValidation, type PythonWebFramework, type Realtime, type Runtime, type RustApi, type RustCli, type RustFrontend, type RustLibraries, type RustLogging, type RustOrm, type RustWebFramework, type ServerDeploy, TEMPLATE_COUNT, type Template, type UILibrary, type VirtualDirectory, type VirtualFile, VirtualFileSystem, type VirtualFileTree, type VirtualNode, type WebDeploy, add, builder, create, createBtsCli, createVirtual, docs, generateVirtualProject, history, router, sponsors };
|
|
1225
|
+
export { type API, type AddInput, type AddResult, type Addons, type AiDocs, type Analytics, type Animation, type Auth, type Backend, type BetterTStackConfig, type CMS, type CSSFramework, type Caching, type CreateInput, type Database, type DatabaseSetup, type DirectoryConflict, EMBEDDED_TEMPLATES, type Ecosystem, type Effect, type Examples, type Frontend, type GeneratorOptions, type GeneratorResult, type GoApi, type GoAuth, type GoCli, type GoLogging, type GoOrm, type GoWebFramework, type InitResult, type JavaAuth, type JavaBuildTool, type JavaLibraries, type JavaOrm, type JavaTestingLibraries, type JavaWebFramework, type Logging, type ORM, type PackageManager, type Payments, type PythonAi, type PythonOrm, type PythonQuality, type PythonTaskQueue, type PythonValidation, type PythonWebFramework, type Realtime, type Runtime, type RustApi, type RustCli, type RustFrontend, type RustLibraries, type RustLogging, type RustOrm, type RustWebFramework, type ServerDeploy, TEMPLATE_COUNT, type Template, type UILibrary, type VirtualDirectory, type VirtualFile, VirtualFileSystem, type VirtualFileTree, type VirtualNode, type WebDeploy, add, builder, create, createBtsCli, createVirtual, docs, generateVirtualProject, history, router, sponsors };
|