Monorepo with a set of tools and utilities, developed by our team, to ease our day-to-day work on projects.
Tools are designed to be used in projects with Javascript and Typescript and are designed to increase developer performance as well as unify development experience.
IMPORTANT: we use our custom yarn bundle
To start using it:
yarn set version https://raw.githubusercontent.com/atls/tools/master/yarn/cli/bundles/yarn.js
- installs our latest custom yarn bundle in the project scope.yarn
Besides standard yarn
scripts we developed our custom ones for ease of work:
yarn check
- executes typecheck
, lint
, format
. Executes automatically on commits via husky
. Execute before createing Pull Requestyarn files changed list
- print out list of changed filesyarn commit ...
- work with git commits
message
- create commit messagestaged
- move commit to stageyarn typecheck
- executes type checkyarn lint
- executes ESLintyarn format
- reformats whole project based on our prettier
configyarn generate project
- generate project schematicsyarn badges generate
- generates badges in root README.md based on version in root package.jsonyarn service build
- build as service bundleyarn service dev
- run service in dev modeyarn library build
- build as libraryyarn image pack
- build as docker image via buildpacksyarn test ...
- run tests
integration
- integration tests. Runs tests in integration
foldersunit
- runs all tests besides ones in integration
foldersname of file/test suite
- runs only tests matching patternOptions:
--watch
- run tests and rerun upon changes in linked files--watchAll
- run tests in any changes in repoyarn workspaces changed foreach image pack --publish --tag-policy hash-timestamp --registry some
- build services with local changesyarn workspaces foreach image pack --publish --tag-policy hash-timestamp --registry some
- build all services