You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I am currently adding a couple of commands eg: denox init it would be nice to have a set of reserved script names with an explanatory error message.
For example if a user adds a script named init:
scripts:
init:
file: main.ts
We could display a warning saying that init is a reserved keyword and the script cannot be run with the shorthand command.
Feel free to make a PR, if you need any help let me know
Very interesting proposal. Just wanna drop another use case to consider.
I would love to do denox unit to start a deno test --watch --import-map=index.unit.importmap.json index.test.ts (thx @jsejcksn for this suggestion).
Imagine the workspace file would look some like:
scripts:
unit:
command: test# 👆 command be of type "run" | "test" with "run" as defaultdeno_options:
watch: trueimport-map: index.unit.importmap.json index.test.ts
Issue Type
Expected
Denox could run a denox option to create a better shorthand command.
The "run" word could be preserved. as optional
Actual
Possible Solutions
Could fork the project to start this feature.
BTW, Awesome Library! I was searching for something like this
Info
denox/0.3.0 darwin-x86_64 deno-1.0.0
The text was updated successfully, but these errors were encountered: