Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ A repo that tests automatic detection of upstream publishes and the publishing o

Upstream repo at https://github.com/angular/angular.

### Latest Version
## Latest Version

### @angular/core

#### ES2022

Expand All @@ -22,7 +24,31 @@ https://unpkg.com/@esm-bundle/angular__core/system/es2022/ivy/angular-core.js

https://unpkg.com/@esm-bundle/angular__core/system/es2022/ivy/angular-core.min.js

### Specific Version
### @angular/core/primitives/signals

#### ES2022

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

https://cdn.jsdelivr.net/npm/@esm-bundle/angular__core/system/es2022/ivy/angular-signals.min.js

https://unpkg.com/@esm-bundle/angular__core/system/es2022/ivy/angular-signals.js

https://unpkg.com/@esm-bundle/angular__core/system/es2022/ivy/angular-signals.min.js

### @angular/core/rxjs-interop

#### ES2022

https://cdn.jsdelivr.net/npm/@esm-bundle/angular__core/system/es2022/ivy/angular-rxjs-interop.js

https://cdn.jsdelivr.net/npm/@esm-bundle/angular__core/system/es2022/ivy/angular-rxjs-interop.min.js

https://unpkg.com/@esm-bundle/angular__core/system/es2022/ivy/angular-rxjs-interop.js

https://unpkg.com/@esm-bundle/angular__core/system/es2022/ivy/angular-rxjs-interop.min.js

## Specific Version

https://cdn.jsdelivr.net/npm/@esm-bundle/[email protected]/system/es2015/ivy/angular-core.js

Expand Down
6 changes: 4 additions & 2 deletions browser-test/systemjs-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ document.head.appendChild(
{
"imports": {
"rxjs": "//cdn.jsdelivr.net/npm/@esm-bundle/rxjs/system/rxjs.min.js",
"rxjs/operators": "//cdn.jsdelivr.net/npm/@esm-bundle/rxjs/system/rxjs-operators.min.js"
"rxjs/operators": "//cdn.jsdelivr.net/npm/@esm-bundle/rxjs/system/rxjs-operators.min.js",
"@angular/core/primitives/signals": "/base/system/es2022/ivy/angular-signals.min.js",
"@angular/core": "/base/system/es2022/ivy/angular-core.min.js"
}
}`,
})
}),
);
23 changes: 22 additions & 1 deletion browser-test/test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,29 @@
describe("@esm-bundle/angular-core", () => {
it("can load the System.register es2022 bundle", async () => {
const m = await System.import("/base/system/es2022/ivy/angular-core.js");
expect(m.ApplicationRef).toBeDefined();
});

it("can load the System.register es2022 prod bundle", async () => {
const m = await System.import(
"/base/system/es2022/ivy/angular-core.min.js"
"/base/system/es2022/ivy/angular-core.min.js",
);
expect(m.ApplicationRef).toBeDefined();
});
});

describe("@esm-bundle/angular-rxjs-interop", () => {
it("can load the System.register es2022 bundle", async () => {
const m = await System.import(
"/base/system/es2022/ivy/angular-rxjs-interop.js",
);
expect(m.toSignal).toBeDefined();
});

it("can load the System.register es2022 prod bundle", async () => {
const m = await System.import(
"/base/system/es2022/ivy/angular-rxjs-interop.min.js",
);
expect(m.toSignal).toBeDefined();
});
});
22 changes: 17 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
{
"name": "@esm-bundle/angular__core",
"version": "16.0.5",
"version": "17.3.4",
"description": "Repo to test esm-bundle's automatic publishing",
"type": "module",
"exports": {
".": {
"es2022": "./es2022/ivy/angular-core.js",
"default": "./es2020/ivy/angular-core.js"
},
"./signals": {
"es2022": "./es2022/ivy/primitives/angular-signals.mjs",
"default": "./es2022/ivy/primitives/angular-signals.mjs"
},
"./rxjs-interop": {
"es2022": "./es2022/ivy/angular-rxjs-interop.mjs",
"default": "./es2022/ivy/angular-rxjs-interop.mjs"
}
},
"scripts": {
Expand Down Expand Up @@ -37,9 +45,11 @@
},
"homepage": "https://github.com/esm-bundle/angular__core#readme",
"devDependencies": {
"@angular/compiler": "16.0.5",
"@angular/compiler-cli": "16.0.5",
"@angular/core": "16.0.5",
"@angular/compiler": "17.3.4",
"@angular/compiler-cli": "17.3.4",
"@angular/core": "17.3.4",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-terser": "0.4.4",
"concurrently": "8.2.2",
"esm-bundle-scripts": "1.2.0",
"husky": "9.1.1",
Expand All @@ -54,13 +64,15 @@
"release-it-plugin-esm-bundle": "3.0.0",
"rimraf": "6.0.1",
"rollup": "2.79.1",
"rollup-plugin-terser": "7.0.2",
"rxjs": "7.8.1",
"typescript": "5.5.4"
},
"pnpm": {
"overrides": {
"terser": "5.31.3"
},
"patchedDependencies": {
"@angular/[email protected]": "patches/@[email protected]"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/node_modules/@angular/core/fesm2022/core.mjs b/node_modules/@angular/core/fesm2022/core.mjs
index 30b1cad..a54b3bf 100755
--- a/node_modules/@angular/core/fesm2022/core.mjs
+++ b/node_modules/@angular/core/fesm2022/core.mjs
@@ -22737,7 +22737,9 @@ function symbolIterator() {
diff --git a/fesm2022/core.mjs b/fesm2022/core.mjs
index 83f747bc8abdaa442716af2fae24561ad134b952..c494c88264cb9dd0afab37d1dc60cefb65103cee 100755
--- a/fesm2022/core.mjs
+++ b/fesm2022/core.mjs
@@ -6915,7 +6915,9 @@ function symbolIterator() {
* @publicApi
*/
class QueryList {
Expand Down
Loading