85 Commits

Author SHA1 Message Date
Joey Perrott
d7ba4f263b refactor: fix dependencies and import paths for strict deps requirements 2025-02-20 14:18:10 -05:00
Joey Perrott
ca1e86b684 build: disable failing strict_deps targets
Disable all failing strict_deps targets with TODOs to fix them moving forward.
2025-02-19 15:22:58 -05:00
Paul Gschwendtner
397ea00552 build: migrate @angular-devkit/architect/node tests to rules_js
Migrates the sub-entry point tests for architect/node to `rules_js`.
2025-01-21 18:19:11 +01:00
Paul Gschwendtner
4fee94a96c build: rename //:root_modules to //:node_modules.
This is necessary as `rules_js` requires this "common name" when dealing
with Yarn workspaces, linking first party dependencies automatically.

In the future, we may be able to send a PR to `rules_js` to support a
custom name somehow.
2025-01-15 19:20:40 +01:00
Paul Gschwendtner
a8335cf950 build: never use interop targets for ts compilations
* Removes `interop_deps` from the `ts_project` interop macro.
* Keeps `_rjs` suffix for now as we still need the interop targets for
  e.g. `jasmine_node_test` and the `rules_nodejs` linker.

In follow-ups we can remove the suffix, and interop layer.
2025-01-09 09:42:06 +01:00
Charles Lyding
7b15a15af8 build: migrate tests infrastructure to ts_project
The miscellaneous test infrastructure targets within `tests/` have been migrated to the `rules_js` ts_project rule.
2025-01-06 13:10:15 -05:00
Ash Ramirez
434a3740f0 refactor(@angular/cli): update aio links -> adev links
Updates for all angular.io links to the new angular.dev domain. Additionally, adjustment to new resources where the equivalent does not exist on the new site (e.g. Tour of Heroes tutorial)
2024-06-06 11:12:06 +02:00
Alan Agius
93adeeb798 refactor: move experimental jobs API from @angular-devkit/core to @angular-devkit/architect
With this change we move `jobs` APIs to `@angular-devkit/architect` as this are intended to used with `@angular-devkit/architect`.
2022-10-07 11:09:53 -04:00
Charles Lyding
b2add316e7 build: remove unneeded BUILD file licenses rule comments 2022-09-13 10:33:49 -07:00
Paul Gschwendtner
156f15e47f build: cleanup references to old master branch
Cleans up all referneces to the old `master` branch.
2022-05-04 09:55:54 -07:00
Charles Lyding
f13db1da47 build: update bazel rules_nodejs to v5.3.0
The `check_bazel_version` and `check_rules_nodejs_version` calls have also been removed from the WORKSPACE file as they are no longer supported or recommended by `rules_nodejs`.
2022-03-24 07:04:50 +01:00
Alan Agius
9ddb220c3d docs: replace app with application 2022-03-14 10:03:06 -04:00
Alan Agius
433b6b4931 docs: remove redundant default empty strings values
(cherry picked from commit 3d928c01c8196b1caba7b373eec870540ecda79e)
2022-03-04 16:58:55 +01:00
Alan Agius
0bb6e82ea4 test: fix tests/angular_devkit/core/json/schema/serializers/schema_benchmark.json file formatting 2021-06-02 09:15:47 +02: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
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
f0d18e990e docs: change sourcemap to source map
The latter is more in used in other articules such as:
-  https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map
- https://developers.google.com/web/tools/chrome-devtools/javascript/source-maps
2020-12-09 14:36:07 -05:00
Alan Agius
d1adba1347 build: update build_bazel_rules_nodejs to 2.0.2 2020-08-19 16:00:07 +02:00
Filipe Silva
bae240e090 test(@angular-devkit/build-ng-packagr): build and test with Bazel 2020-04-30 15:12:46 -07:00
Filipe Silva
ef7a07050a test(@angular-devkit/build-angular): build and test with Bazel 2020-04-30 15:12:46 -07:00
Filipe Silva
fe280b25f2 test(@angular-devkit/build-webpack): build and test with Bazel 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
Alan Agius
a78fe96681 test: update ng-packagr tests tsconfig as per CLI default
This seems to be the root cause of the failures in the following PR:
https://github.com/angular/angular-cli/pull/17455
2020-04-13 11:33:53 -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
Alan Agius
10e7eb2c24 test: change browserslist file name to .browserslistrc 2020-04-06 09:58:42 -07:00
Alan Agius
a2b158be88 feat(@schematics/angular): enable lazy loading on the server for new projects
With this change, lazy-loading on the server becomes enabled out of the box for new projects. This is because webpack will only split ES6 imports into separate chunks. However when using commonjs all lazy loaded paths will be concatenated into the main.js file.
2020-04-02 10:25:04 -07:00
Fabian Wiles
bc5ce395e5
Merge pull request #16648 from Toxicable/preserve-symlink-nodejs
feat(@angular-devkit/build-angular): default to NodeJS value for pres…
2020-03-23 14:18:27 -07:00
Alan Agius
9b788b9125 build: update jasmine-spec-reporter to version 5 2020-03-23 14:17:54 -07:00
Alan Agius
cecb3de5b7 test: update tslint.json for test application to match latest new projects 2020-03-16 21:41:48 -07:00
Alan Agius
730ce6256c test: change webpack angular tests to use es2015
This is to avoid having NGCC go through and transform ES5 entrypoints
2020-03-09 10:24:08 -07:00
Alan Agius
17b28f4c64 revert: "test(@angular-devkit/build-angular): add skipLibCheck to tests workspace tsconfig"
This reverts commit 3ae1eb6e2d80d424aee9fb966787d28843f5c2f4.
2020-01-29 10:20:50 -08:00
Cyrille Tuzi
ee589d9116 fix(@schematics/angular): add compliance with no-any lint rule 2020-01-29 10:19:36 -08:00
Alan Agius
3ae1eb6e2d test(@angular-devkit/build-angular): add skipLibCheck to tests workspace tsconfig
Add skipLibCheck to speed up TypeScript analysis and prevent compilation errors caused by incompatible declaration files which were generated with older/new TS versions
2020-01-16 14:48:23 -08:00
Filipe Silva
86d4385440 build: use TypeScript 3.7 2020-01-09 13:43:49 -08:00
Doug Parker
1aac244541 docs(@angular/cli): Adds developer documentation.
I wrote down my understanding of the best ways to build/run/test/debug this repository.

A couple other random things included here:
* Removed an extraneous `debugger;` statement which I kept hitting.
* Removed the `watch` scripts which are no longer used and don't need to be supported.
* Removed `yarn test-cli-e2e`, as it alters the $PATH and can use the wrong `ng` instance.
2019-11-14 11:12:29 -08:00
Alan Agius
e31d5d89b7 build: update bazel packages 2019-10-24 12:05:25 -07:00
Filipe Silva
ab70e61d02 fix(@ngtools/webpack): don't set ngprogram to null
It should be undefined instead: cd7b199219/packages/compiler-cli/src/ngtsc/program.ts (L161)

Fix https://github.com/angular/angular-cli/issues/15857
2019-10-17 10:45:12 -07:00
Filipe Silva
7d3460d115 fix(@angular-devkit/build-angular): roll angular app test back to VE
This should really be using Ivy but was getting the error below on every second build.
`ERROR in Cannot read property 'incrementalState' of null`
2019-10-16 10:00:49 -07:00
Filipe Silva
fd49f2e2fc test: disable typescript version check 2019-10-16 10:00:49 -07:00
Alan Agius
5d9b20b49c refactor(@schematics/angular): remove redundant quotes from protractor options 2019-10-14 13:41:58 -07:00
Charles Lyding
6cb9f4df92 test: update to Angular 9.0.0-next.7
This requires localize polyfills for i18n support.
2019-09-25 10:54:25 -07:00
Charles
0d0d124a6d build: yarn upgrade lock update (#15589)
* build: yarn upgrade lock update

* build: change sauce connect proxy name to avoid npm package shadowing

`sauce-connect` is an old npm package.  Using the name for the saucelabs proxy tool causes false security vulnerability warnings.

* build: update license exceptions

mainly removal of now unneeded exceptions
2019-09-17 08:34:09 -07:00
Alan Agius
6292c73773 feat(@schematics/angular): add export to renderModuleFactory in server main file
This is to reduce the steps for users when opting-out of ivy
2019-09-10 10:01:50 -07:00
Alan
fb0a6af9f0 fix(@angular-devkit/build-angular): make app-shell work with Ivy
Fixes #15383
2019-09-10 10:01:50 -07:00
Filipe Silva
60f9b19ecd test: use Ivy by default, opt-in to VE 2019-08-28 22:54:52 +05:30
Alan Agius
ad8acb0d23 build: bump angular dev packages to latest next versions 2019-08-22 09:41:28 -07:00
Alan Agius
96c457d6a5 refactor: add enableIvy: true until FW flips it on by default 2019-08-16 09:31:02 -07:00
Alan
ba8a6ea599 feat(@schematics/angular): remove enableIvy option
With this change we remove the enableIvy option as now we only support generating Ivy application. Users who want to create a VE applications should follow the opt-out guide
2019-08-16 09:31:02 -07:00