@ms-cloudpack/common-types 0.24.4 → 0.24.5
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/CloudpackConfig.d.ts
CHANGED
|
@@ -16,9 +16,14 @@ export type CloudpackConfig = Omit<AppConfig, 'routes' | 'server' | 'bundlerCapa
|
|
|
16
16
|
*/
|
|
17
17
|
server?: Omit<ServerConfig, 'routes'>;
|
|
18
18
|
/**
|
|
19
|
-
* Mode to run the app in.
|
|
19
|
+
* Mode to run the app in. This is set via the CLI and defaults to `'library'`.
|
|
20
20
|
*/
|
|
21
21
|
mode: BundleMode;
|
|
22
|
+
/**
|
|
23
|
+
* If true, write `bundle-info.json`, `[bundler]-input.json`, and [bundler]-output.json`
|
|
24
|
+
* files to the output folder.
|
|
25
|
+
*/
|
|
26
|
+
logBundleInfo?: boolean;
|
|
22
27
|
/**
|
|
23
28
|
* Generated config settings.
|
|
24
29
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudpackConfig.d.ts","sourceRoot":"","sources":["../src/CloudpackConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;GAEG;AAEH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,QAAQ,GAAG,6BAA6B,CAAC,GAAG;IACnG;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;I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AC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloudpackConfig.js","sourceRoot":"","sources":["../src/CloudpackConfig.ts"],"names":[],"mappings":"","sourcesContent":["import type { GeneratedConfig } from './GeneratedConfig.js';\nimport type { AppConfig } from './AppConfig.js';\nimport type { BundleMode } from './BundleMode.js';\nimport type { Route } from './Route.js';\nimport type { ServerConfig } from './ServerConfig.js';\n\n/**\n * The merged result of user-provided and generated configuration for Cloudpack.\n */\n\nexport type CloudpackConfig = Omit<AppConfig, 'routes' | 'server' | 'bundlerCapabilitiesRegistry'> & {\n /**\n * The path to the app's package.\n */\n appPath: string;\n\n /**\n * Dev server settings.\n */\n server?: Omit<ServerConfig, 'routes'>;\n\n /**\n * Mode to run the app in
|
|
1
|
+
{"version":3,"file":"CloudpackConfig.js","sourceRoot":"","sources":["../src/CloudpackConfig.ts"],"names":[],"mappings":"","sourcesContent":["import type { GeneratedConfig } from './GeneratedConfig.js';\nimport type { AppConfig } from './AppConfig.js';\nimport type { BundleMode } from './BundleMode.js';\nimport type { Route } from './Route.js';\nimport type { ServerConfig } from './ServerConfig.js';\n\n/**\n * The merged result of user-provided and generated configuration for Cloudpack.\n */\n\nexport type CloudpackConfig = Omit<AppConfig, 'routes' | 'server' | 'bundlerCapabilitiesRegistry'> & {\n /**\n * The path to the app's package.\n */\n appPath: string;\n\n /**\n * Dev server settings.\n */\n server?: Omit<ServerConfig, 'routes'>;\n\n /**\n * Mode to run the app in. This is set via the CLI and defaults to `'library'`.\n */\n mode: BundleMode;\n\n /**\n * If true, write `bundle-info.json`, `[bundler]-input.json`, and [bundler]-output.json`\n * files to the output folder.\n */\n logBundleInfo?: boolean;\n\n /**\n * Generated config settings.\n */\n generated: GeneratedConfig;\n\n /**\n * An immutable snapshot of the generated config as it is when start or init commands first begin\n */\n generatedSnapshot?: Readonly<GeneratedConfig>;\n\n /**\n * Routes which have been expanded from shorthand entries.\n */\n routes?: Route[];\n\n /**\n * Key value pairs of external bundler capabilities that can be enabled in the package settings.\n * - Key is the name of the capability, which will be used in `PackageSettings.bundlerCapabilities`.\n * - Value is the absolute file URL of the capability implementation (resolved by `readAppConfig`).\n */\n bundlerCapabilitiesRegistry?: Record<string, string>;\n};\n"]}
|