UNPKG

@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

39 lines (38 loc) 1.81 kB
import path from "@reliverse/pathkit"; import os from "node:os"; export const PROJECT_ROOT = path.resolve(process.cwd()); const version = "1.7.9"; export const cliVersion = version; export const cliName = "@reliverse/rse"; export const tsconfigJson = "tsconfig.json"; export const cliConfigJsonc = ".config/rse.jsonc"; export const cliConfigJsoncTmp = ".config/rse.jsonc.tmp"; export const cliConfigJsoncBak = "rse.jsonc.bak"; export const cliConfigTs = ".config/rse.ts"; export const cliConfigTsTmp = ".config/rse.ts.tmp"; export const cliConfigTsBak = "rse.ts.bak"; export const rseOrg = "https://reliverse.org"; export const rseOrgBase = `reliverse.org`; export const cliDomainRoot = `https://docs.reliverse.org`; export const cliDomainDocs = `https://docs.reliverse.org/cli`; export const cliDomainEnv = `https://docs.reliverse.org/env`; export const homeDir = os.homedir(); export const cliHomeDir = path.join(homeDir, ".reliverse"); export const cliHomeTmp = path.join(cliHomeDir, "temp"); export const cliHomeRepos = path.join(cliHomeDir, "repos"); export const memoryPath = path.join(cliHomeDir, "memory.db"); export const cliJsrPath = path.join(cliHomeDir, "cli"); export const useLocalhost = false; export const DEFAULT_CLI_USERNAME = "johnny911"; export const endTitle = `\u{1F4DA} Check the docs to learn more: ${cliDomainDocs}`; export const UNKNOWN_VALUE = "unknown"; export const DEFAULT_DOMAIN = "https://example.com"; export const RSE_SCHEMA_DEV = "./schema.json"; export const RSE_SCHEMA_URL = `${rseOrg}/schema.json`; export const FALLBACK_ENV_EXAMPLE_URL = "https://raw.githubusercontent.com/blefnk/relivator/main/.env.example"; export const CONFIG_CATEGORIES = { core: [cliConfigJsonc, cliConfigTs], linting: ["biome.json"], ide: [".vscode/settings.json"], git: [".gitignore"] };