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

build/docs: Updated ttypescript version #5767

Merged
merged 3 commits into from
Aug 17, 2023

Conversation

Symulation12
Copy link
Contributor

@Symulation12 Symulation12 commented Aug 16, 2023

Tested with a fresh environment on node 18.17.1. As was mentioned in #5764 , I also added version numbers to the recommended global packages in CONTRIBUTING (the same ones as in package.json), and version numbers to the README for nodejs and npm (current LTS).
Apologies if I used the wrong label for this PR.

@github-actions github-actions bot added the docs label Aug 16, 2023
@cactbotbot
Copy link
Collaborator

cactbotbot commented Aug 16, 2023

@Symulation12 Thanks for your contribution! 🌵🚀

@Symulation12 Symulation12 changed the title Updated ttypescript version and added version numbers to docs plugin: Updated ttypescript version and added version numbers to docs Aug 16, 2023
@Symulation12 Symulation12 changed the title plugin: Updated ttypescript version and added version numbers to docs plugin: Updated ttypescript version, added version numbers Aug 16, 2023
@Symulation12 Symulation12 changed the title plugin: Updated ttypescript version, added version numbers docs: Updated ttypescript version, added version numbers Aug 16, 2023
CONTRIBUTING.md Outdated
npm install -g typescript
npm install -g ts-node
npm install -g typescript@4.6.4
npm install -g ts-node@10.8.0
Copy link
Owner

Choose a reason for hiding this comment

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

One worry I have here is these getting out of date. It's going to be extremely likely that somebody will forget to bump this documentation in the future. This seems like the same problem, but in reverse. People will install this old version and then it won't work with whatever the new version needs.

I think this is more likely of a problem than the one you ran into, so I'd prefer not to change the versions.

(Happy to discuss more too, or maybe there's some solution to keep this doc up to date or a command that installs the package.json version globally that I don't know about?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, true, that is something I should have considered. I looked around to see if I could find a better solution, but I couldn't find anything cleaner than simply listing the most recent version. Putting it that way, I definitely agree that leaving it out is the better option for now.

README.md Outdated
@@ -242,7 +242,7 @@ instead of changing your local cactbot files.

To install npm and start Webpack, follow these steps:

1. Install [nodejs and npm](https://nodejs.org/en/download/)
1. Install [nodejs 18.17.1 and npm 9.6.7](https://nodejs.org/en/download/)
Copy link
Owner

@quisquous quisquous Aug 17, 2023

Choose a reason for hiding this comment

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

Suggested change
1. Install [nodejs 18.17.1 and npm 9.6.7](https://nodejs.org/en/download/)
1. Install [nodejs 18.17.1 and npm 9.6.7](https://nodejs.org/en/download/)

This feels like the same issue here as above. Re: nodejs, I feel like cactbot should always work against the LTS version of nodejs and if it doesn't then it's a bug to be fixed. As soon as 18.17.1 is not the most current LTS version, then it's going to be much harder to find as well and folks will have to dig around in versions to get to it.

I'd rather make a note that says "cactbot should always work with the latest LTS and file an issue if it doesn't".

I would also be ok if it said 18.x.x LTS release too rather than specifically 18.17.1 and the npm version.

Copy link
Contributor Author

@Symulation12 Symulation12 Aug 17, 2023

Choose a reason for hiding this comment

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

Fair point, that is definitely a more sensible solution. Given that goal, then just specifying that it should be the LTS release should be sufficient.

@quisquous
Copy link
Owner

Also also, thanks for testing this and the update! Glad this was an easy fix.

@Symulation12
Copy link
Contributor Author

Symulation12 commented Aug 17, 2023

Of course!
I removed the version numbers from contributing, and changed the readme to not reference a specific version but rather LTS as a whole. Hopefully that's a bit more reasonable. I'm not very good at markdown formatting, but hopefully that looks good.

@quisquous quisquous changed the title docs: Updated ttypescript version, added version numbers build/docs: Updated ttypescript version, added version numbers Aug 17, 2023
@quisquous quisquous changed the title build/docs: Updated ttypescript version, added version numbers build/docs: Updated ttypescript version Aug 17, 2023
@quisquous quisquous merged commit 2cce301 into quisquous:main Aug 17, 2023
@quisquous
Copy link
Owner

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants