@datadog/create-apps 0.0.12 → 0.0.14-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/bin.js +83 -64
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -82,11 +82,13 @@ After your app is created:
|
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
84
|
cd your-app-name
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
npx datadog-apps dev # local dev server with Datadog credentials resolved
|
|
86
|
+
npx datadog-apps build # production build (no upload)
|
|
87
|
+
npx datadog-apps deploy # build, upload, and publish live
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
+
The `@datadog/apps-cli` package is scaffolded as a dev dependency, so `npx datadog-apps` runs it without a global install.
|
|
91
|
+
|
|
90
92
|
The generated app uses API/App-key authentication when both `DD_API_KEY` and `DD_APP_KEY` are set.
|
|
91
93
|
Otherwise, local backend function execution and app uploads use Datadog OAuth by default. API/App
|
|
92
94
|
keys are optional for build metrics and Error Tracking sourcemap uploads. Refer to your app's generated
|