Standard Tools
Predefined standards to use across all new project repositories
Lazy init
ℹ️ Make sure you have pnpm installed:npm i -g pnpm
Create your new project directory:
mkdir my-project
cd my-project
ℹ️ If you are going to use CDK, follow first these steps:cdk init --language typescript pnpm add -D esbuild
Initializes git and create package.json: (
git init
pnpm init
Then install the package as a dev dependency and execute it
pnpm add -D @goodgamestudios/standard-tools
npm explore @goodgamestudios/standard-tools -- INSTALL_ORIGIN=$(pwd) pnpm start
Tools
This repository configure the following dependencies You can see the implementation details here and an example of the final package json here
- .gitignore
- Prettier
- ESLint
- Typescript
- Renovate
- Jest
- CI
- prepare
- linting
- test
- build
- deploy
- synchronize
- Readme
- Commitlint
- Semantic release
- Lint Staged
- Hooks
- package.json
Notes
Renovate
ℹ️ You will need to manually add this new project to the renovate repository
In addition, make sure the member @stp-ci-bot is in the project (usually it's inherited from the project's group, otherwise you need manually to add it)