MeteorPackaging / discussions

Ask for Meteor integration help, or discuss Meteor 3rd party library packaging
5 stars 1 forks source link

Babel (ex 6to5 ) in MeteorPackaging/autopublish.meteor.com #10

Open grigio opened 9 years ago

grigio commented 9 years ago

Hi, I'd to integrate Meteor Babel (https://github.com/grigio/meteor-babel) with the autopublish build system, but I've some open issues.

babel-core (installed via npm) needs some other deps to work fully (runtime + core-js) and I currently embed them because are needed on the client and on the server. This is why I've also added some tests to this wrapped package.

What I'd like to do is:

Something like:

  1. new release on https://github.com/babel/babel
  2. generate an updated package.js on https://github.com/grigio/meteor-babel (or where it will be hosted)
  3. [on success] commit, run the tests an generate a new meteor package

Do you think is possible to automate this?

splendido commented 9 years ago

Ciao Luigi,

so you don't have code from babel/babel directly in your repo. You bring it in with a npm dependency, right?

If I'm not wrong all you would need is to run tests and the run meteor publish and all deps will be updated behind the scenes. Correct?

I'm going to experiment a bit with custom build flows in response to a selectable webhook trigger in the next few days... I'll be back to you later!

In the meanwhile lets see what comes out from the next DevShop where @dandv will present the autopublish project.

Cheers, Luca