1.2.9 • Published 4 years ago

create-noodle-app v1.2.9

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

create-noodle-app

A CLI tool to help me setup new projects using project templates.

The noodle-ness is unimportant. A random name generator gave me the NPM username noodles-please-me, so now everything on NPM is noodle themed.

Usage

  • npm install -g create-noodle-app
  • create-noodle-app

Background

Currently, every time I make a new node project, I have to go to one of the following two packages, and clone them manually:

I then have to replace every piece of boilerplate code in areas like:

  • package.json
  • README.md
  • the deployment scripts

This CLI tool will do these tasks for me, speeding up the spin-up time for creating a new Node project!

Most importantly this will also help me codify the lessons I've learned, allowing me to benefit from my learnings automatically in future projects.

Sources

This article provided a lot of boilerplate code:

A lot of the work I did in this project was cleaning the entire thing up, using proper patterns, and optimising the workflow.

You can find the article's source code here:

Notes

When creating a new template, you have to format certain files differently to how you might expect:

  • package.json files must be package.txt
    • This is because the npm build process will pick up on any package.json file in the tree, so this is a quick way to solve this problem.
  • .gitignore files must be gitignore.txt
    • Similar story to the above, but with git; git will pick up on any .gitignore file, so these need to be changed slightly to avoid this.
1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.22

5 years ago

1.0.23

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago