You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/launchpad/README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ graph LR
31
31
## Getting Started
32
32
33
33
1. Install launchpad: `npm i @bluecadet/launchpad`
34
-
2. Create a `launchpad.json` config (see [configuration](#configuration))
34
+
2. Create a `launchpad.config.js` config (see [configuration](#configuration))
35
35
3.*Optional: [Bootstrap](/packages/scaffold) your PC with `npx launchpad scaffold`*
36
36
4. Run `npx launchpad`
37
37
@@ -43,10 +43,10 @@ Run `npx launchpad --help` to see all available commands.
43
43
44
44
## Configuration
45
45
46
-
Each [launchpad package](#packages) is configured via its own section in `launchpad.json`. Below is a simple example that uses the [`content`](/packages/content) package to download JSON and images from Flickr and [`monitor`](/packages/monitor) to launch a single app:
46
+
Each [launchpad package](#packages) is configured via its own section in `launchpad.config.js`. Below is a simple example that uses the [`content`](/packages/content) package to download JSON and images from Flickr and [`monitor`](/packages/monitor) to launch a single app:
47
47
48
-
```json
49
-
{
48
+
```js
49
+
exportdefault{
50
50
"content": {
51
51
"sources": [
52
52
{
@@ -91,7 +91,7 @@ All available config settings across packages can be found in the links below:
91
91
92
92
### Config Loading
93
93
94
-
- By default, Launchpad looks for `launchpad.json` or `config.json` at the cwd (where you ran `npx launchpad`/`launchpad` from)
94
+
- By default, Launchpad looks for `launchpad.config.js`, `launchpad.config.mjs`, `launchpad.json` or `config.json` at the cwd (where you ran `npx launchpad`/`launchpad` from)
95
95
- You can change the default path with `--config=<YOUR_FILE_PATH>` (e.g. `npx launchpad --config=../settings/my-config.json`)
96
96
- If no config is found, Launchpad will traverse up directories (up to 64) to find one
97
97
- All config values can be overridden via `--foo=bar` (e.g. `--logging.level=debug`)
0 commit comments