Closed eladabramovich closed 6 months ago
Name | Link |
---|---|
Latest commit | 5ac3b5ae811c1c64f6e0bb2da4bdf9c62d568dac |
Latest deploy log | https://app.netlify.com/sites/dashing-meerkat-19c0fa/deploys/65b0328abdfd3e00085a7ea9 |
Deploy Preview | https://deploy-preview-25--dashing-meerkat-19c0fa.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Thanks! I'll run it today and check. Probably I need to check other demos to make sure they're still work.
@eladabramovich sorry for the conflicts.. i released the new docs. please rebase to fix the conflicts. 🙏
@davidmeirlevy, Done.
@eladabramovich main was updated with the build steps. rebase again, please. : 🙏
@davidmeirlevy Rebase is done
@eladabramovich in order to make it work, add this code to libs/sdk/package.json
:
"exports": {
".": "./dist/index.js",
"./*": "./dist/*/index.js"
},
Can you please explain your intention for "In order to make it work"? After rebasing I tested both demo apps and ran the test suite without any problem.
The demo app nest didn't work. It had problems with the guard location. After adding the exports - everything works great.
I created a fresh clone of my fork and was able to reproduce the situation you talked about, seems like something in my original clone made it pass without falling 😅 Anyway, I pushed the change you requested.
Whenever I have those issues, I run: npx npkill
It will change your life :)
Resolves #10, adding support for NestJs guard. Added a new nest guard as part of the SDK library as well as a NestJs demo app and documentation for using PriciSDK with NestJs and using the guard to help new users understand how the integration works.
Please note that to run the demo app server you will need to manually transpile the SDK folder from TS to JS.