Skip to content

Conversation

@timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Jan 12, 2026

fix #9232
Refactor how our tsconfig are setup so it won't build the test files.

Goal

  • tsconfig.json -> not used for building, don't include/exclude files so just can be used by IDE for checking non project files(vitest.config.ts, etc.)
  • tsconfig.build.json -> actual config used for building

The change involve for most

  • rename tsconfig.json to tsconfig.build.json
  • rename tsconfig.config.json to tsconfig.json
  • change tsc -p . to tsp -p tsconfig.build.json

@github-actions
Copy link
Contributor

github-actions bot commented Jan 12, 2026

All changed packages have been documented.

  • @typespec/asset-emitter
  • @typespec/bundler
  • @typespec/compiler
  • @typespec/eslint-plugin
  • @typespec/events
  • @typespec/html-program-viewer
  • @typespec/http-canonicalization
  • @typespec/http-server-csharp
  • @typespec/http-server-js
  • @typespec/http
  • @typespec/internal-build-utils
  • @typespec/json-schema
  • @typespec/library-linter
  • @typespec/mutator-framework
  • @typespec/openapi
  • @typespec/openapi3
  • @typespec/playground
  • @typespec/protobuf
  • @typespec/rest
  • @typespec/sse
  • @typespec/streams
  • tmlanguage-generator
  • @typespec/tspd
  • typespec-vscode
  • @typespec/versioning
  • @typespec/xml
Show changes

@typespec/asset-emitter - internal ✏️

Stop building test files

@typespec/bundler - internal ✏️

Stop building test files

@typespec/compiler - internal ✏️

Stop building test files

@typespec/eslint-plugin - internal ✏️

Stop building test files

@typespec/events - internal ✏️

Stop building test files

@typespec/html-program-viewer - internal ✏️

Stop building test files

@typespec/http-canonicalization - internal ✏️

Stop building test files

@typespec/http-server-csharp - internal ✏️

Stop building test files

@typespec/http-server-js - internal ✏️

Stop building test files

@typespec/http - internal ✏️

Stop building test files

@typespec/internal-build-utils - internal ✏️

Stop building test files

@typespec/json-schema - internal ✏️

Stop building test files

@typespec/library-linter - internal ✏️

Stop building test files

@typespec/mutator-framework - internal ✏️

Stop building test files

@typespec/openapi - internal ✏️

Stop building test files

@typespec/openapi3 - internal ✏️

Stop building test files

@typespec/playground - internal ✏️

Stop building test files

@typespec/protobuf - internal ✏️

Stop building test files

@typespec/rest - internal ✏️

Stop building test files

@typespec/sse - internal ✏️

Stop building test files

@typespec/streams - internal ✏️

Stop building test files

tmlanguage-generator - internal ✏️

Stop building test files

@typespec/tspd - internal ✏️

Stop building test files

typespec-vscode - internal ✏️

Stop building test files

@typespec/versioning - internal ✏️

Stop building test files

@typespec/xml - internal ✏️

Stop building test files

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 12, 2026

Open in StackBlitz

@typespec/asset-emitter

npm i https://pkg.pr.new/microsoft/typespec/@typespec/asset-emitter@9333

@typespec/bundler

npm i https://pkg.pr.new/microsoft/typespec/@typespec/bundler@9333

@typespec/compiler

npm i https://pkg.pr.new/microsoft/typespec/@typespec/compiler@9333

@typespec/eslint-plugin

npm i https://pkg.pr.new/microsoft/typespec/@typespec/eslint-plugin@9333

@typespec/events

npm i https://pkg.pr.new/microsoft/typespec/@typespec/events@9333

@typespec/html-program-viewer

npm i https://pkg.pr.new/microsoft/typespec/@typespec/html-program-viewer@9333

@typespec/http

npm i https://pkg.pr.new/microsoft/typespec/@typespec/http@9333

@typespec/http-canonicalization

npm i https://pkg.pr.new/microsoft/typespec/@typespec/http-canonicalization@9333

@typespec/http-server-csharp

npm i https://pkg.pr.new/microsoft/typespec/@typespec/http-server-csharp@9333

@typespec/http-server-js

npm i https://pkg.pr.new/microsoft/typespec/@typespec/http-server-js@9333

@typespec/internal-build-utils

npm i https://pkg.pr.new/microsoft/typespec/@typespec/internal-build-utils@9333

@typespec/json-schema

npm i https://pkg.pr.new/microsoft/typespec/@typespec/json-schema@9333

@typespec/library-linter

npm i https://pkg.pr.new/microsoft/typespec/@typespec/library-linter@9333

@typespec/mutator-framework

npm i https://pkg.pr.new/microsoft/typespec/@typespec/mutator-framework@9333

@typespec/openapi

npm i https://pkg.pr.new/microsoft/typespec/@typespec/openapi@9333

@typespec/openapi3

npm i https://pkg.pr.new/microsoft/typespec/@typespec/openapi3@9333

@typespec/playground

npm i https://pkg.pr.new/microsoft/typespec/@typespec/playground@9333

@typespec/protobuf

npm i https://pkg.pr.new/microsoft/typespec/@typespec/protobuf@9333

@typespec/rest

npm i https://pkg.pr.new/microsoft/typespec/@typespec/rest@9333

@typespec/sse

npm i https://pkg.pr.new/microsoft/typespec/@typespec/sse@9333

@typespec/streams

npm i https://pkg.pr.new/microsoft/typespec/@typespec/streams@9333

tmlanguage-generator

npm i https://pkg.pr.new/microsoft/typespec/tmlanguage-generator@9333

@typespec/tspd

npm i https://pkg.pr.new/microsoft/typespec/@typespec/tspd@9333

typespec-vs

npm i https://pkg.pr.new/microsoft/typespec/typespec-vs@9333

typespec-vscode

npm i https://pkg.pr.new/microsoft/typespec/typespec-vscode@9333

@typespec/versioning

npm i https://pkg.pr.new/microsoft/typespec/@typespec/versioning@9333

@typespec/xml

npm i https://pkg.pr.new/microsoft/typespec/@typespec/xml@9333

commit: c89c2e6

@azure-sdk
Copy link
Collaborator

azure-sdk commented Jan 12, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:core Issues for @typespec/compiler emitter:json-schema emitter:openapi3 Issues for @typespec/openapi3 emitter emitter:protobuf The protobuf emitter ide Issues for VS, VSCode, Monaco, etc. lib:http lib:openapi lib:rest lib:versioning tspd Issues for the tspd tool ui:playground ui:type-graph-viewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some package like @typespec/rest include test file in published output

3 participants