This website requires JavaScript.
Explore
Help
Sign In
spt
/
server
Watch
0
Star
0
Fork
0
You've already forked server
mirror of
https://github.com/sp-tarkov/server.git
synced
2025-02-13 09:50:43 -05:00
Code
server
/
project
/
src
/
entry
/
build.json
8 lines
113 B
JSON
Raw
Normal View
History
Unescape
Escape
Bake build data directly into the executable (!297) This is primarily to stop confusion when a user overwrites their `aki_data` folder with an old version, the data shown in logs/server console is now based on compile time data instead of runtime data. - New build.json file added to the `obj/ide/` folder that gets populated with the build data on build - Moved asset copying prior to packaging, so that `obj/ide/build.json` is available at package time - Updated all references of core.commit, and core.buildTime to use globalThis - Updated all references of core.akiVersion to use globalThis with a fallback if not found (When running in VSCode for example) Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/297 Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com> Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-04-18 07:54:16 +00:00
{
Static Program Properties & Simplified Entry Points (#1010) Significant refactoring of globals and entry points. Oh my. - The global variables previously accessible throughout the codebase have been restructured as private static properties of the Program class. Public static getter methods have been added to allow read access to these properties throughout the codebase. - Entry points, which were dispersed across multiple files, have been consolidated and simplified into a static method on the Program class, making the entry logic easier to follow. - Removed unnecessary ~~globals~~ Program static properties. - Adjusted imports and references across the codebase to reflect the new structure. Try not to focus on the `gulpfile.mjs` changes, as it won't be around for much longer. *[winky face]* Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2024-12-31 05:11:08 -05:00
"entryType"
:
"LOCAL"
,
Node Version Validation This introduces a node version validation check on server start-up. The expected node version is pulled from the `package.json`. Locally, the expected version is pulled directly. The build script writes the expected node version into the `build.json` file, which is used in the built environment. When an invalid match is made the server start-up halts.
2025-01-06 12:33:56 -05:00
"expectedNode"
:
""
,
Rebranding to SPT (!345) Rebranded src code and scripts to SPT Co-authored-by: clodan <clodan@clodan.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/345 Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com> Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-05-21 17:59:04 +00:00
"sptVersion"
:
""
,
Bake build data directly into the executable (!297) This is primarily to stop confusion when a user overwrites their `aki_data` folder with an old version, the data shown in logs/server console is now based on compile time data instead of runtime data. - New build.json file added to the `obj/ide/` folder that gets populated with the build data on build - Moved asset copying prior to packaging, so that `obj/ide/build.json` is available at package time - Updated all references of core.commit, and core.buildTime to use globalThis - Updated all references of core.akiVersion to use globalThis with a fallback if not found (When running in VSCode for example) Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/297 Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com> Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-04-18 07:54:16 +00:00
"commit"
:
""
,
"buildTime"
:
0
}
Copy Permalink