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

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

13846
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,11 +13,11 @@
"build": "(tsbuild --web --allowimplicitany)"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.61",
"@gitzone/tsbundle": "^1.0.102",
"@gitzone/tstest": "^1.0.70",
"@pushrocks/tapbundle": "^5.0.3",
"@types/node": "^17.0.24",
"@gitzone/tsbuild": "^2.1.63",
"@gitzone/tsbundle": "^2.0.6",
"@gitzone/tstest": "^1.0.72",
"@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.6.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
},
@ -37,8 +37,8 @@
"readme.md"
],
"dependencies": {
"@pushrocks/smartbucket": "^2.0.1",
"@pushrocks/smartfile": "^9.0.6",
"@pushrocks/smartbucket": "^2.0.2",
"@pushrocks/smartfile": "^10.0.4",
"@pushrocks/smartpath": "^5.0.5",
"@types/s3rver": "^3.7.0",
"s3rver": "^3.7.1"

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');