fix(core): update

This commit is contained in:
Philipp Kunz 2024-02-14 01:32:19 +01:00
parent ed1d66ee2a
commit eb5c1f40ee
6 changed files with 1614 additions and 385 deletions

View File

@ -11,28 +11,30 @@
"scripts": { "scripts": {
"test": "(tstest test/ --web)", "test": "(tstest test/ --web)",
"build": "(tsbuild --web --allowimplicitany)", "build": "(tsbuild --web --allowimplicitany)",
"buildDocs": "tsdoc" "buildDocs": "tsdoc",
"localPublish": "gitzone commit && pnpm run build && pnpm publish && pnpm publish --access public --registry=\"https://registry.npmjs.org\""
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.66", "@gitzone/tsbuild": "^2.1.66",
"@gitzone/tsrun": "^1.2.44", "@gitzone/tsrun": "^1.2.44",
"@gitzone/tstest": "^1.0.77", "@gitzone/tstest": "^1.0.77",
"@push.rocks/tapbundle": "^5.0.12", "@push.rocks/tapbundle": "^5.0.15",
"@types/node": "^20.4.2" "@types/node": "^20.11.17"
}, },
"dependencies": { "dependencies": {
"@push.rocks/lik": "^6.0.3", "@push.rocks/lik": "^6.0.12",
"@push.rocks/smartbucket": "^2.0.2", "@push.rocks/smartbucket": "^2.0.4",
"@push.rocks/smartcache": "^1.0.13", "@push.rocks/smartcache": "^1.0.13",
"@push.rocks/smartenv": "^5.0.2", "@push.rocks/smartenv": "^5.0.12",
"@push.rocks/smartexit": "^1.0.20", "@push.rocks/smartexit": "^1.0.21",
"@push.rocks/smartfile": "^10.0.28", "@push.rocks/smartfile": "^11.0.4",
"@push.rocks/smartjson": "^5.0.5", "@push.rocks/smartjson": "^5.0.10",
"@push.rocks/smartpath": "^5.0.11", "@push.rocks/smartpath": "^5.0.11",
"@push.rocks/smartpromise": "^4.0.3", "@push.rocks/smartpromise": "^4.0.3",
"@push.rocks/smartstring": "^4.0.2", "@push.rocks/smartstring": "^4.0.13",
"@push.rocks/smartunique": "^3.0.3", "@push.rocks/smartunique": "^3.0.6",
"@push.rocks/taskbuffer": "^3.0.1" "@push.rocks/taskbuffer": "^3.1.7",
"@tsclass/tsclass": "^4.0.51"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/levelcache', name: '@push.rocks/levelcache',
version: '3.0.6', version: '3.0.7',
description: 'a cache that uses memory/disk/s3 as backup' description: 'a cache that uses memory/disk/s3 as backup'
} }

View File

@ -15,7 +15,7 @@ export interface ILevelCacheConstructorOptions {
maxDiskStorageInMB?: number; maxDiskStorageInMB?: number;
maxS3StorageInMB?: number; maxS3StorageInMB?: number;
diskStoragePath?: string; diskStoragePath?: string;
s3Config?: plugins.smartbucket.ISmartBucketConfig; s3Config?: plugins.tsclass.storage.IS3Descriptor;
s3BucketName?: string; s3BucketName?: string;
forceLevel?: 'memory' | 'disk' | 's3'; forceLevel?: 'memory' | 'disk' | 's3';
expirationInMs?: number; expirationInMs?: number;

View File

@ -27,3 +27,10 @@ export {
smartunique, smartunique,
taskbuffer, taskbuffer,
}; };
// @tsclass scope
import * as tsclass from '@tsclass/tsclass';
export {
tsclass,
};

View File

@ -3,9 +3,12 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"useDefineForClassFields": false, "useDefineForClassFields": false,
"target": "ES2022", "target": "ES2022",
"module": "ES2022", "module": "NodeNext",
"moduleResolution": "nodenext", "moduleResolution": "NodeNext",
"esModuleInterop": true, "esModuleInterop": true,
"verbatimModuleSyntax": true, "verbatimModuleSyntax": true
} },
"exclude": [
"dist_*/**/*.d.ts"
]
} }