Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

mrm-preset-nearform

Package Overview
Dependencies
Maintainers
10
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mrm-preset-nearform

An mrm tasks preset for setting up a NearForm template repository

latest
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
0
-100%
Maintainers
10
Weekly downloads
 
Created
Source

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:

  • 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
  • Fastify Plugin Fastify plugin
  • Fastify Application it adds the following features:
    • tests with tap
    • it uses fastify-cli to run a non-standalone application
  • 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:

  • github-action.
  • fastify-plugin
  • fastify-app
  • 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

FAQs

Package last updated on 11 Mar 2022

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