5.0.7 • Published 3 years ago

yanps v5.0.7

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

yanps

yet another node project starter (for typescript projects)

this is opinionated af and frankly there really isn't a whole lot of room for customization

dude, why?

configuring things manually every time (and having to look them up) is annoying, so this tool just creates a new typescript project loaded with a linter/formatter/tester configuration that works perfectly with vscode autosave (code fixing for fixable errors in eslint and formatting)

you'll need to inform:

  • the name of the project (which will define to folder created in the current path)
  • whether you're using react or not (mainly for eslint config)
  • your packagame manager for dependency installation; it'll list whatever it finds in your path if you have anything other than npm installed

how do i run it?

using npx/pnpx is just the civilized, superior choice; you could also install it globally but why would you?

yarn create doesn't work for obvious reasons

// executing it directly
npx yanps // npm
pnpx yanps // pnpm

// being weird and installing it globally
npm i -g yanps // npm
pnpm i -g yanps // pnpm
yarn global add yanps // yarn

but really, what's special about this?

it uses Airbnb's excellent JavaScript guide and ESLint to try and catch/prevent errors during coding

it also uses Prettier to try and set you in the righteous path of code cleanliness, using a sane default

Jest is the tool used for testing, but you gotta setup actual tests and a test script in package.json yourself

for example, if you use 4 spaces instead of 2, like a good programmer, prettier will help you out and prevent you from pushing embarrassing code

in the end, eslint auto fix and prettier auto format will just work on save

i see a test fixture but it's... just a placeholder?

yes

that's it?

that's it

5.0.7

3 years ago

5.0.6

3 years ago

5.0.5

3 years ago

5.0.4

3 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

4.5.0

3 years ago

4.4.1

3 years ago

4.4.0

3 years ago

4.4.3

3 years ago

4.4.2

3 years ago

4.4.5

3 years ago

4.4.4

3 years ago

4.4.6

3 years ago

4.3.0

3 years ago

4.2.5

3 years ago

4.2.6

3 years ago

4.2.3

3 years ago

4.2.4

3 years ago

4.2.2

3 years ago

4.2.1

3 years ago

4.2.0

3 years ago

3.0.0

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

4.1.0

3 years ago

4.1.1

3 years ago

2.2.0

3 years ago

2.3.0

3 years ago

2.3.1

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.3

3 years ago

2.1.0

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.4

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

0.9.3

4 years ago

0.9.2

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago

0.8.3

4 years ago

0.8.1

4 years ago

0.8.2

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.6

4 years ago

0.6.4

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago