tspublish/ts/paths.ts
2024-10-21 12:16:09 +02:00

8 lines
259 B
TypeScript

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');