@reliverse/dler 1.7.152 → 2.0.0
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/cli.js +1316 -0
- package/package.json +21 -144
- package/LICENSE +0 -21
- package/LICENSES +0 -22
- package/README.md +0 -36
- package/bin/impl/add/add-global/install-impl.d.ts +0 -38
- package/bin/impl/add/add-global/install-impl.js +0 -254
- package/bin/impl/add/add-global/install-mod.d.ts +0 -0
- package/bin/impl/add/add-global/install-mod.js +0 -0
- package/bin/impl/add/add-local/api/orpc.d.ts +0 -1
- package/bin/impl/add/add-local/api/orpc.js +0 -4
- package/bin/impl/add/add-local/api/trpc.d.ts +0 -1
- package/bin/impl/add/add-local/api/trpc.js +0 -4
- package/bin/impl/add/add-local/auth/better-auth.d.ts +0 -1
- package/bin/impl/add/add-local/auth/better-auth.js +0 -4
- package/bin/impl/add/add-local/auth/clerk-auth.d.ts +0 -1
- package/bin/impl/add/add-local/auth/clerk-auth.js +0 -4
- package/bin/impl/add/add-local/auth/next-auth.d.ts +0 -1
- package/bin/impl/add/add-local/auth/next-auth.js +0 -4
- package/bin/impl/add/add-local/core/deps.d.ts +0 -8
- package/bin/impl/add/add-local/core/deps.js +0 -19
- package/bin/impl/add/add-local/core/prompts.d.ts +0 -4
- package/bin/impl/add/add-local/core/prompts.js +0 -12
- package/bin/impl/add/add-local/core/templates.d.ts +0 -29
- package/bin/impl/add/add-local/core/templates.js +0 -85
- package/bin/impl/add/add-local/core/types.d.ts +0 -6
- package/bin/impl/add/add-local/core/types.js +0 -0
- package/bin/impl/add/add-local/db/drizzle.d.ts +0 -1
- package/bin/impl/add/add-local/db/drizzle.js +0 -4
- package/bin/impl/add/add-local/db/prisma.d.ts +0 -1
- package/bin/impl/add/add-local/db/prisma.js +0 -4
- package/bin/impl/add/add-local/files/uploadthing.d.ts +0 -1
- package/bin/impl/add/add-local/files/uploadthing.js +0 -4
- package/bin/impl/add/add-local/form/react-hook-form.d.ts +0 -1
- package/bin/impl/add/add-local/form/react-hook-form.js +0 -4
- package/bin/impl/add/add-local/form/tanstack-form.d.ts +0 -1
- package/bin/impl/add/add-local/form/tanstack-form.js +0 -4
- package/bin/impl/add/add-local/fws/browser/plasmo.d.ts +0 -1
- package/bin/impl/add/add-local/fws/browser/plasmo.js +0 -4
- package/bin/impl/add/add-local/fws/browser/wxt.d.ts +0 -1
- package/bin/impl/add/add-local/fws/browser/wxt.js +0 -4
- package/bin/impl/add/add-local/fws/configs/eslint-config.d.ts +0 -1
- package/bin/impl/add/add-local/fws/configs/eslint-config.js +0 -4
- package/bin/impl/add/add-local/fws/native/lynx.d.ts +0 -1
- package/bin/impl/add/add-local/fws/native/lynx.js +0 -4
- package/bin/impl/add/add-local/fws/native/react.d.ts +0 -1
- package/bin/impl/add/add-local/fws/native/react.js +0 -4
- package/bin/impl/add/add-local/fws/plugins/eslint-plugin.d.ts +0 -1
- package/bin/impl/add/add-local/fws/plugins/eslint-plugin.js +0 -4
- package/bin/impl/add/add-local/fws/vscode/vscode-ext.d.ts +0 -1
- package/bin/impl/add/add-local/fws/vscode/vscode-ext.js +0 -4
- package/bin/impl/add/add-local/fws/web/astro.d.ts +0 -1
- package/bin/impl/add/add-local/fws/web/astro.js +0 -4
- package/bin/impl/add/add-local/fws/web/jstack.d.ts +0 -1
- package/bin/impl/add/add-local/fws/web/jstack.js +0 -4
- package/bin/impl/add/add-local/fws/web/next.d.ts +0 -1
- package/bin/impl/add/add-local/fws/web/next.js +0 -4
- package/bin/impl/add/add-local/fws/web/start.d.ts +0 -1
- package/bin/impl/add/add-local/fws/web/start.js +0 -4
- package/bin/impl/add/add-local/fws/web/vite.d.ts +0 -1
- package/bin/impl/add/add-local/fws/web/vite.js +0 -4
- package/bin/impl/add/add-local/i18n/gt-libs.d.ts +0 -1
- package/bin/impl/add/add-local/i18n/gt-libs.js +0 -4
- package/bin/impl/add/add-local/i18n/languine.d.ts +0 -1
- package/bin/impl/add/add-local/i18n/languine.js +0 -19
- package/bin/impl/add/add-local/i18n/next-intl.d.ts +0 -1
- package/bin/impl/add/add-local/i18n/next-intl.js +0 -4
- package/bin/impl/add/add-local/llm/vercel.d.ts +0 -1
- package/bin/impl/add/add-local/llm/vercel.js +0 -4
- package/bin/impl/add/add-local/mail/resend.d.ts +0 -1
- package/bin/impl/add/add-local/mail/resend.js +0 -4
- package/bin/impl/add/add-local/pay/polar.d.ts +0 -1
- package/bin/impl/add/add-local/pay/polar.js +0 -4
- package/bin/impl/add/add-local/pay/stripe.d.ts +0 -1
- package/bin/impl/add/add-local/pay/stripe.js +0 -4
- package/bin/impl/add/add-local/tool/biome.d.ts +0 -1
- package/bin/impl/add/add-local/tool/biome.js +0 -4
- package/bin/impl/add/add-local/tool/eslint.d.ts +0 -1
- package/bin/impl/add/add-local/tool/eslint.js +0 -4
- package/bin/impl/add/add-local/tool/oxlint.d.ts +0 -4
- package/bin/impl/add/add-local/tool/oxlint.js +0 -4
- package/bin/impl/add/add-local/ui/21st.d.ts +0 -4
- package/bin/impl/add/add-local/ui/21st.js +0 -4
- package/bin/impl/add/add-local/ui/shadcn.d.ts +0 -1
- package/bin/impl/add/add-local/ui/shadcn.js +0 -4
- package/bin/impl/add/add-local/ui/tailwind.d.ts +0 -1
- package/bin/impl/add/add-local/ui/tailwind.js +0 -4
- package/bin/impl/add/add-rule/add-rule-const.d.ts +0 -11
- package/bin/impl/add/add-rule/add-rule-const.js +0 -32
- package/bin/impl/add/add-rule/add-rule-impl.d.ts +0 -21
- package/bin/impl/add/add-rule/add-rule-impl.js +0 -300
- package/bin/impl/add/add-rule/add-rule-types.d.ts +0 -18
- package/bin/impl/add/add-rule/add-rule-types.js +0 -0
- package/bin/impl/add/add-rule/add-rule-utils.d.ts +0 -61
- package/bin/impl/add/add-rule/add-rule-utils.js +0 -324
- package/bin/impl/ai/ai-impl/ai-auth.d.ts +0 -10
- package/bin/impl/ai/ai-impl/ai-auth.js +0 -59
- package/bin/impl/ai/ai-impl/ai-chat.d.ts +0 -5
- package/bin/impl/ai/ai-impl/ai-chat.js +0 -93
- package/bin/impl/ai/ai-impl/ai-const.d.ts +0 -7
- package/bin/impl/ai/ai-impl/ai-const.js +0 -14
- package/bin/impl/ai/ai-impl/ai-tools.d.ts +0 -5
- package/bin/impl/ai/ai-impl/ai-tools.js +0 -32
- package/bin/impl/ai/ai-impl/ai-types.d.ts +0 -12
- package/bin/impl/ai/ai-impl/ai-types.js +0 -0
- package/bin/impl/ai/ai-impl/code/code-mod.d.ts +0 -6
- package/bin/impl/ai/ai-impl/code/code-mod.js +0 -164
- package/bin/impl/ai/ai-impl/mcp/mcp-mod.d.ts +0 -5
- package/bin/impl/ai/ai-impl/mcp/mcp-mod.js +0 -125
- package/bin/impl/ai/ai-impl/relinter/relinter.d.ts +0 -27
- package/bin/impl/ai/ai-impl/relinter/relinter.js +0 -309
- package/bin/impl/ai/ai-menu.d.ts +0 -3
- package/bin/impl/ai/ai-menu.js +0 -40
- package/bin/impl/auth/consts.d.ts +0 -2
- package/bin/impl/auth/consts.js +0 -2
- package/bin/impl/auth/generators/auth-config.d.ts +0 -32
- package/bin/impl/auth/generators/auth-config.js +0 -533
- package/bin/impl/auth/generators/drizzle.d.ts +0 -3
- package/bin/impl/auth/generators/drizzle.js +0 -137
- package/bin/impl/auth/generators/index.d.ts +0 -16
- package/bin/impl/auth/generators/index.js +0 -18
- package/bin/impl/auth/generators/kysely.d.ts +0 -2
- package/bin/impl/auth/generators/kysely.js +0 -9
- package/bin/impl/auth/generators/prisma.d.ts +0 -2
- package/bin/impl/auth/generators/prisma.js +0 -154
- package/bin/impl/auth/generators/types.d.ts +0 -11
- package/bin/impl/auth/generators/types.js +0 -0
- package/bin/impl/auth/impl/init.d.ts +0 -183
- package/bin/impl/auth/impl/init.js +0 -367
- package/bin/impl/auth/impl/migrate.d.ts +0 -6
- package/bin/impl/auth/impl/migrate.js +0 -90
- package/bin/impl/auth/impl/types.d.ts +0 -12
- package/bin/impl/auth/impl/types.js +0 -0
- package/bin/impl/auth/utils/add-svelte-kit-env-modules.d.ts +0 -3
- package/bin/impl/auth/utils/add-svelte-kit-env-modules.js +0 -91
- package/bin/impl/auth/utils/check-package-managers.d.ts +0 -4
- package/bin/impl/auth/utils/check-package-managers.js +0 -20
- package/bin/impl/auth/utils/format-ms.d.ts +0 -4
- package/bin/impl/auth/utils/format-ms.js +0 -11
- package/bin/impl/auth/utils/generate-secret.d.ts +0 -1
- package/bin/impl/auth/utils/generate-secret.js +0 -2
- package/bin/impl/auth/utils/get-config.d.ts +0 -8
- package/bin/impl/auth/utils/get-config.js +0 -169
- package/bin/impl/auth/utils/get-package-info.d.ts +0 -1
- package/bin/impl/auth/utils/get-package-info.js +0 -6
- package/bin/impl/auth/utils/get-tsconfig-info.d.ts +0 -2
- package/bin/impl/auth/utils/get-tsconfig-info.js +0 -15
- package/bin/impl/auth/utils/install-dependencies.d.ts +0 -5
- package/bin/impl/auth/utils/install-dependencies.js +0 -34
- package/bin/impl/build/binary-flow.d.ts +0 -6
- package/bin/impl/build/binary-flow.js +0 -173
- package/bin/impl/build/build-library.d.ts +0 -42
- package/bin/impl/build/build-library.js +0 -626
- package/bin/impl/build/build-regular.d.ts +0 -20
- package/bin/impl/build/build-regular.js +0 -398
- package/bin/impl/build/impl.d.ts +0 -19
- package/bin/impl/build/impl.js +0 -104
- package/bin/impl/build/library-flow.d.ts +0 -26
- package/bin/impl/build/library-flow.js +0 -252
- package/bin/impl/build/postbuild.d.ts +0 -3
- package/bin/impl/build/postbuild.js +0 -173
- package/bin/impl/build/ppb-utils.d.ts +0 -16
- package/bin/impl/build/ppb-utils.js +0 -99
- package/bin/impl/build/prebuild.d.ts +0 -2
- package/bin/impl/build/prebuild.js +0 -108
- package/bin/impl/build/providers/auto.d.ts +0 -3
- package/bin/impl/build/providers/auto.js +0 -105
- package/bin/impl/build/providers/build.d.ts +0 -8
- package/bin/impl/build/providers/build.js +0 -351
- package/bin/impl/build/providers/bun/bun-build.d.ts +0 -0
- package/bin/impl/build/providers/bun/bun-build.js +0 -0
- package/bin/impl/build/providers/bun/single-file.d.ts +0 -25
- package/bin/impl/build/providers/bun/single-file.js +0 -146
- package/bin/impl/build/providers/copy/copy-mod.d.ts +0 -2
- package/bin/impl/build/providers/copy/copy-mod.js +0 -49
- package/bin/impl/build/providers/mkdist/mkdist-impl/loader.d.ts +0 -4
- package/bin/impl/build/providers/mkdist/mkdist-impl/loader.js +0 -26
- package/bin/impl/build/providers/mkdist/mkdist-impl/loaders/js.d.ts +0 -2
- package/bin/impl/build/providers/mkdist/mkdist-impl/loaders/js.js +0 -50
- package/bin/impl/build/providers/mkdist/mkdist-impl/loaders/loaders-mod.d.ts +0 -12
- package/bin/impl/build/providers/mkdist/mkdist-impl/loaders/loaders-mod.js +0 -30
- package/bin/impl/build/providers/mkdist/mkdist-impl/loaders/postcss.d.ts +0 -3
- package/bin/impl/build/providers/mkdist/mkdist-impl/loaders/postcss.js +0 -28
- package/bin/impl/build/providers/mkdist/mkdist-impl/loaders/sass.d.ts +0 -2
- package/bin/impl/build/providers/mkdist/mkdist-impl/loaders/sass.js +0 -31
- package/bin/impl/build/providers/mkdist/mkdist-impl/loaders/vue.d.ts +0 -17
- package/bin/impl/build/providers/mkdist/mkdist-impl/loaders/vue.js +0 -145
- package/bin/impl/build/providers/mkdist/mkdist-impl/make.d.ts +0 -11
- package/bin/impl/build/providers/mkdist/mkdist-impl/make.js +0 -192
- package/bin/impl/build/providers/mkdist/mkdist-impl/utils/dts.d.ts +0 -11
- package/bin/impl/build/providers/mkdist/mkdist-impl/utils/dts.js +0 -94
- package/bin/impl/build/providers/mkdist/mkdist-impl/utils/fs.d.ts +0 -1
- package/bin/impl/build/providers/mkdist/mkdist-impl/utils/fs.js +0 -15
- package/bin/impl/build/providers/mkdist/mkdist-impl/utils/vue-dts.d.ts +0 -3
- package/bin/impl/build/providers/mkdist/mkdist-impl/utils/vue-dts.js +0 -175
- package/bin/impl/build/providers/mkdist/mkdist-mod.d.ts +0 -2
- package/bin/impl/build/providers/mkdist/mkdist-mod.js +0 -92
- package/bin/impl/build/providers/rollup/build.d.ts +0 -2
- package/bin/impl/build/providers/rollup/build.js +0 -100
- package/bin/impl/build/providers/rollup/config.d.ts +0 -2
- package/bin/impl/build/providers/rollup/config.js +0 -112
- package/bin/impl/build/providers/rollup/plugins/cjs.d.ts +0 -4
- package/bin/impl/build/providers/rollup/plugins/cjs.js +0 -47
- package/bin/impl/build/providers/rollup/plugins/esbuild.d.ts +0 -3
- package/bin/impl/build/providers/rollup/plugins/esbuild.js +0 -91
- package/bin/impl/build/providers/rollup/plugins/json.d.ts +0 -3
- package/bin/impl/build/providers/rollup/plugins/json.js +0 -17
- package/bin/impl/build/providers/rollup/plugins/raw.d.ts +0 -8
- package/bin/impl/build/providers/rollup/plugins/raw.js +0 -20
- package/bin/impl/build/providers/rollup/plugins/shebang.d.ts +0 -5
- package/bin/impl/build/providers/rollup/plugins/shebang.js +0 -42
- package/bin/impl/build/providers/rollup/stub.d.ts +0 -2
- package/bin/impl/build/providers/rollup/stub.js +0 -125
- package/bin/impl/build/providers/rollup/utils.d.ts +0 -5
- package/bin/impl/build/providers/rollup/utils.js +0 -38
- package/bin/impl/build/providers/rollup/watch.d.ts +0 -2
- package/bin/impl/build/providers/rollup/watch.js +0 -30
- package/bin/impl/build/providers/untyped/untyped-mod.d.ts +0 -2
- package/bin/impl/build/providers/untyped/untyped-mod.js +0 -111
- package/bin/impl/build/providers/utils.d.ts +0 -19
- package/bin/impl/build/providers/utils.js +0 -148
- package/bin/impl/build/providers/validate.d.ts +0 -4
- package/bin/impl/build/providers/validate.js +0 -52
- package/bin/impl/build/regular-flow.d.ts +0 -10
- package/bin/impl/build/regular-flow.js +0 -246
- package/bin/impl/clone/firecrawl/firecrawl-mod.d.ts +0 -1
- package/bin/impl/clone/firecrawl/firecrawl-mod.js +0 -11
- package/bin/impl/cmod/cmod-impl.d.ts +0 -9
- package/bin/impl/cmod/cmod-impl.js +0 -21
- package/bin/impl/config/biome.d.ts +0 -2
- package/bin/impl/config/biome.js +0 -34
- package/bin/impl/config/comments.d.ts +0 -1
- package/bin/impl/config/comments.js +0 -57
- package/bin/impl/config/constants.d.ts +0 -45
- package/bin/impl/config/constants.js +0 -60
- package/bin/impl/config/content.d.ts +0 -14
- package/bin/impl/config/content.js +0 -15
- package/bin/impl/config/core.d.ts +0 -14
- package/bin/impl/config/core.js +0 -79
- package/bin/impl/config/create.d.ts +0 -35
- package/bin/impl/config/create.js +0 -274
- package/bin/impl/config/def-utils.d.ts +0 -6
- package/bin/impl/config/def-utils.js +0 -227
- package/bin/impl/config/detect.d.ts +0 -24
- package/bin/impl/config/detect.js +0 -371
- package/bin/impl/config/gen-cfg.d.ts +0 -3
- package/bin/impl/config/gen-cfg.js +0 -180
- package/bin/impl/config/load.d.ts +0 -15
- package/bin/impl/config/load.js +0 -87
- package/bin/impl/config/migrate.d.ts +0 -5
- package/bin/impl/config/migrate.js +0 -60
- package/bin/impl/config/path.d.ts +0 -11
- package/bin/impl/config/path.js +0 -28
- package/bin/impl/config/prepare.d.ts +0 -3
- package/bin/impl/config/prepare.js +0 -832
- package/bin/impl/config/prompts.d.ts +0 -5
- package/bin/impl/config/prompts.js +0 -12
- package/bin/impl/config/read.d.ts +0 -11
- package/bin/impl/config/read.js +0 -62
- package/bin/impl/config/repair.d.ts +0 -15
- package/bin/impl/config/repair.js +0 -101
- package/bin/impl/config/unstable.d.ts +0 -11
- package/bin/impl/config/unstable.js +0 -29
- package/bin/impl/config/update.d.ts +0 -10
- package/bin/impl/config/update.js +0 -145
- package/bin/impl/config/utils.d.ts +0 -17
- package/bin/impl/config/utils.js +0 -85
- package/bin/impl/conv/mod.d.ts +0 -26
- package/bin/impl/conv/mod.js +0 -193
- package/bin/impl/db/client.d.ts +0 -4
- package/bin/impl/db/client.js +0 -32
- package/bin/impl/db/config.d.ts +0 -2
- package/bin/impl/db/config.js +0 -59
- package/bin/impl/db/messages.d.ts +0 -13
- package/bin/impl/db/messages.js +0 -81
- package/bin/impl/db/schema.d.ts +0 -90
- package/bin/impl/db/schema.js +0 -9
- package/bin/impl/env/env-impl.d.ts +0 -1
- package/bin/impl/env/env-impl.js +0 -28
- package/bin/impl/get/get-core.d.ts +0 -3
- package/bin/impl/get/get-core.js +0 -453
- package/bin/impl/init/init-utils/init-impl.d.ts +0 -6
- package/bin/impl/init/init-utils/init-impl.js +0 -31
- package/bin/impl/init/init-utils/init-utils.d.ts +0 -35
- package/bin/impl/init/init-utils/init-utils.js +0 -255
- package/bin/impl/init/init-utils/mm-deprecated/editor-menu.d.ts +0 -4
- package/bin/impl/init/init-utils/mm-deprecated/editor-menu.js +0 -400
- package/bin/impl/init/mm-deprecated/drizzle/manageDrizzleConstants.d.ts +0 -2
- package/bin/impl/init/mm-deprecated/drizzle/manageDrizzleConstants.js +0 -36
- package/bin/impl/init/mm-deprecated/drizzle/manageDrizzleSchema.d.ts +0 -1
- package/bin/impl/init/mm-deprecated/drizzle/manageDrizzleSchema.js +0 -81
- package/bin/impl/init/mm-deprecated/drizzle/manageDrizzleSchemaUtils.d.ts +0 -16
- package/bin/impl/init/mm-deprecated/drizzle/manageDrizzleSchemaUtils.js +0 -474
- package/bin/impl/init/mm-deprecated/editor-impl.d.ts +0 -1
- package/bin/impl/init/mm-deprecated/editor-impl.js +0 -153
- package/bin/impl/init/mm-deprecated/editor-mod.d.ts +0 -18
- package/bin/impl/init/mm-deprecated/editor-mod.js +0 -184
- package/bin/impl/init/mm-deprecated/feature-add.d.ts +0 -2
- package/bin/impl/init/mm-deprecated/feature-add.js +0 -591
- package/bin/impl/init/mm-deprecated/feature-rm.d.ts +0 -2
- package/bin/impl/init/mm-deprecated/feature-rm.js +0 -98
- package/bin/impl/init/mm-deprecated/shadcn/shadcn-mod.d.ts +0 -1
- package/bin/impl/init/mm-deprecated/shadcn/shadcn-mod.js +0 -87
- package/bin/impl/init/use-template/cp-impl.d.ts +0 -39
- package/bin/impl/init/use-template/cp-impl.js +0 -286
- package/bin/impl/init/use-template/cp-mod.d.ts +0 -31
- package/bin/impl/init/use-template/cp-mod.js +0 -233
- package/bin/impl/init/use-template/cp-modules/cli-main-modules/cli-menu-items/showCloneProjectMenu.d.ts +0 -11
- package/bin/impl/init/use-template/cp-modules/cli-main-modules/cli-menu-items/showCloneProjectMenu.js +0 -206
- package/bin/impl/init/use-template/cp-modules/cli-main-modules/modules/showAnykeyPrompt.d.ts +0 -1
- package/bin/impl/init/use-template/cp-modules/cli-main-modules/modules/showAnykeyPrompt.js +0 -9
- package/bin/impl/init/use-template/cp-modules/compose-env-file/cef-impl.d.ts +0 -16
- package/bin/impl/init/use-template/cp-modules/compose-env-file/cef-impl.js +0 -400
- package/bin/impl/init/use-template/cp-modules/compose-env-file/cef-keys.d.ts +0 -17
- package/bin/impl/init/use-template/cp-modules/compose-env-file/cef-keys.js +0 -142
- package/bin/impl/init/use-template/cp-modules/compose-env-file/cef-mod.d.ts +0 -2
- package/bin/impl/init/use-template/cp-modules/compose-env-file/cef-mod.js +0 -167
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/deploy.d.ts +0 -12
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/deploy.js +0 -91
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/gdp-mod.d.ts +0 -55
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/gdp-mod.js +0 -449
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/git.d.ts +0 -51
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/git.js +0 -311
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/github.d.ts +0 -8
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/github.js +0 -113
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/helpers/domainHelpers.d.ts +0 -1
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/helpers/domainHelpers.js +0 -25
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/helpers/handlePkgJsonScripts.d.ts +0 -1
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/helpers/handlePkgJsonScripts.js +0 -52
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/helpers/promptForDomain.d.ts +0 -4
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/helpers/promptForDomain.js +0 -39
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/utils-git-github.d.ts +0 -8
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/utils-git-github.js +0 -75
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/utils-private-repo.d.ts +0 -12
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/utils-private-repo.js +0 -168
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/utils-repo-exists.d.ts +0 -10
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/utils-repo-exists.js +0 -62
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-api.d.ts +0 -10
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-api.js +0 -36
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-check.d.ts +0 -14
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-check.js +0 -29
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-config.d.ts +0 -27
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-config.js +0 -104
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-create.d.ts +0 -17
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-create.js +0 -129
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-deploy.d.ts +0 -20
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-deploy.js +0 -151
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-domain.d.ts +0 -5
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-domain.js +0 -44
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-env.d.ts +0 -3
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-env.js +0 -58
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-team.d.ts +0 -15
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-team.js +0 -74
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-types.d.ts +0 -28
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-types.js +0 -0
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-utils.d.ts +0 -26
- package/bin/impl/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-utils.js +0 -134
- package/bin/impl/inject/inject-impl-mod.d.ts +0 -112
- package/bin/impl/inject/inject-impl-mod.js +0 -716
- package/bin/impl/invoke/mod.d.ts +0 -59
- package/bin/impl/invoke/mod.js +0 -353
- package/bin/impl/login/login-impl.d.ts +0 -6
- package/bin/impl/login/login-impl.js +0 -179
- package/bin/impl/logout/logout-impl.d.ts +0 -1
- package/bin/impl/logout/logout-impl.js +0 -20
- package/bin/impl/magic/magic-apply.d.ts +0 -88
- package/bin/impl/magic/magic-apply.js +0 -669
- package/bin/impl/magic/magic-spells.d.ts +0 -46
- package/bin/impl/magic/magic-spells.js +0 -144
- package/bin/impl/merge/mod.d.ts +0 -8
- package/bin/impl/merge/mod.js +0 -160
- package/bin/impl/migrate/codemods/anything-bun.d.ts +0 -5
- package/bin/impl/migrate/codemods/anything-bun.js +0 -577
- package/bin/impl/migrate/codemods/commander-rempts.d.ts +0 -4
- package/bin/impl/migrate/codemods/commander-rempts.js +0 -250
- package/bin/impl/migrate/codemods/console-relinka.d.ts +0 -3
- package/bin/impl/migrate/codemods/console-relinka.js +0 -142
- package/bin/impl/migrate/codemods/fs-relifso.d.ts +0 -8
- package/bin/impl/migrate/codemods/fs-relifso.js +0 -156
- package/bin/impl/migrate/codemods/monorepo-catalog.d.ts +0 -96
- package/bin/impl/migrate/codemods/monorepo-catalog.js +0 -517
- package/bin/impl/migrate/codemods/nodenext-bundler.d.ts +0 -10
- package/bin/impl/migrate/codemods/nodenext-bundler.js +0 -222
- package/bin/impl/migrate/codemods/path-pathkit.d.ts +0 -8
- package/bin/impl/migrate/codemods/path-pathkit.js +0 -143
- package/bin/impl/migrate/codemods/readdir-glob.d.ts +0 -8
- package/bin/impl/migrate/codemods/readdir-glob.js +0 -133
- package/bin/impl/monorepo/cache-mod.d.ts +0 -29
- package/bin/impl/monorepo/cache-mod.js +0 -61
- package/bin/impl/monorepo/commands-mod.d.ts +0 -24
- package/bin/impl/monorepo/commands-mod.js +0 -159
- package/bin/impl/monorepo/graph-mod.d.ts +0 -29
- package/bin/impl/monorepo/graph-mod.js +0 -106
- package/bin/impl/monorepo/mod.d.ts +0 -5
- package/bin/impl/monorepo/mod.js +0 -5
- package/bin/impl/monorepo/monorepo-mod.d.ts +0 -26
- package/bin/impl/monorepo/monorepo-mod.js +0 -152
- package/bin/impl/mrse/mrse-impl.d.ts +0 -53
- package/bin/impl/mrse/mrse-impl.js +0 -132
- package/bin/impl/pack/mod.d.ts +0 -43
- package/bin/impl/pack/mod.js +0 -200
- package/bin/impl/providers/better-t-stack/better-t-stack-mod.d.ts +0 -14
- package/bin/impl/providers/better-t-stack/better-t-stack-mod.js +0 -35
- package/bin/impl/providers/better-t-stack/better-t-stack-types.d.ts +0 -21
- package/bin/impl/providers/better-t-stack/better-t-stack-types.js +0 -0
- package/bin/impl/providers/better-t-stack/constants.d.ts +0 -61
- package/bin/impl/providers/better-t-stack/constants.js +0 -81
- package/bin/impl/providers/better-t-stack/helpers/database-providers/mongodb-atlas-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/database-providers/mongodb-atlas-setup.js +0 -133
- package/bin/impl/providers/better-t-stack/helpers/database-providers/neon-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/database-providers/neon-setup.js +0 -168
- package/bin/impl/providers/better-t-stack/helpers/database-providers/prisma-postgres-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/database-providers/prisma-postgres-setup.js +0 -161
- package/bin/impl/providers/better-t-stack/helpers/database-providers/supabase-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/database-providers/supabase-setup.js +0 -162
- package/bin/impl/providers/better-t-stack/helpers/database-providers/turso-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/database-providers/turso-setup.js +0 -250
- package/bin/impl/providers/better-t-stack/helpers/project-generation/create-project.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/project-generation/create-project.js +0 -82
- package/bin/impl/providers/better-t-stack/helpers/project-generation/create-readme.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/project-generation/create-readme.js +0 -245
- package/bin/impl/providers/better-t-stack/helpers/project-generation/env-setup.d.ts +0 -8
- package/bin/impl/providers/better-t-stack/helpers/project-generation/env-setup.js +0 -193
- package/bin/impl/providers/better-t-stack/helpers/project-generation/install-dependencies.d.ts +0 -6
- package/bin/impl/providers/better-t-stack/helpers/project-generation/install-dependencies.js +0 -25
- package/bin/impl/providers/better-t-stack/helpers/project-generation/post-installation.d.ts +0 -4
- package/bin/impl/providers/better-t-stack/helpers/project-generation/post-installation.js +0 -228
- package/bin/impl/providers/better-t-stack/helpers/project-generation/project-config.d.ts +0 -3
- package/bin/impl/providers/better-t-stack/helpers/project-generation/project-config.js +0 -224
- package/bin/impl/providers/better-t-stack/helpers/project-generation/template-manager.d.ts +0 -9
- package/bin/impl/providers/better-t-stack/helpers/project-generation/template-manager.js +0 -484
- package/bin/impl/providers/better-t-stack/helpers/setup/addons-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/setup/addons-setup.js +0 -99
- package/bin/impl/providers/better-t-stack/helpers/setup/api-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/setup/api-setup.js +0 -236
- package/bin/impl/providers/better-t-stack/helpers/setup/auth-setup.d.ts +0 -3
- package/bin/impl/providers/better-t-stack/helpers/setup/auth-setup.js +0 -67
- package/bin/impl/providers/better-t-stack/helpers/setup/backend-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/setup/backend-setup.js +0 -52
- package/bin/impl/providers/better-t-stack/helpers/setup/db-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/setup/db-setup.js +0 -84
- package/bin/impl/providers/better-t-stack/helpers/setup/examples-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/setup/examples-setup.js +0 -38
- package/bin/impl/providers/better-t-stack/helpers/setup/runtime-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/setup/runtime-setup.js +0 -79
- package/bin/impl/providers/better-t-stack/helpers/setup/starlight-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/setup/starlight-setup.js +0 -41
- package/bin/impl/providers/better-t-stack/helpers/setup/tauri-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/helpers/setup/tauri-setup.js +0 -67
- package/bin/impl/providers/better-t-stack/packed/addons.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/packed/addons.js +0 -263
- package/bin/impl/providers/better-t-stack/packed/api.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/packed/api.js +0 -678
- package/bin/impl/providers/better-t-stack/packed/auth.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/packed/auth.js +0 -4277
- package/bin/impl/providers/better-t-stack/packed/backend.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/packed/backend.js +0 -996
- package/bin/impl/providers/better-t-stack/packed/base.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/packed/base.js +0 -32
- package/bin/impl/providers/better-t-stack/packed/binaries/01dad80fc2.png +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/0ba5eb8b0a.png +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/19b53640a9.png +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/206a875d5d.png +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/2dc8b34485.png +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/3f71f5a845.png +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/6eda863d14.ico +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/70aadde45a.png +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/9ecfcc8f0e.ico +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/9fc7a0c84f.ico +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/b72f6b7339.png +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/cb25ca74dd.png +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/dee83fc2fb.png +0 -0
- package/bin/impl/providers/better-t-stack/packed/binaries/eda53e30fe.svg +0 -6
- package/bin/impl/providers/better-t-stack/packed/db.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/packed/db.js +0 -329
- package/bin/impl/providers/better-t-stack/packed/examples.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/packed/examples.js +0 -3470
- package/bin/impl/providers/better-t-stack/packed/extras.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/packed/extras.js +0 -33
- package/bin/impl/providers/better-t-stack/packed/frontend.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/packed/frontend.js +0 -6116
- package/bin/impl/providers/better-t-stack/packed/runtime.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/packed/runtime.js +0 -35
- package/bin/impl/providers/better-t-stack/prompts/addons.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/addons.js +0 -62
- package/bin/impl/providers/better-t-stack/prompts/api.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/api.js +0 -52
- package/bin/impl/providers/better-t-stack/prompts/auth.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/auth.js +0 -19
- package/bin/impl/providers/better-t-stack/prompts/backend.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/backend.js +0 -60
- package/bin/impl/providers/better-t-stack/prompts/config-prompts.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/config-prompts.js +0 -88
- package/bin/impl/providers/better-t-stack/prompts/database-setup.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/database-setup.js +0 -67
- package/bin/impl/providers/better-t-stack/prompts/database.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/database.js +0 -48
- package/bin/impl/providers/better-t-stack/prompts/examples.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/examples.js +0 -44
- package/bin/impl/providers/better-t-stack/prompts/frontend.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/frontend.js +0 -107
- package/bin/impl/providers/better-t-stack/prompts/git.d.ts +0 -1
- package/bin/impl/providers/better-t-stack/prompts/git.js +0 -15
- package/bin/impl/providers/better-t-stack/prompts/install.d.ts +0 -1
- package/bin/impl/providers/better-t-stack/prompts/install.js +0 -15
- package/bin/impl/providers/better-t-stack/prompts/orm.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/orm.js +0 -43
- package/bin/impl/providers/better-t-stack/prompts/package-manager.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/package-manager.js +0 -29
- package/bin/impl/providers/better-t-stack/prompts/project-name.d.ts +0 -1
- package/bin/impl/providers/better-t-stack/prompts/project-name.js +0 -62
- package/bin/impl/providers/better-t-stack/prompts/runtime.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/prompts/runtime.js +0 -41
- package/bin/impl/providers/better-t-stack/types.d.ts +0 -124
- package/bin/impl/providers/better-t-stack/types.js +0 -29
- package/bin/impl/providers/better-t-stack/utils/add-package-deps.d.ts +0 -6
- package/bin/impl/providers/better-t-stack/utils/add-package-deps.js +0 -31
- package/bin/impl/providers/better-t-stack/utils/analytics.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/utils/analytics.js +0 -32
- package/bin/impl/providers/better-t-stack/utils/command-exists.d.ts +0 -1
- package/bin/impl/providers/better-t-stack/utils/command-exists.js +0 -14
- package/bin/impl/providers/better-t-stack/utils/display-config.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/utils/display-config.js +0 -59
- package/bin/impl/providers/better-t-stack/utils/generate-reproducible-command.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/utils/generate-reproducible-command.js +0 -39
- package/bin/impl/providers/better-t-stack/utils/get-latest-cli-version.d.ts +0 -1
- package/bin/impl/providers/better-t-stack/utils/get-latest-cli-version.js +0 -8
- package/bin/impl/providers/better-t-stack/utils/get-package-execution-command.d.ts +0 -10
- package/bin/impl/providers/better-t-stack/utils/get-package-execution-command.js +0 -10
- package/bin/impl/providers/better-t-stack/utils/get-package-manager.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/utils/get-package-manager.js +0 -10
- package/bin/impl/providers/better-t-stack/utils/open-url.d.ts +0 -1
- package/bin/impl/providers/better-t-stack/utils/open-url.js +0 -22
- package/bin/impl/providers/better-t-stack/utils/render-title.d.ts +0 -2
- package/bin/impl/providers/better-t-stack/utils/render-title.js +0 -43
- package/bin/impl/providers/better-t-stack/utils/sponsors.d.ts +0 -16
- package/bin/impl/providers/better-t-stack/utils/sponsors.js +0 -37
- package/bin/impl/providers/better-t-stack/utils/template-processor.d.ts +0 -8
- package/bin/impl/providers/better-t-stack/utils/template-processor.js +0 -23
- package/bin/impl/providers/better-t-stack/validation.d.ts +0 -4
- package/bin/impl/providers/better-t-stack/validation.js +0 -436
- package/bin/impl/providers/package.json +0 -3
- package/bin/impl/providers/reliverse-stack/reliverse-stack-mod.d.ts +0 -6
- package/bin/impl/providers/reliverse-stack/reliverse-stack-mod.js +0 -146
- package/bin/impl/providers/reliverse-stack/rs-impl.d.ts +0 -37
- package/bin/impl/providers/reliverse-stack/rs-impl.js +0 -367
- package/bin/impl/pub/impl.d.ts +0 -8
- package/bin/impl/pub/impl.js +0 -87
- package/bin/impl/pub/pub-library.d.ts +0 -5
- package/bin/impl/pub/pub-library.js +0 -149
- package/bin/impl/pub/pub-regular.d.ts +0 -9
- package/bin/impl/pub/pub-regular.js +0 -87
- package/bin/impl/remdn/mod.d.ts +0 -45
- package/bin/impl/remdn/mod.js +0 -648
- package/bin/impl/rempts/cmd.d.ts +0 -18
- package/bin/impl/rempts/cmd.js +0 -260
- package/bin/impl/rules/reliverse/dler-config-health/dler-config-health.d.ts +0 -2
- package/bin/impl/rules/reliverse/dler-config-health/dler-config-health.js +0 -37
- package/bin/impl/rules/reliverse/file-extensions/file-extensions.d.ts +0 -2
- package/bin/impl/rules/reliverse/file-extensions/file-extensions.js +0 -62
- package/bin/impl/rules/reliverse/missing-deps/analyzer.d.ts +0 -2
- package/bin/impl/rules/reliverse/missing-deps/analyzer.js +0 -49
- package/bin/impl/rules/reliverse/missing-deps/deps-mod.d.ts +0 -2
- package/bin/impl/rules/reliverse/missing-deps/deps-mod.js +0 -57
- package/bin/impl/rules/reliverse/missing-deps/deps-types.d.ts +0 -28
- package/bin/impl/rules/reliverse/missing-deps/deps-types.js +0 -0
- package/bin/impl/rules/reliverse/missing-deps/filesystem.d.ts +0 -4
- package/bin/impl/rules/reliverse/missing-deps/filesystem.js +0 -39
- package/bin/impl/rules/reliverse/missing-deps/formatter.d.ts +0 -2
- package/bin/impl/rules/reliverse/missing-deps/formatter.js +0 -101
- package/bin/impl/rules/reliverse/missing-deps/parser.d.ts +0 -5
- package/bin/impl/rules/reliverse/missing-deps/parser.js +0 -57
- package/bin/impl/rules/reliverse/no-dynamic-imports/no-dynamic-imports.d.ts +0 -7
- package/bin/impl/rules/reliverse/no-dynamic-imports/no-dynamic-imports.js +0 -89
- package/bin/impl/rules/reliverse/no-index-files/no-index-files.d.ts +0 -2
- package/bin/impl/rules/reliverse/no-index-files/no-index-files.js +0 -31
- package/bin/impl/rules/reliverse/package-json-health/package-json-health.d.ts +0 -2
- package/bin/impl/rules/reliverse/package-json-health/package-json-health.js +0 -61
- package/bin/impl/rules/reliverse/path-extensions/path-extensions.d.ts +0 -2
- package/bin/impl/rules/reliverse/path-extensions/path-extensions.js +0 -87
- package/bin/impl/rules/reliverse/self-include/self-include.d.ts +0 -2
- package/bin/impl/rules/reliverse/self-include/self-include.js +0 -93
- package/bin/impl/rules/reliverse/tsconfig-health/tsconfig-health.d.ts +0 -2
- package/bin/impl/rules/reliverse/tsconfig-health/tsconfig-health.js +0 -35
- package/bin/impl/rules/rules-consts.d.ts +0 -29
- package/bin/impl/rules/rules-consts.js +0 -48
- package/bin/impl/rules/rules-mod.d.ts +0 -2
- package/bin/impl/rules/rules-mod.js +0 -87
- package/bin/impl/rules/rules-utils.d.ts +0 -4
- package/bin/impl/rules/rules-utils.js +0 -49
- package/bin/impl/schema/gen.d.ts +0 -3
- package/bin/impl/schema/gen.js +0 -1493
- package/bin/impl/schema/mod.d.ts +0 -1329
- package/bin/impl/schema/mod.js +0 -344
- package/bin/impl/schema/utils.d.ts +0 -17
- package/bin/impl/schema/utils.js +0 -86
- package/bin/impl/split/impl.d.ts +0 -18
- package/bin/impl/split/impl.js +0 -89
- package/bin/impl/toolbox/toolbox-impl.d.ts +0 -5
- package/bin/impl/toolbox/toolbox-impl.js +0 -78
- package/bin/impl/toolbox/toolbox-vercel.d.ts +0 -6
- package/bin/impl/toolbox/toolbox-vercel.js +0 -97
- package/bin/impl/transform/transform-impl-mod.d.ts +0 -117
- package/bin/impl/transform/transform-impl-mod.js +0 -172
- package/bin/impl/types/mod.d.ts +0 -634
- package/bin/impl/types/mod.js +0 -0
- package/bin/impl/update/impl.d.ts +0 -21
- package/bin/impl/update/impl.js +0 -142
- package/bin/impl/update/utils.d.ts +0 -87
- package/bin/impl/update/utils.js +0 -448
- package/bin/impl/upload/providers/providers-mod.d.ts +0 -20
- package/bin/impl/upload/providers/providers-mod.js +0 -40
- package/bin/impl/upload/providers/uploadcare.d.ts +0 -13
- package/bin/impl/upload/providers/uploadcare.js +0 -26
- package/bin/impl/upload/providers/uploadthing.d.ts +0 -11
- package/bin/impl/upload/providers/uploadthing.js +0 -31
- package/bin/impl/upload/upload-utils.d.ts +0 -1
- package/bin/impl/upload/upload-utils.js +0 -7
- package/bin/impl/utils/agg/agg-1.d.ts +0 -1
- package/bin/impl/utils/agg/agg-1.js +0 -196
- package/bin/impl/utils/agg/agg-2.d.ts +0 -35
- package/bin/impl/utils/agg/agg-2.js +0 -148
- package/bin/impl/utils/agg/agg-3.d.ts +0 -41
- package/bin/impl/utils/agg/agg-3.js +0 -197
- package/bin/impl/utils/agg/agg-4.d.ts +0 -8
- package/bin/impl/utils/agg/agg-4.js +0 -26
- package/bin/impl/utils/agg/agg-5.d.ts +0 -4
- package/bin/impl/utils/agg/agg-5.js +0 -10
- package/bin/impl/utils/b-exts.d.ts +0 -5
- package/bin/impl/utils/b-exts.js +0 -406
- package/bin/impl/utils/badgeNotifiers.d.ts +0 -2
- package/bin/impl/utils/badgeNotifiers.js +0 -3
- package/bin/impl/utils/binary.d.ts +0 -4
- package/bin/impl/utils/binary.js +0 -11
- package/bin/impl/utils/codemods/convertCjsToEsm.d.ts +0 -1
- package/bin/impl/utils/codemods/convertCjsToEsm.js +0 -27
- package/bin/impl/utils/codemods/convertDatabase.d.ts +0 -2
- package/bin/impl/utils/codemods/convertDatabase.js +0 -229
- package/bin/impl/utils/codemods/convertDefinitions.d.ts +0 -1
- package/bin/impl/utils/codemods/convertDefinitions.js +0 -42
- package/bin/impl/utils/codemods/convertImportStyle.d.ts +0 -1
- package/bin/impl/utils/codemods/convertImportStyle.js +0 -30
- package/bin/impl/utils/codemods/convertJsToTs.d.ts +0 -1
- package/bin/impl/utils/codemods/convertJsToTs.js +0 -99
- package/bin/impl/utils/codemods/convertQuoteStyle.d.ts +0 -1
- package/bin/impl/utils/codemods/convertQuoteStyle.js +0 -31
- package/bin/impl/utils/codemods/convertRuntime.d.ts +0 -1
- package/bin/impl/utils/codemods/convertRuntime.js +0 -116
- package/bin/impl/utils/codemods/convertToMonorepo.d.ts +0 -2
- package/bin/impl/utils/codemods/convertToMonorepo.js +0 -137
- package/bin/impl/utils/codemods/removeComments.d.ts +0 -1
- package/bin/impl/utils/codemods/removeComments.js +0 -13
- package/bin/impl/utils/codemods/removeUnusedDeps.d.ts +0 -1
- package/bin/impl/utils/codemods/removeUnusedDeps.js +0 -29
- package/bin/impl/utils/codemods/replaceImportSymbol.d.ts +0 -1
- package/bin/impl/utils/codemods/replaceImportSymbol.js +0 -57
- package/bin/impl/utils/codemods/replaceWithModern.d.ts +0 -1
- package/bin/impl/utils/codemods/replaceWithModern.js +0 -122
- package/bin/impl/utils/comments.d.ts +0 -6
- package/bin/impl/utils/comments.js +0 -41
- package/bin/impl/utils/common.d.ts +0 -9
- package/bin/impl/utils/common.js +0 -37
- package/bin/impl/utils/createPackageJSON.d.ts +0 -6
- package/bin/impl/utils/createPackageJSON.js +0 -20
- package/bin/impl/utils/decideHelper.d.ts +0 -12
- package/bin/impl/utils/decideHelper.js +0 -32
- package/bin/impl/utils/dependencies/getUserPkgManager.d.ts +0 -13
- package/bin/impl/utils/dependencies/getUserPkgManager.js +0 -178
- package/bin/impl/utils/downloading/downloadI18nFiles.d.ts +0 -1
- package/bin/impl/utils/downloading/downloadI18nFiles.js +0 -98
- package/bin/impl/utils/downloading/downloadRepo.d.ts +0 -41
- package/bin/impl/utils/downloading/downloadRepo.js +0 -412
- package/bin/impl/utils/downloading/handleDownload.d.ts +0 -17
- package/bin/impl/utils/downloading/handleDownload.js +0 -160
- package/bin/impl/utils/exec/exec-enoent.d.ts +0 -15
- package/bin/impl/utils/exec/exec-enoent.js +0 -38
- package/bin/impl/utils/exec/exec-env.d.ts +0 -6
- package/bin/impl/utils/exec/exec-env.js +0 -34
- package/bin/impl/utils/exec/exec-error.d.ts +0 -7
- package/bin/impl/utils/exec/exec-error.js +0 -15
- package/bin/impl/utils/exec/exec-escape.d.ts +0 -2
- package/bin/impl/utils/exec/exec-escape.js +0 -15
- package/bin/impl/utils/exec/exec-mod.d.ts +0 -58
- package/bin/impl/utils/exec/exec-mod.js +0 -224
- package/bin/impl/utils/exec/exec-parse.d.ts +0 -2
- package/bin/impl/utils/exec/exec-parse.js +0 -71
- package/bin/impl/utils/exec/exec-resolve.d.ts +0 -2
- package/bin/impl/utils/exec/exec-resolve.js +0 -39
- package/bin/impl/utils/exec/exec-shebang.d.ts +0 -1
- package/bin/impl/utils/exec/exec-shebang.js +0 -14
- package/bin/impl/utils/exec/exec-spawn.d.ts +0 -3
- package/bin/impl/utils/exec/exec-spawn.js +0 -18
- package/bin/impl/utils/exec/exec-stream.d.ts +0 -4
- package/bin/impl/utils/exec/exec-stream.js +0 -18
- package/bin/impl/utils/exec/exec-types.d.ts +0 -13
- package/bin/impl/utils/exec/exec-types.js +0 -9
- package/bin/impl/utils/file-type.d.ts +0 -21
- package/bin/impl/utils/file-type.js +0 -78
- package/bin/impl/utils/finalize.d.ts +0 -10
- package/bin/impl/utils/finalize.js +0 -33
- package/bin/impl/utils/finish-text.d.ts +0 -6
- package/bin/impl/utils/finish-text.js +0 -41
- package/bin/impl/utils/fs-rename.d.ts +0 -2
- package/bin/impl/utils/fs-rename.js +0 -108
- package/bin/impl/utils/getEffectiveDir.d.ts +0 -5
- package/bin/impl/utils/getEffectiveDir.js +0 -4
- package/bin/impl/utils/getPackageManager.d.ts +0 -3
- package/bin/impl/utils/getPackageManager.js +0 -14
- package/bin/impl/utils/handlers/dependencies.d.ts +0 -1
- package/bin/impl/utils/handlers/dependencies.js +0 -19
- package/bin/impl/utils/handlers/handleCleanup.d.ts +0 -1
- package/bin/impl/utils/handlers/handleCleanup.js +0 -84
- package/bin/impl/utils/handlers/handleCodemods.d.ts +0 -2
- package/bin/impl/utils/handlers/handleCodemods.js +0 -203
- package/bin/impl/utils/handlers/isAppInstalled.d.ts +0 -1
- package/bin/impl/utils/handlers/isAppInstalled.js +0 -17
- package/bin/impl/utils/handlers/promptPackageJsonScripts.d.ts +0 -8
- package/bin/impl/utils/handlers/promptPackageJsonScripts.js +0 -130
- package/bin/impl/utils/handlers/shadcn.d.ts +0 -19
- package/bin/impl/utils/handlers/shadcn.js +0 -299
- package/bin/impl/utils/hasOnlyReliverseConfig.d.ts +0 -6
- package/bin/impl/utils/hasOnlyReliverseConfig.js +0 -15
- package/bin/impl/utils/init/init-const.d.ts +0 -34
- package/bin/impl/utils/init/init-const.js +0 -17
- package/bin/impl/utils/init/init-impl.d.ts +0 -22
- package/bin/impl/utils/init/init-impl.js +0 -229
- package/bin/impl/utils/init/init-tmpl.d.ts +0 -3
- package/bin/impl/utils/init/init-tmpl.js +0 -68
- package/bin/impl/utils/init/init-types.d.ts +0 -41
- package/bin/impl/utils/init/init-types.js +0 -0
- package/bin/impl/utils/instanceGithub.d.ts +0 -28
- package/bin/impl/utils/instanceGithub.js +0 -50
- package/bin/impl/utils/instanceVercel.d.ts +0 -16
- package/bin/impl/utils/instanceVercel.js +0 -39
- package/bin/impl/utils/microHelpers.d.ts +0 -11
- package/bin/impl/utils/microHelpers.js +0 -8
- package/bin/impl/utils/mrseHelpers.d.ts +0 -6
- package/bin/impl/utils/mrseHelpers.js +0 -21
- package/bin/impl/utils/pkgJsonHelpers.d.ts +0 -7
- package/bin/impl/utils/pkgJsonHelpers.js +0 -15
- package/bin/impl/utils/pm/pm-api.d.ts +0 -87
- package/bin/impl/utils/pm/pm-api.js +0 -170
- package/bin/impl/utils/pm/pm-catalog.d.ts +0 -36
- package/bin/impl/utils/pm/pm-catalog.js +0 -237
- package/bin/impl/utils/pm/pm-detect.d.ts +0 -12
- package/bin/impl/utils/pm/pm-detect.js +0 -99
- package/bin/impl/utils/pm/pm-meta.d.ts +0 -27
- package/bin/impl/utils/pm/pm-meta.js +0 -86
- package/bin/impl/utils/pm/pm-parse.d.ts +0 -8
- package/bin/impl/utils/pm/pm-parse.js +0 -29
- package/bin/impl/utils/pm/pm-types.d.ts +0 -46
- package/bin/impl/utils/pm/pm-types.js +0 -0
- package/bin/impl/utils/pm/pm-utils.d.ts +0 -12
- package/bin/impl/utils/pm/pm-utils.js +0 -115
- package/bin/impl/utils/projectRepository.d.ts +0 -58
- package/bin/impl/utils/projectRepository.js +0 -228
- package/bin/impl/utils/prompts/askAppOrLib.d.ts +0 -1
- package/bin/impl/utils/prompts/askAppOrLib.js +0 -30
- package/bin/impl/utils/prompts/askInstallDeps.d.ts +0 -7
- package/bin/impl/utils/prompts/askInstallDeps.js +0 -40
- package/bin/impl/utils/prompts/askOpenInIDE.d.ts +0 -5
- package/bin/impl/utils/prompts/askOpenInIDE.js +0 -43
- package/bin/impl/utils/prompts/askProjectName.d.ts +0 -3
- package/bin/impl/utils/prompts/askProjectName.js +0 -21
- package/bin/impl/utils/prompts/askUsernameFrontend.d.ts +0 -2
- package/bin/impl/utils/prompts/askUsernameFrontend.js +0 -28
- package/bin/impl/utils/prompts/askUsernameGithub.d.ts +0 -2
- package/bin/impl/utils/prompts/askUsernameGithub.js +0 -29
- package/bin/impl/utils/prompts/shouldInitGit.d.ts +0 -1
- package/bin/impl/utils/prompts/shouldInitGit.js +0 -8
- package/bin/impl/utils/reliverseMemory.d.ts +0 -3
- package/bin/impl/utils/reliverseMemory.js +0 -122
- package/bin/impl/utils/replacements/reps-impl.d.ts +0 -35
- package/bin/impl/utils/replacements/reps-impl.js +0 -220
- package/bin/impl/utils/replacements/reps-keys.d.ts +0 -16
- package/bin/impl/utils/replacements/reps-keys.js +0 -14
- package/bin/impl/utils/replacements/reps-mod.d.ts +0 -5
- package/bin/impl/utils/replacements/reps-mod.js +0 -211
- package/bin/impl/utils/replacements.d.ts +0 -0
- package/bin/impl/utils/replacements.js +0 -0
- package/bin/impl/utils/resolve-cross-libs.d.ts +0 -1
- package/bin/impl/utils/resolve-cross-libs.js +0 -641
- package/bin/impl/utils/schemaMemory.d.ts +0 -17
- package/bin/impl/utils/schemaMemory.js +0 -0
- package/bin/impl/utils/schemaTemplate.d.ts +0 -27
- package/bin/impl/utils/schemaTemplate.js +0 -98
- package/bin/impl/utils/startEndPrompts.d.ts +0 -8
- package/bin/impl/utils/startEndPrompts.js +0 -53
- package/bin/impl/utils/terminalHelpers.d.ts +0 -19
- package/bin/impl/utils/terminalHelpers.js +0 -43
- package/bin/impl/utils/testsRuntime.d.ts +0 -5
- package/bin/impl/utils/testsRuntime.js +0 -11
- package/bin/impl/utils/tsconfigHelpers.d.ts +0 -5
- package/bin/impl/utils/tsconfigHelpers.js +0 -14
- package/bin/impl/utils/utils-build.d.ts +0 -33
- package/bin/impl/utils/utils-build.js +0 -97
- package/bin/impl/utils/utils-clean.d.ts +0 -11
- package/bin/impl/utils/utils-clean.js +0 -70
- package/bin/impl/utils/utils-deps.d.ts +0 -5
- package/bin/impl/utils/utils-deps.js +0 -126
- package/bin/impl/utils/utils-determine.d.ts +0 -12
- package/bin/impl/utils/utils-determine.js +0 -25
- package/bin/impl/utils/utils-error-cwd.d.ts +0 -19
- package/bin/impl/utils/utils-error-cwd.js +0 -49
- package/bin/impl/utils/utils-fs.d.ts +0 -25
- package/bin/impl/utils/utils-fs.js +0 -183
- package/bin/impl/utils/utils-jsr-json.d.ts +0 -9
- package/bin/impl/utils/utils-jsr-json.js +0 -75
- package/bin/impl/utils/utils-misc.d.ts +0 -7
- package/bin/impl/utils/utils-misc.js +0 -7
- package/bin/impl/utils/utils-package-json-libraries.d.ts +0 -10
- package/bin/impl/utils/utils-package-json-libraries.js +0 -316
- package/bin/impl/utils/utils-package-json-regular.d.ts +0 -8
- package/bin/impl/utils/utils-package-json-regular.js +0 -165
- package/bin/impl/utils/utils-perf.d.ts +0 -5
- package/bin/impl/utils/utils-perf.js +0 -22
- package/bin/impl/utils/utils-security.d.ts +0 -12
- package/bin/impl/utils/utils-security.js +0 -95
- package/bin/impl/utils/utils-tsconfig.d.ts +0 -10
- package/bin/impl/utils/utils-tsconfig.js +0 -81
- package/bin/mod.d.ts +0 -437
- package/bin/mod.js +0 -1039
|
@@ -1,996 +0,0 @@
|
|
|
1
|
-
export const DLER_TPL_BACKEND = {
|
|
2
|
-
name: "backend",
|
|
3
|
-
description: "Template generated from 21 files",
|
|
4
|
-
updatedAt: "2025-06-17T20:33:59.618Z",
|
|
5
|
-
config: {
|
|
6
|
-
files: {
|
|
7
|
-
"backend/convex/packages/backend/convex/healthCheck.ts": {
|
|
8
|
-
metadata: {
|
|
9
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
10
|
-
updatedHash: "4e85265190"
|
|
11
|
-
},
|
|
12
|
-
content: `import { query } from "./_generated/server";
|
|
13
|
-
export const get = query({
|
|
14
|
-
handler: async () => {
|
|
15
|
-
return "OK";
|
|
16
|
-
}
|
|
17
|
-
})
|
|
18
|
-
`,
|
|
19
|
-
type: "text"
|
|
20
|
-
},
|
|
21
|
-
"backend/convex/packages/backend/convex/README.md": {
|
|
22
|
-
metadata: {
|
|
23
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
24
|
-
updatedHash: "d261559702"
|
|
25
|
-
},
|
|
26
|
-
content: `# Welcome to your Convex functions directory!
|
|
27
|
-
Write your Convex functions here.
|
|
28
|
-
See https://docs.convex.dev/functions for more.
|
|
29
|
-
A query function that takes two arguments looks like:
|
|
30
|
-
\`\`\`ts
|
|
31
|
-
// functions.js
|
|
32
|
-
import { query } from "./_generated/server";
|
|
33
|
-
import { v } from "convex/values";
|
|
34
|
-
export const myQueryFunction = query({
|
|
35
|
-
// Validators for arguments.
|
|
36
|
-
args: {
|
|
37
|
-
first: v.number(),
|
|
38
|
-
second: v.string(),
|
|
39
|
-
},
|
|
40
|
-
// Function implementation.
|
|
41
|
-
handler: async (ctx, args) => {
|
|
42
|
-
// Read the database as many times as you need here.
|
|
43
|
-
// See https://docs.convex.dev/database/reading-data.
|
|
44
|
-
const documents = await ctx.db.query("tablename").collect();
|
|
45
|
-
// Arguments passed from the client are properties of the args object.
|
|
46
|
-
console.log(args.first, args.second);
|
|
47
|
-
// Write arbitrary JavaScript here: filter, aggregate, build derived data,
|
|
48
|
-
// remove non-public properties, or create new objects.
|
|
49
|
-
return documents;
|
|
50
|
-
},
|
|
51
|
-
});
|
|
52
|
-
\`\`\`
|
|
53
|
-
Using this query function in a React component looks like:
|
|
54
|
-
\`\`\`ts
|
|
55
|
-
const data = useQuery(api.functions.myQueryFunction, {
|
|
56
|
-
first: 10,
|
|
57
|
-
second: "hello",
|
|
58
|
-
});
|
|
59
|
-
\`\`\`
|
|
60
|
-
A mutation function looks like:
|
|
61
|
-
\`\`\`ts
|
|
62
|
-
// functions.js
|
|
63
|
-
import { mutation } from "./_generated/server";
|
|
64
|
-
import { v } from "convex/values";
|
|
65
|
-
export const myMutationFunction = mutation({
|
|
66
|
-
// Validators for arguments.
|
|
67
|
-
args: {
|
|
68
|
-
first: v.string(),
|
|
69
|
-
second: v.string(),
|
|
70
|
-
},
|
|
71
|
-
// Function implementation.
|
|
72
|
-
handler: async (ctx, args) => {
|
|
73
|
-
// Insert or modify documents in the database here.
|
|
74
|
-
// Mutations can also read from the database like queries.
|
|
75
|
-
// See https://docs.convex.dev/database/writing-data.
|
|
76
|
-
const message = { body: args.first, author: args.second };
|
|
77
|
-
const id = await ctx.db.insert("messages", message);
|
|
78
|
-
// Optionally, return a value from your mutation.
|
|
79
|
-
return await ctx.db.get(id);
|
|
80
|
-
},
|
|
81
|
-
});
|
|
82
|
-
\`\`\`
|
|
83
|
-
Using this mutation function in a React component looks like:
|
|
84
|
-
\`\`\`ts
|
|
85
|
-
const mutation = useMutation(api.functions.myMutationFunction);
|
|
86
|
-
function handleButtonPress() {
|
|
87
|
-
// fire and forget, the most common way to use mutations
|
|
88
|
-
mutation({ first: "Hello!", second: "me" });
|
|
89
|
-
// OR
|
|
90
|
-
// use the result once the mutation has completed
|
|
91
|
-
mutation({ first: "Hello!", second: "me" }).then((result) =>
|
|
92
|
-
console.log(result),
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
\`\`\`
|
|
96
|
-
Use the Convex CLI to push your functions to a deployment. See everything
|
|
97
|
-
the Convex CLI can do by running \`npx convex -h\` in your project root
|
|
98
|
-
directory. To learn more, launch the docs with \`npx convex docs\`.
|
|
99
|
-
`,
|
|
100
|
-
type: "text"
|
|
101
|
-
},
|
|
102
|
-
"backend/convex/packages/backend/convex/schema.ts": {
|
|
103
|
-
metadata: {
|
|
104
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
105
|
-
updatedHash: "8415cc5ad3"
|
|
106
|
-
},
|
|
107
|
-
content: `import { defineSchema, defineTable } from "convex/server";
|
|
108
|
-
import { v } from "convex/values";
|
|
109
|
-
export default defineSchema({
|
|
110
|
-
todos: defineTable({
|
|
111
|
-
text: v.string(),
|
|
112
|
-
completed: v.boolean(),
|
|
113
|
-
}),
|
|
114
|
-
});
|
|
115
|
-
`,
|
|
116
|
-
type: "text"
|
|
117
|
-
},
|
|
118
|
-
"backend/convex/packages/backend/convex/todos.ts": {
|
|
119
|
-
metadata: {
|
|
120
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
121
|
-
updatedHash: "0e64275cf0"
|
|
122
|
-
},
|
|
123
|
-
content: `import { query, mutation } from "./_generated/server";
|
|
124
|
-
import { v } from "convex/values";
|
|
125
|
-
export const getAll = query({
|
|
126
|
-
handler: async (ctx) => {
|
|
127
|
-
return await ctx.db.query("todos").collect();
|
|
128
|
-
},
|
|
129
|
-
});
|
|
130
|
-
export const create = mutation({
|
|
131
|
-
args: {
|
|
132
|
-
text: v.string(),
|
|
133
|
-
},
|
|
134
|
-
handler: async (ctx, args) => {
|
|
135
|
-
const newTodoId = await ctx.db.insert("todos", {
|
|
136
|
-
text: args.text,
|
|
137
|
-
completed: false,
|
|
138
|
-
});
|
|
139
|
-
return await ctx.db.get(newTodoId);
|
|
140
|
-
},
|
|
141
|
-
});
|
|
142
|
-
export const toggle = mutation({
|
|
143
|
-
args: {
|
|
144
|
-
id: v.id("todos"),
|
|
145
|
-
completed: v.boolean(),
|
|
146
|
-
},
|
|
147
|
-
handler: async (ctx, args) => {
|
|
148
|
-
await ctx.db.patch(args.id, { completed: args.completed });
|
|
149
|
-
return { success: true };
|
|
150
|
-
},
|
|
151
|
-
});
|
|
152
|
-
export const deleteTodo = mutation({
|
|
153
|
-
args: {
|
|
154
|
-
id: v.id("todos"),
|
|
155
|
-
},
|
|
156
|
-
handler: async (ctx, args) => {
|
|
157
|
-
await ctx.db.delete(args.id);
|
|
158
|
-
return { success: true };
|
|
159
|
-
},
|
|
160
|
-
});
|
|
161
|
-
`,
|
|
162
|
-
type: "text"
|
|
163
|
-
},
|
|
164
|
-
"backend/convex/packages/backend/convex/tsconfig.json": {
|
|
165
|
-
jsonComments: {
|
|
166
|
-
"2": " /* This TypeScript project config describes the environment that",
|
|
167
|
-
"7": " /* These settings are not required by Convex and can be modified. */",
|
|
168
|
-
"15": " /* These compiler options are required by Convex */"
|
|
169
|
-
},
|
|
170
|
-
metadata: {
|
|
171
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
172
|
-
updatedHash: "3f3d4096f8"
|
|
173
|
-
},
|
|
174
|
-
content: {
|
|
175
|
-
compilerOptions: {
|
|
176
|
-
allowJs: true,
|
|
177
|
-
strict: true,
|
|
178
|
-
moduleResolution: "Bundler",
|
|
179
|
-
jsx: "react-jsx",
|
|
180
|
-
skipLibCheck: true,
|
|
181
|
-
allowSyntheticDefaultImports: true,
|
|
182
|
-
target: "ESNext",
|
|
183
|
-
lib: ["ES2021", "dom"],
|
|
184
|
-
forceConsistentCasingInFileNames: true,
|
|
185
|
-
module: "ESNext",
|
|
186
|
-
isolatedModules: true,
|
|
187
|
-
noEmit: true
|
|
188
|
-
},
|
|
189
|
-
include: ["./**/*"],
|
|
190
|
-
exclude: ["./_generated"]
|
|
191
|
-
},
|
|
192
|
-
type: "json"
|
|
193
|
-
},
|
|
194
|
-
"backend/convex/packages/backend/package.json.hbs": {
|
|
195
|
-
metadata: {
|
|
196
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
197
|
-
updatedHash: "a31c4f0f85"
|
|
198
|
-
},
|
|
199
|
-
content: `{
|
|
200
|
-
"name": "@{{projectName}}/backend",
|
|
201
|
-
"version": "1.0.0",
|
|
202
|
-
"scripts": {
|
|
203
|
-
"dev": "convex dev",
|
|
204
|
-
"setup": "convex dev --configure --until-success"
|
|
205
|
-
},
|
|
206
|
-
"author": "",
|
|
207
|
-
"license": "ISC",
|
|
208
|
-
"description": "",
|
|
209
|
-
"devDependencies": {
|
|
210
|
-
"typescript": "^5.8.3"
|
|
211
|
-
},
|
|
212
|
-
"dependencies": {
|
|
213
|
-
"convex": "^1.23.0"
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
`,
|
|
217
|
-
type: "text"
|
|
218
|
-
},
|
|
219
|
-
"backend/convex/packages/backend/_gitignore": {
|
|
220
|
-
metadata: {
|
|
221
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
222
|
-
updatedHash: "5e859410e4"
|
|
223
|
-
},
|
|
224
|
-
content: `
|
|
225
|
-
.env.local
|
|
226
|
-
`,
|
|
227
|
-
type: "text"
|
|
228
|
-
},
|
|
229
|
-
"backend/server/elysia/src/index.ts.hbs": {
|
|
230
|
-
metadata: {
|
|
231
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
232
|
-
updatedHash: "7b173395c4"
|
|
233
|
-
},
|
|
234
|
-
content: `import "dotenv/config";
|
|
235
|
-
{{#if (eq runtime "node")}}
|
|
236
|
-
import { node } from "@elysiajs/node";
|
|
237
|
-
{{/if}}
|
|
238
|
-
import { Elysia } from "elysia";
|
|
239
|
-
import { cors } from "@elysiajs/cors";
|
|
240
|
-
{{#if (eq api "trpc")}}
|
|
241
|
-
import { createContext } from "./lib/context";
|
|
242
|
-
import { appRouter } from "./routers/index";
|
|
243
|
-
import { fetchRequestHandler } from "@trpc/server/adapters/fetch";
|
|
244
|
-
{{/if}}
|
|
245
|
-
{{#if (eq api "orpc")}}
|
|
246
|
-
import { RPCHandler } from "@orpc/server/fetch";
|
|
247
|
-
import { appRouter } from "./routers";
|
|
248
|
-
import { createContext } from "./lib/context";
|
|
249
|
-
{{/if}}
|
|
250
|
-
{{#if auth}}
|
|
251
|
-
import { auth } from "./lib/auth";
|
|
252
|
-
{{/if}}
|
|
253
|
-
{{#if (eq api "orpc")}}
|
|
254
|
-
const handler = new RPCHandler(appRouter);
|
|
255
|
-
{{/if}}
|
|
256
|
-
{{#if (eq runtime "node")}}
|
|
257
|
-
const app = new Elysia({ adapter: node() })
|
|
258
|
-
{{else}}
|
|
259
|
-
const app = new Elysia()
|
|
260
|
-
{{/if}}
|
|
261
|
-
.use(
|
|
262
|
-
cors({
|
|
263
|
-
origin: process.env.CORS_ORIGIN || "",
|
|
264
|
-
methods: ["GET", "POST", "OPTIONS"],
|
|
265
|
-
{{#if auth}}
|
|
266
|
-
allowedHeaders: ["Content-Type", "Authorization"],
|
|
267
|
-
credentials: true,
|
|
268
|
-
{{/if}}
|
|
269
|
-
}),
|
|
270
|
-
)
|
|
271
|
-
{{#if auth}}
|
|
272
|
-
.all("/api/auth/*", async (context) => {
|
|
273
|
-
const { request } = context;
|
|
274
|
-
if (["POST", "GET"].includes(request.method)) {
|
|
275
|
-
return auth.handler(request);
|
|
276
|
-
}
|
|
277
|
-
context.error(405);
|
|
278
|
-
})
|
|
279
|
-
{{/if}}
|
|
280
|
-
{{#if (eq api "orpc")}}
|
|
281
|
-
.all('/rpc*', async (context) => {
|
|
282
|
-
const { response } = await handler.handle(context.request, {
|
|
283
|
-
prefix: '/rpc',
|
|
284
|
-
context: await createContext({ context })
|
|
285
|
-
})
|
|
286
|
-
return response ?? new Response('Not Found', { status: 404 })
|
|
287
|
-
})
|
|
288
|
-
{{/if}}
|
|
289
|
-
{{#if (eq api "trpc")}}
|
|
290
|
-
.all("/trpc/*", async (context) => {
|
|
291
|
-
const res = await fetchRequestHandler({
|
|
292
|
-
endpoint: "/trpc",
|
|
293
|
-
router: appRouter,
|
|
294
|
-
req: context.request,
|
|
295
|
-
createContext: () => createContext({ context }),
|
|
296
|
-
});
|
|
297
|
-
return res;
|
|
298
|
-
})
|
|
299
|
-
{{/if}}
|
|
300
|
-
.get("/", () => "OK")
|
|
301
|
-
.listen(3000, () => {
|
|
302
|
-
console.log("Server is running on http://localhost:3000");
|
|
303
|
-
});
|
|
304
|
-
`,
|
|
305
|
-
type: "text"
|
|
306
|
-
},
|
|
307
|
-
"backend/server/express/src/index.ts.hbs": {
|
|
308
|
-
metadata: {
|
|
309
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
310
|
-
updatedHash: "7d15f582c5"
|
|
311
|
-
},
|
|
312
|
-
content: `import "dotenv/config";
|
|
313
|
-
{{#if (eq api "trpc")}}
|
|
314
|
-
import { createExpressMiddleware } from "@trpc/server/adapters/express";
|
|
315
|
-
import { createContext } from "./lib/context";
|
|
316
|
-
import { appRouter } from "./routers/index";
|
|
317
|
-
{{/if}}
|
|
318
|
-
{{#if (eq api "orpc")}}
|
|
319
|
-
import { RPCHandler } from "@orpc/server/node";
|
|
320
|
-
import { appRouter } from "./routers";
|
|
321
|
-
{{#if auth}}
|
|
322
|
-
import { createContext } from "./lib/context";
|
|
323
|
-
{{/if}}
|
|
324
|
-
{{/if}}
|
|
325
|
-
import cors from "cors";
|
|
326
|
-
import express from "express";
|
|
327
|
-
{{#if (includes examples "ai")}}
|
|
328
|
-
import { streamText } from "ai";
|
|
329
|
-
import { google } from "@ai-sdk/google";
|
|
330
|
-
{{/if}}
|
|
331
|
-
{{#if auth}}
|
|
332
|
-
import { auth } from "./lib/auth";
|
|
333
|
-
import { toNodeHandler } from "better-auth/node";
|
|
334
|
-
{{/if}}
|
|
335
|
-
const app = express();
|
|
336
|
-
app.use(
|
|
337
|
-
cors({
|
|
338
|
-
origin: process.env.CORS_ORIGIN || "",
|
|
339
|
-
methods: ["GET", "POST", "OPTIONS"],
|
|
340
|
-
{{#if auth}}
|
|
341
|
-
allowedHeaders: ["Content-Type", "Authorization"],
|
|
342
|
-
credentials: true,
|
|
343
|
-
{{/if}}
|
|
344
|
-
})
|
|
345
|
-
);
|
|
346
|
-
{{#if auth}}
|
|
347
|
-
app.all("/api/auth{/*path}", toNodeHandler(auth));
|
|
348
|
-
{{/if}}
|
|
349
|
-
{{#if (eq api "trpc")}}
|
|
350
|
-
app.use(
|
|
351
|
-
"/trpc",
|
|
352
|
-
createExpressMiddleware({
|
|
353
|
-
router: appRouter,
|
|
354
|
-
createContext
|
|
355
|
-
})
|
|
356
|
-
);
|
|
357
|
-
{{/if}}
|
|
358
|
-
{{#if (eq api "orpc")}}
|
|
359
|
-
const handler = new RPCHandler(appRouter);
|
|
360
|
-
app.use('/rpc{*path}', async (req, res, next) => {
|
|
361
|
-
const { matched } = await handler.handle(req, res, {
|
|
362
|
-
prefix: '/rpc',
|
|
363
|
-
{{#if auth}}
|
|
364
|
-
context: await createContext({ req }),
|
|
365
|
-
{{else}}
|
|
366
|
-
context: {},
|
|
367
|
-
{{/if}}
|
|
368
|
-
});
|
|
369
|
-
if (matched) return;
|
|
370
|
-
next();
|
|
371
|
-
});
|
|
372
|
-
{{/if}}
|
|
373
|
-
app.use(express.json())
|
|
374
|
-
{{#if (includes examples "ai")}}
|
|
375
|
-
app.post("/ai", async (req, res) => {
|
|
376
|
-
const { messages = [] } = req.body || {};
|
|
377
|
-
const result = streamText({
|
|
378
|
-
model: google("gemini-1.5-flash"),
|
|
379
|
-
messages,
|
|
380
|
-
});
|
|
381
|
-
result.pipeDataStreamToResponse(res);
|
|
382
|
-
});
|
|
383
|
-
{{/if}}
|
|
384
|
-
app.get("/", (_req, res) => {
|
|
385
|
-
res.status(200).send("OK");
|
|
386
|
-
});
|
|
387
|
-
const port = process.env.PORT || 3000;
|
|
388
|
-
app.listen(port, () => {
|
|
389
|
-
console.log(\`Server is running on port \${port}\`);
|
|
390
|
-
});
|
|
391
|
-
`,
|
|
392
|
-
type: "text"
|
|
393
|
-
},
|
|
394
|
-
"backend/server/fastify/src/index.ts.hbs": {
|
|
395
|
-
metadata: {
|
|
396
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
397
|
-
updatedHash: "202aee9233"
|
|
398
|
-
},
|
|
399
|
-
content: `import "dotenv/config";
|
|
400
|
-
import Fastify from "fastify";
|
|
401
|
-
import fastifyCors from "@fastify/cors";
|
|
402
|
-
{{#if (eq api "trpc")}}
|
|
403
|
-
import { fastifyTRPCPlugin, type FastifyTRPCPluginOptions } from "@trpc/server/adapters/fastify";
|
|
404
|
-
import { createContext } from "./lib/context";
|
|
405
|
-
import { appRouter, type AppRouter } from "./routers/index";
|
|
406
|
-
{{/if}}
|
|
407
|
-
{{#if (eq api "orpc")}}
|
|
408
|
-
import { RPCHandler } from "@orpc/server/node";
|
|
409
|
-
import { CORSPlugin } from "@orpc/server/plugins";
|
|
410
|
-
import { appRouter } from "./routers/index";
|
|
411
|
-
import { createServer } from "node:http";
|
|
412
|
-
{{#if auth}}
|
|
413
|
-
import { createContext } from "./lib/context";
|
|
414
|
-
{{/if}}
|
|
415
|
-
{{/if}}
|
|
416
|
-
{{#if (includes examples "ai")}}
|
|
417
|
-
import type { FastifyRequest, FastifyReply } from "fastify";
|
|
418
|
-
import { streamText, type Message } from "ai";
|
|
419
|
-
import { google } from "@ai-sdk/google";
|
|
420
|
-
{{/if}}
|
|
421
|
-
{{#if auth}}
|
|
422
|
-
import { auth } from "./lib/auth";
|
|
423
|
-
{{/if}}
|
|
424
|
-
const baseCorsConfig = {
|
|
425
|
-
origin: process.env.CORS_ORIGIN || "",
|
|
426
|
-
methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
|
|
427
|
-
allowedHeaders: [
|
|
428
|
-
"Content-Type",
|
|
429
|
-
"Authorization",
|
|
430
|
-
"X-Requested-With"
|
|
431
|
-
],
|
|
432
|
-
credentials: true,
|
|
433
|
-
maxAge: 86400,
|
|
434
|
-
};
|
|
435
|
-
{{#if (eq api "orpc")}}
|
|
436
|
-
const handler = new RPCHandler(appRouter, {
|
|
437
|
-
plugins: [
|
|
438
|
-
new CORSPlugin({
|
|
439
|
-
origin: process.env.CORS_ORIGIN,
|
|
440
|
-
credentials: true,
|
|
441
|
-
allowHeaders: ["Content-Type", "Authorization"],
|
|
442
|
-
}),
|
|
443
|
-
],
|
|
444
|
-
});
|
|
445
|
-
const fastify = Fastify({
|
|
446
|
-
logger: true,
|
|
447
|
-
serverFactory: (fastifyHandler) => {
|
|
448
|
-
const server = createServer(async (req, res) => {
|
|
449
|
-
const { matched } = await handler.handle(req, res, {
|
|
450
|
-
context: await createContext(req.headers),
|
|
451
|
-
prefix: "/rpc",
|
|
452
|
-
});
|
|
453
|
-
if (matched) {
|
|
454
|
-
return;
|
|
455
|
-
}
|
|
456
|
-
fastifyHandler(req, res);
|
|
457
|
-
});
|
|
458
|
-
return server;
|
|
459
|
-
},
|
|
460
|
-
});
|
|
461
|
-
{{else}}
|
|
462
|
-
const fastify = Fastify({
|
|
463
|
-
logger: true,
|
|
464
|
-
});
|
|
465
|
-
{{/if}}
|
|
466
|
-
fastify.register(fastifyCors, baseCorsConfig);
|
|
467
|
-
{{#if auth}}
|
|
468
|
-
fastify.route({
|
|
469
|
-
method: ["GET", "POST"],
|
|
470
|
-
url: "/api/auth/*",
|
|
471
|
-
async handler(request, reply) {
|
|
472
|
-
try {
|
|
473
|
-
const url = new URL(request.url, \`http://\${request.headers.host}\`);
|
|
474
|
-
const headers = new Headers();
|
|
475
|
-
Object.entries(request.headers).forEach(([key, value]) => {
|
|
476
|
-
if (value) headers.append(key, value.toString());
|
|
477
|
-
});
|
|
478
|
-
const req = new Request(url.toString(), {
|
|
479
|
-
method: request.method,
|
|
480
|
-
headers,
|
|
481
|
-
body: request.body ? JSON.stringify(request.body) : undefined,
|
|
482
|
-
});
|
|
483
|
-
const response = await auth.handler(req);
|
|
484
|
-
reply.status(response.status);
|
|
485
|
-
response.headers.forEach((value, key) => reply.header(key, value));
|
|
486
|
-
reply.send(response.body ? await response.text() : null);
|
|
487
|
-
} catch (error) {
|
|
488
|
-
fastify.log.error("Authentication Error:", error);
|
|
489
|
-
reply.status(500).send({
|
|
490
|
-
error: "Internal authentication error",
|
|
491
|
-
code: "AUTH_FAILURE"
|
|
492
|
-
});
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
});
|
|
496
|
-
{{/if}}
|
|
497
|
-
{{#if (eq api "trpc")}}
|
|
498
|
-
fastify.register(fastifyTRPCPlugin, {
|
|
499
|
-
prefix: "/trpc",
|
|
500
|
-
trpcOptions: {
|
|
501
|
-
router: appRouter,
|
|
502
|
-
createContext,
|
|
503
|
-
onError({ path, error }) {
|
|
504
|
-
console.error(\`Error in tRPC handler on path '\${path}':\`, error);
|
|
505
|
-
},
|
|
506
|
-
} satisfies FastifyTRPCPluginOptions<AppRouter>["trpcOptions"],
|
|
507
|
-
});
|
|
508
|
-
{{/if}}
|
|
509
|
-
{{#if (includes examples "ai")}}
|
|
510
|
-
interface AiRequestBody {
|
|
511
|
-
id?: string;
|
|
512
|
-
messages: Message[];
|
|
513
|
-
}
|
|
514
|
-
fastify.post('/ai', async function (request, reply) {
|
|
515
|
-
const { messages } = request.body as AiRequestBody;
|
|
516
|
-
const result = streamText({
|
|
517
|
-
model: google('gemini-1.5-flash'),
|
|
518
|
-
messages,
|
|
519
|
-
});
|
|
520
|
-
reply.header('X-Vercel-AI-Data-Stream', 'v1');
|
|
521
|
-
reply.header('Content-Type', 'text/plain; charset=utf-8');
|
|
522
|
-
return reply.send(result.toDataStream());
|
|
523
|
-
});
|
|
524
|
-
{{/if}}
|
|
525
|
-
fastify.get('/', async () => {
|
|
526
|
-
return 'OK'
|
|
527
|
-
})
|
|
528
|
-
fastify.listen({ port: 3000 }, (err) => {
|
|
529
|
-
if (err) {
|
|
530
|
-
fastify.log.error(err);
|
|
531
|
-
process.exit(1);
|
|
532
|
-
}
|
|
533
|
-
console.log("Server running on port 3000");
|
|
534
|
-
});
|
|
535
|
-
`,
|
|
536
|
-
type: "text"
|
|
537
|
-
},
|
|
538
|
-
"backend/server/hono/src/index.ts.hbs": {
|
|
539
|
-
metadata: {
|
|
540
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
541
|
-
updatedHash: "db661b84bf"
|
|
542
|
-
},
|
|
543
|
-
content: `{{#if (or (eq runtime "bun") (eq runtime "node"))}}
|
|
544
|
-
import "dotenv/config";
|
|
545
|
-
{{/if}}
|
|
546
|
-
{{#if (eq runtime "workers")}}
|
|
547
|
-
import { env } from "cloudflare:workers";
|
|
548
|
-
{{/if}}
|
|
549
|
-
{{#if (eq api "orpc")}}
|
|
550
|
-
import { RPCHandler } from "@orpc/server/fetch";
|
|
551
|
-
import { createContext } from "./lib/context";
|
|
552
|
-
import { appRouter } from "./routers/index";
|
|
553
|
-
{{/if}}
|
|
554
|
-
{{#if (eq api "trpc")}}
|
|
555
|
-
import { trpcServer } from "@hono/trpc-server";
|
|
556
|
-
import { createContext } from "./lib/context";
|
|
557
|
-
import { appRouter } from "./routers/index";
|
|
558
|
-
{{/if}}
|
|
559
|
-
{{#if auth}}
|
|
560
|
-
import { auth } from "./lib/auth";
|
|
561
|
-
{{/if}}
|
|
562
|
-
import { Hono } from "hono";
|
|
563
|
-
import { cors } from "hono/cors";
|
|
564
|
-
import { logger } from "hono/logger";
|
|
565
|
-
{{#if (and (includes examples "ai") (or (eq runtime "bun") (eq runtime "node")))}}
|
|
566
|
-
import { streamText } from "ai";
|
|
567
|
-
import { google } from "@ai-sdk/google";
|
|
568
|
-
import { stream } from "hono/streaming";
|
|
569
|
-
{{/if}}
|
|
570
|
-
{{#if (and (includes examples "ai") (eq runtime "workers"))}}
|
|
571
|
-
import { streamText } from "ai";
|
|
572
|
-
import { stream } from "hono/streaming";
|
|
573
|
-
import { createGoogleGenerativeAI } from "@ai-sdk/google";
|
|
574
|
-
{{/if}}
|
|
575
|
-
const app = new Hono();
|
|
576
|
-
app.use(logger());
|
|
577
|
-
app.use("/*", cors({
|
|
578
|
-
{{#if (or (eq runtime "bun") (eq runtime "node"))}}
|
|
579
|
-
origin: process.env.CORS_ORIGIN || "",
|
|
580
|
-
{{/if}}
|
|
581
|
-
{{#if (eq runtime "workers")}}
|
|
582
|
-
origin: env.CORS_ORIGIN || "",
|
|
583
|
-
{{/if}}
|
|
584
|
-
allowMethods: ["GET", "POST", "OPTIONS"],
|
|
585
|
-
{{#if auth}}
|
|
586
|
-
allowHeaders: ["Content-Type", "Authorization"],
|
|
587
|
-
credentials: true,
|
|
588
|
-
{{/if}}
|
|
589
|
-
}));
|
|
590
|
-
{{#if auth}}
|
|
591
|
-
app.on(["POST", "GET"], "/api/auth/**", (c) => auth.handler(c.req.raw));
|
|
592
|
-
{{/if}}
|
|
593
|
-
{{#if (eq api "orpc")}}
|
|
594
|
-
const handler = new RPCHandler(appRouter);
|
|
595
|
-
app.use("/rpc/*", async (c, next) => {
|
|
596
|
-
const context = await createContext({ context: c });
|
|
597
|
-
const { matched, response } = await handler.handle(c.req.raw, {
|
|
598
|
-
prefix: "/rpc",
|
|
599
|
-
context: context,
|
|
600
|
-
});
|
|
601
|
-
if (matched) {
|
|
602
|
-
return c.newResponse(response.body, response);
|
|
603
|
-
}
|
|
604
|
-
await next();
|
|
605
|
-
});
|
|
606
|
-
{{/if}}
|
|
607
|
-
{{#if (eq api "trpc")}}
|
|
608
|
-
app.use("/trpc/*", trpcServer({
|
|
609
|
-
router: appRouter,
|
|
610
|
-
createContext: (_opts, context) => {
|
|
611
|
-
return createContext({ context });
|
|
612
|
-
},
|
|
613
|
-
}));
|
|
614
|
-
{{/if}}
|
|
615
|
-
{{#if (and (includes examples "ai") (or (eq runtime "bun") (eq runtime "node")))}}
|
|
616
|
-
app.post("/ai", async (c) => {
|
|
617
|
-
const body = await c.req.json();
|
|
618
|
-
const messages = body.messages || [];
|
|
619
|
-
const result = streamText({
|
|
620
|
-
model: google("gemini-1.5-flash"),
|
|
621
|
-
messages,
|
|
622
|
-
});
|
|
623
|
-
c.header("X-Vercel-AI-Data-Stream", "v1");
|
|
624
|
-
c.header("Content-Type", "text/plain; charset=utf-8");
|
|
625
|
-
return stream(c, (stream) => stream.pipe(result.toDataStream()));
|
|
626
|
-
});
|
|
627
|
-
{{/if}}
|
|
628
|
-
{{#if (and (includes examples "ai") (eq runtime "workers"))}}
|
|
629
|
-
app.post("/ai", async (c) => {
|
|
630
|
-
const body = await c.req.json();
|
|
631
|
-
const messages = body.messages || [];
|
|
632
|
-
const google = createGoogleGenerativeAI({
|
|
633
|
-
apiKey: env.GOOGLE_GENERATIVE_AI_API_KEY,
|
|
634
|
-
});
|
|
635
|
-
const result = streamText({
|
|
636
|
-
model: google("gemini-1.5-flash"),
|
|
637
|
-
messages,
|
|
638
|
-
});
|
|
639
|
-
c.header("X-Vercel-AI-Data-Stream", "v1");
|
|
640
|
-
c.header("Content-Type", "text/plain; charset=utf-8");
|
|
641
|
-
return stream(c, (stream) => stream.pipe(result.toDataStream()));
|
|
642
|
-
});
|
|
643
|
-
{{/if}}
|
|
644
|
-
app.get("/", (c) => {
|
|
645
|
-
return c.text("OK");
|
|
646
|
-
});
|
|
647
|
-
{{#if (eq runtime "node")}}
|
|
648
|
-
import { serve } from "@hono/node-server";
|
|
649
|
-
serve({
|
|
650
|
-
fetch: app.fetch,
|
|
651
|
-
port: 3000,
|
|
652
|
-
}, (info) => {
|
|
653
|
-
console.log(\`Server is running on http://localhost:\${info.port}\`);
|
|
654
|
-
});
|
|
655
|
-
{{else}}
|
|
656
|
-
{{#if (eq runtime "bun")}}
|
|
657
|
-
export default app;
|
|
658
|
-
{{/if}}
|
|
659
|
-
{{#if (eq runtime "workers")}}
|
|
660
|
-
export default app;
|
|
661
|
-
{{/if}}
|
|
662
|
-
{{/if}}
|
|
663
|
-
`,
|
|
664
|
-
type: "text"
|
|
665
|
-
},
|
|
666
|
-
"backend/server/next/next-env.d.ts": {
|
|
667
|
-
metadata: {
|
|
668
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
669
|
-
updatedHash: "f75a118439"
|
|
670
|
-
},
|
|
671
|
-
content: `/// <reference types="next" />
|
|
672
|
-
/// <reference types="next/image-types/global" />
|
|
673
|
-
// NOTE: This file should not be edited
|
|
674
|
-
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
|
675
|
-
`,
|
|
676
|
-
type: "text"
|
|
677
|
-
},
|
|
678
|
-
"backend/server/next/next.config.ts": {
|
|
679
|
-
metadata: {
|
|
680
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
681
|
-
updatedHash: "89327ac52f"
|
|
682
|
-
},
|
|
683
|
-
content: `import type { NextConfig } from "next";
|
|
684
|
-
const nextConfig: NextConfig = {
|
|
685
|
-
/* config options here */
|
|
686
|
-
};
|
|
687
|
-
export default nextConfig;
|
|
688
|
-
`,
|
|
689
|
-
type: "text"
|
|
690
|
-
},
|
|
691
|
-
"backend/server/next/package.json.hbs": {
|
|
692
|
-
metadata: {
|
|
693
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
694
|
-
updatedHash: "0b109deaf9"
|
|
695
|
-
},
|
|
696
|
-
content: `{
|
|
697
|
-
"name": "server",
|
|
698
|
-
"version": "0.1.0",
|
|
699
|
-
"private": true,
|
|
700
|
-
"scripts": {
|
|
701
|
-
"dev": "next dev --turbopack",
|
|
702
|
-
"build": "next build",
|
|
703
|
-
"start": "next start"
|
|
704
|
-
},
|
|
705
|
-
"dependencies": {
|
|
706
|
-
"next": "15.3.0",
|
|
707
|
-
"dotenv": "^16.5.0"
|
|
708
|
-
},
|
|
709
|
-
{{#if (eq dbSetup 'supabase')}}
|
|
710
|
-
"trustedDependencies": [
|
|
711
|
-
"supabase"
|
|
712
|
-
],
|
|
713
|
-
{{/if}}
|
|
714
|
-
"devDependencies": {
|
|
715
|
-
"@types/node": "^20",
|
|
716
|
-
"@types/react": "^19",
|
|
717
|
-
"typescript": "^5"
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
`,
|
|
721
|
-
type: "text"
|
|
722
|
-
},
|
|
723
|
-
"backend/server/next/src/impl/route.ts": {
|
|
724
|
-
metadata: {
|
|
725
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
726
|
-
updatedHash: "e40f5d7501"
|
|
727
|
-
},
|
|
728
|
-
content: `import { NextResponse } from "next/server";
|
|
729
|
-
export async function GET() {
|
|
730
|
-
return NextResponse.json({ message: "OK" });
|
|
731
|
-
}
|
|
732
|
-
`,
|
|
733
|
-
type: "text"
|
|
734
|
-
},
|
|
735
|
-
"backend/server/next/src/middleware.ts": {
|
|
736
|
-
metadata: {
|
|
737
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
738
|
-
updatedHash: "d71ca4997c"
|
|
739
|
-
},
|
|
740
|
-
content: `import { NextResponse } from "next/server";
|
|
741
|
-
export function middleware() {
|
|
742
|
-
const res = NextResponse.next()
|
|
743
|
-
res.headers.append('Access-Control-Allow-Credentials', "true")
|
|
744
|
-
res.headers.append('Access-Control-Allow-Origin', process.env.CORS_ORIGIN || "")
|
|
745
|
-
res.headers.append('Access-Control-Allow-Methods', 'GET,POST,OPTIONS')
|
|
746
|
-
res.headers.append(
|
|
747
|
-
'Access-Control-Allow-Headers',
|
|
748
|
-
'Content-Type, Authorization'
|
|
749
|
-
)
|
|
750
|
-
return res
|
|
751
|
-
}
|
|
752
|
-
export const config = {
|
|
753
|
-
matcher: '/:path*',
|
|
754
|
-
}
|
|
755
|
-
`,
|
|
756
|
-
type: "text"
|
|
757
|
-
},
|
|
758
|
-
"backend/server/next/tsconfig.json.hbs": {
|
|
759
|
-
metadata: {
|
|
760
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
761
|
-
updatedHash: "e47257abfb"
|
|
762
|
-
},
|
|
763
|
-
content: `{
|
|
764
|
-
"compilerOptions": {
|
|
765
|
-
"target": "ES2017",
|
|
766
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
767
|
-
"allowJs": true,
|
|
768
|
-
"skipLibCheck": true,
|
|
769
|
-
"strict": true,
|
|
770
|
-
"noEmit": true,
|
|
771
|
-
"esModuleInterop": true,
|
|
772
|
-
"module": "esnext",
|
|
773
|
-
"moduleResolution": "bundler",
|
|
774
|
-
"resolveJsonModule": true,
|
|
775
|
-
"isolatedModules": true,
|
|
776
|
-
"jsx": "preserve",
|
|
777
|
-
{{#unless (or (eq backend "convex") (eq backend "none"))}}
|
|
778
|
-
"composite": true,
|
|
779
|
-
{{/unless}}
|
|
780
|
-
"incremental": true,
|
|
781
|
-
"plugins": [
|
|
782
|
-
{
|
|
783
|
-
"name": "next"
|
|
784
|
-
}
|
|
785
|
-
],
|
|
786
|
-
"paths": {
|
|
787
|
-
"@/*": ["./src/*"]
|
|
788
|
-
{{#if (eq orm 'prisma')}},
|
|
789
|
-
"prisma": ["node_modules/prisma"]
|
|
790
|
-
{{/if}}
|
|
791
|
-
},
|
|
792
|
-
},
|
|
793
|
-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
794
|
-
"exclude": ["node_modules"]
|
|
795
|
-
}
|
|
796
|
-
`,
|
|
797
|
-
type: "text"
|
|
798
|
-
},
|
|
799
|
-
"backend/server/server-base/package.json.hbs": {
|
|
800
|
-
metadata: {
|
|
801
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
802
|
-
updatedHash: "1cd020a140"
|
|
803
|
-
},
|
|
804
|
-
content: `{
|
|
805
|
-
"name": "server",
|
|
806
|
-
"main": "src/index.ts",
|
|
807
|
-
"type": "module",
|
|
808
|
-
"scripts": {
|
|
809
|
-
"build": "tsc && tsc-alias",
|
|
810
|
-
"check-types": "tsc --noEmit",
|
|
811
|
-
"compile": "bun build --compile --minify --sourcemap --bytecode ./src/index.ts --outfile server"
|
|
812
|
-
},
|
|
813
|
-
{{#if (eq orm 'prisma')}}
|
|
814
|
-
"prisma": {
|
|
815
|
-
"schema": "./schema"
|
|
816
|
-
},
|
|
817
|
-
{{/if}}
|
|
818
|
-
"dependencies": {
|
|
819
|
-
"dotenv": "^16.4.7",
|
|
820
|
-
"zod": "^3.25.16"
|
|
821
|
-
},
|
|
822
|
-
{{#if (eq dbSetup 'supabase')}}
|
|
823
|
-
"trustedDependencies": [
|
|
824
|
-
"supabase"
|
|
825
|
-
],
|
|
826
|
-
{{/if}}
|
|
827
|
-
"devDependencies": {
|
|
828
|
-
"tsc-alias": "^1.8.11",
|
|
829
|
-
"typescript": "^5.8.2"
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
`,
|
|
833
|
-
type: "text"
|
|
834
|
-
},
|
|
835
|
-
"backend/server/server-base/src/routers/index.ts.hbs": {
|
|
836
|
-
metadata: {
|
|
837
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
838
|
-
updatedHash: "2a92c7eab7"
|
|
839
|
-
},
|
|
840
|
-
content: `{{#if (eq api "orpc")}}
|
|
841
|
-
import { {{#if auth}}protectedProcedure, {{/if}}publicProcedure } from "../lib/orpc";
|
|
842
|
-
{{#if (includes examples "todo")}}
|
|
843
|
-
import { todoRouter } from "./todo";
|
|
844
|
-
{{/if}}
|
|
845
|
-
export const appRouter = {
|
|
846
|
-
healthCheck: publicProcedure.handler(() => {
|
|
847
|
-
return "OK";
|
|
848
|
-
}),
|
|
849
|
-
{{#if auth}}
|
|
850
|
-
privateData: protectedProcedure.handler(({ context }) => {
|
|
851
|
-
return {
|
|
852
|
-
message: "This is private",
|
|
853
|
-
user: context.session?.user,
|
|
854
|
-
};
|
|
855
|
-
}),
|
|
856
|
-
{{/if}}
|
|
857
|
-
{{#if (includes examples "todo")}}
|
|
858
|
-
todo: todoRouter,
|
|
859
|
-
{{/if}}
|
|
860
|
-
};
|
|
861
|
-
export type AppRouter = typeof appRouter;
|
|
862
|
-
{{else if (eq api "trpc")}}
|
|
863
|
-
import {
|
|
864
|
-
{{#if auth}}protectedProcedure, {{/if}}publicProcedure,
|
|
865
|
-
router,
|
|
866
|
-
} from "../lib/trpc";
|
|
867
|
-
{{#if (includes examples "todo")}}
|
|
868
|
-
import { todoRouter } from "./todo";
|
|
869
|
-
{{/if}}
|
|
870
|
-
export const appRouter = router({
|
|
871
|
-
healthCheck: publicProcedure.query(() => {
|
|
872
|
-
return "OK";
|
|
873
|
-
}),
|
|
874
|
-
{{#if auth}}
|
|
875
|
-
privateData: protectedProcedure.query(({ ctx }) => {
|
|
876
|
-
return {
|
|
877
|
-
message: "This is private",
|
|
878
|
-
user: ctx.session.user,
|
|
879
|
-
};
|
|
880
|
-
}),
|
|
881
|
-
{{/if}}
|
|
882
|
-
{{#if (includes examples "todo")}}
|
|
883
|
-
todo: todoRouter,
|
|
884
|
-
{{/if}}
|
|
885
|
-
});
|
|
886
|
-
export type AppRouter = typeof appRouter;
|
|
887
|
-
{{else}}
|
|
888
|
-
export const appRouter = {};
|
|
889
|
-
export type AppRouter = typeof appRouter;
|
|
890
|
-
{{/if}}
|
|
891
|
-
`,
|
|
892
|
-
type: "text"
|
|
893
|
-
},
|
|
894
|
-
"backend/server/server-base/tsconfig.json.hbs": {
|
|
895
|
-
metadata: {
|
|
896
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
897
|
-
updatedHash: "e8e301561a"
|
|
898
|
-
},
|
|
899
|
-
content: `{
|
|
900
|
-
"compilerOptions": {
|
|
901
|
-
"target": "ESNext",
|
|
902
|
-
"module": "ESNext",
|
|
903
|
-
"moduleResolution": "bundler",
|
|
904
|
-
"verbatimModuleSyntax": true,
|
|
905
|
-
"strict": true,
|
|
906
|
-
"skipLibCheck": true,
|
|
907
|
-
"baseUrl": "./",
|
|
908
|
-
"paths": {
|
|
909
|
-
"@/*": ["./src/*"]
|
|
910
|
-
{{#if (eq orm "prisma")}},
|
|
911
|
-
"prisma": ["node_modules/prisma"]
|
|
912
|
-
{{/if}}
|
|
913
|
-
},
|
|
914
|
-
"outDir": "./dist",
|
|
915
|
-
"types": [
|
|
916
|
-
{{#if (eq runtime "node")}}
|
|
917
|
-
"node"
|
|
918
|
-
{{else if (eq runtime "bun")}}
|
|
919
|
-
"bun"
|
|
920
|
-
{{else if (eq runtime "workers")}}
|
|
921
|
-
"./worker-configuration",
|
|
922
|
-
"node"
|
|
923
|
-
{{else}}
|
|
924
|
-
"node",
|
|
925
|
-
"bun"
|
|
926
|
-
{{/if}}
|
|
927
|
-
],
|
|
928
|
-
{{#unless (or (eq backend "convex") (eq backend "none"))}}
|
|
929
|
-
"composite": true,
|
|
930
|
-
{{/unless}}
|
|
931
|
-
"jsx": "react-jsx"{{#if (eq backend "hono")}},
|
|
932
|
-
"jsxImportSource": "hono/jsx"{{/if}}
|
|
933
|
-
},
|
|
934
|
-
"tsc-alias": {
|
|
935
|
-
"resolveFullPaths": true
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
`,
|
|
939
|
-
type: "text"
|
|
940
|
-
},
|
|
941
|
-
"backend/server/server-base/_gitignore": {
|
|
942
|
-
metadata: {
|
|
943
|
-
updatedAt: "2025-06-17T06:06:35.000Z",
|
|
944
|
-
updatedHash: "22473bb619"
|
|
945
|
-
},
|
|
946
|
-
content: `# prod
|
|
947
|
-
dist/
|
|
948
|
-
/build
|
|
949
|
-
/out/
|
|
950
|
-
# dev
|
|
951
|
-
.yarn/
|
|
952
|
-
!.yarn/patches
|
|
953
|
-
!.yarn/plugins
|
|
954
|
-
!.yarn/releases
|
|
955
|
-
!.yarn/versions
|
|
956
|
-
.vscode/*
|
|
957
|
-
!.vscode/launch.json
|
|
958
|
-
!.vscode/*.code-snippets
|
|
959
|
-
.idea/workspace.xml
|
|
960
|
-
.idea/usage.statistics.xml
|
|
961
|
-
.idea/shelf
|
|
962
|
-
.wrangler
|
|
963
|
-
/.next/
|
|
964
|
-
.vercel
|
|
965
|
-
# deps
|
|
966
|
-
node_modules/
|
|
967
|
-
/node_modules
|
|
968
|
-
/.pnp
|
|
969
|
-
.pnp.*
|
|
970
|
-
# env
|
|
971
|
-
.env*
|
|
972
|
-
.env.production
|
|
973
|
-
!.env.example
|
|
974
|
-
.dev.vars
|
|
975
|
-
# logs
|
|
976
|
-
logs/
|
|
977
|
-
*.log
|
|
978
|
-
npm-debug.log*
|
|
979
|
-
yarn-debug.log*
|
|
980
|
-
yarn-error.log*
|
|
981
|
-
pnpm-debug.log*
|
|
982
|
-
lerna-debug.log*
|
|
983
|
-
# misc
|
|
984
|
-
.DS_Store
|
|
985
|
-
*.pem
|
|
986
|
-
# local db
|
|
987
|
-
*.db*
|
|
988
|
-
# typescript
|
|
989
|
-
*.tsbuildinfo
|
|
990
|
-
next-env.d.ts
|
|
991
|
-
`,
|
|
992
|
-
type: "text"
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
};
|