tspublish/ts/paths.ts

10 lines
265 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),
'..',
);
2024-10-21 10:16:09 +00:00
export const nogitDir = plugins.path.join(packageDir, '.nogit');