Skip to content

Rebuild lock file#3733

Merged
kossnocorp merged 1 commit into
date-fns:mainfrom
fturmel:PR/rebuild-lock-file
Mar 15, 2024
Merged

Rebuild lock file#3733
kossnocorp merged 1 commit into
date-fns:mainfrom
fturmel:PR/rebuild-lock-file

Conversation

@fturmel

@fturmel fturmel commented Mar 14, 2024

Copy link
Copy Markdown
Member

Had to rebuild the lock file to be able to run the unit tests again on macOS. Deleting the "node_modules" directory and re-installing the dependencies was not sufficient.

It appears to be a known bug, see npm/cli#4828

(While we're at it, pnpm would be a nice improvement for the project. It's been very fast and reliable for me over the last few years.)

CleanShot 2024-03-14 at 10 47 52@2x

@kossnocorp

Copy link
Copy Markdown
Member

Thank you!

(While we're at it, pnpm would be a nice improvement for the project. It's been very fast and reliable for me over the last few years.)

I wouldn't say I like this idea, as it's an additional entry point for the project. I want to keep it simple, as npm is good enough, and such problems happen rarely.

We also use Bun to run timezone tests, so if anything, I would utilize it if not the previous point. I'm open to convincing, though.

@kossnocorp kossnocorp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🫡

@kossnocorp kossnocorp merged commit f0355f1 into date-fns:main Mar 15, 2024
@fturmel fturmel deleted the PR/rebuild-lock-file branch April 1, 2024 11:54
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