Deprecation flag for packages

- loading fields to local catalog
- sending new fields to Troposphere
This commit is contained in:
filipenevola
2021-03-31 12:09:00 -04:00
parent c1c0b1b3e5
commit 317a8f397e
2 changed files with 8 additions and 0 deletions

View File

@@ -389,6 +389,10 @@ _.extend(LocalCatalog.prototype, {
debugOnly: packageSource.debugOnly,
prodOnly: packageSource.prodOnly,
testOnly: packageSource.testOnly,
deprecated: packageSource.deprecated,
deprecatedMessage: packageSource.deprecatedMessage,
containsPlugins: packageSource.containsPlugins()
}
};

View File

@@ -792,6 +792,10 @@ exports.publishPackage = function (options) {
debugOnly: packageSource.debugOnly,
prodOnly: packageSource.prodOnly,
testOnly: packageSource.testOnly,
deprecated: packageSource.deprecated,
deprecatedMessage: packageSource.deprecatedMessage,
exports: packageSource.getExports(),
releaseName: release.current.name,
dependencies: packageDeps