Skip to content

Grunt file to publish to Atmosphere #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dandv opened this issue Nov 24, 2014 · 8 comments
Open

Grunt file to publish to Atmosphere #15

dandv opened this issue Nov 24, 2014 · 8 comments

Comments

@dandv
Copy link
Member

dandv commented Nov 24, 2014

Grunt patch has its own repo - https://github.com/MeteorCommunity/grunt-meteor

@raix
Copy link
Contributor

raix commented Nov 27, 2014

Maybe have grunt create bower/jspm/jam/browserify/npm configs from a single meteor package.js?
We could create a small tool that would generate the bower.json/component.json/package.json files and add the proper require/amd/umd code to the library code.

eg.:

/lib                   # the source code
/dist                  # the generated distribution files
/meteor/package.js     # The meteor config
/bower.json            # The generated config for bower
/components.json       # The generated config for components
/package.json          # The generated config for npm/browserify/jam/jspm etc.
/README.md             # The Meteor compliant readme

I think that it would help library writers support all package systems and make cleaner packges for Meteor. It could be via grunt or a custom tool.

EDIT: Would be nice to skip the requirejs/global exports etc. in the Meteor version of the package/library

@zimme
Copy link
Member

zimme commented Nov 28, 2014

gulpfile.js could be useful too for repos using gulp instead of grunt =)

@zimme
Copy link
Member

zimme commented Nov 28, 2014

Would it be possible to create the package.js from package.json/bower.json if they are available, inside the tasks?

@raix
Copy link
Contributor

raix commented Nov 29, 2014

Yes, i may create a node package with this, Can be used more places https://github.com/raix/Meteor-include/issues/2

@dandv
Copy link
Member Author

dandv commented Nov 29, 2014

@splendido thanks for the inspiration! I've posted a Gruntfile diff in the OP. We have a minor problem now: MeteorPackaging/grunt-gulp-meteor#1

@raix
Copy link
Contributor

raix commented Nov 29, 2014

Would be nice I think if the complete work flow is rigged for them - eg. help them create the user account/login/bump making it really easy for them - it could event generate the package in .meteor - have this added to .gitignore would keep their repo clean.

@raix
Copy link
Contributor

raix commented Nov 29, 2014

@dandv maybe publish grunt/gulp integrations at something like MeteorCommunity/grunt-publish etc.?

@dandv
Copy link
Member Author

dandv commented Nov 29, 2014

@raix - done, I'll let you update this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants