renovate-bot bcf2cb830a
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): update yarn to v4.1.0 (#33)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [yarn](https://github.com/yarnpkg/berry) ([source](https://github.com/yarnpkg/berry/tree/HEAD/packages/yarnpkg-cli)) | packageManager | minor | [`4.0.2` -> `4.1.0`](https://renovatebot.com/diffs/npm/yarn/4.0.2/4.1.0) |

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTcuMyIsInVwZGF0ZWRJblZlciI6IjM3LjE2Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Reviewed-on: #33
Co-authored-by: renovate-bot <renovate-bot@dubas.dev>
Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
2024-02-29 20:23:20 +00:00

32 lines
707 B
Makefile

.DEFAULT_GOAL := help
.PHONY: asdf_install
asdf_install:
@asdf_install
.PHONY: yarn_setup
yarn_setup:
@yarn set version 4.1.0
@yarn init -2
@yarn add typescript jest @types/jest ts-node ts-jest
.PHONY: typescript_init
typescript_init:
@yarn run tsc --init
@yarn run ts-jest config:init
.PHONY: setup
setup: asdf_install yarn_setup typescript_init ## initial setup to start the project
.PHONY: install
install: ## install project dependencies
@yarn install
.PHONY: test
test: ## execute tests
@yarn run jest
.PHONY: help
help: ## show this help message
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'