mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-31 00:22:35 +00:00
chore(msteams): drop unused @microsoft/teams.api direct dep
CI's deadcode:dependencies (knip) flagged @microsoft/teams.api as
unused in extensions/msteams. The plugin source uses structural type
aliases (MSTeamsActivityParams, MSTeamsActivityLike, etc.) to dodge
tsgo resolution bugs with teams.api's hashed d.ts files, so it never
imports teams.api directly. The package is brought in transitively
via @microsoft/teams.apps; the only other reference is
probe.test.ts's vi.mock("@microsoft/teams.api"), which works on the
import-path string and doesn't require a direct dep declaration.
Lockfile regenerates accordingly. tsgo:extensions, knip, and all
865 msteams tests pass.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@azure/identity": "4.13.1",
|
||||
"@microsoft/teams.api": "2.0.10",
|
||||
"@microsoft/teams.apps": "2.0.10",
|
||||
"express": "5.2.1",
|
||||
"typebox": "1.1.37"
|
||||
|
||||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@@ -1041,9 +1041,6 @@ importers:
|
||||
'@azure/identity':
|
||||
specifier: 4.13.1
|
||||
version: 4.13.1
|
||||
'@microsoft/teams.api':
|
||||
specifier: 2.0.10
|
||||
version: 2.0.10
|
||||
'@microsoft/teams.apps':
|
||||
specifier: 2.0.10
|
||||
version: 2.0.10
|
||||
|
||||
Reference in New Issue
Block a user