Add Angular Elements to the "ng g library" compilation's results
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- angular, typescript
- 領域
- build-system, cli
研究方向
首先檢視 ng g library 的產生流程,以及 ng-packager 設定如何控制程式庫的編譯輸出。當產生的程式庫能夠在現有的 ES2015、ES5、UMD 和其他格式之外,同時建置 Angular Elements/Web Components 時,這項工作就完成了。
由索引模型根據 Issue 內容生成。
描述
🚀 Feature request
Command (mark with an x)
- [x] generate
Description
We know that the "ng g library" helps us with the creation of reusable libraries. The components we create into ous libs can be compiled into multiple JS formats (ES2015, ES5, UMD, ...), which is awesome! Thank you CLI team! However, would it be possible to have them compiled into Web Components as well?
Describe the solution you'd like
I know that Angular Elements assist with the creation of Web Components. However, I was not able to add Elements to the libs created to "ng g library". Nonetheless, rather than adding it manually... it would be amazing if the CLI team could add that capability to the "ng g library" directly... so that this cmd could insert the necessary configuration for the ng-packager to use and automatically build Web Components alongside the ES2105, UMD, and other formats.Describe alternatives you've considered
None yet.- 主要語言
- TypeScript
- 星號
- 27k
- 分支
- 11.8k
- 平均合併
- 20 小時 38 分鐘
- 30 天內合併 PR
- 154
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
angular/angular-cli 的其他 Issue
-
area: @angular/build gemini-triaged
難度 2/5 1-3 小時 新手友好度 74/100
angular/angular-cli#33955 ·
維護者通常 1 天內回覆
-
area: @angular/cli gemini-triaged
難度 2/5 1-3 小時 新手友好度 72/100
angular/angular-cli#33055 · 1 則留言 · 3 個 reaction ·
維護者通常 1 天內回覆
-
area: @angular/build gemini-triaged
難度 3/5 1-2 天 新手友好度 68/100
angular/angular-cli#34166 · 1 則留言 ·
維護者通常 1 天內回覆
-
library builder: tslib is not added to the output package.json可能已有人在做 @alan-agius4 於 7 天前認領。 未關閉angular/build:library area: @angular/build gemini-triaged
angular/angular-cli#34131 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
library builder: a name re-exported through two "export *" paths is dropped from the bundle可能已有人在做 @alan-agius4 於 7 天前認領。 未關閉angular/build:library area: @angular/build gemini-triaged
angular/angular-cli#34130 · 已指派 1 人 ·
維護者通常 1 天內回覆
查看 angular/angular-cli 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
rohitg00/agentmemory#1428 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 86/100
boxlite-ai/boxlite#1729 ·
維護者通常 1 天內回覆
-
detectors enhancement good first issue
難度 2/5 1-3 小時 新手友好度 86/100
SM260845/readme-gen#1 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
angular/angularfire#3774 ·
維護者通常 2 天內回覆