| 1 | # config.yaml specification |
| 2 | |
| 3 | This specification is a work in progress and subject to change. |
| 4 | |
| 5 | ## Loading a config.yaml file |
| 6 | |
| 7 | config.yaml is loaded in the following steps |
| 8 | |
| 9 | ## Unrolling |
| 10 | |
| 11 | A "source" config.yaml is "unrolled" so that its packages all get merged into a single config.yaml. This is done by recursively loading all packages and merging them into the config.yaml. |
| 12 | |
| 13 | This happens on the server, unless using local mode. |
| 14 | |
| 15 | ## Client rendering |
| 16 | |
| 17 | The unrolled config.yaml is then rendered on the client. This is done by replacing all user secret template variables with their values and replacing all other secrets with secret locations. |
| 18 | |
| 19 | ## Publishing |
| 20 | |
| 21 | Make sure you are logged into the npm registry with `npm login`. |
| 22 | |
| 23 | Then, bump the version in `package.json` and then run: |
| 24 | |
| 25 | ```bash |
| 26 | npm run build |
| 27 | npm publish --access public |
| 28 | ``` |