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

what is alosaur.json use for? #3

Open
Jordan-Hall opened this issue Mar 14, 2021 · 1 comment
Open

what is alosaur.json use for? #3

Jordan-Hall opened this issue Mar 14, 2021 · 1 comment

Comments

@Jordan-Hall
Copy link

Jordan-Hall commented Mar 14, 2021

Can i ask what does alosaur.json do?

I've noticed in the generator you have alosaur.json but wondering what the purpose of it was? I guess if you generate multiple "apps", you going to want to stack it a bit like angular.cli or nx workspace.json or am I completely wrong?

Referencing alosaur/alosaur#66 about custom DI. I think the CLI would go to be a full wrapper around Deno, including running, so it's self-executing. After much research looks like Deno does support transpiler, so I was thinking to add it as a CLI support, so it has an AST compile and runs the compiled code instead. This way alosaur can add transformer support without it being an issue (for them that want too) Not sure if this takes away from what you were thinking though

Suggested change:

 {
   "apps": [
     {
       "name": "example-app",
       "permissions": [ "--allow-net", "--allow-read" ]
     }
   ]
 }

That way you can have:

deno run --allow-read --allow-write --allow-net cli.ts run example-app
@Jordan-Hall Jordan-Hall changed the title alosaur.json what is alosaur.json use for? Mar 14, 2021
@irustm
Copy link
Member

irustm commented Mar 15, 2021

Yeah, you thought right. The Alosaur CLI will be a wrapper over deno.run, and maybe there will be a way to run multiple applications.
But I don't have a clear roadmap for the Alosaur CLI yet. I am thinking of forming that roadmap this week.

If you have more ideas about CLI, please write about them

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

2 participants