Skip to content

Releases: xpresserjs/cli

Support Cron.ts files

03 Aug 07:20

Choose a tag to compare

Provide support for cron.ts files

xjs-cli@next

17 Jun 17:43

Choose a tag to compare

xjs-cli@next Pre-release
Pre-release

This version came with some minor changes thanks to @techieoriname for the shelljs removal suggestion.

npm install xjs-cli@next -g
# OR
yarn global add xjs-cli@next

Achievements

  • Faster cron jobs in production for typescript projects.
  • Show colors when running a job in development.
  • Better support for -p | --prod option.
    • --prod option will now run the job in production mode using the production settings in use-xjs-cli.json file.
  • New show command option -sc | --show-command option will print the command that will be executed to the console.
Screenshot 2023-06-17 at 6 34 03 PM

Changes

  1. Use Nodejs execSync in place of shell exec
  2. Remove ShellJs from dependencies
  3. Add show command option.
  4. Update default use-xjs-cli.json file for js and ts projects.
  5. Updated all packages to latest versions except chalk and inqurier which are now ESM only. We are still using CommonJS for now.

Note

This version will stay in the next tag for a while before it is released as stable.