Add typespec-lib and typespec-emitter keywords to workspace packages#9872
Add typespec-lib and typespec-emitter keywords to workspace packages#9872
typespec-lib and typespec-emitter keywords to workspace packages#9872Conversation
…kage.json files Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
typespec:lib and typespec:emitter keywords to workspace packages
|
Adding this so we can have a search showing typespec packages on npm see #9876 |
|
All changed packages have been documented.
Show changes
|
@typespec/asset-emitter
@typespec/compiler
@typespec/emitter-framework
@typespec/events
@typespec/html-program-viewer
@typespec/http
@typespec/http-client
@typespec/http-client-csharp
@typespec/http-client-js
@typespec/http-client-python
@typespec/http-server-csharp
@typespec/http-server-js
@typespec/json-schema
@typespec/openapi
@typespec/openapi3
@typespec/protobuf
@typespec/rest
@typespec/spector
@typespec/sse
@typespec/streams
@typespec/versioning
@typespec/xml
commit: |
|
@copilot |
…c-emitter) Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
typespec:lib and typespec:emitter keywords to workspace packagestypespec-lib and typespec-emitter keywords to workspace packages
Adds discoverable keywords to workspace
package.jsonfiles so consumers and tooling can identify TypeSpec libraries and emitters via npm search/metadata.Detection logic
typespec-lib— package hastspMainpointing to a.tspfile, orexports[x].typespecresolves to a.tspfiletypespec-emitter— package exports a$onEmitfunction, or package name containsemitterChanges
typespec-lib+typespec-emitter):json-schema,openapi3,protobuf,http-client-csharptypespec-lib):compiler,events,http,http-client,openapi,rest,sse,spector,streams,versioning,xmltypespec-emitter):asset-emitter,emitter-framework,html-program-viewer,http-client-java,http-client-js,http-client-python,http-server-csharp,http-server-jsExisting keywords are preserved; new keywords are appended.
Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.