@ms-cloudpack/config
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -6,3 +6,8 @@ import type { Feature } from './types/Feature.js'; | ||
*/ | ||
export declare const allFeatures: Feature[]; | ||
export declare const allFeatures: { | ||
disableSourceMaps: Feature; | ||
enqueueDependencies: Feature; | ||
cacheInternalPackages: Feature; | ||
enableLage: Feature; | ||
}; | ||
//# sourceMappingURL=allFeatures.d.ts.map |
@@ -5,8 +5,8 @@ /** | ||
*/ | ||
export const allFeatures = [ | ||
{ name: 'disableSourceMaps', description: 'Disables the generation of source-maps during build.' }, | ||
{ name: 'enqueueDependencies', description: 'Enables the preemptive enqueueing of dependencies during build.' }, | ||
{ name: 'cacheInternalPackages', description: 'Enables the reuse of prebuild assets for internal packages.' }, | ||
{ name: 'enableLage', description: 'Enables the use of lage for running tasks.' }, | ||
]; | ||
export const allFeatures = { | ||
disableSourceMaps: { description: 'Disables the generation of source-maps during build.' }, | ||
enqueueDependencies: { description: 'Enables the preemptive enqueueing of dependencies during build.' }, | ||
cacheInternalPackages: { description: 'Enables the reuse of prebuild assets for internal packages.' }, | ||
enableLage: { description: 'Enables the use of lage for running tasks.' }, | ||
}; | ||
//# sourceMappingURL=allFeatures.js.map |
export interface Feature { | ||
name: string; | ||
description: string; | ||
} | ||
//# sourceMappingURL=Feature.d.ts.map |
@@ -1,6 +0,8 @@ | ||
import type { Feature } from './Feature.js'; | ||
import type { allFeatures } from '../allFeatures.js'; | ||
/** | ||
* Represents all features that can be enabled or disabled for Cloudpack. | ||
*/ | ||
export type Features = Partial<Record<Feature['name'], boolean>>; | ||
export type Features = { | ||
[key in keyof typeof allFeatures]?: boolean; | ||
}; | ||
//# sourceMappingURL=Features.d.ts.map |
@@ -22,3 +22,3 @@ import type { DevServer } from './DevServer.js'; | ||
/** | ||
* Help message to display when cloudpack starts up. | ||
* Help message to display when Cloudpack starts up. | ||
*/ | ||
@@ -25,0 +25,0 @@ helpMessage?: string; |
{ | ||
"name": "@ms-cloudpack/config", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Configuration handling for cloudpack.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
29358
293