@almamedia-open-source/cdk-project-context
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -106,3 +106,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
ProjectContext[_a] = { fqn: "@almamedia-open-source/cdk-project-context.ProjectContext", version: "0.0.10" }; | ||
ProjectContext[_a] = { fqn: "@almamedia-open-source/cdk-project-context.ProjectContext", version: "0.0.11" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvamVjdC1jb250ZXh0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3Byb2plY3QtY29udGV4dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDZDQUEwQztBQUcxQyx1Q0FBb0M7Ozs7QUFHcEMsTUFBYSxjQUFjOzs7O0lBRXpCLE1BQU0sQ0FBQyxjQUFjLENBQUMsS0FBZ0I7UUFDcEMsTUFBTSxJQUFJLEdBQUcsQ0FDWCxLQUFLLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxjQUFjLENBQUM7WUFDeEMsS0FBSyxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsU0FBUyxDQUFDLENBQ3BDLENBQUM7UUFFRixJQUFJLE9BQU8sSUFBSSxLQUFLLFFBQVEsRUFBRTtZQUM1QiwwQ0FBMEM7WUFDMUMseUJBQVcsQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLENBQUMsUUFBUSxDQUFDLDJIQUEySCxDQUFDLENBQUM7U0FDN0o7UUFFRCxPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7Ozs7SUFFRCxNQUFNLENBQUMsWUFBWSxDQUFDLEtBQWdCO1FBQ2xDLE1BQU0sT0FBTyxHQUFHLGNBQWMsQ0FBQyx3QkFBd0IsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUMvRCxPQUFPLE9BQU8sQ0FBQyxFQUFFLENBQUM7SUFDcEIs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IT09ICdzdHJpbmcnKSB7XG4gICAgICAvLyBUT0RPIGRlY2lkZSBpZiBhZGQgYW5ub3RhdGlvbiBvciB0aHJvdz9cbiAgICAgIEFubm90YXRpb25zLm9mKHNjb3BlKS5hZGRFcnJvcignRW52aXJvbm1lbnQgVHlwZSBub3Qgc3BlY2lmaWVkISBQcm92aWRlIGVudmlyb25tZW50IHR5cGUgYXMgY29udGV4dCBhcmd1bWVudCBmb3IgQ0RLIENMSSwgZm9yIGV4YW1wbGU6IC0tY29udGV4dCBlbnZpcm9ubWVudC10eXBlPXN0YWdpbmcnKTtcbiAgICB9XG5cbiAgICByZXR1cm4gPHN0cmluZz5lbnZpcm9ubWVudDtcbiAgfVxuXG4gIHByaXZhdGUgc3RhdGljIGdldFByb2plY3RDb250ZXh0KHNjb3BlOiBDb25zdHJ1Y3QpOiBQcm9qZWN0Q29uZmlndXJhdGlvbiB7XG4gICAgY29uc3QgcHJvamVjdENvbnRleHQgPSA8UHJvamVjdENvbmZpZ3VyYXRpb24+c2NvcGUubm9kZS50cnlHZXRDb250ZXh0KFByb2plY3QuQ09OVEVYVF9TQ09QRSk7XG4gICAgcmV0dXJuIHByb2plY3RDb250ZXh0O1xuICB9XG5cbiAgcHJpdmF0ZSBzdGF0aWMgZ2V0UHJvamVjdEFjY291bnRDb250ZXh0KHNjb3BlOiBDb25zdHJ1Y3QpOiBBY2NvdW50IHtcbiAgICBjb25zdCBhY2NvdW50VHlwZSA9IFByb2plY3RDb250ZXh0LmdldEFjY291bnRUeXBlKHNjb3BlKTtcbiAgICBjb25zdCBwcm9qZWN0Q29udGV4dCA9IFByb2plY3RDb250ZXh0LmdldFByb2plY3RDb250ZXh0KHNjb3BlKTtcbiAgICByZXR1cm4gcHJvamVjdENvbnRleHQuYWNjb3VudHNbYWNjb3VudFR5cGVdO1xuICB9XG5cblxufVxuIl19 |
@@ -66,3 +66,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Project[_a] = { fqn: "@almamedia-open-source/cdk-project-context.Project", version: "0.0.10" }; | ||
Project[_a] = { fqn: "@almamedia-open-source/cdk-project-context.Project", version: "0.0.11" }; | ||
/** | ||
@@ -69,0 +69,0 @@ * (experimental) Namespace/key how this tool internally keeps track of the project configuration. |
@@ -81,3 +81,3 @@ { | ||
}, | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"jest": { | ||
@@ -84,0 +84,0 @@ "testMatch": [ |
@@ -1,2 +0,2 @@ | ||
# AWS CDK Project Context | ||
# ![Alma CDK Project Context](/assets/alma-cdk-project-context.png) | ||
@@ -7,3 +7,3 @@ ![CDK Version](https://img.shields.io/badge/CDK-v2-informational "CDK v2") | ||
Opinionated CDK utility **construct for managing project information & AWS account-specific configuration**. | ||
CDK utility **construct for managing project information & AWS account-specific configuration**. | ||
@@ -10,0 +10,0 @@ Why you'd use this? |
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
197777
18