-
Notifications
You must be signed in to change notification settings - Fork 152
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
refactor!: move shared to data #538
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These could also be moved to config/shared. Something to consider.
yeah that's a better place. marking draft for now and i'll fix it. |
Moved it to config/shared |
I think we should just stick with them being in a data folder like this was originally supposed to be tbh. They aren't configs. |
'shared/items.lua', | ||
'shared/jobs.lua', | ||
'shared/locations.lua', | ||
'data/*.lua', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also this is no longer needed currently
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch. i'm not opposed to either solution. just kind of needs to be in it's own place away from actual "code" that needs to execute
Description
Apparently the shared folder is just one that folks skip when they update. This moves those files to the data folder where they can be more immutable. This will obviously break stuff from bad people that do things like
require '@qbx_core.shared.items'
but those should be few and far between.Checklist