Skip to content

Commit

Permalink
(chore) Fix Prettier glob patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Apr 6, 2024
1 parent 3ce509b commit 37c9eda
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
minimum-change-threshold: 10000 # 10 KB
build-script: "turbo run build --color"
build-script: "turbo build --color"
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: yarn run verify

- name: Run build
run: yarn turbo run build --color --concurrency=5
run: yarn turbo build --color --concurrency=5

pre_release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
run: yarn workspaces foreach --worktree --topological --exclude @openmrs/esm-core version "$(node -e "console.log(require('semver').inc(require('./package.json').version, 'patch'))")-pre.${{ github.run_number }}"

- name: Build
run: yarn turbo run build --color --concurrency=5
run: yarn turbo build --color --concurrency=5

- run: git config user.email "info@openmrs.org" && git config user.name "OpenMRS CI"
- run: git add . && git commit -m "Prerelease version" --no-verify
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
run: yarn install --immutable

- name: Build
run: yarn turbo run build --color --concurrency=5
run: yarn turbo build --color --concurrency=5

- name: Publish
run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn run ci:publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
run: yarn playwright install chromium --with-deps

- name: Build apps
run: yarn turbo run build --color --concurrency=5
run: yarn turbo build --color --concurrency=5

- name: Run dev server
run: bash e2e/support/github/run-e2e-docker-env.sh
Expand Down
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"ci:publish-next": "yarn workspaces foreach --all --topological --exclude @openmrs/esm-core npm publish --access public --tag next",
"ci:publish": "yarn workspaces foreach --all --topological --exclude @openmrs/esm-core npm publish --access public --tag latest",
"release": "yarn workspaces foreach --all --topological version",
"build": "turbo run build",
"build:apps": "turbo run build --filter='@openmrs/*-app'",
"setup": "yarn install && turbo run build",
"build": "turbo build",
"build:apps": "turbo build --filter='@openmrs/*-app'",
"setup": "yarn install && turbo build",
"start": "openmrs develop",
"verify": "turbo run lint && turbo run test && turbo run typescript",
"verify": "turbo lint test typescript",
"postinstall": "husky install",
"test": "cross-env TZ=UTC jest --config jest.config.json --verbose false --passWithNoTests",
"test-watch": "cross-env TZ=UTC jest --watch --config jest.config.json",
Expand Down Expand Up @@ -68,10 +68,8 @@
"webpack": "^5.88.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix",
"prettier --cache --write --ignore-unknown --list-different"
]
"*.{ts,tsx}": "eslint --cache --fix --max-warnings 0",
"*.{css,scss,ts,tsx}": "prettier --write --list-different"
},
"resolutions": {
"minipass": "3.3.5"
Expand Down

0 comments on commit 37c9eda

Please # to comment.