Socket
Book a DemoInstallSign in
Socket

@e18e/setup-publish

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@e18e/setup-publish

A CLI to help with building publish workflows.

latest
Source
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

@e18e/setup-publish

A tiny CLI to assist with setting up GitHub workflows for publishing packages to npm.

Install

$ npm install -g @e18e/setup-publish

Usage

$ setup-publish

Options

By default, the CLI runs in interactive mode, prompting you for configuration options. You can also provide options directly via the command line with --no-interactive to skip the prompts entirely.

OptionDescriptionDefaultValues
--output <path>Output path for the generated workflow file.github/workflows/publish.ymlAny valid file path
--template <name>Template to use for workflow generationdefault
  • default - Manual GitHub release management
  • changelogithub - Automated changelog with changelogithub
  • changesets - Automated releases with changesets
--env <env>GitHub environment for deployment protectionnoneAny environment name
--interactiveRun CLI in interactive modetrueboolean

Examples

# Interactive mode (default)
setup-publish

# Generate workflow with changesets template (non-interactive)
setup-publish --no-interactive --template changesets

# Custom output path with GitHub environment (non-interactive)
setup-publish --no-interactive --output .github/workflows/release.yml --env production

# Use changelogithub template with custom environment
setup-publish --no-interactive --template changelogithub --env staging

License

MIT

Keywords

publish

FAQs

Package last updated on 22 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts