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

feat!: migrate to ESM #854

Merged
merged 6 commits into from
Nov 9, 2023
Merged

feat!: migrate to ESM #854

merged 6 commits into from
Nov 9, 2023

Conversation

mdonnalley
Copy link
Contributor

@mdonnalley mdonnalley commented Nov 6, 2023

What does this PR do?

Migrate to ESM

Depends on salesforcecli/sf-plugins-core#443

What issues does this PR fix or reference?

@W-14438530@

BREAKING CHANGES: ESM and node 18 minimum
package.json Outdated
"open": "^8.2.1",
"tslib": "^2"
"chalk": "^5.3.0",
"inquirer": "^9.2.11",
Copy link
Contributor

Choose a reason for hiding this comment

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

this is using v9 inquirer with the v8 inquirer types. That seems like a bug. Willie had this problem on salesforcecli/plugin-sobject#439 (review)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The problem is that sf-plugins-core is getting it's type definitions for inquirer from whatever version plugin-auth has. I think sf-plugins-core needs to include inquirer's types as a dependency so that this doesn't happen

@mshanemc
Copy link
Contributor

mshanemc commented Nov 9, 2023

[made a few commits for deps and dead code]
QA notes (linked plugin into sf)

✅ auth logout via script
✅ auth list works
✅ logout from na40 hub
✅ sf org login web -a na40hub --set-default-dev-hub

  • works fine
  • sets default and alias

@mshanemc mshanemc merged commit e02fa18 into main Nov 9, 2023
10 checks passed
@mshanemc mshanemc deleted the mdonnalley/esm branch November 9, 2023 20:08
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