Skip to content

Commit

Permalink
Merge pull request #427 from AllyW/liftr-b
Browse files Browse the repository at this point in the history
adjust version and add extern tsp lib
  • Loading branch information
kairu-ms authored Nov 18, 2024
2 parents d7b5b31 + 3d1fef3 commit 941b3d0
Show file tree
Hide file tree
Showing 9 changed files with 9,125 additions and 4,432 deletions.
9 changes: 9 additions & 0 deletions eng/scripts/bundle_dists.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,17 @@ const packages = [
"@typespec/openapi3",
"@typespec/json-schema",
"@typespec/protobuf",
"@typespec/streams",
"@azure-tools/typespec-autorest",
"@azure-tools/typespec-azure-core",
"@azure-tools/typespec-client-generator-core",
"@azure-tools/typespec-azure-resource-manager",
];

const extern_packages = [
"../../node_modules/@azure-tools/typespec-liftr-base",
]

function removeDirRecursive(dirPath) {
if (existsSync(dirPath)) {
readdirSync(dirPath).forEach((file) => {
Expand Down Expand Up @@ -131,6 +136,10 @@ async function syncTypespecPackages() {
console.log(`Repo root: ${repoRoot}`);
const allProjects = await findWorkspacePackagesNoCheck(repoRoot);
const projects = allProjects.filter((x) => packages.includes(x.manifest.name));
for (const extern_source of extern_packages) {
const extern_projects = await findWorkspacePackagesNoCheck(resolve(repoRoot, extern_source));
projects.push(...extern_projects);
}
const typespec_aaz = await findWorkspacePackagesNoCheck(resolve(repoRoot, "../typespec-aaz"));
projects.push(...typespec_aaz);

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"devDependencies": {
"@pnpm/find-workspace-packages": "^6.0.9",
"@pnpm/logger": "^5.0.0",
"@azure-tools/typespec-liftr-base": "^0.4.0",
"rimraf": "~5.0.5"
},
"syncpack": {
Expand Down
Loading

0 comments on commit 941b3d0

Please sign in to comment.