ng-packagr
ng-builders
ng-packagr | ng-builders | |
---|---|---|
6 | 1 | |
1,837 | 16 | |
0.0% | - | |
9.3 | 0.0 | |
7 days ago | 10 months ago | |
TypeScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ng-packagr
-
Adding scss assets to Angular library
Let’s add this folder, and all files in it, to the ng-package.json file of the library. You can find more information here about why we should declare this assets property.
- Are Secondary Entry Points for Libraries still a Good Idea?
-
How to split an Angular app into micro-frontend apps
Additionally, to create a new library for each piece you want to share, you could use the Secondary entrypoints feature of ng-packagr to group common things together, like components or services, and group them together by a more specific feature. But consider this will requires additional updates to the configuration.
-
Overview over Angular’s repositories
ng-packagr repo (link)
-
How to update a NodeJS TypeScript library for ESM-compliance?
Specifically for Angular, we have the Angular Package Format, which is produced by the CLI or by the standalone ng-packagr tool.
-
Relative import from lib's secondary entry point ❌ Error TS5055: Cannot write file X.d.ts because it would overwrite input file
ng-packgr will build the entry points in the following order:
ng-builders
-
How to stop being afraid and create your own Angular CLI Builder
Yes, that’s all. Three simple functions, a little imagination, and the fulfillment of mandatory configuration contracts are all that is needed to quickly create custom builders for the Angular CLI. But an attentive reader, of course, will point out the lack of tests for a new builder. And I hope that this very reader unexpectedly ignites himself with the desire to close this gap, forks the project, and will try to write tests himself.
What are some alternatives?
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
nx-go - 🍈 Nx plugin to use Go in a Nx Workspace
angular-cli - CLI tool for Angular
angular-builders - Angular build facade extensions (Jest and custom webpack configuration)
tsup - The simplest and fastest way to bundle your TypeScript libraries.
nx-plus - Collection of Nx Community Plugins
ngx-nrwl-airlines-workspace - Nrwl Airlines workspace using Angular CLI
interactive-message - interactive message tool
ngx-unused-css - Angular unused css detection
web-app - Mifos X Web App is the revamped version of the Mifos X Community App built on top of the Fineract Platform leveraging the popular Angular framework.
angular-to-do-list-with-drag-drop - 📝 Angular to do list app with drag and drop.
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.