@ms-cloudpack/common-types
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -56,8 +56,10 @@ import type { PackageJsonExports } from './PackageJson.js'; | ||
/** | ||
* Whether to ignore missing exports when verifying consumed exports. | ||
* | ||
* To be used with `verifyExports`. | ||
* Controls the behavior of the `verifyExports` feature when checking consumed exports from this package: | ||
* - If true, don't check this package's exports at all. | ||
* - If an object, this is a mapping from package import paths to export names to ignore. Examples: | ||
* - To ignore top-level exports: `{ ".": ["badName"] }` | ||
* - To ignore exports from another path: `{ "./lib/foo": ["badName"] }` | ||
*/ | ||
ignoreMissingExports?: boolean; | ||
ignoreMissingExports?: boolean | Record<string, string[]>; | ||
} | ||
//# sourceMappingURL=PackageSettings.d.ts.map |
{ | ||
"name": "@ms-cloudpack/common-types", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Common types for Cloudpack.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -96,4 +96,18 @@ { | ||
"ignoreMissingExports": { | ||
"type": "boolean", | ||
"description": "Whether to ignore missing exports when verifying consumed exports.\n\nTo be used with `verifyExports`." | ||
"anyOf": [ | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"description": "Construct a type with a set of properties K of type T" | ||
} | ||
], | ||
"description": "Controls the behavior of the `verifyExports` feature when checking consumed exports from this package:\n- If true, don't check this package's exports at all.\n- If an object, this is a mapping from package import paths to export names to ignore. Examples: - To ignore top-level exports: `{ \".\": [\"badName\"] }` - To ignore exports from another path: `{ \"./lib/foo\": [\"badName\"] }`" | ||
} | ||
@@ -100,0 +114,0 @@ }, |
@@ -573,4 +573,18 @@ { | ||
"ignoreMissingExports": { | ||
"type": "boolean", | ||
"description": "Whether to ignore missing exports when verifying consumed exports.\n\nTo be used with `verifyExports`." | ||
"anyOf": [ | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"description": "Construct a type with a set of properties K of type T" | ||
} | ||
], | ||
"description": "Controls the behavior of the `verifyExports` feature when checking consumed exports from this package:\n- If true, don't check this package's exports at all.\n- If an object, this is a mapping from package import paths to export names to ignore. Examples: - To ignore top-level exports: `{ \".\": [\"badName\"] }` - To ignore exports from another path: `{ \"./lib/foo\": [\"badName\"] }`" | ||
} | ||
@@ -577,0 +591,0 @@ }, |
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
130178
2033