create-cen-app
Version:
create an client-engineering-style app
26 lines (19 loc) • 1.2 kB
text/typescript
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-cen-app";
export const DEFAULT_DISPLAY_NAME = "Client Engineering";
export const CREATE_CEN_APP = "create-cen-app";
// export const WATSONX_REPO = "git@github.ibm.com:Thomas-Schick/rag-orchestrator-python.git";
// export const WATSONX_BRANCH = "create-cen-app";
export const FULL_STACK_CEN_TEMPLATE_REPO =
"git@github.ibm.com:technology-garage-dach/full-stack-cen-template.git";