Skip to content

Add new pnpm e2e test#96

Open
slimreaper35 wants to merge 2 commits into
hermetoproject:pnpm/e2e-v10from
slimreaper35:my-pnpm-e2e
Open

Add new pnpm e2e test#96
slimreaper35 wants to merge 2 commits into
hermetoproject:pnpm/e2e-v10from
slimreaper35:my-pnpm-e2e

Conversation

@slimreaper35
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Michal Šoltis <msoltis@redhat.com>
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request establishes a pnpm v10 test scenario by adding a basic application structure and defining dependencies from various sources including JSR, GitHub, and local files. Feedback highlights critical issues with the dependency configuration, specifically a missing local tarball for @tailwindcss/root and invalid version tags for lodash and semver. Furthermore, the lockfile version (9.0) is inconsistent with the specified pnpm v10 package manager.

Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread pnpm-lock.yaml
Comment thread package.json Outdated
"packageManager": "pnpm@10.33.4+sha512.1c67b3b359b2d408119ba1ed289f34b8fc3c6873412bec6fd264fbdc82489e510fcbecb9ce9d22dae7f3b76269d8441046014bdca53b9979cd7a561ad631b800",
"dependencies": {
"@hono/hono": "jsr:^4.12.23",
"@tailwindcss/root": "file:tailwindcss-4.3.0.tar.gz",
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.

Can we try LFS instead of committing binary files to git history?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Why?

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.

So what is the benefit of committing a binary blob to git history?
Let me suggest a clean alternative if we don't agree on blobs in git history - could we just commit our own artificial package.json file and create an archive out of it as part of the e2e integration test itself?

This is non-blocking, I am opinionated, but since it's tests I think I could live with it, just make sure you pick a tiny tarball.

Comment thread pnpm-lock.yaml Outdated
Comment thread package.json Outdated
Signed-off-by: Michal Šoltis <msoltis@redhat.com>
@slimreaper35
Copy link
Copy Markdown
Member Author

6 declared dependencies and pnpm-lock 81 lines 🌮

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