Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9259955
build(angular): upgrading to angular 21
lillykoller Nov 21, 2025
b6940b5
feat: update to angular 21
lillykoller Nov 21, 2025
0105a03
feat(angular): using toThrow error instead of deprecated toThrowError
lillykoller Nov 21, 2025
cfb0fac
feat(angular): upgrading dependencies
lillykoller Nov 21, 2025
a5b375d
feat(angular): upgrading dependencies
lillykoller Nov 21, 2025
bcfeb26
build(release): next version [skip_build]
actions-user Nov 21, 2025
dad701a
docs(angular): adding angular version to readme
lillykoller Nov 21, 2025
80313b6
Merge remote-tracking branch 'origin/#63-update-angular' into #63-upd…
lillykoller Nov 21, 2025
57f53b9
feat(angular): dependencies
lillykoller Nov 21, 2025
584e9f0
build(release): next version [skip_build]
actions-user Nov 21, 2025
7108822
feat(angular): updating to angular 21
lillykoller Nov 25, 2025
4b1df63
Merge remote-tracking branch 'origin/#63-update-angular' into #63-upd…
lillykoller Nov 25, 2025
0ac6e00
feat(angular): updating to angular 21
lillykoller Nov 25, 2025
216cff7
feat(angular): updating to angular 21
lillykoller Nov 25, 2025
c7bbf5a
build(release): next version [skip_build]
actions-user Nov 25, 2025
73abe3e
feat(angular): migrating to signals
lillykoller Nov 25, 2025
958434f
Merge remote-tracking branch 'origin/#63-update-angular' into #63-upd…
lillykoller Nov 25, 2025
2a5ed87
feat(angular): migrating to signals
lillykoller Nov 25, 2025
074403a
build(release): next version [skip_build]
actions-user Nov 25, 2025
448d673
feat(angular): refactoring
lillykoller Nov 25, 2025
151a844
Merge remote-tracking branch 'origin/#63-update-angular' into #63-upd…
lillykoller Nov 25, 2025
2f2e4b3
feat(angular): refactoring
lillykoller Nov 25, 2025
371d118
build(release): next version [skip_build]
actions-user Nov 25, 2025
8aa6817
feat(angular): using signals
lillykoller Nov 25, 2025
276b948
feat(angular): using signals
lillykoller Nov 25, 2025
e2fbe6d
build(release): next version [skip_build]
actions-user Nov 25, 2025
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Shows the mapping between the angular version and our lib versions.

| Angular Version | Lib Version |
|-----------------|-------------------------------|
| `^21` | `^13` |
| `^20` | `^11 \|\| ^12` |
| `^19` | `^7 \|\| ^8 \|\| ^9 \|\| ^10` |
| `^18` | `^6` |
Expand Down
2 changes: 2 additions & 0 deletions apps/styleguide/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { provideZoneChangeDetection } from '@angular/core'
import { provideHttpClient } from '@angular/common/http'
import { bootstrapApplication } from '@angular/platform-browser'
import { provideAnimations } from '@angular/platform-browser/animations'
Expand All @@ -11,6 +12,7 @@ import { ROUTES } from './routes/routes.const'

bootstrapApplication(AppComponent, {
providers: [
provideZoneChangeDetection(),
provideHttpClient(),
provideAnimations(),
provideRouter(ROUTES),
Expand Down
7 changes: 2 additions & 5 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"useNx": false,
"packages": [
"libs/*",
"apps/*"
],
"version": "independent",
"packages": ["libs/*", "apps/*"],
"version": "13.0.0-pr63.1",
"command": {
"version": {
"allowBranch": "*",
Expand Down
14 changes: 7 additions & 7 deletions libs/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/ngx-components",
"version": "12.0.2",
"version": "13.0.0-pr63.1",
"repository": "https://github.com/shiftcode/sc-ng-commons-public",
"license": "MIT",
"author": "shiftcode GmbH <team@shiftcode.ch>",
Expand All @@ -18,12 +18,12 @@
"tslib": "^2.5.0"
},
"peerDependencies": {
"@angular/animations": "^20.0.0",
"@angular/cdk": "^20.0.0",
"@angular/common": "^20.0.0",
"@angular/core": "^20.0.0",
"@angular/forms": "^20.0.0",
"@angular/router": "^20.0.0",
"@angular/animations": "^21.0.0",
"@angular/cdk": "^21.0.0",
"@angular/common": "^21.0.0",
"@angular/core": "^21.0.0",
"@angular/forms": "^21.0.0",
"@angular/router": "^21.0.0",
"@shiftcode/logger": "^3.0.0",
"@shiftcode/ngx-core": "^12.0.0 || ^12.1.0-pr61",
"rxjs": "^6.5.3 || ^7.4.0"
Expand Down
10 changes: 5 additions & 5 deletions libs/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/ngx-core",
"version": "12.1.0",
"version": "13.0.0-pr63.1",
"repository": "https://github.com/shiftcode/sc-ng-commons-public",
"license": "MIT",
"author": "shiftcode GmbH <team@shiftcode.ch>",
Expand All @@ -19,10 +19,10 @@
"tslib": "^2.5.0"
},
"peerDependencies": {
"@angular/common": "^20.0.0",
"@angular/core": "^20.0.0",
"@angular/platform-browser": "^20.0.0",
"@angular/router": "^20.0.0",
"@angular/common": "^21.0.0",
"@angular/core": "^21.0.0",
"@angular/platform-browser": "^21.0.0",
"@angular/router": "^21.0.0",
"@shiftcode/logger": "^3.0.0",
"@shiftcode/utilities": "^4.0.0",
"rxjs": "^6.5.3 || ^7.4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ describe('provideOriginFromEnv', () => {

process.env[ENV_KEY] = 'https://example.valid.com'

expect(() => TestBed.inject(ORIGIN)).toThrowError(`provideOriginFromEnv can only be used on the server`)
expect(() => TestBed.inject(ORIGIN)).toThrow(`provideOriginFromEnv can only be used on the server`)
})

it('should throw if env var is not defined', () => {
setup('server')
delete process.env[ENV_KEY]
expect(() => TestBed.inject(ORIGIN)).toThrowError(`Env var ${ENV_KEY} needs to be defined`)
expect(() => TestBed.inject(ORIGIN)).toThrow(`Env var ${ENV_KEY} needs to be defined`)
})

it('should throw if env var is not a valid origin', () => {
setup('server')
process.env[ENV_KEY] = 'invalid-origin'
expect(() => TestBed.inject(ORIGIN)).toThrowError(`Env var ${ENV_KEY} is not a valid origin: invalid-origin`)
expect(() => TestBed.inject(ORIGIN)).toThrow(`Env var ${ENV_KEY} is not a valid origin: invalid-origin`)
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ describe('onDestroy', () => {
})

it('throws when not used in injection context', () => {
expect(onDestroy).toThrowError()
expect(onDestroy).toThrow()
})
})
Loading