@watchtowerobservability/wizard 0.1.0 → 0.1.1

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 CHANGED
@@ -24,7 +24,7 @@ wizard adds to `.gitignore`. Client apps need a publishable key (`wtp_...`); ser
24
24
  | `package.json` with next, vite, react, vue, angular, sveltekit, webpack | `@watchtowerobservability/browser` | `src/watchtower.(ts\|js)`; Vite config patched with the source-map plugin; other bundlers get a printed step |
25
25
  | `package.json` with express, fastify, koa, nestjs | `@watchtowerobservability/node` | `watchtower.js` |
26
26
  | `go.mod` | `watchtower-go` | `watchtower.go` |
27
- | `pyproject.toml` / `requirements.txt` | `watchtower-sdk` | `watchtower_setup.py` (and `requirements.txt`) |
27
+ | `pyproject.toml` / `requirements.txt` | `watchtower-observability` | `watchtower_setup.py` (and `requirements.txt`) |
28
28
  | `Gemfile` | `watchtower-sdk` gem | `config/initializers/watchtower.rb` |
29
29
  | `composer.json` | `watchtowerobservability/sdk` | `watchtower.php` |
30
30
  | `pom.xml`, `build.gradle(.kts)` | Java SDK dependency inserted | printed init and mapping-upload steps |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@watchtowerobservability/wizard",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "repository": { "type": "git", "url": "git+https://github.com/watchtowerobservability/watchtower-wizard.git" },
5
5
  "publishConfig": {
6
6
  "access": "public",
package/src/plans.js CHANGED
@@ -67,12 +67,12 @@ const BUILDERS = {
67
67
  notes: [`Load .env.local before running: set -a; . ./.env.local; set +a`],
68
68
  }),
69
69
  python: (p) => ({
70
- install: [["pip", "install", "watchtower-sdk"]],
70
+ install: [["pip", "install", "watchtower-observability"]],
71
71
  edits: [
72
72
  { op: "write", path: "watchtower_setup.py", content: `import os\nimport watchtower\n\nwatchtower.init(os.environ["WT_INGEST_KEY"], project=os.environ["WT_PROJECT_ID"], buffer_dir=".wt-buffer")\n` },
73
- ...(p.file === "requirements.txt" ? [{ op: "append", path: "requirements.txt", content: "watchtower-sdk\n" }] : []),
73
+ ...(p.file === "requirements.txt" ? [{ op: "append", path: "requirements.txt", content: "watchtower-observability\n" }] : []),
74
74
  ],
75
- notes: [`Import watchtower_setup before your app code.`, ...(p.file === "pyproject.toml" ? [`Add "watchtower-sdk" to your pyproject.toml dependencies.`] : []), `Load .env.local with python-dotenv or: set -a; . ./.env.local; set +a`],
75
+ notes: [`Import watchtower_setup before your app code.`, ...(p.file === "pyproject.toml" ? [`Add "watchtower-observability" to your pyproject.toml dependencies.`] : []), `Load .env.local with python-dotenv or: set -a; . ./.env.local; set +a`],
76
76
  }),
77
77
  ruby: () => ({
78
78
  install: [["bundle", "add", "watchtower-sdk"]],