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

feat(cli): add deno support #11304

Merged
merged 3 commits into from
Oct 11, 2024
Merged

feat(cli): add deno support #11304

merged 3 commits into from
Oct 11, 2024

Conversation

amrbashir
Copy link
Member

@amrbashir amrbashir requested a review from a team as a code owner October 10, 2024 10:05
Copy link
Contributor

github-actions bot commented Oct 10, 2024

Package Changes Through 419ae9a

There are 4 changes which include tauri with patch, tauri-cli with patch, @tauri-apps/cli with patch, tauri-bundler with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-bundler 2.0.2 2.0.3
tauri 2.0.2 2.0.3
@tauri-apps/cli 2.0.2 2.0.3
tauri-cli 2.0.2 2.0.3

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@ninjadev64
Copy link

Oh interesting, this would allow me to ditch the cargo cli.

@lucasfernog lucasfernog merged commit b3563e3 into dev Oct 11, 2024
19 checks passed
@lucasfernog lucasfernog deleted the feat/cli/deno branch October 11, 2024 19:48
@ninjadev64
Copy link

Hey @amrbashir

I've added "@tauri-apps/cli": "^2.0" to my devDependencies, but can't figure out how to use the CLI from within Deno.

The only solution I've found to make deno task tauri dev work is to add the following to the scripts section of my package.json:

"tauri": "deno run -A npm:@tauri-apps/cli"

but that doesn't seem very elegant.

@amrbashir
Copy link
Member Author

amrbashir commented Oct 12, 2024

@ninjadev64 This PR is not released yet, once it is released, you will be able to just have "tauri": "tauri" then you can just use deno task tauri dev

@ninjadev64
Copy link

ninjadev64 commented Oct 12, 2024

@ninjadev64 This PR is not released yet, once it is released, you will be able to just have "tauri": "tauri" then you can just use deno task tauri dev

I see, thanks!

This is what I have for now: ninjadev64/OpenDeck@fd8c5cd

Do you see anything that could be improved? The CI succeeds.

@amrbashir
Copy link
Member Author

That looks good, nothing to improve.

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.

3 participants