Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arturovt committed Apr 13, 2024
1 parent 0782f06 commit 0ed5ad2
Showing 1 changed file with 41 additions and 35 deletions.
76 changes: 41 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,41 @@
# autopublish-template

[![npm version](https://img.shields.io/npm/v/@esm-bundle/autopublish-template.svg?style=flat)](https://www.npmjs.com/package/@esm-bundle/autopublish-template) [![build status](https://travis-ci.com/esm-bundle/autopublish-template.svg?branch=master)](https://travis-ci.com/esm-bundle/autopublish-template) [![](https://data.jsdelivr.com/v1/package/npm/@esm-bundle/autopublish-template/badge)](https://www.jsdelivr.com/package/npm/@esm-bundle/autopublish-template)

["What is this" blog post](https://medium.com/@joeldenning/an-esm-bundle-for-any-npm-package-5f850db0e04d)

[Instructions for creating a new esm-bundle repo](https://github.com/esm-bundle/new-repo-instructions)

A repo that tests automatic detection of upstream publishes and the publishing of `@esm-bundle` versions of them.

Upstream repo at https://github.com/joeldenning/autopublish-template.

## JS Delivr

https://cdn.jsdelivr.net/npm/@esm-bundle/autopublish-template/esm/index.js

https://cdn.jsdelivr.net/npm/@esm-bundle/autopublish-template/system/index.js

## Unpkg

https://unpkg.com/@esm-bundle/autopublish-template/esm/index.js

https://unpkg.com/@esm-bundle/autopublish-template/system/index.js

## Npm

```sh
npm install --save autopublish-template@npm:@esm-bundle/autopublish-template
```

## Yarn

```sh
yarn add autopublish-template@npm:@esm-bundle/autopublish-template
```
# angular

[![npm version](https://img.shields.io/npm/v/@esm-bundle/angular.svg?style=flat)](https://www.npmjs.com/package/@esm-bundle/angular) [![build status](https://travis-ci.com/esm-bundle/angular.svg?branch=master)](https://travis-ci.com/esm-bundle/angular) [![](https://data.jsdelivr.com/v1/package/npm/@esm-bundle/angular/badge)](https://www.jsdelivr.com/package/npm/@esm-bundle/angular)

> This repository contains all the Angular packages and their subpackages.
## Packages

- @angular/animations
- @angular/animations/browser
- @angular/common
- @angular/common/http
- @angular/common/upgrade
- @angular/compiler
- @angular/core/primitives/signals
- @angular/core
- @angular/core/rxjs-interop
- @angular/elements
- @angular/forms
- @angular/localize
- @angular/localize/init
- @angular/platform-browser
- @angular/platform-browser/animations
- @angular/platform-browser/animations/async
- @angular/platform-browser-dynamic
- @angular/router
- @angular/router/upgrade
- @angular/service-worker
- @angular/service-worker/config
- @angular/upgrade
- @angular/upgrade/static

Their filenames follow the same structure. For example, `@angular/animations/browser` becomes `angular-animations-browser.js` and `@angular/core/primitives/signals` becomes `angular-core-primitives-signals.js`.

The ESM versions are hosted under `@esm-bundle/angular/es2022/{filename}.js` while the SystemJS versions are located at `@esm-bundle/angular/system/es2022/${filename}.js`.

For example:

https://cdn.jsdelivr.net/npm/@esm-bundle/angular/es2022/angular-core-primitives-signals.js

https://cdn.jsdelivr.net/npm/@esm-bundle/angular/system/es2022/angular-core-primitives-signals.js

0 comments on commit 0ed5ad2

Please sign in to comment.