-
Notifications
You must be signed in to change notification settings - Fork 176
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
add package.js for Meteor support #143
Conversation
Hi @dVelopment Thanks for submit the package for METEOR I have no experience on meteor, do you mind giving us some informations about this support file? |
Hi @huei90, sure, I can gladly do so: A Meteor app handles its dependencies in so called "packages". Each package has a In this case I've setup the file so that More information: |
I found this https://atmospherejs.com/i/publishing 👍 I will add this later with more information. I need some time to review it before pulling. Thanks for this 🍻 |
@lvarayut @Nazanin1369 Look at this. |
var options = { | ||
"version": "1.3.2", | ||
"where": "client", | ||
"packageName": "dvelopment:angular-validation" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be huei90:angular-validation
Then It will be like this var options = {
"version": "1.3.2",
"where": "client",
"packageName": "huei90:angular-validation"
};
// meta data
Package.describe({
name: options.packageName,
version: options.version,
summary: 'Client-side Validation for AngularJS',
git: 'https://github.com/huei90/angular-validation',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('[email protected]', '[email protected]');
api.use('angular:[email protected]', options.where);
api.addFiles([
'dist/angular-validation.js',
'dist/angular-validation.min.js',
'dist/angular-validation-rule.js',
'dist/angular-validation-rule.min.js'
], options.where);
}); @dVelopment Do you want to recommit the |
Hi, sorry for the late response.
Rest looks fine to me. Please let me know, if you want me to create that organization for you (and add you as a member) of if you want to re-publish it yourself. |
also: only |
@dVelopment Thanks for your comment var options = {
"version": "1.3.2",
"where": "client",
"packageName": "huei90:angular-validation"
};
// meta data
Package.describe({
name: options.packageName,
version: options.version,
summary: 'Client-side Validation for AngularJS',
git: 'https://github.com/huei90/angular-validation',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('[email protected]', '[email protected]');
api.use('angular:[email protected]', options.where);
api.addFiles([
'dist/angular-validation.js',
'dist/angular-validation-rule.js'
], options.where);
}); You can submit a new commit with this edit 1.3.15 |
add package.js for Meteor support
Thanks @dVelopment 🍻 |
No description provided.