opendata/ts/paths.ts

11 lines
368 B
TypeScript
Raw Normal View History

2023-11-14 15:15:11 +00:00
import * as plugins from './plugins.js';
export const packageDir = plugins.path.join(
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
'../'
);
export const nogitDir = plugins.path.join(packageDir, './.nogit/');
plugins.smartfile.fs.ensureDirSync(nogitDir);
export const germanBusinessDataDir = plugins.path.join(nogitDir, 'germanbusinessdata');