Skip to content

Commit 7b5c44d

Browse files
committed
feat: support .github remove
1 parent 0f3706b commit 7b5c44d

File tree

3 files changed

+1225
-148
lines changed

3 files changed

+1225
-148
lines changed

lib/scripts/create-textlint-rule.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ module.exports = function(projectName, options = {}) {
4242
const gitDir = path.join(ruleDir, ".git");
4343
rimraf.sync(gitDir);
4444
})
45+
.then(() => {
46+
const githubDir = path.join(ruleDir, ".github");
47+
rimraf.sync(githubDir);
48+
})
4549
.then(() => {
4650
const README = path.join(ruleDir, "README.md");
4751
rimraf.sync(README);

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@
3434
},
3535
"homepage": "https://github.com/textlint/create-textlint-rule",
3636
"dependencies": {
37-
"chalk": "^2.4.1",
38-
"cross-spawn": "^6.0.5",
37+
"chalk": "^2.4.2",
38+
"cross-spawn": "^7.0.1",
3939
"cross-spawn-promise": "^0.10.1",
4040
"meow": "^5.0.0",
41-
"rimraf": "^2.6.3",
42-
"update-notifier": "^2.5.0"
41+
"rimraf": "^3.0.0",
42+
"update-notifier": "^3.0.1"
4343
},
4444
"devDependencies": {
45-
"husky": "^1.3.1",
46-
"lint-staged": "^8.1.0",
45+
"husky": "^3.0.9",
46+
"lint-staged": "^9.4.2",
4747
"prettier": "^1.15.3"
4848
},
4949
"prettier": {

0 commit comments

Comments
 (0)