Skip to content

fix: resolve manifest generation issues, update oclif tooling #71

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

Merged
merged 7 commits into from
Mar 18, 2025

Conversation

bnb
Copy link
Contributor

@bnb bnb commented Mar 12, 2025

This PR resovles manifest generation issues. Specifically, it reverts two changes that were made to remove using delete with variables, assigning them to undefined instead. I've also updated biome to warn rather than error on these instances - we do want to change the instances of delete eventually, but it's fine to keep them in for now. I've also run the readme update tool that oclif provides, which has implemented a number of changes.

Additionally, I've updated oclif tooling to use the versions supported by oclif now and have added npm scripts so we don't have to remember which commands we need to run.

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

  • I acknowledge that all my contributions will be made under the project's license.

bnb added 7 commits March 12, 2025 16:02
Signed-off-by: Tierney Cyren <hello@bnb.im>
Signed-off-by: Tierney Cyren <hello@bnb.im>
Signed-off-by: Tierney Cyren <hello@bnb.im>
Signed-off-by: Tierney Cyren <hello@bnb.im>
Signed-off-by: Tierney Cyren <hello@bnb.im>
Signed-off-by: Tierney Cyren <hello@bnb.im>
Signed-off-by: Tierney Cyren <hello@bnb.im>
@@ -7,7 +7,7 @@ Generate a temporary token for use in a Twilio client-side SDK application
* [Requirements](#requirements)
* [Usage](#usage)
* [Commands](#commands)
* [ Contributing](#contributing)
* [ Contributing](#-contributing)
Copy link
Contributor

Choose a reason for hiding this comment

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

What does the - do here?

@@ -49,7 +49,7 @@ class FlexTokenGenerator extends TwilioClientCommand {
}

const globals = { ...globalFlags };
globals.identity = undefined;
delete globals.identity;
Copy link
Contributor

Choose a reason for hiding this comment

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

Checking my understanding:

Biome generally flags noDelete, but you've added the delete back in and updated biome to only warn about it.

Was setting globals.identity = undefined one of the reasons we were running into trouble while pairing? Was this at all related to oclif (vs. oclif-dev) barfing?

@micaswyers-work micaswyers-work merged commit 686713b into main Mar 18, 2025
8 checks passed
@micaswyers-work micaswyers-work deleted the bnb/fix-manifest-gen branch March 18, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants