smarts3/ts/paths.ts

12 lines
340 B
TypeScript
Raw Permalink Normal View History

import * as plugins from './plugins.js';
2021-12-18 00:41:50 +00:00
2022-04-14 08:38:14 +00:00
export const packageDir = plugins.path.join(
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
'../',
2022-04-14 08:38:14 +00:00
);
2021-12-18 00:41:50 +00:00
export const nogitDir = plugins.path.join(packageDir, './.nogit');
export const cwd = process.cwd();
export const bucketsDir = plugins.path.join(cwd, '.nogit/bucketsDir');