backfill-config
Advanced tools
Comparing version 6.1.3 to 6.2.0
@@ -5,2 +5,17 @@ { | ||
{ | ||
"date": "Tue, 12 Oct 2021 19:45:34 GMT", | ||
"tag": "backfill-config_v6.2.0", | ||
"version": "6.2.0", | ||
"comments": { | ||
"minor": [ | ||
{ | ||
"comment": "feat: adds a way to set up custom cache storage provider classes", | ||
"author": "kchau@microsoft.com", | ||
"commit": "04f6ecf73f059d53248d84bfa167a43b41cf1f72", | ||
"package": "backfill-config" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 27 Apr 2021 08:32:03 GMT", | ||
@@ -7,0 +22,0 @@ "tag": "backfill-config_v6.1.1", |
# Change Log - backfill-config | ||
This log was last generated on Tue, 27 Apr 2021 08:32:03 GMT and should not be manually modified. | ||
This log was last generated on Tue, 12 Oct 2021 19:45:34 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 6.2.0 | ||
Tue, 12 Oct 2021 19:45:34 GMT | ||
### Minor changes | ||
- feat: adds a way to set up custom cache storage provider classes (kchau@microsoft.com) | ||
## 6.1.1 | ||
@@ -8,0 +16,0 @@ |
import { Logger } from "backfill-logger"; | ||
export interface ICacheStorage { | ||
fetch: (hash: string) => Promise<boolean>; | ||
put: (hash: string, filesToCache: string[]) => Promise<void>; | ||
} | ||
export declare type AzureBlobCacheStorageOptions = { | ||
@@ -20,2 +24,6 @@ connectionString: string; | ||
}; | ||
export declare type CustomStorageConfig = { | ||
provider: (logger: Logger, cwd: string) => ICacheStorage; | ||
name?: string; | ||
}; | ||
export declare type CacheStorageConfig = { | ||
@@ -25,5 +33,5 @@ provider: "local"; | ||
provider: "local-skip"; | ||
} | NpmCacheStorageConfig | AzureBlobCacheStorageConfig; | ||
} | NpmCacheStorageConfig | AzureBlobCacheStorageConfig | CustomStorageConfig; | ||
export declare function getNpmConfigFromSerializedOptions(options: string, logger: Logger): NpmCacheStorageConfig; | ||
export declare function getAzureBlobConfigFromSerializedOptions(options: string, logger: Logger): AzureBlobCacheStorageConfig; | ||
//# sourceMappingURL=cacheConfig.d.ts.map |
@@ -42,2 +42,2 @@ "use strict"; | ||
exports.getAzureBlobConfigFromSerializedOptions = getAzureBlobConfigFromSerializedOptions; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGVDb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvY2FjaGVDb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBa0NBLFNBQWdCLGlDQUFpQyxDQUMvQyxPQUFlLEVBQ2YsTUFBYztJQUVkLElBQUk7UUFDRixNQUFNLGFBQWEsR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBRTFDLElBQ0UsT0FBTyxhQUFhLENBQUMsY0FBYyxLQUFLLFFBQVE7WUFDaEQsT0FBTyxhQUFhLENBQUMsV0FBVyxLQUFLLFFBQVEsRUFDN0M7WUFDQSxNQUFNLElBQUksS0FBSyxDQUFDLHFDQUFxQyxDQUFDLENBQUM7U0FDeEQ7UUFFRCxPQUFPO1lBQ0wsUUFBUSxFQUFFLEtBQUs7WUFDZixPQUFPLEVBQUUsRUFBRSxHQUFHLGFBQWEsRUFBRTtTQUM5QixDQUFDO0tBQ0g7SUFBQyxPQUFPLEtBQUssRUFBRTtRQUNkLE1BQU0sQ0FBQyxLQUFLLENBQUMsS0FBSyxDQUFDLENBQUM7UUFDcEIsTUFBTSxJQUFJLEtBQUssQ0FBQyw2QkFBNkIsQ0FBQyxDQUFDO0tBQ2hEO0FBQ0gsQ0FBQztBQXRCRCw4RUFzQkM7QUFFRCxTQUFnQix1Q0FBdUMsQ0FDckQsT0FBZSxFQUNmLE1BQWM7SUFFZCxJQUFJO1FBQ0YsTUFBTSxhQUFhLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQztRQUUxQyxJQUNFLE9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,3 +10,3 @@ { | ||
}, | ||
"version": "6.1.3", | ||
"version": "6.2.0", | ||
"main": "lib/index.js", | ||
@@ -13,0 +13,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22130
375