511 Commits

Author SHA1 Message Date
Renovate Bot
d939629974 build: update inquirer to version 7.3.3 2020-07-25 12:46:11 +02:00
Keen Yee Liau
fa9136a971 build: minor fixes for google3 sync
This commit makes a few minor changes to enable syncing the CLI repository
into google3.

1. mark pkg_tar and pkg_npm as external
2. remove dependencies (marked as comment) which are stale in google3
3. remove TS files generated from JSON schema in BUILD files since these
   files are compiled and added to the g3 codebase at sync time
4. Some minor typing changes
5. Remove duplicate licenses
6. mark dependencies which are not available in g3 as external
7. Immediately type the result of JSON.parse() as required by g3 linter.
   Otherwise, the type defaults to `any`.
2020-07-24 22:52:22 +02:00
Alan Agius
05588fcee1 refactor: clean up unused code and imports 2020-07-24 08:01:52 +02:00
Alan Agius
5bb853f1d5 build: update @types/inquirer to 7.3.0 2020-07-23 23:30:22 +02:00
Alan Agius
a85ba990eb refactor: clean up several files
Most of these changes are requires for TS 4 update
2020-07-22 12:56:34 +01:00
Vlad Tansky
9fb21644c7 docs: fix typo in ng update --next description
according to https://github.com/angular/angular-cli/pull/18306#issuecomment-660988904
2020-07-21 10:25:53 +01:00
Vlad Tansky
c8e5f7d167 docs: fix typo in ng update --next description 2020-07-21 10:25:53 +01:00
Renovate Bot
ca0e6efc19 build: update open to version 7.1.0 2020-07-21 10:25:04 +01:00
Renovate Bot
10b4d450c2 build: update inquirer to version 7.3.2 2020-07-14 09:44:33 -04:00
Renovate Bot
bfa9f58bb8 build: update inquirer to version 7.3.1 2020-07-13 13:04:12 -04:00
Renovate Bot
ff48a48e0a build: update universal-analytics to version 0.4.23 2020-07-07 10:45:01 +02:00
Renovate Bot
9d333498c6 build: update universal-analytics to version 0.4.22 2020-07-03 12:14:21 +02:00
Renovate Bot
1a819fe1b3 build: update universal-analytics to version 0.4.21 2020-07-02 11:42:31 +02:00
Renovate Bot
a21b22e04b build: update inquirer to version 7.3.0 2020-07-02 08:10:29 +02:00
Alan Agius
ef465487fd fix(@angular/cli): resolve external schematics from workspace root
Resolve schematics collections from the workspace root, as otherwise it will be resolved from the temporary installed CLI version

Closes #18083
2020-07-01 11:29:25 -07:00
Renovate Bot
d25ce9b805 build: update uuid to version 8.2.0 2020-06-24 14:40:35 -04:00
Kishan Gajera
ba0f7acce2 fix(@angular/cli): throw error when specified project does not exist
Currently this falls through to a misleading error for an unsupported build target.

Closes #17682
2020-06-16 09:44:05 +02:00
Renovate Bot
5317beb0dc build: update inquirer to version 7.2.0 2020-06-15 08:47:32 +02:00
Renovate Bot
277bad3895 build: update uuid to version 8.1.0 2020-05-21 09:26:38 +02:00
Alan Agius
93e253bc93 refactor: rename tsconfig.json to tsconfig.base.json 2020-05-20 12:12:33 -07:00
Alan Agius
83c94f940b fix(@angular/cli): add missing experimentalRollupPassin CLI schema 2020-05-18 19:25:41 +01:00
Alan Agius
4e4e0e42ec style: fix typo in allowedCommonJsDependencies description 2020-05-18 19:25:41 +01:00
Renovate Bot
24353739b6 build: update open to version 7.0.4 2020-05-18 19:21:23 +01:00
Alan Agius
5395cecf59 refactor: remove deprecate protractor elementExplorer
Protractor `elementExplorer` debugger and element explorer cannot be used for Node.js 8+ since it relied on `_debugger` module.

In protractor version 5, this resulted in the below error:
```
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
: Compiled successfully.
[10:25:35] I/direct - Using ChromeDriver directly...
[10:25:37] I/protractor -
[10:25:37] I/protractor - ------- Element Explorer -------
[10:25:37] I/protractor - Starting WebDriver debugger in a child process. Element Explorer is still beta, please report issues at github.com/angular/protractor
[10:25:37] I/protractor -
[10:25:37] I/protractor - Type <tab> to see a list of locator strategies.
[10:25:37] I/protractor - Use the `list` helper function to find elements by strategy:
[10:25:37] I/protractor -   e.g., list(by.binding('')) gets all bindings.
[10:25:37] I/protractor -
***********************************************************
* WARNING: _debugger module not available on Node.js 8    *
* and higher.                                             *
*                                                         *
* Use 'debugger' keyword instead:                       *
* https://goo.gl/MvWqFh                                   *
***********************************************************
/Users/alanagius/cli-repos/demo-several/node_modules/protractor/built/debugger/debuggerCommons.js:14
  throw e;
  ^

Error: Cannot find module '_debugger'
Require stack:
- /Users/alanagius/cli-repos/demo-several/node_modules/protractor/built/debugger/debuggerCommons.js
- /Users/alanagius/cli-repos/demo-several/node_modules/protractor/built/debugger/clients/explorer.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/Users/alanagius/cli-repos/demo-several/node_modules/protractor/built/debugger/debuggerCommons.js:3:18)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/alanagius/cli-repos/demo-several/node_modules/protractor/built/debugger/debuggerCommons.js',
    '/Users/alanagius/cli-repos/demo-several/node_modules/protractor/built/debugger/clients/explorer.js'
  ]
}
```

but in protractor version 7, this logic was removed.

BREAKING CHANGE:
Protractor builder elementExplorer option has been removed. This was not compatable with the Node.Js versions that the Angular CLI supports. See: https://github.com/angular/protractor/blob/master/docs/debugging.md#enabled-control-flow for an alternative debugging methods.
2020-05-15 14:44:45 +01:00
Alan Agius
b66b9b8161 refactor(@angular/cli): remove deprecated get/set commands
BREAKING CHANGE:
Deprecated `ng set` and `ng get` have been removed, use `ng config` instead.
2020-05-07 10:38:12 -07:00
Alan Agius
28f87cb312 refactor(@angular/cli): remove deprecated typescriptMismatch
BREAKING CHANGE:
Removed deprecated `typescriptMismatch` warning option. Users will be migrated off this option automatically. Users wishing to disable TypeScript version checks should use the Angular compiler option `disableTypeScriptVersionCheck`, see https://angular.io/guide/angular-compiler-options#disabletypescriptversioncheck for more information.
2020-05-07 10:37:48 -07:00
Alan Agius
57bc38e9fa fix(@angular/cli): allow configuration option in ng deploy
Fixes #17613
2020-05-04 10:54:19 -07:00
Renovate Bot
e3c613e4c0 build: update uuid to version 8.0.0 2020-05-01 16:25:53 -07:00
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
898fb5e6ed build: add missing npm_package_archive targets 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
Alan Agius
8fb7e586cc refactor(@angular-devkit/build-angular): remove deprecated evalSourceMap, vendorSourceMap, profile and skipAppShell options
BREAKING CHANGE:

The following deprecated devkit builders options have been removed:
- `skipAppShell:` This has no effect
- `evalSourceMap`: This done to improve performance in older versions of the CLI and is no longer needed
- `vendorSourceMap`: Use `sourceMap.vendor` instead
- `profile`: Use `NG_BUILD_PROFILING` environment variable instead
2020-04-27 15:08:15 -07:00
Alan Agius
493aa74019 docs: update analytics command aio link 2020-04-23 10:33:05 -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
Alan Agius
69aa460335 refactor(@angular-devkit/build-angular): remove deprecated es5BrowserSupport build option
BREAKING CHANGE
Deprecated browser builder option `es5BrowserSupport` has been removed. The inclusion for ES5 polyfills will be determined from the browsers listed in the browserslist configuration.
2020-04-22 10:38:19 -07:00
Charles Lyding
1f16002255 fix(@angular/cli): ensure Node.js message is shown on old Node.js versions 2020-04-14 12:20:19 -07:00
Renovate Bot
36d3f21c37 build: update semver to version 7.3.2 2020-04-14 12:18:02 -07:00
Renovate Bot
475922438b build: update semver to version 7.2.2 2020-04-13 11:14:26 -07:00
Renovate Bot
346172494d build: update npm-pick-manifest to version 6.1.0 2020-04-09 13:23:53 -07:00
Renovate Bot
f516b9468c build: update semver to version 7.2.1 2020-04-07 19:42:36 -07:00
Filipe Silva
60e92d54fb style: reformat bazel files 2020-04-07 09:07:19 -07:00
Filipe Silva
d4ce7fd3ab test(@angular/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
7c746a444b build: use ts_json_schema's ts output directly
This PR changes ts_json_schema to not create a ts_library rule for the json schema, and instead let consuming ts_libraries use and compile the resulting .ts files themselves.

This is needed in order to maintain the module_name of the consuming libraries on the .ts files resulting from json compilation.
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
cb2700ee1d build: update uuid to version 7.0.3 2020-04-02 10:28:16 -07:00
Alan Agius
e57fa81cf8 fix(@angular/cli): downgrade pacote to 9.5.12
Closes #17314 and closes #16615
2020-04-02 10:24:09 -07:00
Alan Agius
4d2d6cdc22 fix(@angular/cli): allow configuration option in ng deploy
Previously we only allowed `--project` and `--help` as a valid options. With this change we also allow `--configuration`

Fixes #17332
2020-03-30 16:13:05 -07:00