Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lib): inline zip creation #3428

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Conversation

DanielMSchmidt
Copy link
Contributor

@DanielMSchmidt DanielMSchmidt commented Jan 16, 2024

We previously used an execSync on a different file in the bin folder. having this path was brittle, now we use __filename to run against the same file and use a check to see if this file is invoked via CLI or required.

Closes #3176

ansgarm
ansgarm previously approved these changes Jan 16, 2024
We previously used an execSync to use a promise based API in a synchronous
environment and due to a misunderstanding in how bundledDependencies can be
used.

Closes #3176
@DanielMSchmidt DanielMSchmidt added this pull request to the merge queue Jan 17, 2024
@DanielMSchmidt DanielMSchmidt removed this pull request from the merge queue due to a manual request Jan 17, 2024
@DanielMSchmidt DanielMSchmidt merged commit 35bf4f9 into main Jan 17, 2024
437 of 561 checks passed
@DanielMSchmidt DanielMSchmidt deleted the make-asset-zip-more-robust branch January 17, 2024 13:24
ansgarm pushed a commit that referenced this pull request Jan 23, 2024
## 0.20.2

### feat

- feat(provider-generator): support renaming provider names in order to
allow using two providers sharing the same name at the same time
[\#3442](#3442)
- feat(provider-generator): Ensure we have unique names for modules
[\#3439](#3439)
- feat(docs): Mention Maven examples in note on project setup page
[\#3437](#3437)

### fix

- fix(docs): Run prettier
[\#3445](#3445)
- fix(lib): support dot-seperated nested accessors
[\#3444](#3444)
- fix(docs): Update CLI docs to refer to Gradle instead of Maven
[\#3434](#3434)
- fix(lib): Print a warning with manual steps to move a module when
UpgradeIds aspect encounters modules
[\#3432](#3432)
- fix(cli): don't prompt for providers during convert
[\#3431](#3431)
- fix(lib): inline zip creation
[\#3428](#3428)

### chore

- chore: Upgrade dependencies for @cdktf/hcl2cdk
[\#3452](#3452)
- chore: Upgrade dependencies for @cdktf/hcl2json
[\#3451](#3451)
- chore: Upgrade dependencies for @cdktf/provider-schema
[\#3450](#3450)
- chore: Upgrade dependencies for @cdktf/commons
[\#3449](#3449)
- chore: add CodeTabs component
[\#3443](#3443)
- chore(docs): update stacks documentation
[\#3440](#3440)
- chore: upgrade registry docs tool
[\#3430](#3430)
- chore: Upgrade dependencies for @cdktf/commons
[\#3424](#3424)
- chore(docs): fix currently-404 link to built-in templates
[\#3418](#3418)
- chore: Rk/suggestions for error codes
[\#3417](#3417)
- chore: fix updating script
[\#3396](#3396)
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2024
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.

TerraformAsset fails to find zipSync.js when used in library
2 participants