-
-
Notifications
You must be signed in to change notification settings - Fork 813
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
Use "npm init" for creating new dist ? #708
Comments
What about a shell script the CLI runs that compiles into a distro? |
Into what kind of a distro exactly ? |
NPM package, whole operating system, compressed folder etc |
I'm not sure I fully understand what you mean there. The way I read your comment it sounds like what this issue suggests, i.e. create a npm package for it (which is compressed on npmjs). |
I mean you could use shell scripts to bundle a package which is acceptable for npmjs Like the shell script you made to compile the source in RX/UI3 |
Shell scripts won't work on all systems, only Unix-like systems (macOS and Linux) and I think Anders wants this to work on Windows. |
I see your point but perhaps the script could be written in typescript? |
The scripts in that project was bespoke and would not really work on anything else that that specific platform.
This is what |
Another thing I should mention is that the "OS.js distro" (this repo) is not really meant to be published to npm. However, this issue will publish a package that will be used as a template (and not with |
I now get your point, how about in the next update you release a utility that allows switching between templates? |
Like a switch OS look option? So it refers to the installation in a seperate folder? |
Doesn't this kinda defeat the purpose of switching if it lives in another folder ? Or am I misunderstanding this ? |
I mean switching OS's like switching users. Install somewhere else and configure OSJS to run or write to that folder |
Like a developer utility |
Sorry, but I don't understand what you mean by this. |
Think of it like a VFS, you configure OSJS to read and write to this one folder. My idea is to do the same but we link it as a template |
And the templates are stored in a folder |
I see. That might be useful in some cases. I actually do something like this on my workstation (because I have a ton of different installations). I have my |
Exactly! Good idea |
If you want a working OSJS example, theres one here on glitch.com- |
Maybe use
npm init OS.js
to create a new distro instead of git ?!https://docs.npmjs.com/cli/init
The text was updated successfully, but these errors were encountered: