58 Commits

Author SHA1 Message Date
Greg Magolan
be3d063422 build: exclude nested node_modules laid out by yarn workspaces from all globs 2020-04-30 15:12:46 -07:00
Filipe Silva
b51cf8d1e6 build: use ts_library macro with common defaults 2020-04-30 15:12:46 -07:00
Filipe Silva
9a28114f6b test: remove non-bazel test setup 2020-04-30 15:12:46 -07:00
Filipe Silva
eceb5cdaa6 build: use rules_nodejs 1.6.0 features
Contains fixes related to the symlink behaviour inside of bazel. Without it, webpack needs to be configured to be aware of symlinks and preserve the paths.
2020-04-30 15:12:46 -07:00
Keen Yee Liau
e5db6a8ccd build: BUILD files formatted to have load statements at the top 2020-04-23 10:31:56 -07:00
Charles Lyding
98b3eb5b9e build: update rxjs to version 6.5.5 2020-04-15 13:17:31 -07:00
Filipe Silva
fca831ca88 test(@angular-devkit/schematics-cli): test with Bazel 2020-04-07 09:07:19 -07:00
Filipe Silva
5f3f736936 build: move BUILD.bazel files for secondary entry points into own folder
Without this change, module names will be computed with incorrect paths containing duplicate path fragments (e.g. `@angular-devkit/architect/testing/testing/test-logger`).
2020-04-07 09:07:19 -07:00
Filipe Silva
b668cacd45 refactor: use BUILD.bazel instead of BUILD
Using an extension gives editors a chance to figure out the correct language syntax to use.
2020-04-07 09:07:19 -07:00
Renovate Bot
5a5cb74b0e build: update minimist to version 1.2.5 2020-03-13 13:15:11 -07:00
Renovate Bot
16dd6a3475 build: update minimist to version 1.2.4 2020-03-12 10:18:41 -07:00
Renovate Bot
c97bfba777 build: update minimist to version 1.2.3 2020-03-11 10:38:20 -07:00
Renovate Bot
6ee3894e44 build: update inquirer to version 7.1.0 2020-03-10 11:54:36 -07:00
Alan Agius
111e9cc383 fix(@angular-devkit/schematics-cli): provide resolvePaths to NodeWorkflow
Closes #17067
2020-02-25 10:27:50 -08:00
Renovate Bot
87cf65d0d2 build: update inquirer to version 7.0.4 2020-01-27 11:04:08 -08:00
Renovate Bot
a3ae533afb build: update inquirer to version 7.0.3 2020-01-07 10:27:49 -08:00
Renovate Bot
3ba89181bc build: update rxjs to version 6.5.4 2020-01-07 10:26:56 -08:00
Renovate Bot
06b3aad66c build: update inquirer to version 7.0.1 2019-12-18 09:29:50 -08:00
Alan Agius
35ca3901ac refactor: strip leading slash to prevent confusion 2019-12-02 10:10:34 -08:00
Alan Agius
e40f23007b fix(@angular-devkit/schematics): use error logger method when there is a workflow error 2019-10-30 13:38:53 -07:00
Alan Agius
e31d5d89b7 build: update bazel packages 2019-10-24 12:05:25 -07:00
Keen Yee Liau
5a2a055c4d build: g3 sync for angular_devkit
Fix all build errors in g3
2019-10-01 13:15:50 -07:00
Alan Agius
ab5b1909d6 build: update rxjs to 6.5.3 2019-09-24 13:18:09 -07:00
Renovate Bot
215f179da7 build: update inquirer to version 7.0.0 (#15422) 2019-08-23 11:38:32 -07:00
Renovate Bot
2182c7ccad build: update inquirer to version 6.5.1 (#15304) 2019-08-12 10:27:54 -07:00
Alan Agius
15ef15e94a style: remove redundant max-line-length disables and fix other lint issues 2019-07-24 19:06:21 -07:00
Minko Gechev
d274add7b4
fix(@angular/cli): use correct schematic defaults considering workspace (#15041)
Fix #14986

This PR includes some refactoring to simplify the interaction
of the `NodeWorkflow` and the `BaseWorkflow` with the registry.

We were registering redundant `addPostTransform`s. Some of them in
the constructor of the `BaseWorkflow`, which did not allow us to
intercept `addUndefinedDefaults`.

Additionally, we were setting the `validateOptionsWithSchema` transform
multiple times unnecessarily.

An issue left to fix is support for the `--project` option in
schematic commands. Currently, `getProjectName` does not know about
this option, since `createWorkflow` does not know how to parse the
command line arguments. The parsing logic is implemented partially
by the concrete implementation of the `SchematicCommand` template
method.
2019-07-16 09:58:01 -07:00
Renovate Bot
1bf6b3c2a4 build: update inquirer to version 6.5.0 2019-07-11 19:11:13 -07:00
Renovate Bot
bbb12e3b86 build: update inquirer to version 6.4.1 2019-06-24 17:30:28 -07:00
Renovate Bot
a88dce5b89 build: update inquirer to version 6.4.0 2019-06-20 10:56:58 -07:00
Alex Eagle
d88175ddf1 Revert "build: update rxjs to version 6.5.1"
This reverts commit c4613ced63a901fe327e062d2be474d72ccc56f1.
2019-04-23 11:23:51 -07:00
Renovate Bot
c4613ced63 build: update rxjs to version 6.5.1 2019-04-23 08:07:56 -07:00
Alex Eagle
ee619c9a34 build: run Bazel format/lint fix 2019-04-22 08:38:00 -07:00
Renovate Bot
5b4d1302bd build: update inquirer to version 6.3.1 2019-04-16 09:39:46 -07:00
Hans Larsen
08e91a94ab build: refactor QoL on monorepo.json
This should make it easier to manage and diff. This takes 2 things into account:
1. we have either stable or experimental versions and each are kept in monorepo.
2. we dont keep hash and update only changed packages.

This commit also removed the hash to make sure this does not happen.
2019-03-13 13:51:01 -07:00
Alex Eagle
4e262f966f build: Update to latest bazel rules 2019-03-06 11:27:48 -08:00
Alan Agius
ae13974f1d build: update to rxjs 6.4 2019-02-26 08:33:48 -08:00
Renovate Bot
8340bfda47 build: update inquirer to version 6.2.2 (#13557) 2019-02-05 21:13:59 -08:00
Renovate Bot
92ff5a193a build: update inquirer to version 6.2.1 2018-12-19 10:14:25 -08:00
Michael O'Keefe
db0fc7759b feat(@angular/cli): Added support for multiselect list prompt (#13031)
* feat(@angular/cli): Added support for multiselect list prompt

* If multiselect option is true use the checkbox
   inquirer prompt type, otherwise use list.

* feat(@angular-devkit/core): Added support for multiselect list prompt

* Added multiselect to PromptDefinition interface and usages
2018-11-30 12:01:57 -08:00
Hans
34d7e9d240 feat(@angular-devkit/schematics-cli): add prompt support using Inquirer 2018-11-16 11:36:36 -08:00
Alan Agius
eddad5698a fix(@angular-devkit/schematics-cli): dryRun is not set by default when using a local collection
Fixes #12815
2018-11-01 08:33:24 -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
Alan Agius
0b4f3c10e8 fix(@angular-devkit/schematics-cli): inconsistency in referencing collection
Fixes #12600
2018-10-23 11:57:22 -07:00
Alan Agius
bb01cce06a feat(@angular-devkit/schematics-cli): add support for camelCase arguments
At the moment, only kebab case args works, and this might be misleading if you come from the Angular CLI. As for instance `--dryRun` will have no effect.

Fixes #12599
2018-10-23 10:23:17 -07:00
Charles Lyding
9a793494dc build: update rxjs to 6.3 2018-09-26 12:57:56 -04:00
Alan Agius
40129ccebd refactor: make the cli testable 2018-09-18 11:33:11 -07:00
Alan Agius
1753b6affb test: add tests to schematic-cli 2018-09-18 11:33:11 -07:00
Alan Agius
8fac6a7ceb fix(@angular-devkit/schematics-cli): fix list-schematics is not printing anything
Usage:
```
$  schematics @schematics/angular: --list-schematics
$  schematics --list-schematics
```

When no colon is specified, it means that that you are passing a schematic name to be looked up in the default collection.

Closes #12220
2018-09-18 11:33:11 -07:00
Filipe Silva
b6793bd521 build: use specific engines for built packages 2018-09-14 13:56:43 -07:00