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

Official support for pnpm #2876

Closed
zachleat opened this issue Mar 21, 2023 · 5 comments
Closed

Official support for pnpm #2876

zachleat opened this issue Mar 21, 2023 · 5 comments

Comments

@zachleat
Copy link
Member

Related issues:

@zachleat zachleat added enhancement needs-votes A feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved. labels Mar 21, 2023
@zachleat zachleat added this to the Eleventy 3.0.0 milestone Apr 9, 2024
@zachleat
Copy link
Member Author

zachleat commented Jul 2, 2024

Seems to work okay with a standard build on 2.0.1:

~/Temp/pnpm-eleventy-test ᐅ pnpm i @11ty/eleventy
 WARN  3 deprecated subdependencies found: glob@7.2.3, inflight@1.0.6, rimraf@2.7.1
Packages: +215
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 215, reused 215, downloaded 0, added 215, done

dependencies:
+ @11ty/eleventy 2.0.1

Done in 2.9s
~/Temp/pnpm-eleventy-test ᐅ pnpm eleventy        
[11ty] Wrote 0 files in 0.01 seconds (v2.0.1)

and 3.0.0-alpha.14:

~/Temp/pnpm-eleventy-test ᐅ pnpm i @11ty/eleventy@canary
 WARN  3 deprecated subdependencies found: glob@7.2.3, inflight@1.0.6, rimraf@2.7.1
Packages: +52 -88
++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------
Progress: resolved 179, reused 127, downloaded 52, added 52, done

dependencies:
- @11ty/eleventy 2.0.1
+ @11ty/eleventy 3.0.0-alpha.14

Done in 2.4s
~/Temp/pnpm-eleventy-test ᐅ pnpm eleventy               
[11ty] Wrote 0 files in 0.01 seconds (v3.0.0-alpha.14)

@zachleat
Copy link
Member Author

zachleat commented Jul 2, 2024

Merged 11ty/eleventy-dependency-tree#3 and released @11ty/dependency-tree@3.0.1, shipping with 3.0.0-alpha.15

@zachleat zachleat added feature: runtimes 👟 package managers ⚰️ Node.js, Deno, pnpm, et al. and removed needs-votes A feature request on the backlog that needs upvotes or downvotes. Remove this label when resolved. labels Jul 2, 2024
zachleat added a commit that referenced this issue Jul 3, 2024
@zachleat
Copy link
Member Author

zachleat commented Jul 3, 2024

As part of this work, pnpm and yarn commands have been added to the docs on:

As with the other tabs, this selection syncs to the other relevant package manager tabs instances and persists through page loads so you can save your preferred package manager and we’ll show you the same commands throughout the site.

I think that concludes this issue—please let me know if y’all see any further issues—thanks!

@uncenter
Copy link
Contributor

uncenter commented Jul 3, 2024

Run npx @11ty/eleventy --serve to start up a local development server and open http://localhost:8080/ in your web browser of choice to see your web site.

On https://www.11ty.dev/#quick-start, this paragraph contains the hard-coded npx command, though there is the new configurable command block/selector right above it.

@zachleat
Copy link
Member Author

zachleat commented Jul 3, 2024

Run npx @11ty/eleventy --serve to start up a local development server and open http://localhost:8080/ in your web browser of choice to see your web site.

On https://www.11ty.dev/#quick-start, this paragraph contains the hard-coded npx command, though there is the new configurable command block/selector right above it.

Good catch, thank you! Shipping a fix now

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

No branches or pull requests

2 participants