Is there a way to do monorepo with jsr? #399
Answered
by
lucacasonato
AugustinMauroy
asked this question in
Q&A
-
Is there a way to do monorepo with jsr ??? to have something like that my-repo/
├─ example/
│ ├─ new_file
├─ @scope/package/
├─ .gitignore
├─ jsr.json
├─ README.md So example should import package such as form JSR but code is on local. |
Beta Was this translation helpful? Give feedback.
Answered by
lucacasonato
Apr 23, 2024
Replies: 1 comment 2 replies
-
Yes, you can use Deno workspaces. In the root of your repository, add a You can then run |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
AugustinMauroy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can use Deno workspaces. In the root of your repository, add a
deno.json
containingworkspaces: ["example/", "@scope/package/"]
. In each of your packages, add adeno.json
containing your JSR configuration for that package (name, version, exports).You can then run
deno publish
at the root of the workspace to publish all packages in the workspace.