🚀 A starter for any TypeScript project meant to be published on NPM 🚀

`ts-ci` is a project starter like [TSDX](https://github.com/formium/tsdx) or [typescript-starter](https://github.com/bitjson/typescript-starter) but (arguably) better because: - It's not a CLI tool, the automation happens with Github Actions. Update your `package.json` version number, push. Voila, your new version is published on NPM. - It doesn't bundle your library into a single file so users can cherry-pick what they want to import from your lib. E.g: `import { aSpecificFunction } from "your-module/aSpecificFile`.

# How to use - Click on ![image](https://user-images.githubusercontent.com/6702424/127756563-ec5f2d07-d758-43f1-8fac-387847c0d064.png) - The repo name you will choose will be used as a module name for NPM. - Go to the repository ``Settings`` tab, then ``Secrets`` you will need to add a new secret: ``NPM_TOKEN``, you NPM authorization token. - To trigger publishing edit the ``package.json`` ``version`` field ( ``0.0.0``-> ``0.0.1`` for example) then push changes... that's all ! # Features This template automates the boring and tedious tasks of: - Filling up the ``package.json`` - Setting up Typescript. - Writing a [README.md](https://github.com/garronej/ts_ci/blob/main/README.template.md) with decent presentation and instructions on how to install/import your module. - Testing on multiple Node version running on Ubuntu and Windows before publishing. - Maintaining a CHANGELOG. - Publishing on NPM and creating corresponding GitHub releases. Besides, good stuff that comes with using this template: - The `dist/` directory is not tracked on the ``main`` branch. - Shorter specific file import path. ``import {...} from "my_module/theFile"`` instead of the usual ``import {...} from "my_module/dist/theFile"`` - CDN distribution for importing from an ``.html`` file with a ``