Skip to content
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

How to repackage Angular2 packages on Atmosphere #1211

Closed
hongbo-miao opened this issue Feb 7, 2016 · 9 comments
Closed

How to repackage Angular2 packages on Atmosphere #1211

hongbo-miao opened this issue Feb 7, 2016 · 9 comments
Labels

Comments

@hongbo-miao
Copy link
Contributor

Hi, @Urigo and everyone, can you give us, especially the author of ng2-bootstrap, ng2-charts, ng2-file-upload @valorkin some directions for repackaging these Angular2 style packages on Atmosphere to let them be reused in the future angular2-meteor project?

@valorkin's packages are really high-quality style packages for angular2. All their packages can be found here.

valor-software/ng2-file-upload#49

@Urigo
Copy link
Owner

Urigo commented Feb 7, 2016

@hongbo-miao please read this chapter of the tutorial and let me know if that worked for you - http://www.angular-meteor.com/tutorials/socially/angular1/3rd-party-libraries

@Urigo Urigo added the question label Feb 7, 2016
@valorkin
Copy link

valorkin commented Feb 7, 2016

@Urigo thx for link, I will read it
but you suggestion about consuming 3rd party
what about automatic packaging 3rd party libraries?
if I want to publish my ng2 libraries in atmosphere

@valorkin
Copy link

valorkin commented Feb 7, 2016

my bad seems solution #1 is what we need

@hongbo-miao
Copy link
Contributor Author

@Urigo Sorry, I failed after some tries... I think it needs put some d.ts files in typings automatically after downloading the package, but I don't know how to create those files. How about creating a tutorial Step 3rdParty Libraries for angular 2 here first using ng2-bootstrap, ng2-charts, or ng2-file-upload as examples... :P

@MilosStanic
Copy link
Contributor

Hi, I also tried to package angular2-materialize package for Meteor, but failed. Main problem so far is packing any .ts files for Meteor, as well as packing npm dependencies of the original package that don't already exist on Atmosphere.
I will keep trying. If I succeed, I'll suggest a chapter for Angular2-Meteor tutorial.

@MilosStanic
Copy link
Contributor

@hongbo-miao I kinda succeeded to transpile TS and package it for meteor using the package.js like in https://github.com/barbatus/ng2-meteor-accounts/blob/master/package.js
Please try and let me know.
It seems that I also need to package other npm dependencies that don't exist on atmosphere and use them in my package.js

@hongbo-miao
Copy link
Contributor Author

@valorkin @MilosStanic I got help from zrbfly, who first succeed packaging ng2-bootstrap, I will let you know details of how to package it once I am clear those steps.

@Urigo
Copy link
Owner

Urigo commented May 1, 2016

with the new Meteor version you can just use npm and import styles from it

@Urigo Urigo closed this as completed May 1, 2016
@hongbo-miao
Copy link
Contributor Author

Oh, yeah, it is working well now using NPM.

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

No branches or pull requests

4 participants