Coder Social home page Coder Social logo

aksenov-timofey-otus's Introduction

Курс OTUS JavaScript Developer. Professional

Студент: Аксенов Тимофей (@taksenov)

Используется npm, ts-node

Команды запуска:

npm i
npx ts-node ./src/**/*.ts

Разработка

Commits

  • Разработка: для унификации текста коммитов взяты теги из библиотеки commitizen
feat:         A new feature
fix:          A bug fix
docs:         Documentation only changes
style:        Changes that do not affect the meaning of the code
              (white-space, formatting, missing semi-colons, etc)
prettier:     ---//---
code-style:   ---//---
refactor:     A code change that neither fixes a bug or adds a feature
perf:         A code change that improves performance
test:         Adding tests, update tests, etc
chore:        Changes to the build process or auxiliary tools and libs
db:           Actions with Mongo DataBase
  • В будущем можно попробовать автоматизировать чейндж логи и версионирование через данную библиотеку.
  • В процессе разработки можно дополнять теги коммитов.

Pre-commit hook with Husky

В репозиторий добавлен Pre-commit hook, при выполнении команды:

git commit -m 'Some commit info'

Произойдет следующее: husky заглянет внутрь файла: ./huskyrc.js и выполнит из него команды:

npm run test
npm run lint

Возможны ситуации когда нужно быстро закинуть что-то в коммит или через коммит нужно отправить функциональность не требующую проверок тест-раннером и линтером, тогда можно использовать команду игнорирующую запуск пре-коммит хука:

git commit -n -m 'Some commit info'

aksenov-timofey-otus's People

Contributors

taksenov avatar

Stargazers

 avatar

Watchers

 avatar  avatar

aksenov-timofey-otus's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.