What is ced.json?
Updated over a week ago

The file ced.json is the distribution manifest file that describes to the Merthin CED engine how to process the files of a subsystem.

The following is an example of such a file:

{
"projectId": "dashboard",
"defaultEnvironment": "development",
"subsystemId": "spa",
"config": {
"path": "./src/configuration.ts",
"format": "esModule"
},
"build": {
"steps": [
{
"name": "Install",
"command": "npm install"
},
{
"name": "Build",
"command": "npm run build"
}
],
"artifact": "./build"
}
}

config:

The section informs where to generate a configuration file with the values of the product graph. In addition to path, it has format to control the shape of the configuration file.

build:

The section informs how to go from source to an artifact.

artifact:

The section confirms from where to fetch the artifact.

Did this answer your question?