@ms-cloudpack/config-types
Advanced tools
Comparing version 0.5.1 to 0.6.0
@@ -9,2 +9,9 @@ import type { HttpsConfig } from './HttpsConfig.js'; | ||
/** | ||
* An optional dictionary of header key/value pairs to be use with the server. | ||
* NOTE: The following header values from Cloudpack will "win" against by a user's config: | ||
* 'Cache-Control': 'no-cache' | ||
* 'Access-Control-Allow-Origin': '*' | ||
*/ | ||
requestHeaders?: Record<string, string>; | ||
/** | ||
* The ports to be used by the server. | ||
@@ -11,0 +18,0 @@ * It can be a number or an array of numbers. |
@@ -69,3 +69,3 @@ import type { DevServer } from './DevServer.js'; | ||
/** | ||
* A list of package names that should never be excluded from the bundle. To be used with feature `optimizeDependencies`. | ||
* A list of package names that should never be excluded or included from the bundle. | ||
*/ | ||
@@ -72,0 +72,0 @@ neverExcludeDependencies?: string[]; |
{ | ||
"name": "@ms-cloudpack/config-types", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"description": "TypeScript types for the Cloudpack Configuration. We keep these separate to eliminate circular package dependencies.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -91,3 +91,3 @@ { | ||
}, | ||
"description": "A list of package names that should never be excluded from the bundle. To be used with feature `optimizeDependencies`." | ||
"description": "A list of package names that should never be excluded or included from the bundle." | ||
}, | ||
@@ -108,2 +108,9 @@ "$schema": { | ||
}, | ||
"requestHeaders": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"description": "An optional dictionary of header key/value pairs to be use with the server. NOTE: The following header values from Cloudpack will \"win\" against by a user's config: 'Cache-Control': 'no-cache' 'Access-Control-Allow-Origin': '*'" | ||
}, | ||
"port": { | ||
@@ -110,0 +117,0 @@ "anyOf": [ |
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
100353
1728