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
We currently have sage run js/myscript.ts which is a reasonable API.
We may like sage lint and sage check. But it is kind of magical how it discovers the tasks. So we may want to design the visited tasks well, or alternatively have sage task lint etc. But that is less user-friendly.
We could try implementing sage run as a task, like js/grunt/tasks/run.ts. This would put things more on equal footing.
Overall, the main problems in this area are about task discovery and forwarding.
We could add our own language for configuring tasks like: sage.config.ts, then they can inherit from each other, etc. Research if a similar system exists. deno appears to have a well-designed API that we could review.
Design the sage API with the idea that in the future we may want to switch to deno or another runtime.
The text was updated successfully, but these errors were encountered:
We currently have
sage run js/myscript.ts
which is a reasonable API.We may like
sage lint
andsage check
. But it is kind of magical how it discovers the tasks. So we may want to design the visited tasks well, or alternatively havesage task lint
etc. But that is less user-friendly.We could try implementing
sage run
as a task, like js/grunt/tasks/run.ts. This would put things more on equal footing.Overall, the main problems in this area are about task discovery and forwarding.
We could add our own language for configuring tasks like: sage.config.ts, then they can inherit from each other, etc. Research if a similar system exists.
deno
appears to have a well-designed API that we could review.Design the sage API with the idea that in the future we may want to switch to deno or another runtime.
The text was updated successfully, but these errors were encountered: