Skip to content

Conversation

@tariq86
Copy link

@tariq86 tariq86 commented Apr 4, 2024

This MR converts this package to ESM/module syntax, as well as:

  • updates all deps
  • removes no-longer-needed AggregateError

node_modules/
dist/
yarn-error.log
package-lock.json
Copy link
Owner

Choose a reason for hiding this comment

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

Lockfiles should not be added to gitignore as they allow to pin specific versions of dependencies, preventing to download different versions when running 2 times "npm install" at different times but from the same source code

"dependencies": {
"@semantic-release/error": "2.2.0",
"@semantic-release/release-notes-generator": "^10.0.3",
"aggregate-error": "^4.0.1"
Copy link
Owner

Choose a reason for hiding this comment

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

We don't need this dependency anymore?

const jiraHost = pluginConfig[INPUTS.jiraHost];
const errors = [];

const AggregateError = (await AggregateErrorPromise).default;
Copy link
Owner

Choose a reason for hiding this comment

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

Don't we need this class anymore? We are using it a line 32 🤔

@iamludal
Copy link
Owner

iamludal commented May 28, 2024

Hi! Many thanks for your contribution. I've reviewed your PR :)
Also, please note that refactor! won't trigger a new major version, we should instead use feat or fix (even though this PR is a refactory, I agree with you).

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