Skip to content

Commit

Permalink
chore: use @sanity/prettier-config (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Apr 26, 2024
1 parent cbe6980 commit 3b0f7b4
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/browserslist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Update Browserslist database

on:
schedule:
- cron: '0 2 1,15 * *'
- cron: "0 2 1,15 * *"
workflow_dispatch:

permissions:
Expand All @@ -28,7 +28,7 @@ jobs:
author: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
body: I ran `npx update-browserslist-db@latest` 🧑‍💻
branch: actions/update-browserslist-database-if-needed
commit-message: 'chore: update browserslist db'
commit-message: "chore: update browserslist db"
labels: 🤖 bot
title: 'chore: update browserslist db'
title: "chore: update browserslist db"
token: ${{ steps.generate-token.outputs.token }}
2 changes: 1 addition & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:
types: [closed]
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:

permissions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
author: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
body: I ran `npm run format` 🧑‍💻
branch: actions/prettier-if-needed
commit-message: 'chore(prettier): 🤖 ✨'
commit-message: "chore(prettier): 🤖 ✨"
labels: 🤖 bot
title: 'chore(prettier): 🤖 ✨'
title: "chore(prettier): 🤖 ✨"
token: ${{ steps.generate-token.outputs.token }}
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
with:
cache: npm
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
registry-url: "https://registry.npmjs.org"
- run: npm clean-install --ignore-scripts
if: ${{ steps.release.outputs.releases_created || github.event.inputs.publish == 'true' }}
- run: npm audit signatures
Expand Down
12 changes: 4 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,24 @@

## [1.0.3](https://github.com/sanity-io/browserslist-config/compare/v1.0.2...v1.0.3) (2024-02-21)


### Bug Fixes

* revert `and not iOS &lt; 13` ([646c04b](https://github.com/sanity-io/browserslist-config/commit/646c04bcc4dd0222b2d7a777a83047529c0e644a))
- revert `and not iOS &lt; 13` ([646c04b](https://github.com/sanity-io/browserslist-config/commit/646c04bcc4dd0222b2d7a777a83047529c0e644a))

## [1.0.2](https://github.com/sanity-io/browserslist-config/compare/v1.0.1...v1.0.2) (2024-02-20)


### Bug Fixes

* drop iOS older than v13 ([e7b3a71](https://github.com/sanity-io/browserslist-config/commit/e7b3a71f591ed654b5f79a426fa1e5e35df2f6d3))
- drop iOS older than v13 ([e7b3a71](https://github.com/sanity-io/browserslist-config/commit/e7b3a71f591ed654b5f79a426fa1e5e35df2f6d3))

## [1.0.1](https://github.com/sanity-io/browserslist-config/compare/v1.0.0...v1.0.1) (2024-02-07)


### Bug Fixes

* no longer less than 80% coverage in China regions ([4f3921a](https://github.com/sanity-io/browserslist-config/commit/4f3921ae2d8f52c9d54c1f1efb3dda5922a08904))
- no longer less than 80% coverage in China regions ([4f3921a](https://github.com/sanity-io/browserslist-config/commit/4f3921ae2d8f52c9d54c1f1efb3dda5922a08904))

## 1.0.0 (2024-01-25)


### Features

* initial release ([242bb5e](https://github.com/sanity-io/browserslist-config/commit/242bb5ee7bbe8d260dc49c7d34b0b1f0d2a1df18))
- initial release ([242bb5e](https://github.com/sanity-io/browserslist-config/commit/242bb5ee7bbe8d260dc49c7d34b0b1f0d2a1df18))
16 changes: 14 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 3 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,12 @@
"prettier": "prettier --ignore-path .gitignore",
"test": "node --test"
},
"prettier": {
"bracketSpacing": false,
"plugins": [
"prettier-plugin-packagejson"
],
"printWidth": 98,
"semi": false,
"singleQuote": true
},
"prettier": "@sanity/prettier-config",
"devDependencies": {
"@sanity/prettier-config": "^1.0.2",
"browserslist": "^4.23.0",
"browserslist-lint": "^0.3.3",
"prettier": "^3.2.5",
"prettier-plugin-packagejson": "^2.5.0"
"prettier": "^3.2.5"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 3b0f7b4

Please sign in to comment.