4.0.0-beta.17 • Published 2 months ago

@makerx/ts-toolkit v4.0.0-beta.17

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@makerx/ts-toolkit

A simple cli utility to assist in standardising several boilerplate files across our typescript repositories.

The files it concerns itself with are:

  • .editorconfig
  • .eslintignore
  • .eslintrc
  • .gitattributes
  • .gitignore
  • .prettierrc.js
  • .prettierignore
  • tsconfig.json

The cli will output a starter version of these files which can then be extended to suit an individual project's needs. Where possible these files extend a base configuration file in a separate package (eg @makerx/eslint-config or @makerx/prettier-config). These packages may evolve over time and the latest can be obtained via npm (eg. npm i -D @makerx/eslint-config@latest)

It is recommended you commit all pending changes before running the cli so that you can compare and / or reset changes

Usage

npx @makerx/ts-toolkit init --existing-file-behaviour <sample|overwrite|skip> --platform <node> --no-scripts

Options

Existing file behaviour (--existing-file-behaviour or -efb)

This option dictates how existing files are handled. The default value is sample

  • sample - If a file already exists, write an additional .sample file
  • overwrite - If a file already exists, overwrite it
  • skip - If a file already exists, skip it

Platform (--platform or -p)

Not used yet, but will be used to output platform specific files. The default value is node

No Scripts (--no-scripts or -ns)

If provided, cli will skip adding any scripts to your package.json

Sub-Packages

@makerx/eslint-config

A set of default eslint plugins and rules

@makerx/prettier-config

A default prettier configuration

@makerx/ts-config

A default tsconfig configuration

Contributing

Releasing

Releases are set up to push a new version of each package when the version number is changed. If you don't change the version number, that package will not be re-published

4.0.0-beta.17

2 months ago

4.0.0-beta.16

2 months ago

4.0.0-beta.15

3 months ago

4.0.0-beta.14

3 months ago

4.0.0-beta.13

3 months ago

4.0.0-beta.11

3 months ago

4.0.0-beta.10

3 months ago

4.0.0-beta.12

3 months ago

4.0.0-beta.9

3 months ago

4.0.0-beta.8

3 months ago

4.0.0-beta.7

3 months ago

4.0.0-beta.6

3 months ago

4.0.0-beta.5

3 months ago

4.0.0-beta.4

3 months ago

4.0.0-beta.3

3 months ago

4.0.0-beta.2

3 months ago

4.0.0-beta.1

3 months ago

3.1.0

2 years ago

3.0.0

2 years ago

2.0.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago