1.35.0 • Published 7 months ago

newts v1.35.0

Weekly downloads
40
License
BSD-3-Clause
Repository
github
Last release
7 months ago

NEWTS

Tests

npm

literally: "new ts"

Bootstraps a TypeScript npm module project

Why?

Because I'm making enough of them that: 1. I see a pattern 2. I'm tired of manually repeating that pattern

Why not just a yeoman (or other) generator?

I wanted full control over the pipeline and newts doesn't just dump out some pre-formatted files -- it:

  • gives you some choices (eg licensing)
  • verifies that the new project name you chose is available at npmjs.com
  • actually runs npm install and git init (where appropriate)

Status

  • try npx newts --help for all options
  • easiest use: npx newts
    • will run interactive
  • specify some options and add --interactive,
    • eg npx newts --output /path/to/code --interactive
      • sets output and prompts for other config
  • also simple: npx newts --defaults
    • will ask for a project name
    • may ask for an output folder (if the current one is under git control)
    • will run with defaults:
      • initialize git
        • with relevant .gitignore
      • dev-packages
        • typescript
        • jest
        • faker
        • npm-run-all
        • tslint (for now, until eslint behaves as expected)
        • zarro (for build)
        • relevant @types packages
      • tsconfig.json
        • outputs to dist
        • includes types
      • tslint.json
      • license: BSD-3-Clause
      • skeleton README.md
      • package.json
        • scripts
          • build
          • release
          • release-beta
          • lint
        • author info (according to git)
        • set up files from dist folder
        • set version to 0.0.1

Show me!

interactive demo

TODO

  • create a target repo at GitHub on request
  • add a GitHub workflow to automatically test when you push
  • ??? make a request on the Issues Page
1.35.0

7 months ago

1.34.0

7 months ago

1.32.0

12 months ago

1.33.0

12 months ago

1.31.0

12 months ago

1.30.2

2 years ago

1.30.1

2 years ago

1.29.1

3 years ago

1.29.4

3 years ago

1.29.5

3 years ago

1.29.2

3 years ago

1.29.3

3 years ago

1.30.0

3 years ago

1.29.0

3 years ago

1.28.0

3 years ago

1.25.0

4 years ago

1.24.1

4 years ago

1.26.0

4 years ago

1.27.0

4 years ago

1.24.0

4 years ago

1.22.0

4 years ago

1.23.0

4 years ago

1.21.0

4 years ago

1.20.0

4 years ago

1.19.0

4 years ago

1.18.0

4 years ago

1.17.0

4 years ago

1.15.0

4 years ago

1.16.0

4 years ago

1.14.0

4 years ago

1.13.0

4 years ago

1.12.0

4 years ago

1.11.0

4 years ago

1.9.0

4 years ago

1.8.0

4 years ago

1.10.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.1.0

4 years ago

0.2.0

4 years ago

0.0.1

4 years ago