Title: Library support for assets, styles or scripts. · Issue #11317 · angular/angular-cli · GitHub
Open Graph Title: Library support for assets, styles or scripts. · Issue #11317 · angular/angular-cli
X Title: Library support for assets, styles or scripts. · Issue #11317 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Area - [X] devkit - [ ] schematics Versions Node: 8.11.3 NPM: 5.6.0 OS: Windows 10 Pro Angular CLI 6.0.7 Ng-p...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Area - [X] devkit - [ ] schematics Versions Node: 8.11.3 NPM: 5.6.0 O...
X Description: Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Area - [X] devkit - [ ] schematics Versions Node: 8.11.3 NPM: 5.6....
Opengraph URL: https://github.com/angular/angular-cli/issues/11317
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Library support for assets, styles or scripts.","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [ ] bug report -> please search issues before submitting\r\n- [X] feature request\r\n```\r\n\r\n### Area\r\n```\r\n- [X] devkit\r\n- [ ] schematics\r\n```\r\n\r\n### Versions\r\nNode: 8.11.3\r\nNPM: 5.6.0\r\nOS: Windows 10 Pro\r\nAngular CLI 6.0.7\r\nNg-packagr: 3.0.1\r\nDevkit Core: 0.6.7\r\n\r\n### Repro steps\r\nAttempt to provide assets, styles or scripts to a library project and you will encounter a schema validation error due to the these properties not being supported currently for library projectTypes.\r\n\r\n### The log given by the failure\r\n```\r\nSchema validation failed with the following errors:\r\n Data path \"\" should NOT have additional properties(assets).\r\n```\r\n\r\n### Desired functionality\r\nI would like to be able to provide assets, styles and scripts in the same way that they can be provided to an application projectType.\r\n\r\n\r\n### Mention any other details that might be useful\r\nI believe that ultimately this relates to ng-packagr's schema for library packages. In searching for previously reported requests on this, I did find a 'nice to have' request that had been opened in the devkit repo, which now points to this repo (https://github.com/angular/devkit/issues/680).\r\n","author":{"url":"https://github.com/mattezell","@type":"Person","name":"mattezell"},"datePublished":"2018-06-20T13:08:19Z","url":"https://github.com/angular/angular-cli/issues/11317"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2666cef8-63a0-0e1e-972a-2a6b8ccc03b6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 975E:213839:1A455A9:219AC62:6B013CD1 |
| html-safe-nonce | 2ec713d39f0dc479cba637b5f0f4e9e2c83d397e5dc55912a4bd88f0474f1e10 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzVFOjIxMzgzOToxQTQ1NUE5OjIxOUFDNjI6NkIwMTNDRDEiLCJ2aXNpdG9yX2lkIjoiNjY0Nzg4ODE4MjI3NDc2ODA4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 139cc2630b8ff206b3a9b92ff27d1309c030d1f020795b1829f73c0d3aa28a0c |
| hovercard-subject-tag | issue:334068896 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/11317/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3e68f4ad2d6d413d567a2daa19a959ab2de45138210d8577dd7626de8ef7e021/angular/angular-cli/issues/11317 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3e68f4ad2d6d413d567a2daa19a959ab2de45138210d8577dd7626de8ef7e021/angular/angular-cli/issues/11317 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [ ] bug report -> please search issues before submitting - [X] feature request Area - [X] devkit - [ ] schematics Versions Node: 8.11.3 NPM: 5.6.0 O... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mattezell |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width