2024-02-16 12:28:40 +00:00
|
|
|
import * as plugins from './plugins.js';
|
2024-02-15 19:30:38 +00:00
|
|
|
|
|
|
|
export const packageDir = plugins.path.join(
|
|
|
|
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
|
|
|
|
'../'
|
|
|
|
);
|
2024-02-16 12:41:04 +00:00
|
|
|
export const assetsDir = plugins.path.join(packageDir, './assets');
|
|
|
|
export const keysDir = plugins.path.join(assetsDir, './keys');
|
|
|
|
export const dnsRecordsDir = plugins.path.join(assetsDir, './dns-records');
|
|
|
|
export const sentEmailsDir = plugins.path.join(assetsDir, './sent-emails');
|
|
|
|
export const receivedEmailsDir = plugins.path.join(assetsDir, './received-emails');
|
|
|
|
plugins.smartfile.fs.ensureDirSync(keysDir);
|