We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 539a15f + 70fb435 commit d4c3a6dCopy full SHA for d4c3a6d
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', '/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