cli/ts/paths.ts

10 lines
331 B
TypeScript

import * as plugins from './plugins.js';
export let packageDir = plugins.path.join(
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
'../',
);
export let assetsDir = plugins.path.join(packageDir, './assets');
export let templatesDir = plugins.path.join(assetsDir, 'templates');
export let cwd = process.cwd();