diff --git a/tools/packaging/catalog/catalog-local.js b/tools/packaging/catalog/catalog-local.js index 3368108aa1..1b22227283 100644 --- a/tools/packaging/catalog/catalog-local.js +++ b/tools/packaging/catalog/catalog-local.js @@ -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() } }; diff --git a/tools/packaging/package-client.js b/tools/packaging/package-client.js index 17f9d3a9d6..b62f94526d 100644 --- a/tools/packaging/package-client.js +++ b/tools/packaging/package-client.js @@ -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