@reliverse/rse
Version:
@reliverse/rse is your all-in-one companion for bootstrapping and improving any kind of projects (especially web apps built with frameworks like Next.js) — whether you're kicking off something new or upgrading an existing app. It is also a little AI-power
153 lines (152 loc) • 13.7 kB
TypeScript
export { useORPC } from "./add/add-local/api/orpc";
export { useTRPC } from "./add/add-local/api/trpc";
export { useBetterAuth } from "./add/add-local/auth/better-auth";
export { useClerkAuth } from "./add/add-local/auth/clerk-auth";
export { useNextAuth } from "./add/add-local/auth/next-auth";
export { checkMissingDependencies } from "./add/add-local/core/deps";
export { getPromptContent } from "./add/add-local/core/prompts";
export { checkForTemplateUpdate, updateProjectTemplateDate, getTemplateUpdateInfo, } from "./add/add-local/core/templates";
export { useDrizzleORM } from "./add/add-local/db/drizzle";
export { usePrismaORM } from "./add/add-local/db/prisma";
export { useUploadthing } from "./add/add-local/files/uploadthing";
export { useReactHookForm } from "./add/add-local/form/react-hook-form";
export { useTanstackForm } from "./add/add-local/form/tanstack-form";
export { usePlasmoBrowserExtFramework } from "./add/add-local/fws/browser/plasmo";
export { useWxtBrowserExtFramework } from "./add/add-local/fws/browser/wxt";
export { useEslintConfig } from "./add/add-local/fws/configs/eslint-config";
export { useLynxNativeFramework } from "./add/add-local/fws/native/lynx";
export { useReactNativeFramework } from "./add/add-local/fws/native/react";
export { useEslintPlugin } from "./add/add-local/fws/plugins/eslint-plugin";
export { useVscodeExtFramework } from "./add/add-local/fws/vscode/vscode-ext";
export { useAstroWebFramework } from "./add/add-local/fws/web/astro";
export { useJStackWebFramework } from "./add/add-local/fws/web/jstack";
export { useNextJsWebFramework } from "./add/add-local/fws/web/next";
export { useTanstackStartWebFramework } from "./add/add-local/fws/web/start";
export { useViteWebFramework } from "./add/add-local/fws/web/vite";
export { useGtLibs } from "./add/add-local/i18n/gt-libs";
export { useLanguine } from "./add/add-local/i18n/languine";
export { useNextIntl } from "./add/add-local/i18n/next-intl";
export { useVercelAI } from "./add/add-local/llm/vercel";
export { useResendMail } from "./add/add-local/mail/resend";
export { usePolarPayments } from "./add/add-local/pay/polar";
export { useStripePayments } from "./add/add-local/pay/stripe";
export { useBiomeTool } from "./add/add-local/tool/biome";
export { useEslintTool } from "./add/add-local/tool/eslint";
export { useOxlintTool } from "./add/add-local/tool/oxlint";
export { use21stUI } from "./add/add-local/ui/21st";
export { useShadcnUI } from "./add/add-local/ui/shadcn";
export { useTailwindCSS } from "./add/add-local/ui/tailwind";
export { CACHE_ROOT_DIR, DEFAULT_BRANCH, RULE_FILE_EXTENSION, getRepoCacheDir, RULES_REPOS, } from "./add/add-rule/add-rule-const";
export { handleDirectRules, showRulesMenu, } from "./add/add-rule/add-rule-impl";
export { convertTsToMdc, hasCursorRulesDir, hasInstalledRules, checkRulesRepoUpdate, checkForRuleUpdates, downloadRules, installRules, handleRuleUpdates, } from "./add/add-rule/add-rule-utils";
export { ensureOpenAIKey } from "./ai/ai-impl/ai-auth";
export { aiChat } from "./ai/ai-impl/ai-chat";
export { AGENT_NAMES, MODEL, MODEL_NAME, MAX_TOKENS, CIRCULAR_TRIGGERS, EXIT_KEYWORDS, } from "./ai/ai-impl/ai-const";
export { aiAgenticTool } from "./ai/ai-impl/ai-tools";
export { aiCodeCommand } from "./ai/ai-impl/code/code-mod";
export { handleMcpCommand } from "./ai/ai-impl/mcp/mcp-mod";
export { agentRelinter, collectLintableFiles, gatherLintSuggestions, writeSuggestionsToFile, } from "./ai/ai-impl/relinter/relinter";
export { aiMenu } from "./ai/ai-menu";
export { useFirecrawl } from "./clone/firecrawl/firecrawl-mod";
export { runCodemods } from "./cmod/cmod-impl";
export { envArgImpl } from "./env/env-impl";
export { COLUMN_TYPES } from "./init/mm-deprecated/drizzle/manageDrizzleConstants";
export { manageDrizzleSchema } from "./init/mm-deprecated/drizzle/manageDrizzleSchema";
export { detectDatabaseProvider, setupDrizzle, getAvailableTables, addNewTable, removeTable, renameTable, manageRelations, generateTableFile, updateSchemaIndex, appendTableToSchema, removeFromSchemaIndex, removeTableFromSchema, renameTableInSchema, updateTableNameInIndex, addColumnToTable, } from "./init/mm-deprecated/drizzle/manageDrizzleSchemaUtils";
export { handleIntegrations } from "./init/mm-deprecated/editor-impl";
export { updatePackageJson, installIntegration, removeIntegration, } from "./init/mm-deprecated/editor-mod";
export { INTEGRATION_CONFIGS } from "./init/mm-deprecated/feature-add";
export { REMOVAL_CONFIGS } from "./init/mm-deprecated/feature-rm";
export { manageShadcn } from "./init/mm-deprecated/shadcn/shadcn-mod";
export { initializeProjectConfig, setupI18nSupport, shouldInstallDependencies, handleDependencies, showSuccessAndNextSteps, handleNextActions, handleNextAction, } from "./init/use-template/cp-impl";
export { createWebProject, createMobileProject, } from "./init/use-template/cp-mod";
export { getMainMenuOptions } from "./init/use-template/cp-modules/cli-main-modules/cli-menu-items/getMainMenuOptions";
export { showCloneProjectMenu } from "./init/use-template/cp-modules/cli-main-modules/cli-menu-items/showCloneProjectMenu";
export { showAnykeyPrompt } from "./init/use-template/cp-modules/cli-main-modules/modules/showAnykeyPrompt";
export { showStartPrompt, showEndPrompt, } from "./init/use-template/cp-modules/cli-main-modules/modules/showStartEndPrompt";
export { ensureExampleExists, ensureEnvExists, getMissingKeys, copyFromExisting, getEnvPath, fetchEnvExampleContent, promptAndSetMissingValues, saveLastEnvFilePath, getLastEnvFilePath, } from "./init/use-template/cp-modules/compose-env-file/cef-impl";
export { keyTypeSchema, keyVarsSchema, defaultValues, serviceKeySchema, dashboards, knownServiceSchema, KNOWN_SERVICES, } from "./init/use-template/cp-modules/compose-env-file/cef-keys";
export { composeEnvFile } from "./init/use-template/cp-modules/compose-env-file/cef-mod";
export { selectDeploymentService, deployProject, } from "./init/use-template/cp-modules/git-deploy-prompts/deploy";
export { handleGitInit, configureGithubRepo, promptGitDeploy, } from "./init/use-template/cp-modules/git-deploy-prompts/gdp-mod";
export { initializeGitRepo, initGitDir, createCommit, handleGithubRepo, pushGitCommits, } from "./init/use-template/cp-modules/git-deploy-prompts/git";
export { checkGithubRepoOwnership, createGithubRepo, } from "./init/use-template/cp-modules/git-deploy-prompts/github";
export { isSpecialDomain } from "./init/use-template/cp-modules/git-deploy-prompts/helpers/domainHelpers";
export { ensureDbInitialized } from "./init/use-template/cp-modules/git-deploy-prompts/helpers/handlePkgJsonScripts";
export { promptForDomain } from "./init/use-template/cp-modules/git-deploy-prompts/helpers/promptForDomain";
export { isDirHasGit, setupGitRemote, } from "./init/use-template/cp-modules/git-deploy-prompts/utils-git-github";
export { archiveExistingRepoContent, handleExistingRepoContent, } from "./init/use-template/cp-modules/git-deploy-prompts/utils-private-repo";
export { handleExistingRepo } from "./init/use-template/cp-modules/git-deploy-prompts/utils-repo-exists";
export { getVercelEnvVar, withRateLimit, } from "./init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-api";
export { checkVercelDeployment } from "./init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-check";
export { updateProject, enableAnalytics, configureBranchProtection, configureResources, getConfigurationOptions, } from "./init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-config";
export { createVercelProject, prepareVercelProjectCreation, } from "./init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-create";
export { monitorDeployment, createInitialVercelDeployment, } from "./init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-deploy";
export { getVercelProjectDomain } from "./init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-domain";
export { addEnvVarsToVercelProject } from "./init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-env";
export { saveVercelToken, getEnvVars, detectFramework, verifyDomain, } from "./init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-utils";
export { auth, authCheck } from "./login/login-impl";
export { deleteMemory } from "./logout/logout-impl";
export { mrseVerbose, logVerbose, getEnvCacheDir, ensureEnvCacheDir, getEnvCachePath, downloadFileFromGitHub, } from "./mrse/mrse-impl";
export { rmTestsRuntime, downloadRepoOption, showDevToolsMenu, } from "./toolbox/toolbox-impl";
export { openVercelTools } from "./toolbox/toolbox-vercel";
export { uploadToUploadthing } from "./upload/providers/uploadthing";
export { formatBytes } from "./upload/upload-utils";
export { recommended, experimental } from "./utils/badgeNotifiers";
export { convertCjsToEsm } from "./utils/codemods/convertCjsToEsm";
export { uploadToProvider, getMimeType, readFilesFromPaths, } from "./upload/providers/providers-mod";
export { convertPrismaToDrizzle, convertDatabaseProvider, } from "./utils/codemods/convertDatabase";
export { getPrimaryVercelTeam, verifyTeam, getVercelTeams, } from "./init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-team";
export { uploadToUploadcare } from "./upload/providers/uploadcare";
export { convertTypeDefinitions } from "./utils/codemods/convertDefinitions";
export { convertImportStyle } from "./utils/codemods/convertImportStyle";
export { convertJsToTs } from "./utils/codemods/convertJsToTs";
export { convertQuoteStyle } from "./utils/codemods/convertQuoteStyle";
export { convertRuntime } from "./utils/codemods/convertRuntime";
export { convertToMonorepo } from "./utils/codemods/convertToMonorepo";
export { removeComments } from "./utils/codemods/removeComments";
export { getUnusedDependencies } from "./utils/codemods/removeUnusedDeps";
export { replaceImportSymbol } from "./utils/codemods/replaceImportSymbol";
export { replaceWithModern } from "./utils/codemods/replaceWithModern";
export { createPackageJSON } from "./utils/createPackageJSON";
export { createTSConfig } from "./utils/createTSConfig";
export { decide } from "./utils/decideHelper";
export { getUserPkgManager, getAllPkgManagers, } from "./utils/dependencies/getUserPkgManager";
export { setupI18nFiles } from "./utils/downloading/downloadI18nFiles";
export { downloadRepo } from "./utils/downloading/downloadRepo";
export { handleDownload } from "./utils/downloading/handleDownload";
export { getEffectiveDir } from "./utils/getEffectiveDir";
export { pm } from "./utils/getPackageManager";
export { getProjectContent } from "@reliverse/cfg";
export { uninstallDependencies } from "./utils/handlers/dependencies";
export { generateConfigFiles, generateProjectConfigs, } from "@reliverse/cfg";
export { handleCleanup } from "./utils/handlers/handleCleanup";
export { handleCodemods } from "./utils/handlers/handleCodemods";
export { isVSCodeInstalled } from "./utils/handlers/isAppInstalled";
export { promptPackageJsonScripts } from "./utils/handlers/promptPackageJsonScripts";
export { readShadcnConfig, getInstalledComponents, installComponent, updateComponent, removeComponent, applyTheme, AVAILABLE_COMPONENTS, selectSidebarPrompt, selectChartsPrompt, } from "./utils/handlers/shadcn";
export { hasOnlyRse } from "./utils/hasOnlyRseConfig";
export { OctokitWithRest, octokitUserAgent, ensureGithubToken, initGithubSDK, } from "./utils/instanceGithub";
export { askVercelToken, initVercelSDK } from "./utils/instanceVercel";
export { getMaxHeightSize, sleep } from "./utils/microHelpers";
export { hasConfigFiles, isMrseProject, } from "./utils/mrseHelpers";
export { downloadJsrDist } from "./utils/native-cli/nc-impl";
export { showNativeCliMenu } from "./utils/native-cli/nc-mod";
export { checkScriptExists } from "./utils/pkgJsonHelpers";
export { REPO_TEMPLATES, getRepoInfo, saveRepoToDevice, TEMP_FULLSTACK_WEBSITE_TEMPLATE_OPTIONS, TEMP_SEPARATED_WEBSITE_TEMPLATE_OPTIONS, TEMP_VSCODE_TEMPLATE_OPTIONS, TEMP_BROWSER_TEMPLATE_OPTIONS, } from "./utils/projectRepository";
export { askAppOrLib } from "./utils/prompts/askAppOrLib";
export { askInstallDeps } from "./utils/prompts/askInstallDeps";
export { askOpenInIDE } from "./utils/prompts/askOpenInIDE";
export { askProjectName } from "./utils/prompts/askProjectName";
export { askUsernameFrontend } from "./utils/prompts/askUsernameFrontend";
export { askUsernameGithub } from "./utils/prompts/askUsernameGithub";
export { shouldInitGit } from "./utils/prompts/shouldInitGit";
export { getOrCreateReliverseMemory, updateReliverseMemory, } from "./utils/reliverseMemory";
export { extractRepoInfo, replaceStringsInFiles, } from "./utils/replacements/reps-impl";
export { hardcodedSchema, urlPatternsSchema, HardcodedStrings, CommonPatterns, } from "./utils/replacements/reps-keys";
export { memorySchema } from "./utils/schemaMemory";
export { repoInfoSchema, reposSchema, DEFAULT_REPOS_CONFIG, generateReposJsonSchema, shouldRegenerateSchema, } from "./utils/schemaTemplate";
export { handleError, cd, pwd, rm, getCurrentWorkingDirectory, } from "./utils/terminalHelpers";
export { setupDevModeIfNeeded } from "./utils/testsRuntime";
export { findTsconfigUp } from "./utils/tsconfigHelpers";
export { PROJECT_ROOT, cliVersion, cliName, tsconfigJson, cliConfigJsonc, cliConfigJsoncTmp, cliConfigJsoncBak, cliConfigTs, cliConfigTsTmp, cliConfigTsBak, rseOrg, rseOrgBase, cliDomainRoot, cliDomainDocs, cliDomainEnv, homeDir, cliHomeDir, cliHomeTmp, cliHomeRepos, memoryPath, cliJsrPath, useLocalhost, DEFAULT_CLI_USERNAME, endTitle, UNKNOWN_VALUE, DEFAULT_DOMAIN, RSE_SCHEMA_DEV, RSE_SCHEMA_URL, } from "./constants";