Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deps): bump prettier from 2.8.8 to 3.0.0 #1571

Merged
merged 3 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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