DenoDDeno
Powered by
con_C
Deno•2y ago•
2 replies
con_

Guidance in testing new publish flag

Hey! Not sure if this is the correct place to ask contribution questions but i'll give it a go! I have been working on my first contribution to the Deno project, which is the following issue I found in the issue tracker: https://github.com/denoland/deno/issues/22663. Here's a short rundown of what i've done so far:
1. Added the
override_version
override_version
field to the
PublishFlags
PublishFlags
struct.
2. Added the
--override-version
--override-version
argument to the
publish_subcommand
publish_subcommand
function.
3. Updated
publish_parse
publish_parse
function to also parse the
override_version
override_version
flag
3. Updated the
publish
publish
function to apply the override version to the
publish_configs
publish_configs
if provided.

I'd appreciate some guidance on how to test this flag, as I am very new to the whole Deno project in general. Is there any recommended way to set up a test environment or something for this? Figured that asking here might speed up the process a bit. Any help is much appreciated!
GitHub
Issues · denoland/deno
A modern runtime for JavaScript and TypeScript. Contribute to denoland/deno development by creating an account on GitHub.
Issues · denoland/deno
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

In-browser testing
Mark GMMark G / help
3y ago
JSR Publish error
cameronmCcameronm / help
12mo ago
Run npm publish
FjordWardenFFjordWarden / help
2y ago
Deno Deploy --cert flag
bera.funBbera.fun / help
4y ago