Flex-layout: (bug): Package not published on npm

Created on 28 Nov 2016  路  10Comments  路  Source: angular/flex-layout

The package is not published on npm

Most helpful comment

This will be resolve when v1.0.0-beta.1 is published to NPM.

Currently Beta.1 release is targeted for week of Dec 19, 2016

All 10 comments

https://github.com/angular/flex-layout#fast-start

Note: With gulp build:components the files are depolyed to node_modules/@angular/flex-layout. The formal deploy process to npm (and use of npm i @angular/flex-layout) is not yet available and is pending public release of the Github repository!

@DzmitryShylovich - It's not actually on npm per that documentation. Given it's pre-beta state, i'm betting that's on purpose.

@amcdnl - I'm running a local build of it on an internal prod app where a pre-beta oops isn't a big deal. What it does it does surprisingly well given that whole pre-beta thing.

To get this working I did the following:

  1. Clone the repo
  2. Remove "noEmitHelpers": true from tsconfig. May be a bug?
  3. gulp build:components
  4. change package.json main and add types
"main": "dist/@angular/flex-layout/index.js",
"types": "dist/@angular/flex-layout/index.d.ts",
  1. copy the directory to your ng2 app node_modules folder
  2. Continue: https://github.com/angular/flex-layout#application-usages

anyone know when this will hit NPM?

You can juste add this repo to your dependencies

run this command (yout can change #master to your favorite branch or tag :wink: )

npm install --save https://github.com/angular/flex-layout.git#master

result:

...
"@angular/flex-layout": "git+https://github.com/angular/flex-layout.git#master",
...

This will be resolve when v1.0.0-beta.1 is published to NPM.

Currently Beta.1 release is targeted for week of Dec 19, 2016

@ThomasBurleson Is there a timeframe on when a first version will be published to npm? days/weeks/months?

@aberwag - side note: u have to build it, that install doesn't run a build.

Use gulp build:release and find the deployed files in ./dist/@angular/flex-layout

Note: earlier commands have been deprecated. Please use gulp build:release

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings