Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

angular-cli

angular13.3kMITdeprecated1.0.0-beta.28.3TypeScript support: included

angular-cli has been renamed to @angular/cli. Please update your dependencies.

CLI tool for Angular

ember-addon

readme

Angular-CLI

Join the chat at https://gitter.im/angular/angular-cli

Build Status Dependency Status devDependency Status npm

Prototype of a CLI for Angular 2 applications based on the ember-cli project.

Note

This project is very much still a work in progress.

The CLI is now in beta. If you wish to collaborate while the project is still young, check out our issue list.

Before submitting new issues, have a look at issues marked with the type: faq label.

Webpack update

We changed the build system between beta.10 and beta.14, from SystemJS to Webpack. And with it comes a lot of benefits. To take advantage of these, your app built with the old beta will need to migrate.

You can update your beta.10 projects to beta.14 by following these instructions.

Prerequisites

Both the CLI and generated project have dependencies that require Node 4 or higher, together with NPM 3 or higher.

Table of Contents

Installation

BEFORE YOU INSTALL: please read the prerequisites

npm install -g angular-cli

Usage

ng --help

Generating and serving an Angular2 project via a development server

ng new PROJECT_NAME
cd PROJECT_NAME
ng serve

Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

You can configure the default HTTP port and the one used by the LiveReload server with two command-line options :

ng serve --host 0.0.0.0 --port 4201 --live-reload-port 49153

Generating Components, Directives, Pipes and Services

You can use the ng generate (or just ng g) command to generate Angular components:

ng generate component my-new-component
ng g component my-new-component # using the alias

# components support relative path generation
# if in the directory src/app/feature/ and you run
ng g component new-cmp
# your component will be generated in src/app/feature/new-cmp
# but if you were to run
ng g component ../newer-cmp
# your component will be generated in src/app/newer-cmp

You can find all possible blueprints in the table below:

Scaffold Usage
Component ng g component my-new-component
Directive ng g directive my-new-directive
Pipe ng g pipe my-new-pipe
Service ng g service my-new-service
Class ng g class my-new-class
Interface ng g interface my-new-interface
Enum ng g enum my-new-enum
Module ng g module my-module

Generating a route

Generating routes in the CLI has been disabled for the time being. A new router and new route generation blueprints are coming.

You can read the official documentation for the new Router here: https://angular.io/docs/ts/latest/guide/router.html. Please note that even though route generation is disabled, building your projects with routing is still fully supported.

Creating a build

ng build

The build artifacts will be stored in the dist/ directory.

Build Targets and Environment Files

ng build can specify both a build target (--target=production or --target=development) and an environment file to be used with that build (--environment=dev or --environment=prod). By default, the development build target and environment are used.

The mapping used to determine which environment file is used can be found in angular-cli.json:

"environments": {
  "source": "environments/environment.ts",
  "dev": "environments/environment.ts",
  "prod": "environments/environment.prod.ts"
}

These options also apply to the serve command. If you do not pass a value for environment, it will default to dev for development and prod for production.

# these are equivalent
ng build --target=production --environment=prod
ng build --prod --env=prod
ng build --prod
# and so are these
ng build --target=development --environment=dev
ng build --dev --e=dev
ng build --dev
ng build

You can also add your own env files other than dev and prod by doing the following:

  • create a src/environments/environment.NAME.ts
  • add { "NAME": 'src/environments/environment.NAME.ts' } to the the apps[0].environments object in angular-cli.json
  • use them via the --env=NAME flag on the build/serve commands.

Base tag handling in index.html

When building you can modify base tag (<base href="/">) in your index.html with --base-href your-url option.

# Sets base tag href to /myUrl/ in your index.html
ng build --base-href /myUrl/
ng build --bh /myUrl/

Bundling

All builds make use of bundling, and using the --prod flag in ng build --prod or ng serve --prod will also make use of uglifying and tree-shaking functionality.

Running unit tests

ng test

Tests will execute after a build is executed via Karma, and it will automatically watch your files for changes. You can run tests a single time via --watch=false.

Running end-to-end tests

ng e2e

Before running the tests make sure you are serving the app via ng serve.

End-to-end tests are run via Protractor.

Proxy To Backend

Using the proxying support in webpack's dev server we can highjack certain urls and send them to a backend server. We do this by passing a file to --proxy-config

Say we have a server running on http://localhost:3000/api and we want all calls to http://localhost:4200/api to go to that server.

We create a file next to projects package.json called proxy.conf.json with the content

{
  "/api": {
    "target": "http://localhost:3000",
    "secure": false
  }
}

You can read more about what options are available here webpack-dev-server proxy settings

and then we edit the package.json file's start script to be

"start": "ng serve --proxy-config proxy.conf.json",

now run it with npm start

Deploying the app via GitHub Pages

You can deploy your apps quickly via:

ng github-pages:deploy --message "Optional commit message"

This will do the following:

  • creates GitHub repo for the current project if one doesn't exist
  • rebuilds the app in production mode at the current HEAD
  • creates a local gh-pages branch if one doesn't exist
  • moves your app to the gh-pages branch and creates a commit
  • edit the base tag in index.html to support github pages
  • pushes the gh-pages branch to github
  • returns back to the original HEAD

Creating the repo requires a token from github, and the remaining functionality relies on ssh authentication for all git operations that communicate with github.com. To simplify the authentication, be sure to setup your ssh keys.

If you are deploying a user or organization page, you can instead use the following command:

ng github-pages:deploy --user-page --message "Optional commit message"

This command pushes the app to the master branch on the github repo instead of pushing to gh-pages, since user and organization pages require this.

Linting and formatting code

You can lint your app code by running ng lint. This will use the lint npm script that in generated projects uses tslint.

You can modify the these scripts in package.json to run whatever tool you prefer.

Support for offline applications

The --mobile flag has been disabled temporarily. Sorry for the inconvenience.

Angular-CLI includes support for offline applications via the -- flag on ng new. Support is experimental, please see the angular/mobile-toolkit project and https://mobile.angular.io/ for documentation on how to make use of this functionality.

Commands autocompletion

To turn on auto completion use the following commands:

For bash:

ng completion 1>> ~/.bashrc 2>>&1
source ~/.bashrc

For zsh:

ng completion 1>> ~/.zshrc 2>>&1
source ~/.zshrc

Windows users using gitbash:

ng completion 1>> ~/.bash_profile 2>>&1
source ~/.bash_profile

Project assets

You can add any files you want copied as-is to src/assets/.

Global styles

The styles.css file allows users to add global styles and supports CSS imports.

If the project is created with the --style=sass option, this will be a .sass file instead, and the same applies to scss/less/styl.

You can add more global styles via the apps[0].styles property in angular-cli.json.

CSS Preprocessor integration

Angular-CLI supports all major CSS preprocessors:

To use these prepocessors simply add the file to your component's styleUrls:

@Component({
  selector: 'app-root',
  templateUrl: 'app.component.html',
  styleUrls: ['app.component.scss']
})
export class AppComponent {
  title = 'app works!';
}

When generating a new project you can also define which extension you want for style files:

ng new sassy-project --style=sass

Or set the default style on an existing project:

ng set defaults.styleExt scss

3rd Party Library Installation

Simply install your library via npm install lib-name --save and import it in your code.

If the library does not include typings, you can install them using npm:

npm install d3 --save
npm install @types/d3 --save-dev

If the library doesn't have typings available at @types/, you can still use it by manually adding typings for it:

// in src/typings.d.ts
declare module 'typeless-package';

// in src/app/app.component.ts
import * as typelessPackage from 'typeless-package';
typelessPackage.method();

Global Library Installation

Some javascript libraries need to be added to the global scope, and loaded as if they were in a script tag. We can do this using the apps[0].scripts and apps[0].styles properties of angular-cli.json.

As an example, to use Boostrap 4 this is what you need to do:

First install Bootstrap from npm:

npm install bootstrap@next

Then add the needed script files to apps[0].scripts:

"scripts": [
  "../node_modules/jquery/dist/jquery.js",
  "../node_modules/tether/dist/js/tether.js",
  "../node_modules/bootstrap/dist/js/bootstrap.js"
],

Finally add the Bootstrap CSS to the apps[0].styles array:

"styles": [
  "../node_modules/bootstrap/dist/css/bootstrap.css",
  "styles.css"
],

Restart ng serve if you're running it, and Bootstrap 4 should be working on your app.

Updating angular-cli

To update angular-cli to a new version, you must update both the global package and your project's local package.

Global package:

npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@latest

Local project package:

rm -rf node_modules dist tmp
npm install --save-dev angular-cli@latest
ng init

Running ng init will check for changes in all the auto-generated files created by ng new and allow you to update yours. You are offered four choices for each changed file: y (overwrite), n (don't overwrite), d (show diff between your file and the updated file) and h (help).

Carefully read the diffs for each code file, and either accept the changes or incorporate them manually after ng init finishes.

The main cause of errors after an update is failing to incorporate these updates into your code.

You can find more details about changes between versions in CHANGELOG.md.

Development Hints for hacking on angular-cli

Working with master

git clone https://github.com/angular/angular-cli.git
cd angular-cli
npm link

npm link is very similar to npm install -g except that instead of downloading the package from the repo, the just cloned angular-cli/ folder becomes the global package. Any changes to the files in the angular-cli/ folder will immediately affect the global angular-cli package, allowing you to quickly test any changes you make to the cli project.

Now you can use angular-cli via the command line:

ng new foo
cd foo
npm link angular-cli
ng serve

npm link angular-cli is needed because by default the globally installed angular-cli just loads the local angular-cli from the project which was fetched remotely from npm. npm link angular-cli symlinks the global angular-cli package to the local angular-cli package. Now the angular-cli you cloned before is in three places: The folder you cloned it into, npm's folder where it stores global packages and the angular-cli project you just created.

You can also use ng new foo --link-cli to automatically link the angular-cli package.

Please read the official npm-link documentation and the npm-link cheatsheet for more information.

License

MIT

changelog

1.0.0-beta.27 (2017-02-01)

Bug Fixes

Code Refactoring

Features

  • @ngtools/webpack: remove annotations (#4301) (439dcd7)
  • angular-cli: Add a postinstall warning for Node 4 deprecation. (#4309) (916e9bd)
  • build: minify/optimize component stylesheets (#4259) (499ef2f)
  • serve: Persist serve options in angular-cli.json (#3908) (da255b0), closes #1156
  • update: add ng update as alias of ng init (#4142) (2211172), closes #4007

Performance Improvements

  • @ngtools/webpack: Improve rebuild performance (#4145) (9d033e7)
  • @ngtools/webpack: improve rebuild performance (#4188) (7edac2b)
  • @ngtools/webpack: reduce rebuild performance by typechecking more (#4258) (29b134d)

BREAKING CHANGES

  • angular-cli: Node < 6.9 will be deprecated soon, and this will show a warning to users. Moving forward, that warning will be moved to an error with the next release.
  • test: ng test no longer has the --lint flag available.
  • lint: In order to use the updated ng lint command, the following section will have to be added to the project's angular-cli.json at the root level of the json object.

    "lint": [
      {
        "files": "src/**/*.ts",
        "project": "src/tsconfig.json"
      },
      {
        "files": "e2e/**/*.ts",
        "project": "e2e/tsconfig.json"
      }
    ],

Alternatively, you can run ng update.

  • build: - --extractCss defaults to false on all --dev (ng build with no flags uses --dev)
  • --aot defaults to true in --prod
  • the alias for --output-path is now -op instead of -o

1.0.0-beta.26 (2017-01-19)

Bug Fixes

  • @ngtools/json-schema: serialize object properties better. (#4103) (48d1e44), closes #4044
  • @ngtools/webpack: dont error on non-identifier properties. (#4078) (e91552f)
  • @ngtools/webpack: honor tsconfig#angularCompilerOptions.entryModule before trying to resolveEntryModuleFromMain() (#4013) (c9ac263)
  • build: override publicPath for ExtractTextPlugin and add extract-css test (#4036) (c1f1e0c)
  • generate: correct component path when module is generated in subfolder, and parent folder is not a module too (#3916) (f70feae), closes #3255
  • generate: normalize pwd before using it (#4065) (09e1eb3), closes #1639
  • get/set: Add support for global configuration. (#4074) (088ebf0)
  • help: remove ember references in console output (#4026) (394aa05)
  • help: remove match of *.run.ts files (#3982) (7b47753)
  • new: improve error message when project name does not match regex (bf23b13), closes #3816 #3902
  • test: remove webpack size limit warning (#3974) (5df4799)

Features

  • @ngtools/json-schema: add support for enums. (c034a44), closes #4082
  • build: add style paths (#4003) (e5ef996), closes #1791
  • build: use NamedModulesPlugin with HMR (c5b2244), closes #3679 #4037
  • deploy: add custom-domain support for gh-pages deployment (#1781) (#3392) (a54bc16)
  • generate: add option to auto-export declarations (#3876) (6d63bb4), closes #3778
  • generate: create parent directories required for blueprints if they do not exist (76380a6), closes #3307 #3912
  • gh-pages:deploy: add aot and vendor-chunk options for gh-pages:deploy (#4073) (71445c3)

1.0.0-beta.25 (2017-01-12)

Bug Fixes

Features

  • @ngtools/json-schema: Introduce a separate package for JSON schema. (#3927) (74f7cdd)
  • @ngtools/logger: Implement a reactive logger. (#3774) (e3b48da)
  • @ngtools/webpack: convert dashless resource urls (#3842) (4e7b397)
  • build: add --extract-css flag (#3943) (87536c8)
  • build: add publicPath support via command and angular-cli.json (#3285) (0ce64a4), closes #3136 #2960 #2276 #2241 #3344
  • build: allow output hashing to be configured (#3885) (b82fe41)
  • build: disable sourcemaps for production (#3963) (da1c197)
  • commands: lazy load commands (#3805) (59e9e8f)
  • deploy:github-pages: support usage of gh-token for deployment from external env (#3121) (3c82b77)
  • generate: add ability to specify module for import (#3811) (e2b051f), closes #3806
  • lint: now lint e2e ts files as well (#3941) (f84e220)
  • new: add --skip-tests flag to ng new/init to skip creating spec files (#3825) (4c2f06a)
  • new: add flag to prevent initial git commit (#3712) (2e2377d)
  • new: show name of created project in output (#3795) (888beb7)
  • version: compare local and global version and warn users. (#3693) (8b47a90)

1.0.0-beta.24 (2016-12-20)

Bug Fixes

  • @ngtools/webpack: report errors during codegen (#3608) (0f604ac)
  • build: hashes in prod builds now changes when ID change. (#3609) (8e9abf9)
  • test: exclude non spec files from test.ts (#3538) (bcb324f)
  • tests: serve assets files from ng test (#3628) (3459300)
  • webpack: correctly load component stylesheets (#3511) (d4da7bd)

Features

1.0.0-beta.23 (2016-12-15)

This beta was abandoned and unpublished due to a breaking bug.

Bug Fixes

Features

Performance Improvements

  • install time: Remove dependency to zopfli. (#3414) (e6364a9)

BREAKING CHANGES

  • blueprints: The app root module and component must now be imported directly. (e.g., use import { AppModule } from './app/app.module'; instead of import { AppModule } from './app/';)

1.0.0-beta.22-1 (2016-12-05)

Bug Fixes

1.0.0-beta.22 (2016-12-02)

Bug Fixes

  • @ngtools/webpack: fixed path resolution for entry modules and lazy routes (#3332) (45d5154)
  • build: don't inline sourcemaps (#3262) (859d905)
  • build: use custom index value when copying to 404.html during github deploy (#3201) (b1cbf17)
  • ngtools/webpack: move the generate directory to a separate dir (#3256) (d1037df)
  • version: bump ast-tools and webpack versions to correct mismatch with published packages (54ef738)

Features

  • angular: Update Angular2 version to 2.2.3 (#3295) (ed305a2)
  • build: add --verbose and --progress flags (#2858) (f6f24e7), closes #1836 #2012
  • build: auto generate vendor chunk (#3117) (bf9c8f1)
  • new: include routing in spec and inline template when called with --routing (#3252) (53ab4df)
  • serve: add --hmr flag for HotModuleReplacement support (#3330) (46efa9e)

BREAKING CHANGES

  • build: ng build/serve now generates vendor.bundle.js by default.

1.0.0-beta.21 (2016-11-23)

Bug Fixes

  • angular-cli: add necessary dependencies. (#3152) (8f574e4), closes #3148
  • angular-cli: add necessary dependency. (f7704b0)
  • angular-cli: change version of webpack plugin. (07e96ea)
  • aot: lock the angular version to 2.2.1. (#3242) (6e8a848)
  • editorconfig: use off instead of 0 for max line length (#3186) (f833d25)
  • generate: revert change to component dir in generate module, as it caused component declaration to go to parent module (#3158) (71bf855)
  • github-pages-deploy: Show more accurate url (#3160) (a431389)

Features

1.0.0-beta.20 (2016-11-16)

Bug Fixes

Features

BREAKING CHANGES

  • aot: Using relative paths might lead to path clashing. We now properly output an error in this case.

1.0.0-beta.19 (2016-10-28)

Bug Fixes

Features

1.0.0-beta.18 (2016-10-20)

Bug Fixes

Features

BREAKING CHANGES

  • generate: The ability to specify a class type via an additional arg has been replaced by combining the name and type args separated by a dot

1.0.0-beta.17 (2016-10-07)

Bug Fixes

Features

  • aot: adding README and type checking. (8a5b265), closes #2527
  • aot: creating files in a virtual fs. (#2464) (790a1b4)
  • aot: do not populate the whole filesystem if nothing changed (#2490) (b5771df)
  • template: issue template look better (#2384) (398cfb3)

1.0.0-beta.16 (2016-09-28)

Bug Fixes

  • build: fail ng build on error (#2360) (aa48c30), closes #2014
  • build: use config output path as default (#2158) (49a120b)
  • generate: Update directive.spec.ts blueprint to fix incorret import (#1940) (93da512)
  • karma: set defaults for karma.conf.js (#1837) (e2e94a5)
  • test: correctly report packages spec failures (#2238) (3102453)

Features

  • webpackDevServer: Add watchOptions for webpackDevServer (#1814) (ce03088)

1.0.0-beta.15 (2016-09-20)

Bug Fixes

1.0.0-beta.14 (2016-09-15)

Bug Fixes

1.0.0-beta.11-webpack.9 (2016-09-13)

Bug Fixes

Features

  • module: add ability to generate a routing file for new modules (#1971) (9ddba69)
  • module: select module to add generations to for declaration (#1966) (a647e51)

1.0.0-beta.11-webpack.3 (2016-08-29)

Bug Fixes

Features

  • add features in get-dependent-files.ts (#1525) (7565f2d)
  • Add LCOV reporting by default in karma remap instanbul reporter (#1657) (10dd465)
  • build: implement --base-href argument (74b29b3), closes #1064 #1506
  • build: silence sourcemap warnings for vendors (#1673) (67098e0)
  • build: update angular-cli.json (#1633) (3dcd49b)
  • feature: add ability to generate feature modules (#1867) (1f4c6fe)
  • module: add generation of modules (f40e6f1), closes #1650
  • serve: add proxy support (9d69748)
  • tslint: add validation for selector prefix (9ff8c09), closes #1565

1.0.0-beta.11-webpack.2 (2016-08-10)

Bug Fixes

  • webpack-copy: copies files from public/ directory to dist/ and preserves references (b11bc94)
  • Set fs building/polyfill empty for better package support (#1599) (560ae8f)
  • Updated webpack-karma which has proper peer deps settings (#1597) (ace720b)

Features

  • add utility functions for route generation (#1330) (4fd8e9c)
  • ngmodules and insert components based on the AST (#1616) (5bcb7be)

1.0.0-beta.11-webpack (2016-08-02)

Hey you! Yes, you! Angular-CLI team here. You know us, but we don't know you enough. And we like to hear about you too. That's why we did this release, so that you could check out for us, as we're looking out for you.

Anyway, here goes...

Features

🎺 We moved the build system from SystemJS to Webpack. 🎉

🎊 Yeah! 🎊 ^_^

This is kind of a big deal, really. This will mean less thinking about the internals of the CLI and SystemJS, less time spent configuring a new npm package and karma, your life is going to be much easier! More coding where it actually matters, faster builds, more time spent with your loved ones, and lots of other goodies. Just for you. You'll love it!

We want to make sure it's ready. That's why we need your help. Basically, things should work. Build and Serve should work. Also, testing and E2E should too. To put it short, everything should work as it was before. But we're not certain! Test every commands you can think of. Use your normal work flows. We need you to test your projects and file issues about it.

If you have a special build file that requires shuffling files around in Broccoli, give it a try without that. Note that TypeScript 2.0 path mapping is supported by the CLI so that might help you find out files.

There's a migration document to move your project over. It's not complete yet, but we're working on it. Here's the PR: https://github.com/angular/angular-cli/pull/1456. The main take away is that most build configuration and system configuration should not be needed anymore.

Please note that this is a really alpha release of this, and we want to tighten every nut and bolt before making it an official beta.

Which we will release. Shortly after we tighten it up. Because we love you, our users, very much. And we want to help you make your apps awesome. With webpack.

- The Angular-CLI team

Oh, almost forgot. Also:

  • tests: allow to create component without a spec file (a85a507), closes #1256
  • add module-resolver utils (b8ddeec)
  • add utilities for typescript ast (#1159) (0cfc2bf)

1.0.0-beta.10 (2016-07-19)

Bug Fixes

Features

Always follow the update guide when updating to a new version. The changelog does not list breaking changes that are fixed via the update procedure.


1.0.0-beta.9 (2016-07-04)

Bug Fixes

1.0.0-beta.7 (2016-06-23)

Bug Fixes

  • deps: update router (#1121) (b90a110)
  • e2e: prevent chrome race condition (#1141) (9df0ffe)
  • init: don't replace live reload script on diffs (#1128) (e97fd9f), closes #1122
  • lint: add missing rulesDirectory (#1108) (1690a82), closes #1094
  • mobile: partially fix dep problem (#1151) (4b638c8), closes #1151

Features

  • add file system utilities for 'upgrade' process (327f649)

1.0.0-beta.6 (2016-06-15)

Bug Fixes

  • admin: added support for non Administrator CLI user (0bc3d94), closes #905 #886 #370
  • barrel: alphabetized barrel exports (67b577d), closes #582
  • deploy: Fix base href for user pages (#965) (424cff2), closes #965
  • e2e: return exit codes on failure of e2e tests (d0c07ac), closes #1017 #1025 #1044
  • generator: --dry-run no longer modifies files (6efc8ee)
  • Persist style extension config at project creation. (85c9aec), closes #780
  • skips git-init if working folder is inside a git repo (52c0cfb), closes #802
  • gh-deploy: fix deep links (#1020) (f8f8179), closes [(#1020](https://github.com/(/issues/1020) #995
  • mobile: add missing vendor file to build (#972) (9a7bfe0), closes #847
  • mobile: lock dependency (#961) (740805b), closes #958
  • sourcemaps: try to improve the source maps by fixing the path (#1028) (5f909aa)
  • template: Update pipe template to include Pipe in name (c92f330), closes #869

Features

  • allow lazy route prefix to be configurable (c3fd9c7), closes #842
  • router: upgrade the router version (eb9b80e)
  • style: automatically add dependencies if style is set on new projects (01e31ab), closes #986
  • test: run e2e of generated project (#490) (d0dbd70)

BREAKING CHANGES

1.0.0-beta.5 (2016-05-19)

Bug Fixes

  • build: fix broken sourcemaps (#839) (234de2b), closes #839

Features

  • blueprint: add blueprint for generating interfaces (#757) (482aa74), closes #729
  • test: use link-cli option on e2e (#841) (85d1400)

Performance Improvements

  • ng new: command to link to angular-cli (#778) (9b8334f)

1.0.0-beta.4 (2016-05-18)

Bug Fixes

  • build: fix infinite loop on ng serve (#775) (285db13), closes #775
  • deploy: fix file copy, index tag rewrite (#772) (a34aca8), closes #772
  • index: fix live reload file path (#774) (be718cb), closes #774
  • mobile: don't import system-config in system-import.js (#794) (7ab7d72)
  • mobile: make app-shell compilation synchronous (9ed28ba)
  • mobile: prevent already-bundled JS from getting cached by Service Worker (9d18f74)

Features

  • mobile: add app shell to mobile blueprint (#809) (e7d7ed8)
  • SASSPlugin: Allow regexes to be passed to include/exclude certain file patterns (6b45099), closes #558

1.0.0-beta.2-mobile.3 (2016-05-13)

Bug Fixes

  • broccoli-typescript: properly parse compilerOptions (#764) (bbf1bc8)
  • mobile: include vendor scripts in bundle (679d0e6), closes #733
  • mobile: remove mobile-specific dependencies from root package (263e23b)
  • mobile: update path to reflect updated service worker package (#746) (818fb19)
  • package: temporarily remove angular2-service-worker (7f86ab3)

Features

  • blueprints: add enum blueprint. (eddb354), closes #707

1.0.0-beta.2-mobile (2016-05-12)

Bug Fixes

  • package.json use sourceDir for new command (8dcd996)
  • use options sourceDir, and fix null property access. Also use 1.9 (7ba388d), closes #619
  • 710: Missing http module dependency (c0aadae)
  • commands: fix outdated string utils import. (7db40df)

Features

  • mobile: add blueprint for app manifest and icons (f717bde)
  • mobile: add prod build step to concatenate scripts (51569ce)
  • mobile: add ServiceWorker generation to build process and index (04593eb)
  • mobile: add support for generating App Shell in index.html (cb1270f)
  • ng2 blueprint: add test script entry to package.json (eabc160)

1.0.0-beta.1 (2016-05-07)

Bug Fixes

  • generated-project: cli was not using the correct version of CLI in generated project. (#672) (02073ae)