Runs a development server from the tru.ID CLI
To install plugins you'll need the tru.ID CLI v0.8.0
or above.
npm install -g @tru_id/cli@canary
You can then install the plugin using:
$ tru plugins:install @tru_id/cli-plugin-dev-server
Runs a development server from the CLI
USAGE
$ tru server
OPTIONS
-h, --help show CLI help
-p, --port=port [default: 8080] The port the server should listen on
-s, --localtunnel-subdomain=localtunnel-subdomain The subdomain for the local tunnel
-t, --localtunnel Run a localtunnel to expose the server to the Internet
--project-dir=project-dir [default: .] The directory that contains the tru.json Project
configuration file
EXAMPLES
$ tru server
$ tru server -t -p 4000
See code: src/commands/server.ts
Ensure the CHANGELOG.md
is updated:
yarn run changelog
Finesse the contents of CHANGELOG.md
and commit.
Tag the version that is being released with the version of the package and, optionally, the tag to be used in NPM:
git tag v{version}@{tag}
Push the update to the remote.
git push v{version}@{tag}
To release version run:
yarn run publish:latest
To release a canary version only run:
yarn run publish:canary