Skip to content

Commit

Permalink
feat(deps): bump prettier from 2.8.8 to 3.0.0 (#1571)
Browse files Browse the repository at this point in the history
* chore(deps): bump prettier from 2.8.8 to 3.0.0

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.0.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.8...3.0.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix prettier error

* fix: remove redundant `--ignore-path .gitignore` from `prettier`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and ybiquitous committed Jul 10, 2023
1 parent 4084325 commit 4fda9be
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const initCommand = (baseDir, logger) => {
scripts["test:coverage"] = "npm --ignore-scripts test -- --coverage";

const originalPackage = JSON.parse(
await readFile(new URL("../package.json", import.meta.url), "utf-8")
await readFile(new URL("../package.json", import.meta.url), "utf-8"),
);

for (const [key, script] of Object.entries(originalPackage.scripts)) {
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"remark-cli": "^11.0.0",
"standard-version": "^9.5.0",
"yargs": "^17.7.2"
Expand Down Expand Up @@ -72,7 +72,7 @@
"lint:types:watch": "npm run lint:types -- --watch",
"lint:commit": "commitlint --from HEAD~10",
"lint": "npm-run-all --print-label --silent --parallel lint:*",
"prettier": "prettier --cache --ignore-path .gitignore .",
"prettier": "prettier --cache .",
"lint:styles": "npm run prettier -- --check",
"lint:styles:fix": "npm run prettier -- --write",
"format": "npm-run-all --print-label --silent --parallel lint:*:fix",
Expand Down
4 changes: 2 additions & 2 deletions test/__snapshots__/init.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ exports[`update "package.json" 1`] = `
"prepare": "husky install",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run clean",
"pretest": "npm run lint",
"prettier": "prettier --cache --ignore-path .gitignore .",
"prettier": "prettier --cache .",
"release": "standard-version",
"release:dry-run": "standard-version --dry-run",
"test": "abc",
Expand Down Expand Up @@ -128,7 +128,7 @@ exports[`update "package.json" without fields 1`] = `
"prepare": "husky install",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run clean",
"pretest": "npm run lint",
"prettier": "prettier --cache --ignore-path .gitignore .",
"prettier": "prettier --cache .",
"release": "standard-version",
"release:dry-run": "standard-version --dry-run",
"test": "test",
Expand Down

0 comments on commit 4fda9be

Please sign in to comment.