Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works with Angular12+ (Including 13) #188

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ npm-debug.log
yarn-error.log
testem.log
/typings
/.angular

# System Files
.DS_Store
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
## Angular library starter Changelog

<a name="August 23, 2024"></a>
### August 23, 2024
* Updated for Angular 18.

<a name="Mar 6, 2017"></a>
### Mar 6, 2017
* Add _compodoc_ for generating documentation

<a name="Feb 5, 2017"></a>
### Feb 5, 2017
* Create library
* Create library
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@

[![npm version](https://badge.fury.io/js/ng2-signalr.svg)](https://badge.fury.io/js/ng2-signalr)
![live demo](https://img.shields.io/badge/demo-live-orange.svg)
[![Coverage Status](https://coveralls.io/repos/github/HNeukermans/ng2-signalr/badge.svg?branch=master)](https://coveralls.io/github/HNeukermans/ng2-signalr?branch=master)
[![Build Status](https://travis-ci.org/HNeukermans/ng2-signalr.svg?branch=master)](https://travis-ci.org/HNeukermans/ng2-signalr)

# ng2-signalr
An angular typescript library that allows you to connect to Asp.Net SignalR

This is a fork of (https://https://github.com/HNeukermans/ng2-signalR) that appears no longer maintained.
This version is for Angular 18+. It no longer works with Angular versions before 18 due to breaking changes that are in some of the Angular dependencies.

## Version history
- version 12.0.1 - First 12+ version.
- version 12.0.2 - Fixed a problem where change detection was broken due to incorrect NgZone initialisation.
- version 13.0.0 - For Angular 13
- version 18.0.1 - For Angular 18

## Features:
1. 100% typescript
2. use rxjs to observe server events
Expand Down
12 changes: 6 additions & 6 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"options": {
"tsConfig": "projects/ng2-signalr/tsconfig.lib.json",
"project": "projects/ng2-signalr/ng-package.json"
}
, "configurations": {
},
"configurations": {
"production": {
"tsConfig": "projects/ng2-signalr/tsconfig.lib.prod.json"
}
}
},
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
Expand All @@ -42,6 +42,6 @@
}
}
}
}},
"defaultProject": "ng2-signalr"
}
}
}
}
1 change: 1 addition & 0 deletions makedist.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run build
Loading