-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: Toolkit migration to v4.x.x #529
Conversation
6e537d3
to
4be191d
Compare
b673651
to
8814962
Compare
8814962
to
08fe0ff
Compare
41fbcf7
to
ca36604
Compare
6641446
to
64cecb5
Compare
package.json
Outdated
"@financial-times/n-es-client": "4.1.0", | ||
"@dotcom-reliability-kit/crash-handler": "^4.1.12", | ||
"@dotcom-reliability-kit/middleware-log-errors": "^4.2.6", | ||
"@financial-times/n-es-client": "6.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: There are many dependencies being bumped and enough changes due to the tool-kit migration in this PR. Do we need to bump up n-es-client
or eslint-config-next
or n-test
for the tool-kit migration to be done properly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is me upgrading internal dependencies on the app. it has nothing to do with toolkit working.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: If the upgrade on dependencies is not related to the toolkit upgrade I think it would be better to leave it in another separate PR (dependency upgrade for node 22 migration would be a good candidate since it needs to upgrade those dependencies as well)
package.json
Outdated
@@ -56,7 +57,7 @@ | |||
"node-pandoc": "^0.3.0", | |||
"nodemon": "^3.1.9", | |||
"nyc": "^11.0.2", | |||
"pm2": "^2.6.1", | |||
"pm2": "^5.4.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Same suggestion as before. This is bumping 3 major versions in the same PR that does the tool-kit migration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I bump up the pm 2 version because is the existing version was not working after the changes on node version and toolkit.
package.json
Outdated
@@ -104,7 +105,7 @@ | |||
] | |||
}, | |||
"engines": { | |||
"node": "18.x" | |||
"node": "22.x" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: Wasn't this on node 22 already? I'd suggest waiting until the node22 migration is done before merging the toolkit migration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The initial changes for node migration were reverted by @ytcleon with the assumption that it was the cause of the recent syndication incident so i sneak this back since the only place that will be left after toolkit migration will the package.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: Is the node 22 migration necessary for the tool kit migration?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good but I left some suggestions/considerations.
64cecb5
to
d1730c8
Compare
d1730c8
to
340e550
Compare
340e550
to
1853939
Compare
1853939
to
55aea6b
Compare
Description
This PR is migrating the package to dotcom toolkit v4.x.x
Ticket
Jira Ticket
What is the new version number in package.json?
Link to the next-syndication-dl PR which bumps the next-syndication-api version