Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Ignore only Gruntfile in root. #4

Merged
merged 1 commit into from

3 participants

@johanneswuerbach

The template Gruntfile.js is missing in the npm package.

@hariadi
Owner

Thanks. But this Gruntfile.js required by Assemble. Can you explain please?

@johanneswuerbach

This Gruntfile https://github.com/hariadi/generator-assemble/blob/master/app/templates/Gruntfile.js is not included in the npm package (every Gruntfile is ignored) and the generator is not working if installed via npm.

This fix ignores only the Gruntfile in the root folder and generates all files into the package tar.

@hariadi hariadi merged commit 53dd4cb into assemble:master

1 check passed

Details default The Travis CI build passed
@sndrs

Has this gone on to npm?

Just ran yo assemble after npm install generator-assemble, and it throws the following error:

Error: ENOENT, no such file or directory [...]/node_modules/generator-assemble/app/templates/Gruntfile.js

Is this the same issue?

(manually adding https://github.com/hariadi/generator-assemble/blob/master/app/templates/Gruntfile.js work fine btw)

@hariadi hariadi referenced this pull request from a commit
@hariadi hariadi Remove Gruntfile.js from .npmignore #4
Publish 0.2.4 on NPM
254130e
@hariadi hariadi referenced this pull request from a commit
@hariadi hariadi Remove Gruntfile.js from .npmignore #4 43bb264
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 12, 2013
  1. @johanneswuerbach
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  .npmignore
View
2  .npmignore
@@ -5,5 +5,5 @@
.gitattributes
test
src/
-Gruntfile.js
+./Gruntfile.js
.jshintrc
Something went wrong with that request. Please try again.