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

DD-272 Updating dependencies #52

Closed
wants to merge 1 commit into from

Conversation

KLV96
Copy link
Contributor

@KLV96 KLV96 commented Sep 26, 2024

Drop Node 14, 16 and 18 and allowing only 20.x || 22.x and updating the following dependencies:
debug ^4.3.4 -> ^4.3.7
glob ^10.4.5 -> ^11.0.0
eslint ^8.57.0 -> ^9.11.1
Adding eslint-define-config and replacing .eslintrc with eslint.config.js
Adding Husky ^9.1.6 and mpo-node-standards ^2.0.0 then adding ./husky/pre-push
nyc ^17.0.0 -> ^17.1.0
sinon ^18.0.0 -> ^19.0.2
globals ^15.9.0
mocha ^10.7.0 -> ^10.7.3

@KLV96 KLV96 force-pushed the DD-272-update-dependencies-and-move-to-node-22 branch 5 times, most recently from 78ff57f to b12b515 Compare September 26, 2024 10:37
@KLV96 KLV96 changed the title Dd 272 update dependencies and move to node 22 DD-272 Updating dependencies Sep 26, 2024
@KLV96 KLV96 force-pushed the DD-272-update-dependencies-and-move-to-node-22 branch from b12b515 to dc34daa Compare September 26, 2024 10:41
eslint.config.js Outdated Show resolved Hide resolved
eslint.config.js Outdated
{
languageOptions: {
globals: {
module: 'readonly',
Copy link
Contributor

Choose a reason for hiding this comment

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

We can use the package globals as a devDependency to set up the Node globals same as what our internal ESLint config does instead of needing to define any individually

Copy link
Contributor

Choose a reason for hiding this comment

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

This hasn't been resolved

eslint.config.js Outdated
},
parserOptions: {
ecmaVersion: 2021,
sourceType: 'module', // This can stay as 'module' if you're using ES modules within CommonJS context.
Copy link
Contributor

@SamChatfield SamChatfield Sep 26, 2024

Choose a reason for hiding this comment

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

We're still using CJS so don't want this yet

Copy link
Contributor

Choose a reason for hiding this comment

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

This hasn't been resolved

eslint.config.js Outdated Show resolved Hide resolved
.husky/commit-msg Outdated Show resolved Hide resolved
eslint.config.js Outdated
};

// Define the ESLint configuration
module.exports = defineConfig([
Copy link
Contributor

Choose a reason for hiding this comment

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

We should base this on ESLint's recommended rules as it was before, see our internal ESLint config for how to do that.

Copy link
Contributor

Choose a reason for hiding this comment

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

This hasn't been resolved

eslint.config.js Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Drop Node 14, 16 and 18 and allowing only 20.x || 22.x  and updating the following dependencies:
debug ^4.3.4 -> ^4.3.7
glob ^10.4.5 -> ^11.0.0
eslint ^8.57.0 -> ^9.11.1
Adding eslint-define-config and replacing .eslintrc with eslint.config.js
Adding Husky ^9.1.6 and mpo-node-standards ^2.0.0 then adding  ./husky/pre-push
nyc ^17.0.0 -> ^17.1.0
sinon ^18.0.0 -> ^19.0.2
globals ^15.9.0
@KLV96 KLV96 force-pushed the DD-272-update-dependencies-and-move-to-node-22 branch from dc34daa to 556a9d1 Compare September 26, 2024 12:10
@SamChatfield
Copy link
Contributor

Can we update the branch name so it's not specific to Node 22 as we support 20 as well?

@KLV96 KLV96 closed this Sep 26, 2024
@KLV96 KLV96 deleted the DD-272-update-dependencies-and-move-to-node-22 branch September 26, 2024 12:36
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