Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Latest commit

 

History

History
88 lines (71 loc) · 3.26 KB

CHANGELOG.md

File metadata and controls

88 lines (71 loc) · 3.26 KB

Changelog

More than a changelog this is more a steps that I did while set-up the project.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.10 - 2020-04-30

Change dotenv-safe to dotenv. Add modules.d.ts that declare what env variable are present in .env files.

0.0.9 - 2020-04-29

Add hotreload script using nodemon and ts-node(this runs ts file without transpile them, is faster).

0.0.8 - 2020-04-29

Add dotenv-safe.

0.0.7 - 2020-04-29

Add commitizen. Set up with husky using the official doc

0.0.6 - 2020-04-29

Add commit-lint. Set up with husky using this guide.

0.0.5 - 2020-04-29

Add lint-staged and husky to run eslint on pre-commit. NOTE: I just noticed that lint-staged has a shortcut to install almost all the tools I previously installed.

0.0.4 - 2020-04-29

Jest

install jest and his types, plus ts-jest.

yarn add -D jest @types/jest ts-jest

Add script "test":"jest" in package.json then

yarn test --init

in the generated jest.config.js file add

preset: 'ts-jest'

Add a dumb test to see if it's working.

0.0.3 - 2020-04-28

ESLint && Prettier

from here

0.0.2 - 2020-04-28

Typescript

after

yarn add -D typescript

and add "tsc":"tsc" script in package.json

yarn run tsc -- --init

and put some configuration inspired here

now running

yarn run tsc

transpile everything in src to dist directory.

node dist/index.js

and the server start

Typescript + Yarn Berry + VSCode = more setup

Refer to official docs