diff --git a/eng/tsp-core/scripts/upload-bundler-packages.js b/eng/tsp-core/scripts/upload-bundler-packages.js index 3570fccfa2..9a08e893c2 100644 --- a/eng/tsp-core/scripts/upload-bundler-packages.js +++ b/eng/tsp-core/scripts/upload-bundler-packages.js @@ -3,20 +3,12 @@ import { bundleAndUploadPackages, getPackageVersion, } from "../../../packages/bundle-uploader/dist/src/index.js"; +import { TypeSpecPlaygroundConfig } from "../../../packages/playground-website/src/index.js"; import { repoRoot } from "../../common/scripts/helpers.js"; await bundleAndUploadPackages({ repoRoot: repoRoot, indexName: "typespec", indexVersion: await getPackageVersion(repoRoot, "@typespec/compiler"), - packages: [ - "@typespec/compiler", - "@typespec/http", - "@typespec/rest", - "@typespec/openapi", - "@typespec/versioning", - "@typespec/openapi3", - "@typespec/json-schema", - "@typespec/protobuf", - ], + packages: [...TypeSpecPlaygroundConfig.libraries], });