Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Commit 36563c9

Browse files
authored
Feat: support nestjs version 11 (#9)
1 parent 043f925 commit 36563c9

File tree

3 files changed

+2128
-1069
lines changed

3 files changed

+2128
-1069
lines changed

README.md

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8,63 +8,54 @@
88
<em>The modern MongoDB-powered scheduling library for NestJS</em>
99
</p>
1010
<p align="center">
11-
<img src="https://img.shields.io/github/license/pulsecron/nestjs-pulse?style=default&logo=opensourceinitiative&logoColor=white&color=24E0A4" alt="license">
12-
<img src="https://img.shields.io/github/last-commit/pulsecron/nestjs-pulse?style=default&logo=git&logoColor=white&color=24E0A4" alt="last-commit">
13-
<img src="https://img.shields.io/github/languages/top/pulsecron/nestjs-pulse?style=default&color=24E0A4" alt="repo-top-language">
14-
<img src="https://img.shields.io/github/languages/count/pulsecron/nestjs-pulse?style=default&color=24E0A4" alt="repo-language-count">
11+
<img src="https://img.shields.io/github/license/pulsecron/nestjs-pulse?style=default&logo=opensourceinitiative&logoColor=white&color=24E0A4" alt="license">
12+
<img src="https://img.shields.io/github/last-commit/pulsecron/nestjs-pulse?style=default&logo=git&logoColor=white&color=24E0A4" alt="last-commit">
13+
<img src="https://img.shields.io/github/languages/top/pulsecron/nestjs-pulse?style=default&color=24E0A4" alt="repo-top-language">
14+
<img src="https://img.shields.io/github/languages/count/pulsecron/nestjs-pulse?style=default&color=24E0A4" alt="repo-language-count">
1515
<p>
1616
<p align="center">
17-
<!-- default option, no dependency badges. -->
17+
<!-- default option, no dependency badges. -->
1818
</p>
1919

2020
<br><!-- TABLE OF CONTENTS -->
2121

22-
2322
<details>
2423
<summary>Table of Contents</summary><br>
2524

2625
- [Overview](#overview)
2726
- [Getting Started](#getting-started)
28-
- [Installation](#installation)
29-
- [Example](#example)
30-
- [app.module.ts](#appmodulets)
31-
- [notification.module.ts](#notificationmodulets)
32-
- [notification.processor.ts](#notificationprocessorts)
33-
- [notification.service.ts](#notificationservicets)
27+
- [Installation](#installation)
28+
- [Example](#example)
29+
- [app.module.ts](#appmodulets)
30+
- [notification.module.ts](#notificationmodulets)
31+
- [notification.processor.ts](#notificationprocessorts)
32+
- [notification.service.ts](#notificationservicets)
3433
- [Contributing](#contributing)
3534
- [License](#license)
35+
3636
</details>
3737
<hr>
3838

39-
## Overview
39+
## Overview
4040

4141
[Pulse](https://github.com/pulsecron/pulse) module for [NestJS](https://nestjs.com/)
4242

4343
---
4444
<br/>
4545
<br/>
4646

47+
## Getting Started
4748

48-
49-
50-
51-
52-
53-
## Getting Started
54-
55-
56-
57-
#### Installation
49+
#### Installation
5850

5951
```console
60-
$ npm install --save @pulsecron/nestjs-pulse @pulsecron/pulse
52+
npm install --save @pulsecron/nestjs-pulse @pulsecron/pulse
6153
```
6254

63-
64-
65-
#### Example
55+
#### Example
6656

6757
##### app.module.ts
58+
6859
```typescript
6960
// src/app.module.ts
7061

@@ -88,6 +79,7 @@ export class AppModule {}
8879
```
8980

9081
##### notification.module.ts
82+
9183
```typescript
9284
// src/notification/notification.module.ts
9385

@@ -110,6 +102,7 @@ export class NotificationsModule {}
110102
```
111103

112104
##### notification.processor.ts
105+
113106
```typescript
114107
// src/notification/notification.processor.ts
115108

@@ -143,8 +136,8 @@ export class NotificationsQueue {
143136

144137
```
145138

146-
147139
##### notification.service.ts
140+
148141
```typescript
149142

150143
import { Inject, Injectable } from '@nestjs/common';
@@ -175,7 +168,7 @@ export class NotificationService {
175168
<br/>
176169
<br/>
177170

178-
## Contributing
171+
## Contributing
179172

180173
Contributions are welcome! Here are several ways you can contribute:
181174

@@ -188,24 +181,33 @@ Contributions are welcome! Here are several ways you can contribute:
188181

189182
1. **Fork the Repository**: Start by forking the project repository to your github account.
190183
2. **Clone Locally**: Clone the forked repository to your local machine using a git client.
184+
191185
```sh
192186
git clone https://github.com/pulsecron/nestjs-pulse
193187
```
188+
194189
3. **Create a New Branch**: Always work on a new branch, giving it a descriptive name.
190+
195191
```sh
196192
git checkout -b new-feature-x
197193
```
194+
198195
4. **Make Your Changes**: Develop and test your changes locally.
199196
5. **Commit Your Changes**: Commit with a clear message describing your updates.
197+
200198
```sh
201199
git commit -m 'Implemented new feature x.'
202200
```
201+
203202
6. **Push to github**: Push the changes to your forked repository.
203+
204204
```sh
205205
git push origin new-feature-x
206206
```
207+
207208
7. **Submit a Pull Request**: Create a PR against the original project repository. Clearly describe the changes and their motivations.
208209
8. **Review**: Once your PR is reviewed and approved, it will be merged into the main branch. Congratulations on your contribution!
210+
209211
</details>
210212

211213
<details closed>
@@ -222,11 +224,10 @@ Contributions are welcome! Here are several ways you can contribute:
222224
<br/>
223225
<br/>
224226

225-
## License
227+
## License
226228

227229
This project is protected under the [MIT](https://github.com/pulsecron/nestjs-pulse?tab=MIT-1-ov-file#readme) License. For more details, refer to the [LICENSE](https://github.com/pulsecron/nestjs-pulse?tab=MIT-1-ov-file#readme) file.
228230

229231
---
230232
<br/>
231233
<br/>
232-

0 commit comments

Comments
 (0)