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

init.json files should change the parent directory to be a script #963

Open
Pyseph opened this issue Aug 20, 2024 · 1 comment
Open

init.json files should change the parent directory to be a script #963

Pyseph opened this issue Aug 20, 2024 · 1 comment
Labels
scope: cli Relevant to the Rojo CLI type: enhancement Feature or improvement that should potentially happen

Comments

@Pyseph
Copy link

Pyseph commented Aug 20, 2024

Hi!
Currently, when you have an init.json file within a folder, it simply continues being created as a ModuleScript named init when syncing -- which is a bit annoying to work around. We use json files extensively in our game as a way to let our developers in charge of balancing edit item and statistics data, without worrying about any malicious code accidentally slipping in. Letting init.json work the same way as init.luau files would be awesome for our workflow!

It is not any breaking behavior, and is something we have worked around for now, but it is at the cost of readability and navigation of the studio scripts.

@Dekkonot Dekkonot added type: enhancement Feature or improvement that should potentially happen scope: cli Relevant to the Rojo CLI labels Aug 20, 2024
@Dekkonot
Copy link
Member

This is a breaking change, so I can't promise support for it, but I'd love to support init files for all of the Rojo supported types eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: cli Relevant to the Rojo CLI type: enhancement Feature or improvement that should potentially happen
Projects
None yet
Development

No branches or pull requests

2 participants