...
For instance, assuming the resolved .wediaportalrc
file has the following shape:
Code Block |
---|
{
"extends": "<some other wediaportalrc>", // new in 2023.3
"environments": {
"my-customer": {
// ...
},
"other-customer": {
// ...
}
},
"aliases": {
"default": "my-customer"
}
} |
...
NOTE: when parsed, a JSON5 parser is used ; this means that the JSON stream is much more permissive than a regular JSON is expected to be ; in particular, you are allowed to add single line comments //
, block comments /* */
, un-ambiguous keys are not to be double-quoted…
Extending a .wediaportalrc
Starting from 2023.3, .wediaportalrc
files can be extended. Using the root property extends
, you can specify which wediaportalrc file the current file is extending.
This can be useful especially when different members of the team are running their local server with different configurations.
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Given the integration server is available at https://project-int.wedia-group.com it is possible to define a project wise configuration:
team can agree to exclude
team member1 and team member 2can define in
team member 1 will create
team member 2 will do the same:
|
Interface of a .wediaportalrc
file
...