ember-source-channel-url

Determine the URL to a given Ember channels (beta, canary, etc) latest tarball.

MIT 6 个版本
安装
npm install ember-source-channel-url
yarn add ember-source-channel-url
pnpm add ember-source-channel-url
bun add ember-source-channel-url
README

ember-source-channel-url

Retrieve a URL that can be used to reference a tarball representing the latest ember-source build for that channel.

Usage

Command Line API

npx ember-source-channel-url canary

Will print out:

The URL for the latest tarball from ember-source's canary channel is:

        https://s3.amazonaws.com/builds.emberjs.com/canary/shas/<RANDOM SHA HERE>.tgz

If you'd like to update ember-source in your package.json with the new URL, you can use the --write option:

npx ember-source-channel-url canary --write

Programmatic API

const getURLFor = require('ember-source-channel-url');

getURLFor('canary').then((url) => {
  // use the URL here 
});
版本列表
3.0.0 2020-08-02
2.0.1 2019-05-16
2.0.0 2019-05-16
1.2.0 2019-05-16
1.1.0 2018-04-11
1.0.1 2018-01-13