0.8.1 ā€¢ Published 1 year ago

@tinloof/remix-cli v0.8.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
1 year ago

@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
0.8.1

1 year ago

0.8.0

1 year ago

0.7.4

1 year ago

0.7.3

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.6.9

1 year ago

0.6.8

1 year ago

0.6.7

1 year ago

0.6.6

1 year ago

0.6.5

1 year ago

0.6.4

1 year ago

0.6.3

1 year ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago