We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 539a15f commit 3f7861aCopy full SHA for 3f7861a
2 files changed
commands/global/new.js
@@ -132,5 +132,6 @@ module.exports.handler = function handler(options) {
132
mode: 0o755 /* -rwxr-xr-x */,
133
}
134
);
135
+ fs.outputFileSync(projectName + '/.gitignore', stripIndent('node_modules'));
136
fs.ensureFileSync(projectName + '/transforms/.gitkeep');
137
};
tests/cli-test.js
@@ -62,6 +62,7 @@ QUnit.module('codemod-cli', function(hooks) {
62
assert.equal(result.code, 0, 'exited with zero');
63
assert.deepEqual(walkSync(codemodProject.path()), [
64
'ember-qunit-codemod/',
65
+ 'ember-qunit-codemod/.gitignore',
66
'ember-qunit-codemod/.travis.yml',
67
'ember-qunit-codemod/README.md',
68
'ember-qunit-codemod/bin/',
0 commit comments