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(init): rename prettier scripts #1141

Merged
merged 1 commit into from
Dec 14, 2021
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
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@
"lint:md:fix": "remark . --output",
"lint:types": "tsc --noEmit",
"lint:types:watch": "npm run lint:types -- --watch",
"lint": "npm-run-all --print-label --parallel lint:* prettier:check",
"lint": "npm-run-all --print-label --parallel lint:*",
"prettier": "prettier --ignore-path .gitignore .",
"prettier:check": "npm run prettier -- --check",
"prettier:write": "npm run prettier -- --write",
"format": "npm-run-all --print-label --parallel lint:*:fix prettier:write",
"lint:styles": "npm run prettier -- --check",
"lint:styles:fix": "npm run prettier -- --write",
"format": "npm-run-all --print-label --parallel lint:*:fix",
"clean": "git clean -dx --force --exclude=node_modules --exclude=.husky",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run lint && npm run clean",
"release": "standard-version",
Expand Down
16 changes: 8 additions & 8 deletions test/__snapshots__/init.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ Object {
},
"scripts": Object {
"clean": "git clean -dx --force --exclude=node_modules --exclude=.husky",
"format": "npm-run-all --print-label --parallel lint:*:fix prettier:write",
"lint": "npm-run-all --print-label --parallel lint:* prettier:check",
"format": "npm-run-all --print-label --parallel lint:*:fix",
"lint": "npm-run-all --print-label --parallel lint:*",
"lint:js": "eslint --cache --ext=js,jsx,cjs,mjs,ts,tsx .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md": "remark . --frail",
"lint:md:fix": "remark . --output",
"lint:styles": "npm run prettier -- --check",
"lint:styles:fix": "npm run prettier -- --write",
"lint:types": "tsc --noEmit",
"lint:types:watch": "npm run lint:types -- --watch",
"prepare": "husky install",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run lint && npm run clean",
"prettier": "prettier --ignore-path .gitignore .",
"prettier:check": "npm run prettier -- --check",
"prettier:write": "npm run prettier -- --write",
"release": "standard-version",
"release:dry-run": "standard-version --dry-run",
"test": "abc",
Expand Down Expand Up @@ -105,19 +105,19 @@ Object {
},
"scripts": Object {
"clean": "git clean -dx --force --exclude=node_modules --exclude=.husky",
"format": "npm-run-all --print-label --parallel lint:*:fix prettier:write",
"lint": "npm-run-all --print-label --parallel lint:* prettier:check",
"format": "npm-run-all --print-label --parallel lint:*:fix",
"lint": "npm-run-all --print-label --parallel lint:*",
"lint:js": "eslint --cache --ext=js,jsx,cjs,mjs,ts,tsx .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md": "remark . --frail",
"lint:md:fix": "remark . --output",
"lint:styles": "npm run prettier -- --check",
"lint:styles:fix": "npm run prettier -- --write",
"lint:types": "tsc --noEmit",
"lint:types:watch": "npm run lint:types -- --watch",
"prepare": "husky install",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run lint && npm run clean",
"prettier": "prettier --ignore-path .gitignore .",
"prettier:check": "npm run prettier -- --check",
"prettier:write": "npm run prettier -- --write",
"release": "standard-version",
"release:dry-run": "standard-version --dry-run",
"test": "test",
Expand Down