0.0.8 • Published 3 years ago

@tru_id/cli-plugin-dev-server v0.0.8

Weekly downloads
40
License
MIT
Repository
github
Last release
3 years ago

@tru_id/cli-plugin-dev-server

Runs a development server from the tru.ID CLI

oclif Version Downloads/week License

Installation

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

Commands

tru 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

Releasing

CHANGELOG

Ensure the CHANGELOG.md is updated:

yarn run changelog

Finesse the contents of CHANGELOG.md and commit.

Tag

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}

Publish to NPM

To release version run:

yarn run publish:latest

To release a canary version only run:

yarn run publish:canary

License

MIT

0.0.8

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago