4 Commits

Author SHA1 Message Date
96080c5de0 3.0.8 2024-02-14 01:33:57 +01:00
a981c63f9b fix(core): update 2024-02-14 01:33:56 +01:00
cd5e2f03f4 3.0.7 2024-02-14 01:32:20 +01:00
eb5c1f40ee fix(core): update 2024-02-14 01:32:19 +01:00
6 changed files with 1615 additions and 386 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@push.rocks/levelcache",
"version": "3.0.6",
"version": "3.0.8",
"private": false,
"description": "a cache that uses memory/disk/s3 as backup",
"main": "dist_ts/index.js",
@ -11,28 +11,30 @@
"scripts": {
"test": "(tstest test/ --web)",
"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": {
"@gitzone/tsbuild": "^2.1.66",
"@gitzone/tsrun": "^1.2.44",
"@gitzone/tstest": "^1.0.77",
"@push.rocks/tapbundle": "^5.0.12",
"@types/node": "^20.4.2"
"@push.rocks/tapbundle": "^5.0.15",
"@types/node": "^20.11.17"
},
"dependencies": {
"@push.rocks/lik": "^6.0.3",
"@push.rocks/smartbucket": "^2.0.2",
"@push.rocks/lik": "^6.0.12",
"@push.rocks/smartbucket": "^2.0.4",
"@push.rocks/smartcache": "^1.0.13",
"@push.rocks/smartenv": "^5.0.2",
"@push.rocks/smartexit": "^1.0.20",
"@push.rocks/smartfile": "^10.0.28",
"@push.rocks/smartjson": "^5.0.5",
"@push.rocks/smartenv": "^5.0.12",
"@push.rocks/smartexit": "^1.0.21",
"@push.rocks/smartfile": "^11.0.4",
"@push.rocks/smartjson": "^5.0.10",
"@push.rocks/smartpath": "^5.0.11",
"@push.rocks/smartpromise": "^4.0.3",
"@push.rocks/smartstring": "^4.0.2",
"@push.rocks/smartunique": "^3.0.3",
"@push.rocks/taskbuffer": "^3.0.1"
"@push.rocks/smartstring": "^4.0.13",
"@push.rocks/smartunique": "^3.0.6",
"@push.rocks/taskbuffer": "^3.1.7",
"@tsclass/tsclass": "^4.0.51"
},
"files": [
"ts/**/*",

1951
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

View File

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