feat(fix bucket creation to be locally in the .nogit dir): update

This commit is contained in:
2022-07-30 15:49:46 +02:00
parent dfadca9b80
commit 67c4f71a24
4 changed files with 4596 additions and 9276 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/smarts3',
version: '2.1.0',
description: 'create an s3 endpoint that maps to a local directory'
}

View File

@ -6,4 +6,6 @@ export const packageDir = plugins.path.join(
);
export const nogitDir = plugins.path.join(packageDir, './.nogit');
export const bucketsDir = plugins.path.join(nogitDir, './bucketsDir');
export const cwd = process.cwd();
export const bucketsDir = plugins.path.join(cwd, '.nogit/bucketsDir');