Ember Canary NPM tag


#1

Does anyone know why there is no canary tag for Ember?

npm view ember-source dist-tags


#2

We want to avoid this https://libraries.io/npm/typescript/versions :X


#3

Yeah canary is just ‘master’. From the builds doc:

Ember releases follow a “train” release model. Every six weeks, the master branch of Ember (sometimes referred to as “canary”) branches to become the new beta. After six weeks as a beta, this version becomes the new stable release of Ember.


#4

Should we use ember-master then in ember-try?

https://github.com/pouchdb-community/ember-pouch/commit/d9fc5569098c9676eaa3b0476484e7e83ec209cb


#5

Think so. Anytime I’ve used Ember or Ember Data canary I’ve always just used #master branch so and I’m pretty sure that’s the recommended way to use canary. Someone a little more knowledgeable might be able to confirm…


#6

Does this mean that ember-try should switch from NPM to the GitHub repository for the canary tests based on "repository": in the package.json ?


#7

That will not work, as the master branch does not include the built artifacts for ember-source. Bower is fine.


#8

We don’t use bower anymore, See https://github.com/pouchdb-community/ember-pouch


#9

Then you can’t test against Ember release, beta, or canary. :smile_cat:

The default addon blueprint is setup to correctly test these channels (still via bower even though the addon normally does not use/need bower). You should model your config/ember-try.js around the default blueprint generated one.


#10

release and beta work fine. See https://travis-ci.org/pouchdb-community/ember-pouch/builds/242074346?utm_source=github_status&utm_medium=notification it is canary we also like to test.


#11

Thanks! We found it. You can write ‘ember-source’: ‘components/ember#canary’ to enable canary testing using NPM.

https://github.com/pouchdb-community/ember-pouch/commit/3ad86a6ada0c075b22a6f4dc3749fe5153203714


#12

FWIW, testing against canary without bower is now quite straightforward.

https://emberjs.com/builds/canary contains the current instructions…

 # Install the latest Ember canary:
npm install --save-dev <dynamic path to current build>.tgz

#13

Thanks for this feedback and solving this!