mrm-preset-nearform

1.2.0 • Public • Published

NearForm MRM Preset

Continuous Integration NPM version

This a tasks preset for the mrm library, used to transform a repository into one of the following:

  1. GitHub Action project, by adding the following features:
    • an automatic GitHub release action
    • bundling on commit, set up with @vercel/ncc
    • tests with jest along with necessary linting changes and transpilation setup
  2. Fastify Plugin Fastify plugin
  3. Fastify Application it adds the following features:
    • tests with tap
    • it uses fastify-cli to run a non-standalone application
  4. Aws CDK aws cdk project
    • it uses aws-cdk-lib to define AWS resources using code.
    • tests with tap

Using this task

Simply run the following command in your project's root:

npx mrm $TASK_NAME --preset nearform --interactive

Where $TASK_NAME is one of the following:

  1. github-action.
  2. fastify-plugin
  3. fastify-app
  4. aws-cdk

If this is the first time you're using mrm you will be asked for permission to install it, and the interactive setup will begin.

Development

Assuming that the repository you're setting up is checked out next to this project, e.g.:

Users
  yourusername
    mrm-preset-nearform
    your-repository

and that your current working directory is:

/Users/yourusername/your-repository

the easiest way to test the local version of this task is to reference it directly from the file system:

npx mrm $TASK_NAME --preset ${PWD}/../mrm-preset-nearform --interactive

Readme

Keywords

none

Package Sidebar

Install

npm i mrm-preset-nearform

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

44.1 kB

Total Files

72

Last publish

Collaborators

  • lucalanziani
  • donal.moynihan
  • simoneb
  • eamonn.frisby