dvargas92495 / roamjs-scripts Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I'm trying to start learning how roam extensions are built but I am trying to keep the dev environment in docker containers. I have managed to build and launch the dev server for my test extension as per the instructions. However, because this is executed inside a docker container, and the host is hardcoded to 127.0.0.1
, I cannot connect to it from outside the container, even with the right port bindings in place.
For this scenario, I'd like to set the host to 0.0.0.0
as instructed here. Ideally without having to patch these dependencies.
Would you consider adding a new command-line option or even env var to allow overriding the webpack dev server host? or even even a flag to set it to 0.0.0.0
?
Thanks.
It's one of the requirements to be able to serve the "depot" extension from URL: https://roamresearch.com/#/app/developer-documentation/page/n8ECay0Wl
I am in the process of hacking the Google Calendar extension to support a custom formatter, and as part of my experimental work, I want to write some tests to limit the extent of the destruction I'd be causing ๐ฅ . This being my first exposure to TS, Jest, and the whole JS dev ecosystem (I come from a world of C++ and python) means I am getting stuck every two steps, but that is to be expected :)
Anyway, I have seen that this repo contains a test and it runs! ๐
but when I have tried to extract the minimal elements that will allow me to run a test on the Gcal extension I have not been successful (yet). This is the motivator for this request. It would be of great help if the init
command, together with the other files it generates, could also output a test file and the appropriate config that will make it run.
Some of my ideas around it:
init --no-test
I'm creating this issue to see if you like the idea. I'm happy to contribute the changes if you do. When I figure out how to get that dummy test to run, that is.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.