JSPM

@mailmodo/cli

0.0.59
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1242
  • Score
    100M100P100Q121833F
  • License MIT

Email lifecycle automation for the AI-native builder generation.

Package Exports

  • @mailmodo/cli
  • @mailmodo/cli/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mailmodo/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

mailmodo-cli

Email lifecycle automation for the AI-native builder generation.

Prerequisites

  • Node.js v24.14.1

Setup

git clone https://github.com/Mailmodo/mailmodo-cli.git
cd mailmodo-cli
npm install

Development

Run in dev mode (without building)

node ./bin/run.js <command>

Example:

node ./bin/run.js signup

Build the project

npm run build

Run after build

./bin/run.js <command>

This registers the mailmodo binary on your system so you can use it from anywhere:

npm link

Then run commands directly:

mailmodo signup

To unlink:

npm unlink -g @mailmodo/cli

Commands

mailmodo signup

Sign up for Mailmodo. Prompts for an email address interactively.

mailmodo signup

mailmodo help [COMMAND]

Display help for any command.

mailmodo help
mailmodo help signup

Scripts

Script Description
npm run build Clean dist/ and compile TypeScript
npm run lint Run ESLint
npm test Run tests with Mocha

CI/CD & Release Automation

Beta releases (on PR)

Every time a pull request targeting main is opened or updated, a beta version is automatically published to npm. A comment is posted on the PR with install instructions:

npm install -g @mailmodo/cli@beta

This lets anyone on the team test the PR changes without checking out the branch locally.

Note: npm publishing requires the NPM_AUTH_TOKEN_WRITE secret to be configured in the repo settings. Until then, the publish step will be skipped but all other steps (build, version bump, release) still work.

Automatic versioning (on merge)

When a PR is merged into main, the version in package.json is bumped automatically, a GitHub Release is created, and the new version is published to npm.

The bump type is determined by a tag in the PR title:

PR title contains Bump type Example
[major] major 1.2.32.0.0
[minor] minor 1.2.31.3.0
[patch] patch 1.2.31.2.4
(nothing) patch 1.2.31.2.4

Examples of PR titles:

  • [minor] Add email validation → minor bump
  • [major] Rewrite auth flow → major bump
  • Fix typo in help text → patch bump (default)

License

MIT