sugoi.json

Overview

The sugoi.json file is defining the structure of the project and provide information for the building process. Using the sugoi.json file we are possible to define multiple micro-services under the same workspace (root directory)

Structure

1
{
2
"version": "4.0.0",
3
"workspace": "Your Project workspace",
4
"projects":{
5
// your projects which you can select for building process using --project=name flag
6
"main": {
7
"entry": "src/app/server.ts", // entry point of the project
8
"dist": "dist/main",// where to export the file
9
"configurationDir": "configuration", // Where to resolve the configuration from
10
"excludes": [], // path to exclude from building
11
"includes": [] // path to include in building
12
},
13
"auth": {
14
"entry": "src/app/auth.ts",
15
"dist": "dist/auth",
16
"configurationDir": "configuration",
17
"excludes": [],
18
"includes": []
19
}
20
}
21
}
Copied!
Last modified 2yr ago
Copy link