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:
First time:
yarn set version https://raw.githubusercontent.com/atls/raijin/master/yarn/cli/dist/yarn.mjs
- installs our latest custom yarn bundle in the project scope.
Upgrade already installed bundle:
yarn set version atls
- updates bundle to latest version and updates@atls/code-runtime
dependency to latest
Besides standard yarn
scripts we developed our custom ones for ease of work:
yarn check
- executestypecheck
,lint
,format
. Executes automatically on commits viahusky
. Execute before createing Pull Requestyarn files changed list
- print out list of changed filesyarn commit ...
- work with git commitsmessage
- create commit messagestaged
- move commit to stage
yarn typecheck
- executes type checkyarn lint
- executes ESLint
yarn format
- reformats whole project based on ourprettier
config
yarn generate project
- generate project schematicsyarn badges generate
- generates badges in root README.md based on version in root package.json
yarn 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 buildpacks
yarn test ...
- run testsintegration
- integration tests. Runs tests inintegration
foldersunit
- runs all tests besides ones inintegration
foldersname of file/test suite
- runs only tests matching pattern
Options:
--watch
- run tests and rerun upon changes in linked files--watchAll
- run tests in any changes in repo
yarn 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