Open
Description
Steps
nest publish
- evaluate the config
- create a tarball with a uuid in the file name
- upload the tarball and config to twig
- twig does it's magic and uploads to arweave
- twig sends the arweave URLs and the config to the api
- db gets updated, module is published
nest publish --wallet <path>
- evaluate the config
- create a tarball
- upload the tarball to arweave and get the file URLs
- send the arweave URLs and the config to the api
- db is updated, module is published
CLI
nest publish [ version ] [ --git ] [ --pre <id> ] [ --deno <semver>] [ --wallet <path> ] [ --unlisted ]
ARGUMENTS
version semver tag or one of "major", "minor", "patch" (default: "patch")
OPTIONS
--git use the latest git tag as version (ignored if <version> is provided)
--pre <id> publish as a prerelease with optional identifier
--deno <semver> semver range for supported deno versions
--wallet <path> path to custom arweave wallet
--unlisted publish as an unlisted version
semver behavior
# say the current version is [email protected]
nest publish # [email protected]
nest publish 1.2.3 # [email protected]
nest publish patch # [email protected]
nest publish minor # [email protected]
nest publish major # [email protected]
nest publish --pre # [email protected]
nest publish 1.2.3 --pre # [email protected]
nest publish patch --pre # [email protected]
nest publish minor --pre # [email protected]
nest publish major --pre # [email protected]
nest publish --pre alpha # [email protected]
nest publish 1.2.3 --pre beta # [email protected]
nest publish patch --pre rc # [email protected]
nest publish minor --pre asdf # [email protected]
nest publish major --pre pre # [email protected]
Notes
- if no versions are published yet and user runs
nest publish
use the version0.1.0
(unstable) - when (and only) uploading to
twig
, include the.nest
directory in the tarball
ToDo
- create a tarball
- send the config and uuid to the api
- upload the tarball to arweave
- do the twig magic locally
Metadata
Metadata
Assignees
Labels
No labels