diff --git a/.cursor/BUGBOT.md b/.cursor/BUGBOT.md index 43a4615..ded5a61 100644 --- a/.cursor/BUGBOT.md +++ b/.cursor/BUGBOT.md @@ -1,4 +1,4 @@ -# Bugbot review guide — @amplitude/developer-api +# Bugbot review guide — @amplitude/developer-cli This repo is the published `amp` CLI: a thin, generated client over the Amplitude Developer API. It is a **public distribution**, so review for clarity diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 15920e6..6505963 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -2,17 +2,17 @@ This repository is the published distribution of the amp CLI. We don't accept community pull requests here — they will be closed. -Please open an issue instead: https://github.com/amplitude/developer-api/issues +Please open an issue instead: https://github.com/amplitude/developer-cli/issues See CONTRIBUTING.md for details. --> ## This repo does not accept pull requests -`@amplitude/developer-api` is published from an upstream source, so changes +`@amplitude/developer-cli` is published from an upstream source, so changes can't be merged here. -- 🐛 Found a bug? → [open an issue](https://github.com/amplitude/developer-api/issues) -- 💡 Want a feature? → [open an issue](https://github.com/amplitude/developer-api/issues) +- 🐛 Found a bug? → [open an issue](https://github.com/amplitude/developer-cli/issues) +- 💡 Want a feature? → [open an issue](https://github.com/amplitude/developer-cli/issues) See [CONTRIBUTING.md](../CONTRIBUTING.md). Thanks! diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index ba3e953..147ae89 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -66,10 +66,10 @@ jobs: run: pnpm build # Authenticates to npm via OIDC Trusted Publishing (id-token: write at the - # workflow level). The Trusted Publisher for @amplitude/developer-api must + # workflow level). The Trusted Publisher for @amplitude/developer-cli must # be configured at - # https://www.npmjs.com/package/@amplitude/developer-api/access to trust - # repo=amplitude/developer-api, workflow=release-please.yml, + # https://www.npmjs.com/package/@amplitude/developer-cli/access to trust + # repo=amplitude/developer-cli, workflow=release-please.yml, # environment=npm-publish. No NPM_TOKEN required. # # Pre-1.0 we publish to the `beta` dist-tag so `latest` stays unset until diff --git a/AGENTS.md b/AGENTS.md index dfd6eae..a1a6b55 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,4 @@ -# developer-api CLI — Agent Instructions +# developer-cli CLI — Agent Instructions This package is the `amp` CLI: the human- and agent-facing surface over the Amplitude Developer API. It is published as a standalone package, so treat diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4a5bcc2..c6ba906 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,7 @@ # Contributing This repository is the published distribution of the `amp` CLI -(`@amplitude/developer-api`). It is maintained by Amplitude and updated through +(`@amplitude/developer-cli`). It is maintained by Amplitude and updated through an internal release process. ## We don't accept pull requests here @@ -12,7 +12,7 @@ this guide — please don't take it personally. ## Found a bug or want a feature? -Please [open an issue](https://github.com/amplitude/developer-api/issues). Good +Please [open an issue](https://github.com/amplitude/developer-cli/issues). Good reports include: - The `amp` version (`amp --version`) diff --git a/README.md b/README.md index c83ed5d..44ec4fe 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# @amplitude/developer-api +# @amplitude/developer-cli CLI and developer artifacts for the [Amplitude Developer API](https://developer-api.amplitude.com). @@ -29,14 +29,14 @@ version): ## Install ```bash -npm install -g @amplitude/developer-api +npm install -g @amplitude/developer-cli amp help ``` Or run without installing: ```bash -npx @amplitude/developer-api help +npx @amplitude/developer-cli help ``` ## Authentication diff --git a/package.json b/package.json index 96d8629..e056159 100644 --- a/package.json +++ b/package.json @@ -1,22 +1,22 @@ { - "name": "@amplitude/developer-api", + "name": "@amplitude/developer-cli", "version": "0.1.0", "description": "amp CLI and developer artifacts for managing Amplitude platform primitives via the Developer API", "type": "commonjs", "license": "MIT", - "homepage": "https://github.com/amplitude/developer-api#readme", + "homepage": "https://github.com/amplitude/developer-cli#readme", "repository": { "type": "git", - "url": "git+https://github.com/amplitude/developer-api.git" + "url": "git+https://github.com/amplitude/developer-cli.git" }, "bugs": { - "url": "https://github.com/amplitude/developer-api/issues" + "url": "https://github.com/amplitude/developer-cli/issues" }, "keywords": [ "amplitude", "cli", "amp", - "developer-api" + "developer-cli" ], "bin": { "amp": "dist/cli.js" diff --git a/src/config.ts b/src/config.ts index 74273b8..91000e2 100644 --- a/src/config.ts +++ b/src/config.ts @@ -3,7 +3,7 @@ import { apiBaseUrlFromEnv } from './env'; export const DEFAULT_API_BASE_URL = 'https://developer-api.amplitude.com'; -// Friendly `--env` names → developer-api base URLs. `auth login` requires an +// Friendly `--env` names → Developer API base URLs. `auth login` requires an // explicit env (or --base-url) when creating a profile — no implicit default — // so this map is the ergonomic primitive, not optional sugar. //