Skip to content

Remove in-repo Teams CLI package#580

Open
heyitsaamir wants to merge 1 commit into
mainfrom
rm-old-cli
Open

Remove in-repo Teams CLI package#580
heyitsaamir wants to merge 1 commit into
mainfrom
rm-old-cli

Conversation

@heyitsaamir
Copy link
Copy Markdown
Collaborator

@heyitsaamir heyitsaamir commented May 15, 2026

Summary

  • Removed the old in-repo @microsoft/teams.cli package and templates. Bye bye duplicate CLI.
  • Updated sample READMEs to point folks at the official @microsoft/teams.cli package instead.
  • Cleaned the lockfile so it no longer tracks the local CLI workspace.

Test plan

  • npm run build:essential
  • Checked there are no old ATK setup references left in sample docs

Copilot AI review requested due to automatic review settings May 15, 2026 22:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/cli workspace (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_ID in .env guidance 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 thread README.md
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 thread examples/a2a/README.md
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 thread examples/ai/README.md
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 thread examples/cards/README.md
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 thread examples/tab/README.md
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
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 198 out of 212 changed files in this pull request and generated 1 comment.

Comment thread examples/graph/README.md
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants