6231d73109
This PR adds the ability to set `loadBefore` and `loadAfter` on a mod's package.json, this allows for modders to define an array of mods their current mod needs to load before or after. Examples: if we have <u>__MOD1__</u> that has `loadAfter` = `[ "MOD2" ]` the loading order would be: 1 - MOD2 2 - MOD1 if we have <u>__MOD2__</u> that has `loadBefore` = `[ "MOD1" ]` the loading order would also be: 1 - MOD2 2 - MOD1 Begone zzzzzz, name your mods the way you want to. Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/156 Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com> Co-committed-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com> |
||
---|---|---|
.. | ||
.vscode | ||
assets | ||
src | ||
tests | ||
.dockerignore | ||
.eslintignore | ||
.eslintrc.json | ||
.nvmrc | ||
.parcelrc | ||
.swcrc | ||
babel.config.js | ||
docker-compose.yml | ||
Dockerfile | ||
Dockerfile.docs | ||
Dockerfile.pnpm | ||
gulpfile.mjs | ||
jest.config.ts | ||
package.json | ||
pkgconfig.json | ||
rome.json | ||
Server.code-workspace | ||
tsconfig.base.json | ||
tsconfig.json | ||
tsconfig.test.json | ||
tsconfig.typedef.json | ||
typedoc.json |