209 Commits

Author SHA1 Message Date
Charles Lyding
a7de97e485 build: add Bazel ts_library rule package_name properties to all packages
rules_nodejs 4 requires that a package_name property be specified within a ts_library rule for the output to be linked into the package repository. Failing to add the property can cause test failures due to unresolved packages.
2021-08-26 07:30:44 +02:00
Renovate Bot
9e71069610 build: update all non-major dependencies 2021-08-23 11:07:13 +01:00
Alan Agius
bb5760c0ab refactor(@angular-devkit/schematics-cli): remove usage of removed json parser 2021-08-16 10:01:04 -04:00
Charles Lyding
b9e7f89589 fix(@angular-devkit/schematics-cli): log when in debug and/or dry run modes
When using the schematics-cli with a local collection, the debug mode is enabled by default. Debug mode also enables dry run mode by default. This can result in a confusing situation when developing a schematic locally as files will not be written to disk but no messages are present explaining why. To improve the developer experience, messages will now be shown both when debug mode is enabled and when dry run is enabled. If either is enabled by default the reason will also be shown.
2021-08-05 06:49:14 +02:00
Renovate Bot
33ec9d6ec3 build: update all non-major dependencies 2021-07-21 11:57:17 +02:00
Alan Agius
02cc9c0c91 refactor(@angular-devkit/schematics-cli): sync schematics dependencies using Renovate
With this change we sync schematic dependencies using Renovate.
2021-07-20 18:58:29 +02:00
Renovate Bot
a155bc5467 build: update all non-major dependencies 2021-07-14 13:57:01 -07:00
Alan Agius
52034151b2 build: update @types/jasmine and jasmine for new projects 2021-07-09 17:02:52 +01:00
Renovate Bot
3dbd3e3242 build: update all non-major dependencies 2021-06-16 08:00:05 -04:00
Charles Lyding
b3d7080147 build: enable esModuleInterop TypeScript option
The `esModuleInterop` option is recommended to be enable by TypeScript and corrects several assumptions TypeScript would otherwise make when importing CommonJS files.
This option change helps ensure compatibility as packages move towards ESM.
Reference: https://www.typescriptlang.org/tsconfig#esModuleInterop
2021-06-13 11:45:55 -04:00
Charles Lyding
b35ef57b0f feat(@angular-devkit/build-angular): suppport using TypeScript 4.3
With the support of TypeScript 4.3 within the Angular framework, the CLI now supports using TypeScript 4.3 as well.  TypeScript 4.2 also continues to be supported for existing projects.
2021-06-10 17:34:02 +02:00
Renovate Bot
0553de187c build: update all non-major dependencies 2021-06-02 09:16:03 +02:00
Renovate Bot
b34ed5c400 build: update all non-major dependencies 2021-05-07 14:33:04 +01:00
Alan Agius
e992c9a70b build: update files to be fix eslint header/header failures 2021-05-04 09:59:40 -04:00
Charles Lyding
c1512e4274 build: update files to be eslint compliant
All TypeScript files have been updated to pass the new eslint-based linting checks. eslint compatible disabling comments have also been added in place of the previous tslint comments.
2021-05-03 07:31:02 -04:00
Charles Lyding
37a06a7c37 build: format all files
All files are now formatted using the ng-dev tools via prettier.
2021-04-28 16:05:49 -07:00
Joey Perrott
003854257c build: migrate all file header to use Google LLC rather than Google Inc 2021-04-27 08:35:22 +02:00
mzocateli
48701a9708 fix(@angular-devkit/schematics-cli): accept windows like paths for schematics
correctly identify schematics paths like 'C:/dir/collection.json:schematic' that used to return 'C' as collection
2021-04-22 09:54:08 +02:00
Renovate Bot
626d67fa2c build: update symbol-observable to version 4.0.0 2021-04-19 20:30:48 +02:00
Keen Yee Liau
07bf174759 docs(@angular-devkit/schematics-cli): Add README
This commit adds a README for the package.
2021-04-14 12:30:18 -04:00
Keen Yee Liau
46ffe26f65 build: promote @angular-devkit/schematics-cli to stable
This package contains just the executable for schematics and two internal
schematics, there is no public facing APIs.
2021-04-13 14:09:55 -04:00
Alan Agius
076ab0f11f refactor: add correct schema keys
With this change
- We replace `id` with `$id`,  this no longer valid in draft-07.
- Replace all `$schemas` to `http://json-schema.org/draft-07/schema`, this is needed to "pin" the schema to `draft-07`.

More information about `draft-07` can be found https://json-schema.org/draft-07/json-schema-release-notes.html
2021-04-13 10:51:12 -04:00
Alan Agius
f6e1fd84a2 refactor(@angular-devkit/schematics-cli): move @schematics/schematics into this package
This change removes the need for the `@schematics/schematics` package and moves it inside `@angular-devkit/schematics-cli`.
2021-04-02 08:09:07 +02:00
Renovate Bot
598190ec73 build: update inquirer to version 8.0.0 2021-03-01 10:40:04 -05:00
Alan Agius
7a39938cd0 fix(@angular-devkit/schematics-cli): remove _ property from options
Closes #19416
2020-11-18 13:18:27 -05:00
Renovate Bot
a84c18b982 build: update symbol-observable to version 3.0.0 2020-11-03 17:40:55 -06:00
Charles Lyding
433a4152ef refactor(@angular-devkit/schematics-cli): use new NodeWorkflow features
This change reduces the amount of schematic runtime setup code by leveraging the new options for the root path and schema validation in the NodeWorkflow class.
2020-10-02 06:30:18 -04:00
Charles Lyding
fa6b4772be style(@angular-devkit/schematics-cli): minor type and import cleanup 2020-10-02 06:30:18 -04:00
Charles Lyding
9928b292cd refactor(@angular-devkit/schematics-cli): remove unused rxjs dependency 2020-10-01 11:15:25 -04:00
Renovate Bot
b9c5670dae build: update symbol-observable to version 2.0.3 2020-10-01 08:44:21 -04:00
Renovate Bot
efb97c87f0 build: update symbol-observable to version 2.0.2 2020-09-30 09:08:54 +02:00
Alan Agius
64cc005f0b refactor: change UPDATE action color to cyan 2020-09-14 16:36:30 -04:00
Alan Agius
622d08447d refactor: use ansi-colors instead of removed terminal utils 2020-09-10 20:19:33 +02:00
Renovate Bot
8dac017e23 build: update rxjs to version 6.6.3 2020-09-07 14:44:16 +02:00
Renovate Bot
2aa01ac2ca build: update symbol-observable to version 2.0.1 2020-09-05 11:59:41 +02:00
Renovate Bot
b5560ebebe build: update symbol-observable to version 2.0.0 2020-09-03 00:20:40 +03:00
Alan Agius
d1adba1347 build: update build_bazel_rules_nodejs to 2.0.2 2020-08-19 16:00:07 +02:00
Alan Agius
439385fef6 fix(@angular-devkit/schematics-cli): use workflow to list schematics
Closes #18548
2020-08-17 18:20:25 +02:00
Alan Agius
a838835bd4 feat(@angular-devkit/schematics-cli): show warning when using deprecated options 2020-08-17 18:18:24 +02:00
Alan Agius
797bcf9944 feat(@angular-devkit/core): add useXDeprecatedProvider to SchemaRegistry
Use the new provider to record usage of options which have the `x-deprecated` keyword.
2020-08-17 18:18:24 +02:00
Renovate Bot
36668a36a7 build: update rxjs to version 6.6.2 2020-07-31 09:52:10 +02:00
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
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
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
Alan Agius
3d9f2a30ec fix(@angular-devkit/schematics-cli): only show prompts in TTY terminals 2020-07-08 16:09:14 +02:00
Renovate Bot
51a159d1c9 build: update rxjs to version 6.6.0 2020-07-02 11:00:00 +02:00
Renovate Bot
a21b22e04b build: update inquirer to version 7.3.0 2020-07-02 08:10:29 +02:00