-
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: set up initial actions & docs #1
base: main
Are you sure you want to change the base?
Conversation
just throwing this previous conversation here nodejs/release-cloudflare-worker#132 - it's not a blocker, but i honestly dont know how to manage this sort of fragmentation across the project - perhaps it doesnt matter |
I think some fragmentation is fine. I think it's more important to keep standards similar. How they are enforced is an implementation detail, and the existing modus operandi of the project is, without a compelling reason to the contrary, that's author's choice. ESLint being "in the family" is maybe a compelling reason, but i think not a clear-cut one. I don't have much preference though. ESLint has been fine when I've used it before. I only tossed in biome here because of the reasons Augustin mentioned. |
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: Augustin Mauroy <[email protected]>
@@ -0,0 +1,18 @@ | |||
# Contributing |
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.
Need to add code snippets about how to run test and how to write a test.
Take example on nodejs.org repo we had done huge work to have something really explicit
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.
Good idea!
This PR isn't finished btw. Just as much as I could get done last night. But it's ready for input/discussion 🙂
Should we have commit hooks ? |
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run lint |
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 should be done in sub steps ? I'm no sure.
@bmuenzenmeyer is more of an expert on this than I am
"javascript.updateImportsOnFileMove.enabled": "always", | ||
"typescript.updateImportsOnFileMove.enabled": "always" |
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 think we need to set an additional property so that VS Code doesn't change d.ts
→ .js
when it updates imports. I don't recall what the config prop is though.
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've no idea, but I think this behaviour is gone now, but not for sure.
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.
Definitely not gone. It happened to me like yesterday.
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: Jacob Smith <[email protected]>
I think no: those can get hella annoying. If a user wants to commit code that will fail, that doesn't hurt anything, so let's not get in the way—maybe they have a good reason (like sharing something incomplete). |
I think include |
Hmm, I'm not sure why this works fine locally but fails in CI
https://github.com/nodejs/userland-migrations/actions/runs/11986924657/job/33420496685?pr=1#step:5:9 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
it's only complaining about flags written after |
note
|
maybe because newest version use |
I think it's not fs.glob itself (available since 22.0.0, and 23.x is failing). Putting the quotes around the values ensures they are processed by node (should be consistent behaviour); without quotes, the shell handles the globs (inconsistent behaviour). What could be different between local and CI? It's not OS, because CI's macos is also failing. I wonder if it's something like double vs single quotes? |
Tests on Node.js 20 are failing because nodejs/node#53553 is not in Node.js 20. |
No description provided.