13 Commits

Author SHA1 Message Date
Filipe Silva
d17bc71a0b chore(lint): lint ts as well as js (#1823) 2016-08-25 10:06:54 -07:00
Hans
1ecd72dc49 refactor(config): refactor the config object. (#1809)
This also will load angular-cli.json in the HOME directory as a fallback, supports more stuff from the JSON Schema (like default values) than the old one, and actually verify that what you inputs is the right thing.

This will be its own NPM package at some point, as other people will probably be interested in having a JSON Schema loader that gives type safety and provides fallbacks and metadata.

Closes #1763
2016-08-23 19:35:18 -07:00
Filipe Silva
d2d74c7903 chore(docs): add global lib docs (#1747) 2016-08-22 20:34:47 +01:00
Filipe Silva
3dcd49bc62 feat(build): update angular-cli.json (#1633) 2016-08-19 20:39:09 +01:00
Hans
3b226be22f First implementation of get lazy modules entries. (#1632)
Fixes #1636.
2016-08-19 11:24:45 -07:00
Sean Larkin
22a6b59dd4 Revert change where sourcemaps were not ignored in dev. (#1728)
* Revert changes where sourcemaps were not ignored in dev, instead ignoring them across the board
2016-08-18 11:11:34 -05:00
Carlos Sanz García
c58c5b3ef9 This should fix the missing option '--output-path' on webpack. (#1627)
* Added ability to specify output path for bundles and assets with `ng build` commands. 
* Command is specified by using the `--output-path` flag.
2016-08-17 11:17:23 -05:00
Sean Larkin
67098e0d73 feat(build): silence sourcemap warnings for vendors (#1673)
* feat: remove sourcemap warnings for vendors who don't properly provide them

* fix: change dev server output name to warnings
2016-08-13 02:16:00 +01:00
Sean Larkin
e0454e362b fix: change inline-source-map to source-map for dev and common, prod already supports (#1659) 2016-08-12 13:06:32 +01:00
Sean Larkin
560ae8f9c2 fix: Set fs building/polyfill empty for better package support (#1599) 2016-08-08 10:07:36 -07:00
Jan Kuri
b11bc94dfb fix(webpack-copy): copies files from public/ directory to dist/ and preserves references 2016-08-02 23:47:30 +02:00
Jan Kuri
29711695d9 chore(): sass support 2016-07-28 15:52:13 +02:00
Hans
a163186a70 Merge Webpack Feature branch into Master (#1455)
* build: use webpack for building apps.

This pull request replaces the underlying broccoli build system and then
replaces it with webpack as the build and bundler.

This will affect the following commands (however the user-level)
functionality should go unchanged (besides unimplemented flags which
will come after this PR.):

ng build (with --env flag and --watch flag supported)
ng serve (with --port flag supported)
ng test / ng e2e

The webpack configuration is blackboxed, and therefore users will not
see a webpack.config.js file in their repository.

Also this PR will bump the typescript version to 2.0 (beta).

Fixes #909 #1155 #882

* chore(lint) Corrected any eslint errors and cleaned up unused files

* chore(cleanup) additional cleanup tasks performed. Removed unneeded code, indentation causing linting errors, add back tsconfig sourcemapping, removed console logs, deleted material unused files.

* chore: remove bind from serve command

* chore: simplify test command

* chore: fix test warnings

* chore: revert whitespace changes

* chore: re-add mapRoot to tsconfig

* chore: remove unused import

* bugfix: fix broken tests

* fix: fix mobile-specific feature test

* bugfix: fix public folder test

* fix: fixes for path mappings, tests, and coverage (#1359)

* fix(): Multiple fixes for path mappings:

* Removed invalid test case that was throwing path mappings  tests because of a typescript bug.
* Readded PathsPlugin for Path Mappings
* Removed coverage preprocessor which was throwing bad type errors against ts code when it shouldn't be.
* Added sourcemap support for istanbul instrumenter. Coverage files are still being generated.

* fix: fix the way the build command runs for mobile tests

* fix: fix the way the build command runs for mobile tests

* fix: replaced promise based ng command with sh.exec to allow mappings test to run correctly against mobile

* fix: replaced promise based ng command with sh.exec to allow mappings test to run correctly against mobile

* fix: add environment configuration replacement (#1364)

* fix: add environment configuration replacement

* remove debuggers

* fix: move mobile test above config test because it relies on prod build from previous step

* fix: removed unneeded interface moved config paths

* fix(tests): re-enable sass/less/stylus tests (#1363)

* chore: remove systemjs (#1376)

* chore: remove vendor.ts (#1383)

* chore: remove material2 test option (#1385)

* fix(build): re-add support for sourceDir (#1378)

* chore(build): remove broccoli (#1386)

* chore: remove windows elevation check (#1384)

* fix(test): add missing sourceDir (#1387)

* fix: update node polyfill support properties for prod config to allow dev-server (aka ng serve) (#1395)

* chore(tests): add prod env e2e test (#1394)

* chore: cleanup of new files (#1388)

* fix(serve): disable HMR (#1402)

* chore: review docs (#1407)

* feat(env): decouple build from env file (#1404)

* fix: fix tsconfig for editors (#1420)

* chore: fix webpack branch after merge conflicts (#1423)

* fix: update to awesome-typescript-loader 2.1.0 (#1425)

* fix: update to awesome-typescript-loader 2.1.0 which fixes a few issues shimming typings libs in tsconfig.json

* fix: forgot to set libs in tsconfig blueprint

* chore(blueprints): remove module.id (#1426)

* feat: add host flag support for ng serve (#1442)

* feat(test): add karma plugin (#1437)

* chore(blueprints): re-add outDir (#1428)

* feat: use @types instead of typings (#1449)

* fix: make sourcemaps work in test (#1447)

* feat: add utilities for typescript ast (#1159) (#1453)

'ast-utils.ts' provides typescript ast utility functions
2016-07-26 17:06:39 -07:00