Chris Paliqaw
WWasp-lang
•Created by Chris Paliqaw on 9/25/2023 in #đŸ™‹questions
Testing NPM Packages Locally
In tandem with my Wasp app, I'm developing a library of 3D components for visualizing robots. Also, I need to test my own fixes to the Viam robotics framework TypeScript API. What is the best way to test local npm packages using Wasp? BTW, here is the excellent Medium article I found on the subject, but uses the npm CLI: https://medium.com/@oresoftware/node-js-how-to-test-your-new-npm-module-without-publishing-it-every-5-minutes-3b6f8e0491dd
6 replies
WWasp-lang
•Created by Chris Paliqaw on 9/21/2023 in #đŸ™‹questions
TypeScript checking by "wasp deploy fly deploy"?
This is a similar topic to my question "Deployment failure on fly.io", but I wanted to have a separate thread so the issue is more easily searchable in the future. Is the script "validate-env.mjs" somehow attempting to validate the TypeScript of external libraries? I'm not sure if this is intentional or not. I would ask that this be turned off, and leave the validation of their own TypeScript to the external libraries. In my specific case, the TypeScript in the Viam library may actually be ok, but perhaps the convoluted boolean expression confused the TypeScript checker.
7 replies
WWasp-lang
•Created by Chris Paliqaw on 9/19/2023 in #đŸ™‹questions
Deployment failure on fly.io
I was able to deploy yesterday using:
wasp deploy fly setup viamviz bos
wasp deploy fly create-db bos
wasp deploy fly deploy
27 replies
WWasp-lang
•Created by Chris Paliqaw on 9/16/2023 in #đŸ™‹questions
RBAC how-to?
In robotics, it's common to have monitor, operator and admin roles. Is there a good how-to on how to set this up?
7 replies
WWasp-lang
•Created by Chris Paliqaw on 9/15/2023 in #đŸ™‹questions
Non-cloud deployment?
How difficult is it to deploy Wasp apps on an air-gapped network? Basically, some sort of bare metal deployment on a local server. This probably won't be an immediate issue since right now I'm targeting the Viam robotics framework, whose main selling point is its cloud story, but it was a common client request at my previous company, which used the Robotics Operating System (ROS). It's one of those issues that I might be able to ignore for a long time, but then would suddenly be a major pain point in the future.
4 replies