Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

fix: fixing monocdk imports#190

Merged
AndreyDovydenko merged 1 commit into
mainfrom
dovydenk-fix-monocdk-imports
Nov 24, 2021
Merged

fix: fixing monocdk imports#190
AndreyDovydenko merged 1 commit into
mainfrom
dovydenk-fix-monocdk-imports

Conversation

@AndreyDovydenko
Copy link
Copy Markdown
Contributor

fix: fixing monocdk imports

Description of Changes

[//]: # one of the recent monocdk npm packages have restructured the file tree inside the package, changing the import calls from our code to be agnostic of that change.

Description of how you validated changes

[//]: # Ran npm run build to verify the new import calls are working fine

Checklist

  • If this change would make any existing documentation invalid, I have included those updates within this PR
  • I have added unit tests that prove my fix is effective or that my feature works
  • I have linted my code before raising the PR
  • Title of this Pull Request follows Conventional Commits standard: https://www.conventionalcommits.org/en/v1.0.0/

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@AndreyDovydenko AndreyDovydenko temporarily deployed to slack November 24, 2021 20:03 Inactive
Copy link
Copy Markdown
Contributor

@nbraid nbraid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw in the announcement email that: "Going forward, we will be taking steps to prevent these deep imports from being possible in the first place in order to prevent future uintended misuse"

Would it make sense to add a check to prevent these imports from being added in the future? e.g. https://eslint.org/docs/rules/no-restricted-imports Or do we think this will be unnecessary in future versions if the CDK team ends up fixing this?

@AndreyDovydenko AndreyDovydenko merged commit 9c94fd8 into main Nov 24, 2021
@AndreyDovydenko AndreyDovydenko deleted the dovydenk-fix-monocdk-imports branch November 24, 2021 20:20
AndreyDovydenko added a commit that referenced this pull request Nov 24, 2021
nbraid pushed a commit that referenced this pull request Nov 24, 2021
AndreyDovydenko added a commit that referenced this pull request Nov 25, 2021
* fix: fixing monocdk imports (#190)

* chore(release): 1.1.2

Co-authored-by: Andrey Dovydenko <dovydenk@amazon.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants