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

Publish on JSR with Deno support #31

Open
martin-braun opened this issue Sep 19, 2024 · 1 comment
Open

Publish on JSR with Deno support #31

martin-braun opened this issue Sep 19, 2024 · 1 comment

Comments

@martin-braun
Copy link

This package was useful for me on nodeJS. Now I need the same on Deno with the deno.json. I think it would be great if this package would allow me to specify the JSON name after it has been published on JSR.

@martin-braun
Copy link
Author

martin-braun commented Sep 19, 2024

My current work-around is having this task in deno.json with jq as dependency:

{
    "genversion": "deno eval 'Deno.writeTextFileSync(\"version.ts\", \"export const version=\")' && jq .version deno.json >> version.ts",
}

Without using any path separators, it should be good for Windows, too. Although, the solution is not ideal.

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

No branches or pull requests

1 participant