Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for the Bun and pnpm package managers.#231

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
commiterate wants to merge1 commit intoclojure:master
base:master
Choose a base branch
Loading
fromcommiterate:deps-cmd-add-bun-pnpm

Conversation

commiterate
Copy link

@commiteratecommiterate commentedJul 31, 2024
edited
Loading

Description

Mirroring a similar contribution to shadow-cljs.

See the shadow-cljs issue for a more detailed "why".

This also adds support fornode_modules indexing with the Bun runtime.

Testing

I've avoided adding additional tests insrc/test/clojure/cljs/foreign/node_test.clj for the time being since I'm not sure how the ClojureScript CI environment is configured (not sure if Bun and pnpm are available).

Instead, I created a test repository with a barebones CLJS project using the fork (sourced indeps.edn with thegit procurer).

https://github.com/commiterate/test-clojurescript-bun

This repository usesEmmy to create a Node.js application that just prints 21 (using Emmy'sexp2 function) to stdout.

A reproducible shell is provided with Nix for additional testing by the ClojureScript team and others.


There's notes in the test repository's readme detailing some sharp edges with:

  • Using the ClojureScript compiler build API withtools.build (classpath issues breakingdeps.cljs searches).
  • Using the ClojureScript compiler CLI.

These might be of interest to the ClojureScript team for future improvements.

teehemkay reacted with heart emoji
@commiteratecommiterate changed the titleAdd support for the Bun and pnpm package managersAdd support for the Bun and pnpm package managers.Jul 31, 2024
@commiteratecommiterateforce-pushed thedeps-cmd-add-bun-pnpm branch 3 times, most recently from418d878 tod713463CompareAugust 14, 2024 18:45
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@commiterate

[8]ページ先頭

©2009-2025 Movatter.jp