awslabs / project-lakechain

:zap: Cloud-native, AI-powered, document processing pipelines on AWS.
https://awslabs.github.io/project-lakechain/
Apache License 2.0
79 stars 16 forks source link

fix: include condition mod for pdf-vision-pipeline build #42

Closed steffeng closed 6 days ago

steffeng commented 6 days ago

Issue #, if available:

Description of changes:

Added @project-lakechain/condition to package deps as otherwise the npm run build-pkg fails:

   ✖  pdf-vision-pipeline:build
      > pdf-vision-pipeline@0.7.0 build
      > npx tsc

      stack.ts(28,39): error TS2307: Cannot find module '@project-lakechain/condition' or its corresponding type declarations.
      npm ERR! Lifecycle script `build` failed with error: 
      npm ERR! Error: command failed 
      npm ERR!   in workspace: pdf-vision-pipeline@0.7.0 
      npm ERR!   at location: /<redacted>/project-lakechain/examples/simple-pipelines/pdf-vision-pipeline 

Checklist

* [ ] Update tests * [ ] Update docs * [ ] PR title follows [conventional commit semantics](https://www.conventionalcommits.org/en/v1.0.0/) (`fix: `, `feat: `, `docs: `, ...) By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
HQarroum commented 6 days ago

Thanks you so much @steffeng ! Merging.