Skip to content

Commit

Permalink
chore: remove & re"format" format tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 committed Jun 25, 2024
1 parent a7ed3c4 commit ad199aa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .ci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@ run-main:

reset:
docker ps -a --format '{{.Names}}' | grep -e '^act-' | xargs docker rm -f

format-check:
cd .. && pnpm run format-check-all
2 changes: 1 addition & 1 deletion .github/workflows/reusable-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
- name: Format check
run: cd .ci && make format-check
run: pnpm run format-check-all
2 changes: 1 addition & 1 deletion .run/Format all.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="format-all" />
<script value="format:all" />
</scripts>
<node-interpreter value="project" />
<envs />
Expand Down
2 changes: 1 addition & 1 deletion .run/Format check all.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="format-check-all" />
<script value="format:check:all" />
</scripts>
<node-interpreter value="project" />
<envs />
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:ssr": "ng build && ng run chrislb:server",
"prerender": "ng run chrislb:prerender --routes-file routes-file.txt",
"lint": "ng lint",
"format-check": "prettier --check",
"format-check-all": "pnpm run format-check -- .",
"format:check": "prettier --check",
"format:check:all": "pnpm run format-check -- .",
"format": "prettier --ignore-unknown --write",
"format-all": "pnpm run format -- .",
"format:all": "pnpm run format -- .",
"create-env-from-sample": "cp .env.sample .env",
"lint-staged": "lint-staged",
"git-hooks": "husky",
Expand Down

0 comments on commit ad199aa

Please sign in to comment.