UNPKG

create-t3-app-deepmeta

Version:
19 lines (15 loc) 848 B
import path from "path"; import { fileURLToPath } from "url"; // With the move to TSUP as a build tool, this keeps path routes in other files (installers, loaders, etc) in check more easily. // Path is in relation to a single index.js file inside ./dist const __filename = fileURLToPath(import.meta.url); const distPath = path.dirname(__filename); export const PKG_ROOT = path.join(distPath, "../"); //export const PKG_ROOT = path.dirname(require.main.filename); export const TITLE_TEXT = ` ___ ___ ___ __ _____ ___ _____ ____ __ ___ ___ / __| _ \\ __| / \\_ _| __| |_ _|__ / / \\ | _ \\ _ \\ | (__| / _| / /\\ \\| | | _| | | |_ \\ / /\\ \\| _/ _/ \\___|_|_\\___|_/‾‾\\_\\_| |___| |_| |___/ /_/‾‾\\_\\_| |_| `; export const DEFAULT_APP_NAME = "my-t3-app"; export const CREATE_T3_APP = "create-t3-app";