Expand description
rst add <folder> - register a folder as an app without answering the
whole init questionnaire.
Where it lands depends on where it lives: inside the frontend repo’s apps/ it joins EXTRA_APPS and shares that bind mount, and beside the repo it joins ROOT_APPS and gets a mount of its own.
Structs§
Enums§
Functions§
- already_
listed - appended
- Append to a space separated list, leaving the order it already has.
- first_
script - The first of
wantedthat the folder’s package.json defines. - free_
port - A port nothing else in the workspace has claimed.
- locate
- Resolve a folder name the way a person would mean it: the frontend repo’s apps/ first, then beside the repo.
- record
- Write the new app to both files: .env is what compose reads, and
run.config.toml is what init rewrites .env from. Writing one alone means
the next
init --updateeither misses it or drops it. - runnable
- Something to run. A folder with no manifest, or a library with only build and test scripts, is not an app.
- start_
command - The command that starts the app.