profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/alan-agius4/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Alan Agius alan-agius4 Malta Angular Team, Loves TypeScript, Build Tools, Food, Beer & Coffee 🇲🇹

alan-agius4/angular-benchpress-playground 4

Angular Benchpress Playground

alan-agius4/angular-cli 2

CLI tool for Angular

alan-agius4/analyse 0

analyse web app for webpack stats

alan-agius4/angular 0

One framework. Mobile & desktop.

alan-agius4/angular-aot-metadata-bug 0

Repo for Angular AOT Metadata Bug

alan-agius4/angular-cli-ghpages 0

🚀 Deploy your 🅰️Angular app to GitHub pages directly from the Angular CLI! Available on NPM.

alan-agius4/angular-issue-23609 0

Angular Issue 23609

MemberEvent

issue closedangular/angular-cli

Found: @angular/cdk@undefined

🐞 Bug report

I am updating to angular 11.2.14 and receive the following error.

🔥 Exception or Error

npm ERR! Found: @angular/cdk@undefined
npm ERR! node_modules/@angular/cdk
npm ERR!   dev @angular/cdk@"^11.2.14" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/cdk@"^11.0.0" from @angular/flex-layout@11.0.0-beta.33
npm ERR! node_modules/@angular/flex-layout
npm ERR!   dev @angular/flex-layout@"11.0.0-beta.33" from the root project

The error was reported once in #10167 but was closed due to the lack of feedback.

Is this a regression?

Yes, the previous version in which this bug was not present was: 11.1.0

Description

Content of package.json:

    "@angular-builders/custom-webpack": "11.2.14",
    "@angular-devkit/build-angular": "11.2.14",
    "@angular/animations": "11.2.14",
    "@angular/cdk": "^11.2.14",
    "@angular/cli": "11.2.14",
    "@angular/common": "11.2.14",
    "@angular/compiler": "11.2.14",
    "@angular/compiler-cli": "11.2.14",
    "@angular/core": "11.2.14",
    "@angular/flex-layout": "11.0.0-beta.33",
    "@angular/forms": "11.2.14",
    "@angular/language-service": "11.2.14",
    "@angular/material": "11.2.14",
    "@angular/platform-browser": "11.2.14",
    "@angular/platform-browser-dynamic": "11.2.14",
    "@angular/router": "11.2.14",

🌍 Your Environment

<pre><code> Angular CLI: 12.0.4 Node: 16.2.0 Package Manager: npm 7.15.0 OS: darwin arm64

Angular: <error> ... animations, cdk, common, compiler, compiler-cli, core ... flex-layout, forms, language-service, material ... platform-browser, platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1200.4 (cli-only) @angular-devkit/build-angular <error> @angular-devkit/core 12.0.4 (cli-only) @angular-devkit/schematics 12.0.4 (cli-only) @angular/cli 12.0.4 (cli-only) @schematics/angular 12.0.4 (cli-only) rxjs 6.6.7 (cli-only) typescript <error> webpack <error> </code></pre>

closed time in 4 hours

seb-mtl

issue commentangular/angular-cli

Found: @angular/cdk@undefined

I deleted the node_modules directory and installed the packages from scratch. The issue disappeared

seb-mtl

comment created time in 4 hours

fork alexeagle/tilt-example-bazel

Iterative examples of how to set up Bazel with Tilt

fork in 4 hours

issue openedangular/angular-cli

@angular-devkit/build-angular ---> glob_parent DOS

Q. will you upgrade build-angular to webpack 5 ? currently it is at a version which has (dev) security vulnerabilities

npm audit:

{
  "actions": [
    {
      "action": "review",
      "module": "glob-parent",
      "resolves": [
        {
          "id": 1751,
          "path": "@angular-devkit/build-angular>webpack-dev-server>chokidar>glob-parent",
          "dev": true,
          "optional": false,
          "bundled": false
        },
        {
          "id": 1751,
          "path": "@nrwl/nest>@nrwl/node>webpack>watchpack>watchpack-chokidar2>chokidar>glob-parent",
          "dev": true,
          "optional": true,
          "bundled": false
        },
        {
          "id": 1751,
          "path": "@nrwl/node>webpack>watchpack>watchpack-chokidar2>chokidar>glob-parent",
          "dev": true,
          "optional": true,
          "bundled": false
        }
      ]
    },
    {
      "action": "review",
      "module": "css-what",
      "resolves": [
        {
          "id": 1754,
          "path": "@angular-devkit/build-angular>css-minimizer-webpack-plugin>cssnano>cssnano-preset-default>postcss-svgo>svgo>css-select>css-what",
          "dev": true,
          "optional": false,
          "bundled": false
        }
      ]
    }
  ],
  "advisories": {
    "1751": {
      "findings": [
        {
          "version": "3.1.0",
          "paths": [
            "@angular-devkit/build-angular>webpack-dev-server>chokidar>glob-parent"
          ]
        },
        {
          "version": "3.1.0",
          "paths": [
            "@nrwl/nest>@nrwl/node>webpack>watchpack>watchpack-chokidar2>chokidar>glob-parent",
            "@nrwl/node>webpack>watchpack>watchpack-chokidar2>chokidar>glob-parent"
          ]
        }
      ],
      "id": 1751,
      "created": "2021-06-07T21:57:10.135Z",
      "updated": "2021-06-07T21:58:07.745Z",
      "deleted": null,
      "title": "Regular expression denial of service",
      "found_by": {
        "link": "",
        "name": "Anonymous",
        "email": ""
      },
      "reported_by": {
        "link": "",
        "name": "Anonymous",
        "email": ""
      },
      "module_name": "glob-parent",
      "cves": [
        "CVE-2020-28469"
      ],
      "vulnerable_versions": "<5.1.2",
      "patched_versions": ">=5.1.2",
      "overview": "`glob-parent` before 5.1.2 has a regular expression denial of service vulnerability. The enclosure regex used to check for strings ending in enclosure containing path separator.",
      "recommendation": "Upgrade to version 5.1.2 or later",
      "references": "- [CVE](https://nvd.nist.gov/vuln/detail/CVE-2020-28469)\n- [GitHub Advisory](https://github.com/advisories/GHSA-ww39-953v-wcq6)\n",
      "access": "public",
      "severity": "moderate",
      "cwe": "CWE-400",
      "metadata": {
        "module_type": "",
        "exploitability": 5,
        "affected_components": ""
      },
      "url": "https://npmjs.com/advisories/1751"
    },
    "1754": {
      "findings": [
        {
          "version": "4.0.0",
          "paths": [
            "@angular-devkit/build-angular>css-minimizer-webpack-plugin>cssnano>cssnano-preset-default>postcss-svgo>svgo>css-select>css-what"
          ]
        }
      ],
      "id": 1754,
      "created": "2021-06-07T22:13:06.506Z",
      "updated": "2021-06-07T22:21:16.027Z",
      "deleted": null,
      "title": "Denial of Service",
      "found_by": {
        "link": "",
        "name": "Anonymous",
        "email": ""
      },
      "reported_by": {
        "link": "",
        "name": "Anonymous",
        "email": ""
      },
      "module_name": "css-what",
      "cves": [
        "CVE-2021-33587"
      ],
      "vulnerable_versions": "<5.0.1",
      "patched_versions": ">=5.0.1",
      "overview": "`css-what` before 5.0.1 does not ensure that attribute parsing has Linear Time Complexity relative to the size of the input.",
      "recommendation": "Upgrade to version 5.0.1 or later",
      "references": "- [CVE](https://nvd.nist.gov/vuln/detail/CVE-2021-33587)\n- [GitHub Advisory](https://github.com/advisories/GHSA-q8pj-2vqx-8ggc)\n",
      "access": "public",
      "severity": "high",
      "cwe": "CWE-400",
      "metadata": {
        "module_type": "",
        "exploitability": 7,
        "affected_components": ""
      },
      "url": "https://npmjs.com/advisories/1754"
    }
  },
  "muted": [],
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 0,
      "moderate": 3,
      "high": 1,
      "critical": 0
    },
    "dependencies": 600,
    "devDependencies": 1749,
    "optionalDependencies": 153,
    "totalDependencies": 2459
  },
  "runId": "89df43d4-3fb8-4eb4-b2e8-c079486ebb88"
}

Angular CLI: 12.0.4 Node: 14.8.0 Package Manager: npm 6.14.7 OS: darwin x64

Angular: 12.0.4 ... animations, cdk, cdk-experimental, cli, common, compiler ... compiler-cli, core, forms, language-service, material ... platform-browser, platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1200.4 @angular-devkit/build-angular 12.0.5 @angular-devkit/core 12.0.4 @angular-devkit/schematics 12.0.4 @angular/flex-layout 12.0.0-beta.34 @angular/localize 11.2.14 @schematics/angular 12.0.4 rxjs 6.5.5 typescript 4.2.4

created time in 8 hours

issue commentangular/angular-cli

NG_BUILD_IVY_LEGACY missing in Angular 12

Yes, we are on same time like before with legacy

KrakenTyio

comment created time in 11 hours

PR opened angular/angular-cli

perf(@angular-devkit/build-angular): use combination of `esbuild` and `terser` as a JavaScript optimizer

The javascript optimization pipeline is now a two-phase process. esbuild is used in the first phase to remove the majority of the unused code and shorten identifiers in each output bundle script. esbuild can accomplish this in a fraction of the time that terser previously required. However, esbuild does not yet implement all of the optimizations that terser performs. As a result, terser is used as a second phase to further optimize and reduce the size of the output bundle scripts. Since terser is operating on a smaller input size, the time required for terser to complete is significantly reduced. To further improve performance when source maps are enabled, the source map merging is now performed within the optimization workers. By offloading the source map merging, the main process is not blocked by each script’s source map output. A maximum of four (4) optimization workers are currently used and this value can be adjusted via the NG_BUILD_MAX_WORKERS environment variable.

Initial tests provided a ~10% total build time improvement for both a newly created v12 project and AIO.

+360 -73

0 comment

8 changed files

pr created time in 12 hours

issue openedangular/angular-cli

ng serve loads data outside its root folder

Hi The ng serve loads data outside its root folder:

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

✔ Compiled successfully. Watchpack Error (initial scan): Error: EACCES: permission denied, lstat '/mnt/c/DumpStack.log.tmp' Watchpack Error (initial scan): Error: EACCES: permission denied, lstat '/mnt/c/hiberfil.sys' Watchpack Error (initial scan): Error: EACCES: permission denied, lstat '/mnt/c/pagefile.sys' Watchpack Error (initial scan): Error: EACCES: permission denied, lstat '/mnt/c/swapfile.sys' Watchpack Error (stats): Error: EACCES: permission denied, lstat '/mnt/c/pagefile.sys'

🐞 Bug report

Command (mark with an x)

  • [ ] new
  • [ ] build
  • [X] serve
  • [ ] test
  • [ ] e2e
  • [ ] generate
  • [ ] add
  • [ ] update
  • [ ] lint
  • [ ] extract-i18n
  • [ ] run
  • [ ] config
  • [ ] help
  • [ ] version
  • [ ] doc

Is this a regression?

Dont know, sorry

Description

When starting the ng serve, to looks way outside its root directory.

🔬 Minimal Reproduction

Ubuntu on windows. start any android project that is located on c drive and it will access data outside its root directory.

Angular CLI: 12.0.5 Node: 14.15.0 Package Manager: npm 7.6.3 OS: linux x64

Angular: 12.0.5 ... animations, cli, common, compiler, core, forms ... platform-browser, platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1200.5 @angular-devkit/build-angular 12.0.5 @angular-devkit/core 12.0.5 @angular-devkit/schematics 12.0.5 @schematics/angular 12.0.5 rxjs 6.6.7 typescript 4.2.4

created time in 13 hours

issue commentangular/angular-cli

NG_BUILD_IVY_LEGACY missing in Angular 12

@alan-agius4 you right, now its better 1 build 98s rebuild 14s->5s->4.5s->5s

probably when i did migrate it was there builders with custom-webpack and not move properties right now with angular-devkit builders it do pretty much stuffs

after upgrade angular.json

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "defaultProject": "sandbox",
  "cli": {
    "analytics": false,
    "packageManager": "npm"
  },
  "projects": {
    "sandbox": {
      "projectType": "application",
      "schematics": {
        "@schematics/angular:component": {
          "style": "scss"
        }
      },
      "root": "",
      "sourceRoot": "src",
      "prefix": "cp",
      "i18n": {
        "sourceLocale": "en-GB",
        "locales": {
          "nl-BE": "src/locale/messages.nl-BE.xlf",
          "nl-NL": "src/locale/messages.nl-NL.xlf",
          "fr-BE": "src/locale/messages.fr-BE.xlf",
          "de-DE": "src/locale/messages.de-DE.xlf"
        }
      },
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "build/sandbox",
            "index": "src/index.html",
            "main": "src/app.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "tsconfig.app.json",
            "sourceMap": {
              "scripts": true,
              "styles": true,
              "vendor": false
            },
            "assets": [
              {
                "glob": "favicon-32x32.png",
                "input": "nui/assets/favicons/",
                "output": "/favicons/"
              },
              {
                "glob": "*",
                "input": "assets",
                "output": "/public/images/"
              },
              {
                "glob": "*",
                "input": "config/init/",
                "output": "/config/init/"
              }
            ],
            "styles": ["src/style.scss"],
            "stylePreprocessorOptions": {
              "includePaths": ["nui", "node_modules/@syncfusion"]
            },
            "scripts": [],
            "allowedCommonJsDependencies": [
              "md5",
              "croppie",
              "xlsx",
              "file-saver",
              "node-interval-tree",
              "socket.io-client",
              "moment-timezone",
              "dom-set",
              "dom-plane",
              "dom-autoscroller",
              "zone.js/dist/long-stack-trace-zone",
              "querystring"
            ],
            "vendorChunk": true,
            "extractLicenses": false,
            "buildOptimizer": false,
            "optimization": false,
            "namedChunks": true
          },
          "configurations": {
            "production": {
              "assets": [
                {
                  "glob": "robots.txt",
                  "input": "nui/assets/",
                  "output": "/"
                },
                {
                  "glob": "humans.txt",
                  "input": "nui/assets/",
                  "output": "/"
                },
                {
                  "glob": "**/*",
                  "input": "nui/assets/favicons/",
                  "output": "/favicons/"
                },
                {
                  "glob": "*",
                  "input": "assets",
                  "output": "/public/images/"
                },
                {
                  "glob": "*",
                  "input": "config/init/",
                  "output": "/config/init/"
                }
              ],
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ],
              "localize": true,
              "statsJson": false,
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": {
                "scripts": true,
                "styles": true,
                "vendor": false,
                "hidden": true
              },
              "namedChunks": false,
              "extractLicenses": true,
              "buildOptimizer": true,
              "budgets": [
                {
                  "type": "bundle",
                  "name": "main",
                  "maximumWarning": "700kb",
                  "maximumError": "1mb"
                },
                {
                  "type": "initial",
                  "maximumWarning": "1500kb",
                  "maximumError": "3mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "50kb"
                },
                {
                  "type": "anyScript",
                  "maximumWarning": "1mb",
                  "maximumError": "5mb"
                }
              ]
            },
            "be": {
              "localize": ["nl-BE"]
            },
            "nl": {
              "localize": ["nl-NL"]
            },
            "fr": {
              "localize": ["fr-BE"]
            },
            "de": {
              "localize": ["de-DE"]
            },
            "prod-stats": {
              "browserTarget": "sandbox:build:production",
              "statsJson": true,
              "outputHashing": "none"
            }
          },
          "defaultConfiguration": ""
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "browserTarget": "sandbox:build",
            "port": 8080
          },
          "configurations": {
            "production": {
              "browserTarget": "sandbox:build:production"
            },
            "be": {
              "browserTarget": "sandbox:build:be"
            },
            "nl": {
              "browserTarget": "sandbox:build:nl"
            },
            "fr": {
              "browserTarget": "sandbox:build:fr"
            },
            "de": {
              "browserTarget": "sandbox:build:de"
            },
            "jit": {
              "aot": false,
              "sourceMap": {
                "scripts": true,
                "styles": false,
                "vendor": false
              }
            }
          }
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "sandbox:build",
            "format": "xlf2",
            "outputPath": "src/locale",
            "outFile": "messages.xlf"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "src/test.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "tsconfig.spec.json",
            "karmaConfig": "karma.conf.js",
            "codeCoverage": true,
            "sourceMap": {
              "scripts": true,
              "styles": false,
              "vendor": false
            },
            "styles": [],
            "scripts": []
          }
        },
        "e2e": {
          "builder": "@angular-devkit/build-angular:protractor",
          "options": {
            "protractorConfig": "e2e/protractor.conf.js",
            "devServerTarget": "sandbox:serve"
          },
          "configurations": {
            "production": {
              "devServerTarget": "sandbox:serve:production"
            },
            "noserve": {
              "devServerTarget": ""
            },
            "sandbox": {
              "devServerTarget": "",
              "baseUrl": "https://app.mvp-dev.aws.crossuite.com"
            }
          }
        },
        "lint": {
          "builder": "@angular-eslint/builder:lint",
          "options": {
            "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"],
            "exclude": ["**/node_modules/**"]
          }
        }
      }
    }
  }
}
KrakenTyio

comment created time in 13 hours

issue commentangular/angular-cli

Index html generation failed. `property missing ':'`

@fukuso I also had the same issue even with the provided workaround. What solved the issue for me was to add a development configuration to the angular.json file, and use ng build with a --configuration development flag. "configurations": { "production": { "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" } ], "optimization": { "scripts": true, "styles": { "minify": true, "inlineCritical": false }, "fonts": true } ... }, "development": { "optimization": false, "sourceMap": true, "namedChunks": false, "extractLicenses":false, "vendorChunk": true, "buildOptimizer":true } }

You could play around with the optimization property to disable or enable preferred optimizations. However, it is worthy to note that if you completely disable optimization in the development configuration, you may run into memory issues and still be unable to build your project. If that happens this should help

kemsky

comment created time in 13 hours

issue commentangular/angular-cli

NG_BUILD_IVY_LEGACY missing in Angular 12

Hi there cpu profile and trace resolution its contain first build and also adding one change in app.ts (one if condition with console.log(1)) and revert this change also its generated by node 14 lts docker docker has allowed 12GB ram, its consule almost full 12gb in first rebuild, after build it stay in 6gb, when run rebuil it takes avr 6-8gb ram timing was some in 250-260s and rebuild 35-45s, just note it, in LEGACY build ang 11 it takes max 110s and 4-6s

npm: 7.18.1 node: v14.17.1

installed by: npm i --no-optional --legacy-peer-deps

angular.json

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "defaultProject": "sandbox",
  "cli": {
    "analytics": false,
    "packageManager": "npm"
  },
  "projects": {
    "sandbox": {
      "projectType": "application",
      "schematics": {
        "@schematics/angular:component": {
          "style": "scss"
        }
      },
      "root": "",
      "sourceRoot": "src",
      "prefix": "cp",
      "i18n": {
        "sourceLocale": "en-GB",
        "locales": {
          "nl-BE": "src/locale/messages.nl-BE.xlf",
          "nl-NL": "src/locale/messages.nl-NL.xlf",
          "fr-BE": "src/locale/messages.fr-BE.xlf",
          "de-DE": "src/locale/messages.de-DE.xlf"
        }
      },
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "build/sandbox",
            "index": "src/index.html",
            "main": "src/app.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "tsconfig.app.json",
            "aot": true,
            "sourceMap": {
              "scripts": true,
              "styles": true,
              "vendor": false
            },
            "assets": [
              {
                "glob": "favicon-32x32.png",
                "input": "nui/assets/favicons/",
                "output": "/favicons/"
              },
              {
                "glob": "*",
                "input": "assets",
                "output": "/public/images/"
              },
              {
                "glob": "*",
                "input": "config/init/",
                "output": "/config/init/"
              }
            ],
            "styles": ["src/style.scss"],
            "stylePreprocessorOptions": {
              "includePaths": ["nui", "node_modules/@syncfusion"]
            },
            "scripts": [],
            "allowedCommonJsDependencies": [
              "md5",
              "croppie",
              "xlsx",
              "file-saver",
              "node-interval-tree",
              "socket.io-client",
              "moment-timezone",
              "dom-set",
              "dom-plane",
              "dom-autoscroller",
              "zone.js/dist/long-stack-trace-zone",
              "querystring"
            ]
          },
          "configurations": {
            "production": {
              "assets": [
                {
                  "glob": "robots.txt",
                  "input": "nui/assets/",
                  "output": "/"
                },
                {
                  "glob": "humans.txt",
                  "input": "nui/assets/",
                  "output": "/"
                },
                {
                  "glob": "**/*",
                  "input": "nui/assets/favicons/",
                  "output": "/favicons/"
                },
                {
                  "glob": "*",
                  "input": "assets",
                  "output": "/public/images/"
                },
                {
                  "glob": "*",
                  "input": "config/init/",
                  "output": "/config/init/"
                }
              ],
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ],
              "localize": true,
              "statsJson": false,
              "optimization": true,
              "outputHashing": "all",
              "sourceMap": {
                "scripts": true,
                "styles": true,
                "vendor": false,
                "hidden": true
              },
              "namedChunks": false,
              "extractLicenses": true,
              "vendorChunk": true,
              "buildOptimizer": true,
              "budgets": [
                {
                  "type": "bundle",
                  "name": "main",
                  "maximumWarning": "700kb",
                  "maximumError": "1mb"
                },
                {
                  "type": "initial",
                  "maximumWarning": "1500kb",
                  "maximumError": "3mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "50kb"
                },
                {
                  "type": "anyScript",
                  "maximumWarning": "1mb",
                  "maximumError": "5mb"
                }
              ]
            },
            "be": {
              "localize": ["nl-BE"]
            },
            "nl": {
              "localize": ["nl-NL"]
            },
            "fr": {
              "localize": ["fr-BE"]
            },
            "de": {
              "localize": ["de-DE"]
            },
            "prod-stats": {
              "browserTarget": "sandbox:build:production",
              "statsJson": true,
              "namedChunks": true,
              "extractLicenses": false,
              "outputHashing": "none"
            }
          }
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "options": {
            "browserTarget": "sandbox:build",
            "port": 8080
          },
          "configurations": {
            "production": {
              "browserTarget": "sandbox:build:production"
            },
            "be": {
              "browserTarget": "sandbox:build:be"
            },
            "nl": {
              "browserTarget": "sandbox:build:nl"
            },
            "fr": {
              "browserTarget": "sandbox:build:fr"
            },
            "de": {
              "browserTarget": "sandbox:build:de"
            },
            "jit": {
              "aot": false,
              "sourceMap": {
                "scripts": true,
                "styles": false,
                "vendor": false
              }
            }
          }
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "sandbox:build",
            "format": "xlf2",
            "outputPath": "src/locale",
            "outFile": "messages.xlf"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "src/test.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "tsconfig.spec.json",
            "karmaConfig": "karma.conf.js",
            "codeCoverage": true,
            "sourceMap": {
              "scripts": true,
              "styles": false,
              "vendor": false
            },
            "styles": [],
            "scripts": []
          }
        },
        "e2e": {
          "builder": "@angular-devkit/build-angular:protractor",
          "options": {
            "protractorConfig": "e2e/protractor.conf.js",
            "devServerTarget": "sandbox:serve"
          },
          "configurations": {
            "production": {
              "devServerTarget": "sandbox:serve:production"
            },
            "noserve": {
              "devServerTarget": ""
            },
            "sandbox": {
              "devServerTarget": "",
              "baseUrl": "https://app.mvp-dev.aws.crossuite.com"
            }
          }
        },
        "lint": {
          "builder": "@angular-eslint/builder:lint",
          "options": {
            "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"],
            "exclude": ["**/node_modules/**"]
          }
        }
      }
    }
  }
}
KrakenTyio

comment created time in 13 hours

created repositorydevversion/ng-webcontainer-material-experimental-mdc

Created with StackBlitz ⚡️

created time in 14 hours

Pull request review commentangular/angular-cli

fix(@schematics/angular): display warning during migrations when using third-party builders

 const ServerBuilderOptions: BuilderOptionsType = [ ];  export default function (): Rule {-  return updateWorkspace((workspace) => {-    for (const [, target] of allWorkspaceTargets(workspace)) {-      if (!target?.builder.startsWith('@angular-devkit/build-angular')) {-        continue;-      }+  return (_tree, context) =>+    updateWorkspace((workspace) => {+      for (const [targetName, target, projectName] of allWorkspaceTargets(workspace)) {+        if (+          !target.builder.startsWith('@angular-devkit/') &&+          !target.builder.startsWith('@nguniversal/')+        ) {+          context.logger.warn(tags.stripIndent`+            "${targetName}" target in "${projectName}" project is using a third-party builder.+            You may need to adjust the options to retain the existing behavior.+            For more information, see https://github.com/angular/angular-cli/releases/tag/v12.0.0
            For more information, see the breaking changes section within the release notes: https://github.com/angular/angular-cli/releases/tag/v12.0.0

The release notes are quite long. It would be nice if we could link directly to the breaking changes section.

alan-agius4

comment created time in 15 hours

created repositoryJamesHenry/nx-tag-successful-ci-run

:sparkles: A Github Action which tags the repo, intended to be used at the end of an Nx powered CI run

created time in 16 hours

delete branch angular/angular-cli

delete branch : renovate/less-loader-10.x

delete time in 17 hours

delete branch angular/angular-cli

delete branch : renovate/angular

delete time in 17 hours

push eventangular/angular-cli

Renovate Bot

commit sha b3c333aafd28663106fa2dd5007d96ada84e7492

build: update dependency less-loader to v10

view details

Renovate Bot

commit sha 1270e488817b4b43adc6db66f588ad0d9417abb9

build: update dependency typescript to v4.3.4

view details

push time in 17 hours

push eventangular/angular-cli

Charles Lyding

commit sha 12c14b56537d65d6986e245ab1ae4dd9aa8dd378

fix(@ngtools/webpack): remove no longer needed component styles workaround The underlying Angular compiler issue was corrected prior to the final release of 12.0.0 via https://github.com/angular/angular/commit/a5fe8b95893798467c4eea2b3d38d49f6d0ce1b3

view details

Charles Lyding

commit sha efafc157ad5f3406cc26823c6122bf1b84084745

build: support ES2020 API usage With the removal of support for Node.js v10, the TypeScript library version can be updated to ES2020. Node.js v12.11+ supports the API Elements of ES2020. The compilation target must still be set to ES2019 as the language syntax elements are not fully supported until Node.js v14+.

view details

Alan Agius

commit sha 5d15e5de07aef886120a7e6072cfdf18e5cd5d52

test(@angular/cli): add `ng add` and `ng update` E2E tests for secure repositories With this change we add E2E tests to validate that `ng add` and `ng update` work with secure NPM registries. This is a follow up of #21140 which addressed several issues with secure registries.

view details

hien-pham

commit sha 9cd8be69d6d244e75279f637fa8ebf0058a8c3f8

test(@schematics/angular): add missing unit test for skipTests flag of component, class, directive, and pipe

view details

Renovate Bot

commit sha e46a09b8e1462aa7c382bca44401697c64406202

build: update angular

view details

Renovate Bot

commit sha 347f2c97f4b7ae3219ddfb38d9ea4c814859f107

build: update dependency typescript to v4.3.4

view details

push time in 17 hours

push eventangular/angular-cli

Renovate Bot

commit sha b3c333aafd28663106fa2dd5007d96ada84e7492

build: update dependency less-loader to v10

view details

push time in 17 hours

PR merged angular/angular-cli

build: update dependency less-loader to v10 action: merge cla: yes target: minor

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
less-loader 9.1.0 -> 10.0.0 age adoption passing confidence

Release Notes

<details> <summary>webpack-contrib/less-loader</summary>

v10.0.0

Compare Source

⚠ BREAKING CHANGES
  • less.webpackLoaderContext was removed, please use pluginManager.webpackLoaderContext
Bug Fixes

</details>


Configuration

📅 Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone America/Tijuana.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

+6 -6

0 comment

3 changed files

renovate[bot]

pr closed time in 17 hours

push eventangular/angular-cli

Renovate Bot

commit sha e46a09b8e1462aa7c382bca44401697c64406202

build: update angular

view details

push time in 17 hours

PR merged angular/angular-cli

build: update angular action: merge cla: yes target: minor

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
@angular/animations dependencies digest 59b3590 -> 4d78b6d
@angular/animations devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/cdk dependencies digest 71522f6 -> 2168ad7
@angular/cdk devDependencies patch 12.1.0-next.0 -> 12.1.0-rc.0
@angular/common dependencies digest 08d3bac -> 5e6ac0b
@angular/common devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/compiler dependencies digest dd01f6e -> d85ca79
@angular/compiler devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/compiler-cli dependencies digest c9b5efe -> 7d9579c
@angular/compiler-cli devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/core dependencies digest c01caa2 -> a252960
@angular/core devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/dev-infra-private devDependencies digest 7b783ae -> 6707d0f
@angular/forms dependencies digest 1acc5d2 -> 33e66c2
@angular/forms devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/language-service dependencies digest baaf3ff -> d6dcdd4
@angular/localize dependencies digest f4e3dc7 -> 4b5f74a
@angular/localize devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/material dependencies digest 93a7fd2 -> 9d3f5d6
@angular/material devDependencies patch 12.1.0-next.0 -> 12.1.0-rc.0
@angular/material-moment-adapter dependencies digest 28a45f0 -> 9f6c344
@angular/platform-browser dependencies digest 00a7aa0 -> 54ebd40
@angular/platform-browser devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/platform-browser-dynamic dependencies digest ecb2f4d -> 701bea1
@angular/platform-browser-dynamic devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/platform-server dependencies digest c45c594 -> c03b8db
@angular/platform-server devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/router dependencies digest a83f07c -> 748525f
@angular/router devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6
@angular/service-worker dependencies digest e4adebb -> 55de53b
@angular/service-worker devDependencies patch 12.1.0-next.5 -> 12.1.0-next.6

🔡 If you wish to disable git hash updates, add ":disableDigestUpdates" to the extends array in your config.


Release Notes

<details> <summary>angular/angular</summary>

v12.1.0-next.6

Compare Source

compiler
Commit Description
8c1e0e6 fix(compiler): always match close tag to the nearest open element (#​42554)
compiler-cli
Commit Description
22bda22 fix(compiler-cli): prevent prior compilations from being retained in watch builds (#​42537)
core
Commit Description
3961b3c fix(core): ensure that autoRegisterModuleById registration in ɵɵdefineNgModule is not DCE-ed by closure (#​42529)
forms
Commit Description
7180ec9 fix(forms): changes to status not always being emitted to statusChanges observable for async validators. (#​42553)
language-service
Commit Description
4001e9d fix(language-service): 'go to defininition' for objects defined in template (#​42559)
228beea fix(language-service): Use last child end span for parent without close tag (#​42554)

Special Thanks:

Ahmed Ayed, Alan Agius, Alex Rickabaugh, Andrew Scott, Ankit Choudhary, Aristeidis Bampakos, Daniel Trevino, Dario Piotrowicz, Dylan Hunn, George Kalpakas, Igor Minar, JiaLiPassion, JoostK, Kapunahele Wong, Kristiyan Kostadinov, Marius Bethge, Mladen Jakovljević, Paul Gschwendtner, Pete Bacon Darwin, Pham Huu Hien, Renovate Bot, dario-piotrowicz and gobika21

</details>

<details> <summary>angular/components</summary>

v12.1.0-rc.0

Compare Source

No changes from 12.1.0-next.1

v12.1.0-next.1

Compare Source

cdk
bug fix a11y: Fix the touch/program origin regression introduced in the recent FocusMonitor refactor. (#​22754) (93499e95c9cfd13fcf9fdfcf7bb98773773ededa)
bug fix drag-drop: error if dragged item is destroyed as a result of the entered event (#​22904) (0431d8152bb1a0ff2c4bec31bb8684a8cba04b5f), closes #​22813
bug fix overlay: expand test environment check (#​22927) (3f26e99c8686417ebb29208fc8a2333593f9f07e), closes #​22926
bug fix schematics: avoid runtime errors thrown by devkit tree (#​22982) (805d3aef8b722ab2b19e6bcb5e13c849b21f2abf), closes #​22919
feature a11y: Add a new InputModalityDetector service to detect the user's current input modality. (#​22371) (f11775c663768c64f2e8df127606f1a048fde5dd)
material
bug fix multiple: add inject flags to manual injector calls (#​22922) (fc8a6f9cf5d9560dbd8ece6347a9066bb5f1020c), closes #​22665
bug fix schematics: incorrectly migrating some cases (#​22983) (3c140fdb7f8aecd09054a348986975404e9614a8)
bug fix slider: make value non-nullable (#​22912) (71afc4616baafdb46571a7b58d2037c18cd75317), closes #​22444
material-experimental
bug fix mdc-button: set proper touch target (#​22931) (32844962f26cef48f4339181dbd30c714bd005fd), closes #​22799
bug fix mdc-checkbox: add larger touch target (#​22892) (437aba6e7e5ea8e0842fd294ab63b7d103aac97b)
bug fix mdc-slide-toggle: increase contrast in high contrast mode (#​22945) (87ab033fe2c1b82e5f14ff8805d35f66886aa99a), closes #​22941
bug fix mdc-slider: align test harness inferred position with component (#​22879) (24d33a85a979d80c41ce4120e2991a4200cd9664)
bug fix mdc-slider: delete isRequired function (#​22876) (4cee3b7079a76b2f28657f5ac2a571add026aa24)
bug fix mdc-slider: initialize the aria-valuetext … (#​22877) (d5a5de2f5a853e02f210f8b55d2d9c7126695730)
bug fix mdc-slider: remove unused event emitters (#​22921) (f750db2addd7c67482b16f09fa7a0cbee8b99eb0)
bug fix mdc-tabs: ink bar animation not always disabled (#​22848) (61ce45da1b58bd10cf2c412ce7d961707ca7ff55)

12.0.5 "honeycomb-heart" (2021-06-16)

cdk
bug fix drag-drop: error if dragged item is destroyed as a result of the entered event (#​22904) (db855c2d3371ec5ef9e1a7c236408442be78dc39), closes #​22813
bug fix overlay: expand test environment check (#​22927) (1208456477b618167bc44a8e5df5ed2839b81a3d), closes #​22926
bug fix schematics: avoid runtime errors thrown by devkit tree (#​22982) (ce1e11c2a85e769fc4a7d659ca17935d0286a975), closes #​22919
material
bug fix multiple: add inject flags to manual injector calls (#​22922) (2e2f755e361f0d31edd49f140f3b678cfe7f1332), closes #​22665
bug fix slider: make value non-nullable (#​22912) (383f7b650b46172b8ac4f91813cd485db8dba84f), closes #​22444
material-experimental
bug fix mdc-button: set proper touch target (#​22931) (0012409b717bd8b5dc97ffed4e4e70afc9a84bca), closes #​22799
bug fix mdc-checkbox: add larger touch target (#​22892) (dee60fa411bb1e81d2487f1b54faf280bfdf56c0)
bug fix mdc-tabs: ink bar animation not always disabled (#​22848) (2af24d86e8aaf582a8ce8878d9ab9054807d2676)

</details>


Configuration

📅 Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone America/Tijuana.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

+92 -92

0 comment

4 changed files

renovate[bot]

pr closed time in 17 hours

push eventangular/angular-cli

hien-pham

commit sha 9cd8be69d6d244e75279f637fa8ebf0058a8c3f8

test(@schematics/angular): add missing unit test for skipTests flag of component, class, directive, and pipe

view details

push time in 17 hours

PR merged angular/angular-cli

test(@schematics/angular): add missing unit test for skipTests flag action: merge cla: yes target: minor

add missing unit test of skipTests flag for component, class, directive, and pipe

+43 -0

4 comments

4 changed files

phhien203

pr closed time in 17 hours

push eventangular/angular-cli

Alan Agius

commit sha 5d15e5de07aef886120a7e6072cfdf18e5cd5d52

test(@angular/cli): add `ng add` and `ng update` E2E tests for secure repositories With this change we add E2E tests to validate that `ng add` and `ng update` work with secure NPM registries. This is a follow up of #21140 which addressed several issues with secure registries.

view details

push time in 17 hours

PR merged angular/angular-cli

tests(@angular/cli): add `ng add` and `ng update` E2E tests for secure repositories action: merge cla: yes target: minor

With this change we add E2E tests to validate that ng add and ng update work with secure NPM registries.

This is a follow up of #21140 which addressed several issues with secure registries.

+168 -24

0 comment

7 changed files

alan-agius4

pr closed time in 17 hours

push eventangular/angular-cli

Charles Lyding

commit sha efafc157ad5f3406cc26823c6122bf1b84084745

build: support ES2020 API usage With the removal of support for Node.js v10, the TypeScript library version can be updated to ES2020. Node.js v12.11+ supports the API Elements of ES2020. The compilation target must still be set to ES2019 as the language syntax elements are not fully supported until Node.js v14+.

view details

push time in 17 hours

PR merged angular/angular-cli

build: support ES2020 API usage action: merge cla: yes target: minor

With the removal of support for Node.js v10, the TypeScript library version can be updated to ES2020. Node.js v12.11+ supports the API elements of ES2020. The compilation target must still be set to ES2019 as the language syntax elements are not fully supported until Node.js v14+.

+1 -1

2 comments

1 changed file

clydin

pr closed time in 17 hours

push eventangular/angular-cli

Charles Lyding

commit sha 12c14b56537d65d6986e245ab1ae4dd9aa8dd378

fix(@ngtools/webpack): remove no longer needed component styles workaround The underlying Angular compiler issue was corrected prior to the final release of 12.0.0 via https://github.com/angular/angular/commit/a5fe8b95893798467c4eea2b3d38d49f6d0ce1b3

view details

push time in 17 hours