Remove in-repo Teams CLI package#580
Open
heyitsaamir wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the legacy in-repo @microsoft/teams.cli workspace (including its templates/config scaffolding) and updates the repository documentation to direct users to an external Teams CLI instead when setting up the samples.
Changes:
- Removed the
packages/cliworkspace (package manifest, source, templates, and ATK config scaffolding). - Updated root README to drop the CLI package reference and to direct sample users to an external CLI.
- Updated many sample READMEs to include a “Teams CLI” setup section and to include
TENANT_IDin.envguidance where applicable.
Reviewed changes
Copilot reviewed 198 out of 212 changed files in this pull request and generated 20 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Removes @microsoft/teams.cli from the package list; updates sample setup guidance to point to an external CLI. |
| packages/cli/turbo.json | Removed (CLI workspace build pipeline config). |
| packages/cli/tsup.config.js | Removed (CLI workspace build config). |
| packages/cli/tsconfig.json | Removed (CLI workspace TS config). |
| packages/cli/README.md | Removed (CLI package README). |
| packages/cli/package.json | Removed (CLI package definition / bin entry). |
| packages/cli/jest.config.js | Removed (CLI package test config). |
| packages/cli/eslint.config.js | Removed (CLI package lint config). |
| packages/cli/src/index.ts | Removed (CLI entrypoint). |
| packages/cli/src/context.ts | Removed (CLI context definition). |
| packages/cli/src/settings.ts | Removed (CLI persisted settings). |
| packages/cli/src/environment/index.ts | Removed (CLI env module barrel). |
| packages/cli/src/environment/env.ts | Removed (CLI env storage model). |
| packages/cli/src/environment/env-storage.ts | Removed (CLI env storage). |
| packages/cli/src/commands/index.ts | Removed (CLI command barrel). |
| packages/cli/src/commands/new/index.ts | Removed (teams new command). |
| packages/cli/src/commands/new/typescript.ts | Removed (TS project generator). |
| packages/cli/src/commands/new/python.ts | Removed (Python project generator). |
| packages/cli/src/commands/new/csharp.ts | Removed (C# project generator). |
| packages/cli/src/commands/set-lang/index.ts | Removed (language selector command). |
| packages/cli/src/commands/env/index.ts | Removed (env management command). |
| packages/cli/src/commands/env/list.ts | Removed (env listing). |
| packages/cli/src/commands/env/select.ts | Removed (env selection). |
| packages/cli/src/commands/env/set.ts | Removed (env set). |
| packages/cli/src/commands/env/del.ts | Removed (env delete). |
| packages/cli/src/commands/env/export.ts | Removed (env export). |
| packages/cli/src/commands/config/index.ts | Removed (config management command). |
| packages/cli/src/commands/config/add.ts | Removed (config add). |
| packages/cli/src/commands/config/remove.ts | Removed (config remove). |
| packages/cli/src/project/index.ts | Removed (project module barrel). |
| packages/cli/src/project/handlebars.ts | Removed (handlebars helper wrapper). |
| packages/cli/src/project/project.ts | Removed (project model). |
| packages/cli/src/project/project-builder.ts | Removed (project builder). |
| packages/cli/src/project/project-attribute.ts | Removed (attribute interfaces). |
| packages/cli/src/project/attributes/index.ts | Removed (attribute barrel). |
| packages/cli/src/project/attributes/env.ts | Removed (env attribute). |
| packages/cli/src/project/attributes/template.ts | Removed (template attribute). |
| packages/cli/src/project/operations/index.ts | Removed (operations barrel). |
| packages/cli/src/project/operations/compound.ts | Removed (compound operation). |
| packages/cli/src/project/operations/copy.ts | Removed (copy operation). |
| packages/cli/src/project/operations/directory-copy.ts | Removed (directory copy). |
| packages/cli/src/project/operations/file-copy.ts | Removed (file copy). |
| packages/cli/src/project/operations/file-create.ts | Removed (file create). |
| packages/cli/src/project/operations/file-update.ts | Removed (file update). |
| packages/cli/src/project/operations/file-template-handlebars.ts | Removed (handlebars templating). |
| packages/cli/src/project/operations/file-json-set.ts | Removed (JSON mutation op). |
| packages/cli/src/project/operations/file-yaml-set.ts | Removed (YAML mutation op). |
| packages/cli/src/project/operations/file-env-set.ts | Removed (.env mutation op). |
| packages/cli/src/project/operations/if.ts | Removed (conditional op). |
| packages/cli/templates/typescript/tab/vite.config.js | Removed (TS tab template). |
| packages/cli/templates/typescript/tab/tsup.config.js | Removed (TS tab template build config). |
| packages/cli/templates/typescript/tab/tsconfig.json | Removed (TS tab template TS config). |
| packages/cli/templates/typescript/tab/tsconfig.app.json | Removed (TS tab template app tsconfig). |
| packages/cli/templates/typescript/tab/tsconfig.node.json | Removed (TS tab template node tsconfig). |
| packages/cli/templates/typescript/tab/nodemon.json | Removed (TS tab template dev config). |
| packages/cli/templates/typescript/tab/index.html.hbs | Removed (TS tab template HTML). |
| packages/cli/templates/typescript/tab/package.json.hbs | Removed (TS tab template package manifest). |
| packages/cli/templates/typescript/tab/appPackage/manifest.json.hbs | Removed (TS tab template manifest). |
| packages/cli/templates/typescript/tab/src/index.ts | Removed (TS tab template server). |
| packages/cli/templates/typescript/tab/src/Tab/App.tsx | Removed (TS tab template client). |
| packages/cli/templates/typescript/tab/src/Tab/App.css | Removed (TS tab template client styles). |
| packages/cli/templates/typescript/tab/src/Tab/client.tsx | Removed (TS tab template client entry). |
| packages/cli/templates/typescript/tab/src/Tab/vite-env.d.ts | Removed (TS tab template vite types). |
| packages/cli/templates/typescript/echo/tsup.config.js | Removed (TS echo template). |
| packages/cli/templates/typescript/echo/tsconfig.json | Removed (TS echo template TS config). |
| packages/cli/templates/typescript/echo/package.json.hbs | Removed (TS echo template manifest). |
| packages/cli/templates/typescript/echo/appPackage/manifest.json.hbs | Removed (TS echo template app manifest). |
| packages/cli/templates/typescript/echo/src/index.ts | Removed (TS echo template bot). |
| packages/cli/templates/typescript/graph/tsup.config.js | Removed (TS graph template build config). |
| packages/cli/templates/typescript/graph/tsconfig.json | Removed (TS graph template TS config). |
| packages/cli/templates/typescript/graph/package.json.hbs | Removed (TS graph template manifest). |
| packages/cli/templates/typescript/graph/src/index.ts | Removed (TS graph template bot). |
| packages/cli/templates/typescript/graph/appPackage/manifest.json.hbs | Removed (TS graph template app manifest). |
| packages/cli/templates/typescript/graph/appPackage/color.png | Removed (TS graph template assets). |
| packages/cli/templates/typescript/graph/appPackage/outline.png | Removed (TS graph template assets). |
| packages/cli/templates/typescript/ai/tsup.config.js | Removed (TS AI template build config). |
| packages/cli/templates/typescript/ai/tsconfig.json | Removed (TS AI template TS config). |
| packages/cli/templates/typescript/ai/package.json.hbs | Removed (TS AI template manifest). |
| packages/cli/templates/typescript/ai/src/index.ts | Removed (TS AI template bot). |
| packages/cli/templates/typescript/ai/appPackage/manifest.json.hbs | Removed (TS AI template app manifest). |
| packages/cli/templates/typescript/ai/AGENTS.md | Removed (TS AI template agent instructions). |
| packages/cli/templates/typescript/mcp/tsup.config.js | Removed (TS MCP template build config). |
| packages/cli/templates/typescript/mcp/tsconfig.json | Removed (TS MCP template TS config). |
| packages/cli/templates/typescript/mcp/package.json.hbs | Removed (TS MCP template manifest). |
| packages/cli/templates/typescript/mcp/src/index.ts.hbs | Removed (TS MCP template bot). |
| packages/cli/templates/typescript/mcp/appPackage/manifest.json.hbs | Removed (TS MCP template app manifest). |
| packages/cli/templates/typescript/mcpclient/tsup.config.js | Removed (TS MCP client template build config). |
| packages/cli/templates/typescript/mcpclient/tsconfig.json | Removed (TS MCP client template TS config). |
| packages/cli/templates/typescript/mcpclient/package.json.hbs | Removed (TS MCP client template manifest). |
| packages/cli/templates/typescript/mcpclient/src/index.ts.hbs | Removed (TS MCP client template bot). |
| packages/cli/templates/typescript/mcpclient/appPackage/manifest.json.hbs | Removed (TS MCP client template app manifest). |
| packages/cli/templates/python/echo/src/main.py | Removed (Python echo template). |
| packages/cli/templates/python/echo/README.md | Removed (Python echo template docs). |
| packages/cli/templates/python/echo/pyproject.toml.hbs | Removed (Python echo template packaging). |
| packages/cli/templates/python/echo/appPackage/manifest.json.hbs | Removed (Python echo template manifest). |
| packages/cli/templates/python/echo/appPackage/color.png | Removed (Python echo template assets). |
| packages/cli/templates/python/echo/appPackage/outline.png | Removed (Python echo template assets). |
| packages/cli/templates/python/graph/src/main.py | Removed (Python graph template). |
| packages/cli/templates/python/graph/README.md | Removed (Python graph template docs). |
| packages/cli/templates/python/graph/pyproject.toml.hbs | Removed (Python graph template packaging). |
| packages/cli/templates/python/graph/appPackage/manifest.json.hbs | Removed (Python graph template manifest). |
| packages/cli/templates/python/graph/appPackage/color.png | Removed (Python graph template assets). |
| packages/cli/templates/python/graph/appPackage/outline.png | Removed (Python graph template assets). |
| packages/cli/templates/csharp/echo/{{name}}.sln.hbs | Removed (C# echo template). |
| packages/cli/templates/csharp/echo/{{name}}.slnlaunch.user.hbs | Removed (C# echo template tooling). |
| packages/cli/templates/csharp/echo/{{name}}.hbs/Program.cs.hbs | Removed (C# echo template app). |
| packages/cli/templates/csharp/echo/{{name}}.hbs/{{name}}.csproj.hbs | Removed (C# echo template project). |
| packages/cli/templates/csharp/echo/{{name}}.hbs/Properties/launchSettings.json | Removed (C# echo template launch settings). |
| packages/cli/templates/csharp/echo/{{name}}.hbs/appsettings.json | Removed (C# echo template settings). |
| packages/cli/templates/csharp/echo/{{name}}.hbs/appsettings.Development.json | Removed (C# echo template dev settings). |
| packages/cli/configs/atk/** | Removed (ATK scaffolding shipped with the in-repo CLI). |
| examples/a2a/README.md | Adds Teams CLI guidance and .env variables for the sample. |
| examples/ai/README.md | Adds Teams CLI guidance for the sample. |
| examples/botbuilder/README.md | Adds Teams CLI guidance for the sample. |
| examples/cards/README.md | Replaces old CLI/ATK instructions with Teams CLI guidance. |
| examples/dialogs/README.md | Replaces old CLI/ATK instructions with Teams CLI guidance. |
| examples/echo/README.md | Adds Teams CLI guidance for the sample. |
| examples/graph/README.md | Replaces old CLI/ATK setup with Teams CLI guidance. |
| examples/http-adapters/README.md | Adds Teams CLI guidance for the sample. |
| examples/lights/README.md | Adds Teams CLI guidance for the sample. |
| examples/mcp-server/README.md | Adds Teams CLI guidance for the sample. |
| examples/mcpclient/README.md | Adds Teams CLI guidance for the sample. |
| examples/meetings/README.md | Adds Teams CLI guidance for the sample. |
| examples/message-extensions/README.md | Adds Teams CLI guidance for the sample. |
| examples/proactive-messaging/README.md | Adds Teams CLI guidance and updates env var naming to CLIENT_ID/CLIENT_SECRET/TENANT_ID. |
| examples/quoting/README.md | Adds Teams CLI guidance and includes TENANT_ID in .env instructions. |
| examples/reactions/README.md | Adds Teams CLI guidance for the sample. |
| examples/tab/README.md | Adds Teams CLI guidance for the sample. |
| examples/targeted-messages/README.md | Adds Teams CLI guidance and includes TENANT_ID in .env instructions. |
| examples/threading/README.md | Adds Teams CLI guidance and includes TENANT_ID in .env instructions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+96
to
97
| > Teams CLI (`@microsoft/teams.cli`) and follow the | ||
| > [Getting Started](https://microsoft.github.io/teams-sdk/typescript/getting-started) documentation! |
Comment on lines
+12
to
+16
| Use the official Teams CLI (`@microsoft/teams.cli`) to create and manage the Teams app for this sample: | ||
|
|
||
| ```bash | ||
| npm install -g @microsoft/teams.cli | ||
| teams --version |
Comment on lines
+18
to
+22
| Use the official Teams CLI (`@microsoft/teams.cli`) to create and manage the Teams app for this sample: | ||
|
|
||
| ```bash | ||
| npx @microsoft/teams.cli config add atk.basic | ||
| npm install -g @microsoft/teams.cli | ||
| teams --version |
Comment on lines
+7
to
+11
| Use the official Teams CLI (`@microsoft/teams.cli`) to create and manage the Teams app for this sample: | ||
|
|
||
| ```bash | ||
| npm install -g @microsoft/teams.cli | ||
| teams --version |
Comment on lines
+18
to
+22
| Use the official Teams CLI (`@microsoft/teams.cli`) to create and manage the Teams app for this sample: | ||
|
|
||
| ```bash | ||
| npx @microsoft/teams.cli config add atk.basic | ||
| npm install -g @microsoft/teams.cli | ||
| teams --version |
Comment on lines
+19
to
+23
| Use the official Teams CLI (`@microsoft/teams.cli`) to create and manage the Teams app for this sample: | ||
|
|
||
| ```bash | ||
| npm install -g @microsoft/teams.cli | ||
| teams --version |
Comment on lines
+19
to
+23
| Use the official Teams CLI (`@microsoft/teams.cli`) to create and manage the Teams app for this sample: | ||
|
|
||
| ```bash | ||
| npm install -g @microsoft/teams.cli | ||
| teams --version |
Comment on lines
+7
to
+11
| Use the official Teams CLI (`@microsoft/teams.cli`) to create and manage the Teams app for this sample: | ||
|
|
||
| ```bash | ||
| npm install -g @microsoft/teams.cli | ||
| teams --version |
Comment on lines
+29
to
+33
| Use the official Teams CLI (`@microsoft/teams.cli`) to create and manage the Teams app for this sample: | ||
|
|
||
| ```bash | ||
| npm install -g @microsoft/teams.cli | ||
| teams --version |
Comment on lines
+24
to
+28
| Use the official Teams CLI (`@microsoft/teams.cli`) to create and manage the Teams app for this sample: | ||
|
|
||
| ```bash | ||
| npm install -g @microsoft/teams.cli | ||
| teams --version |
| Then run via ATK. | ||
| The CLI writes `CLIENT_ID`, `CLIENT_SECRET`, and `TENANT_ID` to your `.env` file and prints an install link for Teams. | ||
|
|
||
| ## Teams Toolkit Configuration: Oauth |
corinagum
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@microsoft/teams.clipackage and templates. Bye bye duplicate CLI.@microsoft/teams.clipackage instead.Test plan
npm run build:essential