New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@moonwalker/mrm-presets

Package Overview
Dependencies
Maintainers
9
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moonwalker/mrm-presets

Mrm preset for moonwalkers

  • 1.3.8
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
9
Weekly downloads
 
Created
Source

mrm presets for :moon: :walking:

Install

# Install mrm globally if need it
npm i -g mrm

# Install presets package
npm i -g @moonwalker/mrm-presets

Presets

react-component

Generate React component folder

mrm react-component --preset @moonwalker/mrm-presets --config:slug top-navigation --config:prefix components/signup

// Running react-component...
// Create src/components/signup/top-navigation/index.js
// Create src/components/signup/top-navigation/top-navigation.component.js
// Create src/components/signup/top-navigation/top-navigation.stories.js
// Create src/components/signup/top-navigation/top-navigation.styl

Run the generator in the current dirrectory:

cd src/components
mrm react-component --preset @moonwalker/mrm-presets --config:slug top-navigation --config:cwd . --config:prefix signup

// Running react-component...
// Create src/components/signup/top-navigation/index.js
// Create src/components/signup/top-navigation/top-navigation.component.js
// Create src/components/signup/top-navigation/top-navigation.stories.js
// Create src/components/signup/top-navigation/top-navigations.styl

release-it

Custom release flow based on release-it.

Usage:

yarn bump

or

npm run bump

How is working

When running bump command, release-it will do the following steps locally:

  1. set a new package version

The version can be manually set by choosing the custom version option.

  1. tag the commit
  2. push the code & tags
  3. create a Github release(GITHUB_TOKEN required)

CI will run the publish flow for tagged commits.

pre-flight-check

Add linting & formatting configs for @moonwalker/pre-flight-check

How is working

lint-staged is running Prettier and Eslint before commit. If there are eslint errors, the commit will stop.

To skip the check entirely, you can use git commit --no-verify.

Keywords

FAQs

Package last updated on 29 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc