@springtree/coding
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -23,3 +23,2 @@ #!/usr/bin/env node | ||
.option( '--linter', 'Setup linting and git commit for the current folder' ) | ||
.option( '--gitignore', 'Setup git ignore' ) | ||
.option( '--gitcommit', 'Setup husky and commitlint' ) | ||
@@ -50,10 +49,2 @@ | ||
// Setup gitignore | ||
// | ||
if ( program.gitignore || program.init ) { | ||
console.log( 'Writing gitignore file...' ); | ||
const templateGitignore = fs.readFileSync( path.resolve( appRoot, '.gitignore' ) ); | ||
fs.writeFileSync( path.resolve( './.gitignore' ), templateGitignore ); | ||
} | ||
// Setup git commit hook | ||
@@ -60,0 +51,0 @@ // |
{ | ||
"name": "@springtree/coding", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "The SpringTree coding guidelines and helper scripts", |
7575
77