forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@ngtools/webpack): allow .svg files as templates
With directTemplateLoading enabled, components can now use .svg files as templates. For AOT builds, the Angular compiler host now reads .svg files directly when reading component templates. For JIT builds, replaceResources creates a require call that directly uses raw-loader instead of using the loader provided by the current webpack configuration. Closes angular#10567
- Loading branch information
Showing
503 changed files
with
8,941 additions
and
4,667 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
steps: | ||
- label: windows-test | ||
commands: | ||
# Yarn workspaces creates directory junctions inside node_modules, but these fail in docker. | ||
# E.g. inside the container, `mklink /J "C:\src\_" "C:\src\packages\_"` will fail with | ||
# `Access is denied.` | ||
# https://github.com/moby/moby/issues/37024 | ||
# As a workaround, we copy all files in the shared volume and run the commands in the new dir. | ||
- xcopy C:\workdir C:\workdir-copy /E /H /K /S /Q /I | ||
- cd C:\workdir-copy | ||
# Actual CI commands | ||
# --network-timeout is a workaround for https://github.com/yarnpkg/yarn/issues/6221 | ||
- yarn install --frozen-lockfile --non-interactive --network-timeout 500000 | ||
- yarn webdriver-update | ||
- node --version | ||
- yarn --version | ||
- yarn test | ||
# Move this file into the .buildkite folder if Appveyor is removed. | ||
- appveyor-e2e.bat | ||
# - bazel test ... | ||
plugins: | ||
- docker#v2.1.0: | ||
image: "filipesilva/node-bazel-windows:0.0.2" | ||
# Times out in 2h | ||
timeout_in_minutes: 120 | ||
# Automatically retries up to 2 times. | ||
retry: | ||
automatic: | ||
exit_status: "*" | ||
limit: 2 | ||
agents: | ||
windows: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,10 @@ | ||
<!-- | ||
IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING | ||
--> | ||
### Bug Report or Feature Request (mark with an `x`) | ||
``` | ||
- [ ] bug report -> please search issues before submitting | ||
- [ ] feature request | ||
``` | ||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 | ||
|
||
### Command (mark with an `x`) | ||
``` | ||
- [ ] new | ||
- [ ] build | ||
- [ ] serve | ||
- [ ] test | ||
- [ ] e2e | ||
- [ ] generate | ||
- [ ] add | ||
- [ ] update | ||
- [ ] lint | ||
- [ ] xi18n | ||
- [ ] run | ||
- [ ] config | ||
- [ ] help | ||
- [ ] version | ||
- [ ] doc | ||
``` | ||
Please help us process issues more efficiently by filing an | ||
issue using one of the following templates: | ||
|
||
### Versions | ||
<!-- | ||
Output from: `node --version`, `npm --version` and `ng --version`. | ||
Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra? High Sierra?) | ||
--> | ||
https://github.com/angular/angular-cli/issues/new/choose | ||
|
||
Thank you! | ||
|
||
### Repro steps | ||
<!-- | ||
Simple steps to reproduce this bug. | ||
Please include: commands run (incl args), packages added, related code changes. | ||
A link to a sample repo would help too. | ||
--> | ||
|
||
|
||
### The log given by the failure | ||
<!-- Normally this include a stack trace and some more information. --> | ||
|
||
|
||
### Desired functionality | ||
<!-- | ||
What would like to see implemented? | ||
What is the usecase? | ||
--> | ||
|
||
|
||
### Mention any other details that might be useful | ||
<!-- Please include a link to the repo if this is related to an OSS project. --> | ||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
name: "\U0001F41EBug report" | ||
about: Report a bug in Angular CLI | ||
--- | ||
<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅 | ||
Oh hi there! 😄 | ||
To expedite issue processing please search open and closed issues before submitting a new one. | ||
Existing issues often contain information about workarounds, resolution, or progress updates. | ||
🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅--> | ||
|
||
|
||
# 🐞 Bug report | ||
|
||
### Command (mark with an `x`) | ||
<!-- Can you pin-point the command or commands that are effected by this bug? --> | ||
<!-- ✍️edit: --> | ||
``` | ||
- [ ] new | ||
- [ ] build | ||
- [ ] serve | ||
- [ ] test | ||
- [ ] e2e | ||
- [ ] generate | ||
- [ ] add | ||
- [ ] update | ||
- [ ] lint | ||
- [ ] xi18n | ||
- [ ] run | ||
- [ ] config | ||
- [ ] help | ||
- [ ] version | ||
- [ ] doc | ||
``` | ||
|
||
### Is this a regression? | ||
|
||
<!-- Did this behavior use to work in the previous version? --> | ||
<!-- ✍️--> Yes, the previous version in which this bug was not present was: .... | ||
|
||
|
||
### Description | ||
|
||
<!-- ✍️--> A clear and concise description of the problem... | ||
|
||
|
||
## 🔬 Minimal Reproduction | ||
<!-- | ||
Simple steps to reproduce this bug. | ||
Please include: commands run (including args), packages added, related code changes. | ||
If reproduction steps are not enough for reproduction of your issue, please create a minimal GitHub repository with the reproduction of the issue. Share the link to the repo below along with step-by-step instructions to reproduce the problem, as well as expected and actual behavior. | ||
Issues that don't have enough info and can't be reproduced will be closed. | ||
You can read more about issue submission guidelines here: https://github.com/angular/angular-cli/blob/master/CONTRIBUTING.md#-submitting-an-issue | ||
--> | ||
|
||
## 🔥 Exception or Error | ||
<pre><code> | ||
<!-- If the issue is accompanied by an exception or an error, please share it below: --> | ||
<!-- ✍️--> | ||
|
||
</code></pre> | ||
|
||
|
||
## 🌍 Your Environment | ||
<pre><code> | ||
<!-- run `ng version` and paste output below --> | ||
<!-- ✍️--> | ||
|
||
</code></pre> | ||
|
||
**Anything else relevant?** | ||
<!-- ✍️Is this a browser specific issue? If so, please specify the browser and version. --> | ||
|
||
<!-- ✍️Do any of these matter: operating system, IDE, package manager, HTTP server, ...? If so, please mention it below. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
name: "\U0001F680Feature request" | ||
about: Suggest a feature for Angular CLI | ||
|
||
--- | ||
<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅 | ||
Oh hi there! 😄 | ||
To expedite issue processing please search open and closed issues before submitting a new one. | ||
Existing issues often contain information about workarounds, resolution, or progress updates. | ||
🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅--> | ||
|
||
|
||
# 🚀 Feature request | ||
|
||
|
||
### Command (mark with an `x`) | ||
<!-- Can you pin-point the command or commands that are relevant for this feature request? --> | ||
<!-- ✍️edit: --> | ||
``` | ||
- [ ] new | ||
- [ ] build | ||
- [ ] serve | ||
- [ ] test | ||
- [ ] e2e | ||
- [ ] generate | ||
- [ ] add | ||
- [ ] update | ||
- [ ] lint | ||
- [ ] xi18n | ||
- [ ] run | ||
- [ ] config | ||
- [ ] help | ||
- [ ] version | ||
- [ ] doc | ||
``` | ||
|
||
### Description | ||
<!-- ✍️--> A clear and concise description of the problem or missing capability... | ||
|
||
|
||
### Describe the solution you'd like | ||
<!-- ✍️--> If you have a solution in mind, please describe it. | ||
|
||
|
||
### Describe alternatives you've considered | ||
<!-- ✍️--> Have you considered any alternative solutions or workarounds? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: "📚 Docs or angular.io issue report" | ||
about: Report an issue in Angular's documentation or angular.io application | ||
|
||
--- | ||
|
||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 | ||
|
||
Please file any Docs or angular.io issues at: https://github.com/angular/angular/issues/new/choose | ||
|
||
For the time being, we keep Angular AIO issues in a separate repository. | ||
|
||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: ⚠️Security issue disclosure | ||
about: Report a security issue in Angular Framework, Material, or CLI | ||
|
||
--- | ||
|
||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 | ||
|
||
Please read https://angular.io/guide/security#report-issues on how to disclose security related issues. | ||
|
||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: "❓Support request" | ||
about: Questions and requests for support | ||
|
||
--- | ||
|
||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 | ||
|
||
Please do not file questions or support requests on the GitHub issues tracker. | ||
|
||
You can get your questions answered using other communication channels. Please see: | ||
https://github.com/angular/angular-cli/blob/master/CONTRIBUTING.md#question | ||
|
||
Thank you! | ||
|
||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: "⚡Angular Framework" | ||
about: Issues and feature requests for Angular Framework | ||
|
||
--- | ||
|
||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 | ||
|
||
Please file any Angular Framework issues at: https://github.com/angular/angular/issues/new/choose | ||
|
||
For the time being, we keep Angular issues in a separate repository. | ||
|
||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: "\U0001F48EAngular Material" | ||
about: Issues and feature requests for Angular Material | ||
|
||
--- | ||
|
||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 | ||
|
||
Please file any Angular Material issues at: https://github.com/angular/material2/issues/new | ||
|
||
For the time being, we keep Angular Material issues in a separate repository. | ||
|
||
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.