-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(submodule): Submodule for Boxcraft #15
Conversation
…odules Canvas fallback boxcraft submodules
Main backup
✅ Test Passed ✅Hi there @shrutivarade! It looks like the tests passed successfully. 😃 Please check the https://github.com/mpsych/boostlet/actions/runs/8789294768 for more details. If you want to access the screenshots taken for testing, you can do it through the developer's Claudinary management account, or through the workflow's artifacts. |
package.json
Outdated
"test": "node --experimental-modules ./tests/scripts/index.js" | ||
"test": "node --experimental-modules ./tests/scripts/index.js", | ||
"prebuild": "git submodule init && git submodule update", | ||
"build-boxcraft": "npx parcel build submodule/BoxCraft/src/index.js --dist-dir ./dist && cp submodule/BoxCraft/dist/boxcraft.min.js ./dist/boxcraft.min.js && cp submodule/BoxCraft/dist/boxcraft.min.js.map ./dist/boxcraft.min.js.map", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @shrutivarade, for the build command, specifically the build-boxcraft command, if a user runs it on a windows machine, the cp
command does not exist.
Thus, the build files wouldn't be copied to the boostlet's dist folder.
Thanks @shrutivarade ! |
In this PR the issue for boxcraft screen ratio is fixed.
It uses canvas fallback for 2D canvases
It uses Boxcraft submodule to draw Bounding box