Skip to content

Commit

Permalink
feat(init): add clean and update prerelease (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored Sep 27, 2020
1 parent d56310c commit 286a622
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
"prettier:check": "npm run prettier -- --check",
"prettier:write": "npm run prettier -- --write",
"format": "npm-run-all --print-label --parallel lint:*:fix prettier:write",
"prerelease": "git switch main && git pull && npm ci && npm test",
"clean": "git clean -dx --force --exclude=node_modules",
"prerelease": "git switch main && git pull && npm ci && npm run clean && npm test && npm run lint && npm run clean",
"release": "standard-version",
"release:dry-run": "standard-version --dry-run"
},
Expand Down
6 changes: 4 additions & 2 deletions test/__snapshots__/init.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ Object {
],
},
"scripts": Object {
"clean": "git clean -dx --force --exclude=node_modules",
"format": "npm-run-all --print-label --parallel lint:*:fix prettier:write",
"lint": "npm-run-all --print-label --parallel lint:* prettier:check",
"lint:js": "eslint .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md": "remark . --frail",
"lint:md:fix": "remark . --output",
"lint:types": "tsc --noEmit",
"prerelease": "git switch main && git pull && npm ci && npm test",
"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",
Expand Down Expand Up @@ -123,14 +124,15 @@ Object {
],
},
"scripts": Object {
"clean": "git clean -dx --force --exclude=node_modules",
"format": "npm-run-all --print-label --parallel lint:*:fix prettier:write",
"lint": "npm-run-all --print-label --parallel lint:* prettier:check",
"lint:js": "eslint .",
"lint:js:fix": "npm run lint:js -- --fix",
"lint:md": "remark . --frail",
"lint:md:fix": "remark . --output",
"lint:types": "tsc --noEmit",
"prerelease": "git switch main && git pull && npm ci && npm test",
"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",
Expand Down

0 comments on commit 286a622

Please sign in to comment.