@ms-cloudpack/config 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/allFeatures.d.ts +6 -1
- package/lib/allFeatures.d.ts.map +1 -1
- package/lib/allFeatures.js +6 -6
- package/lib/allFeatures.js.map +1 -1
- package/lib/types/Feature.d.ts +0 -1
- package/lib/types/Feature.d.ts.map +1 -1
- package/lib/types/Feature.js.map +1 -1
- package/lib/types/Features.d.ts +4 -2
- package/lib/types/Features.d.ts.map +1 -1
- package/lib/types/Features.js.map +1 -1
- package/lib/types/UserConfig.d.ts +1 -1
- package/lib/types/UserConfig.js.map +1 -1
- package/package.json +1 -1
package/lib/allFeatures.d.ts
CHANGED
|
@@ -3,5 +3,10 @@ import type { Feature } from './types/Feature.js';
|
|
|
3
3
|
* A set of options for configuring the experience. Features can be set to true to change the default
|
|
4
4
|
* behavior.
|
|
5
5
|
*/
|
|
6
|
-
export declare const allFeatures:
|
|
6
|
+
export declare const allFeatures: {
|
|
7
|
+
disableSourceMaps: Feature;
|
|
8
|
+
enqueueDependencies: Feature;
|
|
9
|
+
cacheInternalPackages: Feature;
|
|
10
|
+
enableLage: Feature;
|
|
11
|
+
};
|
|
7
12
|
//# sourceMappingURL=allFeatures.d.ts.map
|
package/lib/allFeatures.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allFeatures.d.ts","sourceRoot":"","sources":["../src/allFeatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"allFeatures.d.ts","sourceRoot":"","sources":["../src/allFeatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC"}
|
package/lib/allFeatures.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* A set of options for configuring the experience. Features can be set to true to change the default
|
|
3
3
|
* behavior.
|
|
4
4
|
*/
|
|
5
|
-
export const allFeatures =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
export const allFeatures = {
|
|
6
|
+
disableSourceMaps: { description: 'Disables the generation of source-maps during build.' },
|
|
7
|
+
enqueueDependencies: { description: 'Enables the preemptive enqueueing of dependencies during build.' },
|
|
8
|
+
cacheInternalPackages: { description: 'Enables the reuse of prebuild assets for internal packages.' },
|
|
9
|
+
enableLage: { description: 'Enables the use of lage for running tasks.' },
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=allFeatures.js.map
|
package/lib/allFeatures.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allFeatures.js","sourceRoot":"","sources":["../src/allFeatures.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"allFeatures.js","sourceRoot":"","sources":["../src/allFeatures.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,iBAAiB,EAAE,EAAE,WAAW,EAAE,sDAAsD,EAAa;IACrG,mBAAmB,EAAE,EAAE,WAAW,EAAE,iEAAiE,EAAa;IAClH,qBAAqB,EAAE,EAAE,WAAW,EAAE,6DAA6D,EAAa;IAChH,UAAU,EAAE,EAAE,WAAW,EAAE,4CAA4C,EAAa;CACrF,CAAC","sourcesContent":["import type { Feature } from './types/Feature.js';\n\n/**\n * A set of options for configuring the experience. Features can be set to true to change the default\n * behavior.\n */\nexport const allFeatures = {\n disableSourceMaps: { description: 'Disables the generation of source-maps during build.' } as Feature,\n enqueueDependencies: { description: 'Enables the preemptive enqueueing of dependencies during build.' } as Feature,\n cacheInternalPackages: { description: 'Enables the reuse of prebuild assets for internal packages.' } as Feature,\n enableLage: { description: 'Enables the use of lage for running tasks.' } as Feature,\n};\n"]}
|
package/lib/types/Feature.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Feature.d.ts","sourceRoot":"","sources":["../../src/types/Feature.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,
|
|
1
|
+
{"version":3,"file":"Feature.d.ts","sourceRoot":"","sources":["../../src/types/Feature.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
package/lib/types/Feature.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Feature.js","sourceRoot":"","sources":["../../src/types/Feature.ts"],"names":[],"mappings":"","sourcesContent":["export interface Feature {\n
|
|
1
|
+
{"version":3,"file":"Feature.js","sourceRoot":"","sources":["../../src/types/Feature.ts"],"names":[],"mappings":"","sourcesContent":["export interface Feature {\n description: string;\n}\n"]}
|
package/lib/types/Features.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { allFeatures } from '../allFeatures.js';
|
|
2
2
|
/**
|
|
3
3
|
* Represents all features that can be enabled or disabled for Cloudpack.
|
|
4
4
|
*/
|
|
5
|
-
export type Features =
|
|
5
|
+
export type Features = {
|
|
6
|
+
[key in keyof typeof allFeatures]?: boolean;
|
|
7
|
+
};
|
|
6
8
|
//# sourceMappingURL=Features.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../src/types/Features.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../src/types/Features.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;KAAG,GAAG,IAAI,MAAM,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Features.js","sourceRoot":"","sources":["../../src/types/Features.ts"],"names":[],"mappings":"","sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"Features.js","sourceRoot":"","sources":["../../src/types/Features.ts"],"names":[],"mappings":"","sourcesContent":["import type { allFeatures } from '../allFeatures.js';\n\n/**\n * Represents all features that can be enabled or disabled for Cloudpack.\n */\nexport type Features = { [key in keyof typeof allFeatures]?: boolean };\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserConfig.js","sourceRoot":"","sources":["../../src/types/UserConfig.ts"],"names":[],"mappings":"","sourcesContent":["import type { DevServer } from './DevServer.js';\nimport type { Features } from './Features.js';\nimport type { TelemetryConfig } from './TelemetryConfig.js';\n\n/**\n * Per-application user-provided configuration for Cloudpack.\n */\n\nexport interface UserConfig {\n /**\n * A set of options for configuring how the dev server works.\n */\n devServer?: DevServer;\n\n /**\n * A set of options for configuring telemetry\n */\n telemetry?: TelemetryConfig;\n\n /**\n * A set of options for configuring the experience. Features can be set to true to change the default\n * behavior.\n */\n features?: Features;\n\n /**\n * Help message to display when
|
|
1
|
+
{"version":3,"file":"UserConfig.js","sourceRoot":"","sources":["../../src/types/UserConfig.ts"],"names":[],"mappings":"","sourcesContent":["import type { DevServer } from './DevServer.js';\nimport type { Features } from './Features.js';\nimport type { TelemetryConfig } from './TelemetryConfig.js';\n\n/**\n * Per-application user-provided configuration for Cloudpack.\n */\n\nexport interface UserConfig {\n /**\n * A set of options for configuring how the dev server works.\n */\n devServer?: DevServer;\n\n /**\n * A set of options for configuring telemetry\n */\n telemetry?: TelemetryConfig;\n\n /**\n * A set of options for configuring the experience. Features can be set to true to change the default\n * behavior.\n */\n features?: Features;\n\n /**\n * Help message to display when Cloudpack starts up.\n */\n helpMessage?: string;\n}\n"]}
|