spartacus
ng-packagr
spartacus | ng-packagr | |
---|---|---|
3 | 6 | |
718 | 1,836 | |
0.4% | 0.0% | |
9.7 | 9.3 | |
about 7 hours ago | 4 days ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
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.
spartacus
-
How I became the Angular contributor ๐
I was struggling to find out why the Angular Universal SSR was hanging in my app. I knew it had to be some pending async task that prevented the SSR from completion, but it was hard to guess which one. So I googled how to track async tasks in Angular and I learnt about the plugin zone.js/plugins/task-tracking. Thanks to this plugin, I quickly located the faulty line in the code and fixed the hanging SSR in the app.
-
Rise of headless CMS & modern storefronts
When I heard that SAP is working on Spartacus - a storefront framework based on Angular - I was super excited and couldn't wait to try it out. In fact, I had the privilege to work on one of the first Spartacus integration for the high street beauty brand. I must admit it was challenging. The new storefront (Spartacus) that was based on a framework (Angular) that has a steep learning curve, poor documentation and lack of a wider community around it didn't make things any easier.
-
Relative import from lib's secondary entry point โ Error TS5055: Cannot write file X.d.ts because it would overwrite input file
Here's a fix of the above error in the real world library (when running yarn build:libs).
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:
What are some alternatives?
Vue Storefront - Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.
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.
Angular - Deliver web apps with confidence ๐
angular-cli - CLI tool for Angular
Docusaurus - Easy to maintain open source documentation websites.
tsup - The simplest and fastest way to bundle your TypeScript libraries.
ng-builders - Custom Angular CLI builders
ngx-nrwl-airlines-workspace - Nrwl Airlines workspace using Angular CLI
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.