125 Commits

Author SHA1 Message Date
Hans
2b3f9de403 refactor: use Buffer.from instead of deprecated constructor 2018-12-14 10:55:04 -08:00
Alan Agius
b40dc77a55 build: update path to install snapshots 2018-12-13 15:50:55 -08:00
Alan Agius
914f99d75e docs: change link for CLI readme to be relative 2018-12-06 11:45:26 -08:00
Alan Agius
f392f18e42 docs: add documentation for API guardian (#13065) 2018-11-30 14:07:36 -08:00
Hans
ddbc7f201a ci: packages now can list version numbers too (#13057)
Useful for mapping to npm commands like dist-tag.
2018-11-30 13:05:54 -08:00
Hans
39dac64386 ci: packages script should list public packages
Added a --json arg for old output.
2018-11-16 10:00:53 -08:00
Filipe Silva
eef66f0f65 fix(@angular/cli): error out when command json is invalid 2018-11-01 08:26:28 -07:00
Keen Yee Liau
a3b05a0283 build: Use fine-grained node_module deps
This commit updates the BUILD files to specify fine-grained node_module deps
by replacing "@typings" comments with actual @npm node module.

Moved tools/bazel.rc -> .bazelrc

Removed "jasmine" typings from base tsconfig.json

Added @bazel/karma to devDependencies, needed for `ts_web_test`
2018-10-31 20:56:27 -07:00
Hans
a53cf44e1d Branch support in snapshots (#12692)
* ci: snapshots can push to specific branches

Can take either a branch argument, or use CIRCLE_BRANCH if available.

* ci: run snapshots on all branches
2018-10-23 13:22:11 -07:00
Hans
a6f80e4fe7 Various QoL with TSLint and Docs (#12655)
* docs: add README files to all root folders

Except benchmark and tools.

* refactor: move rules/ directory to etc/

And fix a linting error that was found while updating tslint usage

* ci: lint errors out if TSLint shows a warning

This is not a warning from the code itself, but from TSLint. For example,
if a rule was missing, TSLint will just ignore the rule, show something on
STDOUT and not fail.

This fixes CI where local rules were missing for unknown reasons. It will
now fail CI when that happens, which is the correct behaviour.
2018-10-23 11:59:16 -07:00
Hans
b23ee7a031 ci: add header to snapshot build README (#12482)
Fixes #12481
2018-10-10 15:08:44 -07:00
Alan Agius
0b884c5d88 ci: exit with 0 error code when running templates (#12473)
* docs: fix url typo

* ci: exit with `0` error code when running templates
2018-10-04 13:35:14 -07:00
Hans
c9d10f2b32 ci: publish script now checks version and tag together 2018-10-03 16:33:31 -07:00
Hans
bb56f8067f ci: publish script now checks that master has next tag 2018-10-03 16:33:31 -07:00
Hans
3d279861d7 docs: add getting started section to README 2018-10-03 16:33:07 -07:00
Hans
202117a68e ci: add CONTRIBUTING as a template and various changes
Added types from the commit validation script to CONTRIBUTING. Added
packages names from the package script to the scope section. Added
examples of good commit messages.

Also corrected some texts.
2018-10-03 16:33:07 -07:00
Hans
ae9695a1b7 ci: add count to benchmark and pass index to fn 2018-10-03 16:31:27 -07:00
Hans Larsen
52b22bf2e4 docs: sort changelog by feature first, then fixes 2018-10-01 07:40:41 -07:00
Charles Lyding
a121c4c9dd test: update license exceptions 2018-09-26 08:54:33 -04:00
Hans
0b959d1233 * fix(@angular/cli): remove helpJson and help-json mentions (#12331)
* fix(@angular/cli): remove helpJson and help-json mentions

* ci: use proper --help=json for creating snapshot
2018-09-20 14:45:09 -07:00
Hans
d69af5a663 build: ignore dist-schema for linting 2018-09-19 13:02:40 -07:00
Hans
c2f9e0b443 ci: generate and publish all commands help in JSON format 2018-09-14 21:29:31 -07:00
Hans
d417fa90c8 build: add create script to create a new project using local build 2018-09-14 21:29:31 -07:00
Hans
c63b4d8d2b ci: disable bazel in devkit-admin build
Replace the build step with a custom JSON schema output parallel to
bazel.
2018-09-13 16:44:17 -07:00
Hans
a07f83638e build: add JSON Schema .d.ts and .js files to build output 2018-09-13 16:44:17 -07:00
Hans
e004464a94 ci: build script uses bazel to generate the schemas 2018-09-13 16:44:17 -07:00
Hans Larsen
f34dfc9643 ci: add missing licenses from quicktype-core dependencies
And remove fixed TODOs.
2018-09-13 16:44:17 -07:00
Filipe Silva
f5fe1b60d4 build: fix tarring packages on windows 2018-09-10 14:19:22 -07:00
Charles Lyding
d202480a17 build: update/cleanup tslint rules & fix errors 2018-08-23 11:35:34 -07:00
Hans Larsen
15b9ccb14c build: add license whitelist to allow license validation 2018-08-17 11:03:12 -07:00
Hans Larsen
3d80aa8010 ci: fix pre-push hook 2018-08-16 20:37:26 -07:00
Hans Larsen
744cfa4543 ci: add SHAs of invalid messages to blacklist 2018-08-16 20:34:41 -07:00
Alan Agius
9ce4987947 ci: add missing license replacements for Apache v2 2018-08-13 17:04:03 -07:00
Charles Lyding
af6dc938bd test: update license validation 2018-08-10 18:25:32 -07:00
Charles Lyding
c729b0e7d9 build: use yarn workspaces 2018-08-10 18:25:32 -07:00
Hans Larsen
0595d303e3 ci: add script for publishing the wiki
It got lost somewhere between 6.0 and 6.1.
2018-08-03 09:33:28 -04:00
Hans Larsen
eaccc04852 docs: change the changelog commits format
See #11740 for an example of how it looks.

Fixes #11740
2018-08-02 13:12:22 -04:00
Hans
d7e7cd2282 ci: fix validate script to properly report errors 2018-07-23 11:06:01 -07:00
Hans Larsen
483cbe2665 refactor: add tslint-sonarts and a lot of tslint rules
This should clean up the code a bit.

Note: at first I added the no-useless-cast rule, but after getting frustrated
with it (as it has many false positive), I decided to remove the rule but some
useless casts were removed so I let those in the PR.
2018-07-10 15:07:36 -07:00
Filipe Silva
4487e9df53 test: shard test-large 2018-07-06 09:09:52 -04:00
Filipe Silva
3e3dffba8e fix(@angular-devkit/architect): unsubscribe on timeout in runTargetSpec
This way cleanup logic runs on timeout.

It also simplifies timeout definition for runTargetSpec and Jasmine.
2018-07-05 11:43:11 -04:00
Alan Agius
3108ce30ab refactor: remove redundant error in catch 2018-07-02 08:20:59 -04:00
Filipe Silva
ffb01c57b8 build: return promise on changelog script
The changelog function makes a promise but doesn't return it, causing a race condition between the process exiting and the promise finishing.

On a repository with bigger git history the promise took longer to execute and the process exited first.
2018-06-14 19:45:00 -04:00
Filipe Silva
1ac22707db feat(@angular-devkit/build-angular): revert to webpack 4.9.2
Workaround for https://github.com/webpack/webpack/issues/7499
2018-06-13 19:36:19 +01:00
Hans
88875c8e0f ci: update licenses and use promises since license is async 2018-06-09 10:01:10 +01:00
Hans
47892d2e1b ci: validate is really async and validate-commits should return errorcode
Instead of process.exit() which is a bit premature
2018-06-09 10:01:10 +01:00
Hans
af3332126e ci: test script is async 2018-06-09 10:01:10 +01:00
Hans Larsen
abc62edd26 ci: use angular-cli repo instead of devkit 2018-06-07 18:50:41 -07:00
Hans
3d92f5107e release: rewrite the README slightly and reorder packages 2018-06-06 14:23:26 -07:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00