63 Commits

Author SHA1 Message Date
Charles Lyding
ea349c31c3 fix(@angular/cli): ensure webpack 3 sass-loader support 2018-01-18 13:05:02 -05:00
Alex Rickabaugh
7b4b2c78d4 feat(@angular/cli): support 5.0.0+ builds of @angular/service-worker 2017-11-06 17:30:38 +00:00
Filipe Silva
6984cc2b68 ci: ignore typescript as an excessive root dep 2017-10-25 10:32:57 -07:00
Filipe Silva
ba773bad55 ci: fix fetching master into master 2017-10-05 13:52:44 -04:00
Filipe Silva
133693c74f ci: use circleci workspaces 2017-10-05 10:18:30 -04:00
Hans Larsen
b79549dc5f docs: clarified licenses and renamed spdx variable to what it is
The Spdx list is the list of licenses understood by SPDX, not necessarily agreed on
by our team and/or Google. That variable is really a whitelist.
2017-09-20 21:41:00 -04:00
Charles Lyding
e6f745d458 build: update license test special cases 2017-08-17 15:28:30 -04:00
Filipe Silva
41dce6e76f ci: update license test exceptions 2017-08-10 15:33:08 +01:00
Filipe Silva
fe85750cb7 feat(@angular/cli): add scope hoisting via webpack 3
This should result in significant bundle size reduction. For best results, build for production with `--vendor-chunk=false`.

See https://medium.com/webpack/webpack-3-official-release-15fd2dd8f07b for details.
2017-07-10 16:59:08 -07:00
Hans Larsen
fb5f04ca60 ci: add a publishing script for travis deployment 2017-07-06 17:30:56 -07:00
Filipe Silva
dbbede8754 ci: speed up travis start time
The `trusty` env on travis now supports container based builds: https://docs.travis-ci.com/user/trusty-ci-environment/

Also adds cache for node_modules, and updates yarn lock.

This should improve start up time.
2017-06-22 19:02:00 +01:00
Hans Larsen
d220c73de4
build: fix deploy script condition (take 13) 2017-06-06 18:09:27 -07:00
Hans Larsen
01c7fee697
build: fix deploy script condition (take 12) 2017-06-06 18:09:27 -07:00
Hans Larsen
58438dc0e5
build: fix deploy script condition (take 11) 2017-06-06 17:54:03 -07:00
Hans Larsen
279fb4a7e0
build: fix deploy script condition (take 10) 2017-06-06 17:50:09 -07:00
Hans Larsen
9be0766812 refactor: refactor git builds script and add tags 2017-06-06 17:45:15 -07:00
Hans Larsen
27c674e667
build: fix deploy script condition (take 9) 2017-06-06 15:47:59 -07:00
Hans Larsen
6fdeca33fa
build: fix deploy script condition (take 8) 2017-06-06 15:31:39 -07:00
Hans Larsen
e8949c27d6
build: fix deploy script condition (take 5) 2017-06-06 15:08:41 -07:00
Hans Larsen
1e7631b5bd
build: fix deploy script condition (take 4) 2017-06-06 11:23:54 -07:00
Hans Larsen
9dfcdcecfd build: add credentials for the github builds repo 2017-06-05 12:22:09 -07:00
Sumit Arora
93424b19a4 feat(@angular/cli): adding git builds script 2017-06-02 12:32:35 -07:00
Filipe Silva
ff83b449de ci: fix branch comparison (#6247) 2017-05-15 17:29:57 -04:00
Filipe Silva
5905e9ab1c ci: fix commit check on branches 2017-05-08 14:51:39 +01:00
Hans Larsen
3a6699580f ci: remove the branch check from the commit validation 2017-05-03 17:20:31 -07:00
Hans Larsen
6015a03cc1 ci: fixes for validate-commit-message 2017-05-02 09:39:54 -07:00
Hans Larsen
646c1b0c38
fix: add support for branch-only commit message types. 2017-04-26 14:26:08 -07:00
Hans Larsen
c9d82438fe build: use actual list of packages for commit message
Also add the tool type, which should be used for tooling.
2017-03-27 17:34:39 -07:00
Hans Larsen
d928c1c8d4 tool(publish): adding a new tool infrastructure with a publish tool. 2017-03-27 17:34:39 -07:00
Hans Larsen
fe69b5b110 ci: add option to ignore imports/requires from dependencies
It needs to be in the file itself where the require/import is made.
2017-03-20 09:20:03 -07:00
Filipe Silva
1e476577c1 fix(@angular/cli): don't fail install due to node-sass (#5282)
This change should reduce the amount of problems on npm installs.

It makes the `node-sass` dependency optional, and so install will not fail when it cannot be installed.

For projects that do not use sass, there is no side-effect of an failed node-sass install.

For projects that do use node-sass and the install failed, they should see the following self-explanatory error message:

```
ERROR in ./src/app/app.component.scss
Module build failed: Error: Missing binding D:\sandbox\master-project\node_modules\node-sass\vendor\win32-x64-51\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 7.x

Found bindings for the following environments:

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
    at module.exports (D:\sandbox\master-project\node_modules\node-sass\lib\binding.js:15:13)
    at Object.<anonymous> (D:\sandbox\master-project\node_modules\node-sass\lib\index.js:14:35)
```

Fix #4429
2017-03-16 20:02:51 +00:00
Filipe Silva
48324d11cb test: fix commit message test for branches (#5004)
For travis runs on branches, local master never exists there's no branch
tracking origin/master.

This causes `git fetch origin master` to fetch into `FETCH_HEAD` instead
of master.

This PR will explicitely fetch origin master into local master, and use
that for the log comparison.
2017-03-03 15:24:28 +00:00
Filipe Silva
68cd1c7bb8 build: fix docs publish on windows (#5005) 2017-02-25 08:39:41 -08:00
clydin
fd1296a357 test: validate commit messages (#4903) 2017-02-22 14:05:04 -08:00
Hans Larsen
b521ae5db2
refactor: fix more issues with docs scripts 2017-02-21 18:10:07 -08:00
Hans
783dd72916 ci: fix travis (#4897) 2017-02-21 17:45:50 -08:00
Hans
8cec3ce769 refactor: fix issues with docs scripts (#4893) 2017-02-21 16:24:01 -08:00
Filipe Silva
a2e819a8dd fix(@angular/cli): fix css url processing (#4803)
Fixing component css in #4667 uncovered errors in CSS url processing.

This PR correctly composes absolute urls when using `--base-href` and/or `--deploy-url`.

It also fixes asset output on `--aot` mode.

Fix #4778
Fix #4782
Fix #4806
2017-02-20 13:18:21 +00:00
Filipe Silva
6d5dfa01c0 test: add license test (#4561)
* test: add license test

* only check prod dependencies

* remove findup dep

* also check dev deps

* add map-stream to ignore list

* remove license-checker

* add comment

* use logger

* fix lint errors
2017-02-17 14:49:04 +00:00
Sumit Arora
42faa198f0 docs: add script for pushing docs to wiki (#4613) 2017-02-16 15:07:17 -08:00
Alex Rickabaugh
cb2e418d58
feat: add support for @angular/service-worker and manifest generation
Adds the flag 'serviceWorker' to angular-cli.json that enables support for @angular/service-worker.

When this flag is true, production builds will be set up with a service worker. A ngsw-manifest.json file
will be generated (or augmented) in the dist/ root, and the service worker script will be copied there.
A short script will be added to index.html to register the service worker.

@angular/service-worker is a dependency of @angular/cli, but not of generated projects. It is desirable
for users to be able to update the version of @angular/service-worker used in their apps independently
of the CLI version. Thus, the CLI will error if serviceWorker=true but @angular/service-worker is not
installed in the application's node_modules, as it pulls all the service worker scripts from there.

If the flag is false the effect on the CLI is minimal - the webpack plugins associated with the SW are
not even require()'d.

Closes #4544
2017-02-09 15:16:48 -08:00
Hans
601f9b38f8 feat(@angular/cli): move angular-cli to @angular/cli (#4328)
This release is otherwise identical to beta.28.
2017-02-01 18:19:50 -08:00
Hans Larsen
9b56edc46c
release: v1.0.0-beta.27 2017-02-01 12:16:09 -08:00
Filipe Silva
38e43ced98 build: support paths with spaces on Windows (#4274)
Fix #4250
2017-01-30 14:51:19 -08:00
Hans
74f7cddf9e feat(@ngtools/json-schema): Introduce a separate package for JSON schema. (#3927)
This is the same code we used before, but:

1. its in a separate package,
2. it also support new serialization to .d.ts,
3. OneOf is now supported entirely (instead of the previous hack).

Also, removed the schema.d.ts file and generate it before building the package. It is not git ignored and changing it will not work (it will be overwritten).
2017-01-10 16:19:42 -08:00
clydin
2f795c205a chore(lint): fix lint error in build script (#3937) 2017-01-10 15:02:42 +00:00
Hans
979e4f96da chore(license): add LICENSE files to all packages (#3926) 2017-01-09 18:07:35 -08:00
Hans
e3b48da4b2 feat(@ngtools/logger): Implement a reactive logger. (#3774)
It is typescript friendly and ultra performant. Using it in e2e tests for a PoC.
2016-12-28 19:02:55 -08:00
clydin
0c1c3910dc chore(deps): validate root package.json (#3521) 2016-12-12 13:20:21 -08:00
Hans
901a64f547 fix(dependencies): reduce the dependencies further. (#3488)
Added a script that tells you if you are missing dependencies and if any dependencies are not needed.
2016-12-08 17:24:29 -08:00