For developing run
yarn dev
This will compile and run the file compiled file ./dist/run.js
yarn schema:reset
The above command creates the base schema from uranio-schema
and save it in
./uranio/generate/base/schema.d.ts
.
yarn generate:schema
The above command generates the schema for the current repo uranio-trx
and save
it in .uranio/generate/types/schema.d.ts
.
yarn types:reset
The above command creates the base types for the current repo uranio-trx
and save it in
./uranio/generate/base/uranio.d.ts
.
yarn generate:hooks
The above command generate the hooks file and save it in ./.uranio/generate/
.
yarn generate:types
The above command generate the full types of the current repo with the Hooks types
in ./.uranio/generate/types/
.
yarn dev:generate
The above command create a development server that compile and run the generate
script and save all the files in the ./generate/
folder.
https://letsencrypt.org/docs/certificates-for-localhost/
openssl req -x509 -out localhost.crt -keyout localhost.key \
-newkey rsa:2048 -nodes -sha256 \
-subj '/CN=localhost' -extensions EXT -config <( \
printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")