Skip to content

Commit

Permalink
chore: Update jarvis-api dependency to version 0.0.2-alpha.7
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed May 30, 2024
1 parent 6c305fa commit dcecefc
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"@aws-sdk/client-s3": "^3.583.0",
"@supabase/supabase-js": "^2.43.4",
"jarvis-api": "0.0.2-alpha.6",
"jarvis-api": "0.0.2-alpha.7",
"sharp": "^0.33.4",
"zod": "^3.23.8"
}
Expand Down
9 changes: 8 additions & 1 deletion ci/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function checkPackagesValidity(extPaths: string[]) {
process.exit(1);
}

/* ----------------------- Check Demo Images Existence ---------------------- */
/* ------------------ Check Demo Images and files Existence ----------------- */
for (const extPath of extPaths) {
const pkg = parsePackageJson(join(extPath, "package.json"));
for (const imgPath of pkg.jarvis.demoImages) {
Expand All @@ -65,6 +65,13 @@ export function checkPackagesValidity(extPaths: string[]) {
process.exit(1);
}
}
for (const file of pkg.files) {
const fileFullPath = join(extPath, file);
if (!fs.existsSync) {
console.error(`File not found: ${fileFullPath} in ${extPath}`);
process.exit(1);
}
}
}

/* ------ make sure there is no tarball .tgz file in the each extension ----- */
Expand Down
5 changes: 4 additions & 1 deletion extensions/git-skyline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,8 @@
"typescript": "^5.2.2",
"vite": "^5.2.0",
"vue-tsc": "^2.0.6"
}
},
"files": [
"dist"
]
}
26 changes: 24 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dcecefc

Please sign in to comment.