templates-mo
Version:
Templates is a scaffolding framework that makes code generation simple, dynamic, and reusable. Generate files, parts of your app, or whole project structures—without the repetitive copy-pasting
42 lines (41 loc) • 1.26 kB
TypeScript
/**
* Environment
*/
export declare const IS_TESTING: boolean;
export declare const USER_HOME: string;
export declare const ORIGINAL_CWD: string;
export declare const CWD: string;
export declare const MAIN_DIR: string;
/***************************
* Names
****************************/
export declare const CONFIG_FILE = ".tpsrc";
export declare const TPS_FOLDER = ".tps";
export declare const TEMPLATE_SETTINGS_FILE = "settings";
/***************************
* Setting and development
****************************/
/**
* global
*/
export declare const GLOBAL_PATH: string;
export declare const GLOBAL_CONFIG_PATH: string;
export declare const HAS_LOCAL: boolean;
/**
* LOCAL_PATH is any tps folder found in the parent directories
*/
export declare const LOCAL_PATH: string | null;
export declare const LOCAL_CONFIG_PATH: string | null;
/***************************
* init
****************************/
/**
* path to initialize when calling `tps init`. its always is current working directory
*/
export declare const INIT_LOCAL_PATH: string;
/**
* path of tps folder if tps is initialized in repo
*/
export declare const INIT_LOCAL_TPS_PATH: string;
export declare const IS_TPS_INITIALIZED: boolean;
export declare const DEFAULT_TPS: string;