Skip to content

Commit

Permalink
Merge branch 'main' into feature/413-performance-budget
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangardner authored Dec 20, 2024
2 parents c4c99ba + 1c9df5e commit 61ac0d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ To run tests in watch mode (except the `infra` tests, which use Jest):
pnpm vitest
```

If you start having unexplained build errors, the following commands are useful to clean up and start fresh.

```bash
pnpm clean:dist # removes previously built files recursively
pnpm clean:modules # removes node_module directories recursively

# ... run more commands like pnpm install and pnpm build after you have run these
```


To start developing with hot reloading, use:

```bash
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"scripts": {
"build": "turbo run build --filter=!@atj/infra-cdktf",
"clean": "turbo run clean",
"clean:modules": "find $(git rev-parse --show-toplevel) -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"clean:dist": "find $(git rev-parse --show-toplevel) -name 'dist' -type d -prune -exec rm -rf '{}' +",
"dev": "turbo run dev --concurrency 20",
"format": "prettier --write \"packages/*/src/**/*.{js,jsx,ts,tsx,scss,css}\"",
"lint": "turbo run lint",
Expand Down

0 comments on commit 61ac0d3

Please sign in to comment.