Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cursor/BUGBOT.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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`)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @amplitude/developer-api
# @amplitude/developer-cli

CLI and developer artifacts for the [Amplitude Developer API](https://developer-api.amplitude.com).

Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down
Loading