Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tinloof/remix-cli

Package Overview
Dependencies
Maintainers
4
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinloof/remix-cli

CLI for creating and updating Remix projects created by Tinloof.

  • 0.9.0
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

@tinloof/remix-cli

CLI for creating and updating Remix projects created by Tinloof.

Getting started

Start with npm install -g @tinloof/remix-cli@latest to have the CLI available globally.

💡 You should re-run the install command above whenever there's a new version of the CLI.

Then, you can run tinloof-remix from a terminal for a list of the available commands. Each action is self-documented & guided through prompts.

Architecture

We're using inquirer as the CLI library for prompting users for the input required for the different commands available.

In src/index.ts, we start by checking what is the user's target action and running the appropriate command. Currently, the CLI has the following commands:

  • new: duplicates the template folder into the user's target directory, injecting configuration values like the site's name and the Sanity project ID.
  • build: generates routing-related files. Should be ran before the front-end's build so Remix can access these routes properly.
  • dev: watches your project folder and (1) submits singletons to Sanity, (2) auto-generates routing-related files
  • createBlock: guides you through setting up a new block type in Sanity and the front-end
  • createDocument: similar to createBlock, but for documents

FAQs

Package last updated on 06 Jan 2023

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