1.0.20 • Published 3 years ago

autoplate v1.0.20

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

autoplate - LIVE PREVIEW

autoplate is a CLI tool to generate an opinionated file structure for common and screen based components. To begin with, this package will support react and react-testing-library to generate boilerplate for a file and corresponding test.

This package is a work in progress.

Development

As of now, you will need to manually add to path or run npm link in the src folder.

Roadmap

1.1.0

  • Autoinstall into path

1.2.0

  • Custom folder structures in the autocomponent.json
  • Custom boiler plates able to be set by file extension in the autocomponent.json

Get Started

Run npm install -g autoplate

In the root of your project folder, run ap init. By default it will assume you have a src folder. If this is not the case, then alter the root in the autocomponents.json.

To make a component run ap <name> <type> <size>. For example:

ap Button common atoms to create a Button in the common atoms.

ap HeroBlock product molecules to create a HeroBlock in a Product screen as a molecule.

The type can be either common or the name of a screen subfolder. If the screen subfolder doesn't exist, it will attempt to make it.

1.0.20

3 years ago

1.0.19

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago