tspublish/ts/paths.ts

8 lines
259 B
TypeScript
Raw Normal View History

2024-10-21 10:16:09 +00:00
import * as plugins from './plugins.js';
export const cwd = process.cwd();
export const packageDir = plugins.path.join(plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url), '..');
export const nogitDir = plugins.path.join(packageDir, '.nogit');