Skip to content

Commit

Permalink
♻️ Rename Notifire to Novu
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Mar 30, 2022
1 parent 8a07610 commit 54598f6
Show file tree
Hide file tree
Showing 436 changed files with 6,721 additions and 8,975 deletions.
4 changes: 2 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"libauth",
"Mailgun",
"mkdir",
"notifire",
"Notifire's",
"novu",
"Novu's",
"plivo",
"Plivo",
"prettierignore",
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// https://github.com/microsoft/vscode-dev-containers/tree/v0.208.0/containers/javascript-node-mongo
// Update the VARIANT arg in docker-compose.yml to pick a Node.js version
{
"name": "Notifire",
"name": "Novu",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspace",
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = {
'no-restricted-imports': [
'error',
{
patterns: ['@notifire/shared/*', '@notifire/dal/*', '!import2/good'],
patterns: ['@novu/shared/*', '@novu/dal/*', '!import2/good'],
},
],
'padding-line-between-statements': [
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
id: build-image
env:
REGISTERY_OWNER: notifirehq
DOCKER_NAME: notifire/api
DOCKER_NAME: novu/api
IMAGE_TAG: ${{ github.sha }}
GH_ACTOR: ${{ github.actor }}
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-deploy-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
id: build-image
env:
REGISTERY_OWNER: notifirehq
DOCKER_NAME: notifire/sdk
DOCKER_NAME: novu/sdk
IMAGE_TAG: ${{ github.sha }}
GH_ACTOR: ${{ github.actor }}
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-deploy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
env:
REACT_APP_API_URL: https://dev.api.novu.co
REACT_APP_WIDGET_SDK_PATH: https://dev.sdk.novu.co/sdk.umd.min.js
REACT_APP_NOTIFIRE_APP_ID: ${{ secrets.NOTIFIRE_APP_ID }}
REACT_APP_NOVU_APP_ID: ${{ secrets.NOVU_APP_ID }}
REACT_APP_SENTRY_DSN: https://[email protected]/6250907
REACT_APP_ENVIRONMENT: dev
working-directory: apps/web
Expand All @@ -84,7 +84,7 @@ jobs:
id: build-image
env:
REGISTERY_OWNER: notifirehq
DOCKER_NAME: notifire/web
DOCKER_NAME: novu/web
IMAGE_TAG: ${{ github.sha }}
GH_ACTOR: ${{ github.actor }}
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-deploy-widget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
id: build-image
env:
REGISTERY_OWNER: notifirehq
DOCKER_NAME: notifire/widget
DOCKER_NAME: novu/widget
IMAGE_TAG: ${{ github.sha }}
GH_ACTOR: ${{ github.actor }}
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-deploy-ws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
id: build-image
env:
REGISTERY_OWNER: notifirehq
DOCKER_NAME: notifire/ws
DOCKER_NAME: novu/ws
IMAGE_TAG: ${{ github.sha }}
GH_ACTOR: ${{ github.actor }}
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/prod-deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Deploy PROD API
on:
push:
tags:
- '**@notifire/api@**'
- '**@notifire/core@**'
- '**@notifire/shared@**'
- '**@novu/api@**'
- '**@novu/node@**'
- '**@novu/shared@**'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
id: build-image
env:
REGISTERY_OWNER: notifirehq
DOCKER_NAME: notifire/api
DOCKER_NAME: novu/api
IMAGE_TAG: ${{ github.sha }}
GH_ACTOR: ${{ github.actor }}
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod-deploy-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Deploy PROD SDK
on:
push:
tags:
- '**@notifire/sdk@**'
- '**@novu/sdk@**'
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
id: build-image
env:
REGISTERY_OWNER: notifirehq
DOCKER_NAME: notifire/sdk
DOCKER_NAME: novu/sdk
IMAGE_TAG: ${{ github.sha }}
GH_ACTOR: ${{ github.actor }}
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/prod-deploy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ name: Deploy PROD WEB
on:
push:
tags:
- '**@notifire/web**'
- '**@notifire/shared**'
- '**@novu/web**'
- '**@novu/shared**'
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
env:
REACT_APP_API_URL: https://api.novu.co
REACT_APP_WIDGET_SDK_PATH: https://sdk.novu.co/sdk.umd.min.js
REACT_APP_NOTIFIRE_APP_ID: ${{ secrets.NOTIFIRE_APP_ID }}
REACT_APP_NOVU_APP_ID: ${{ secrets.NOVU_APP_ID }}
REACT_APP_SENTRY_DSN: https://[email protected]/6250907
REACT_APP_ENVIRONMENT: prod
working-directory: apps/web
Expand All @@ -82,7 +82,7 @@ jobs:
id: build-image
env:
REGISTERY_OWNER: notifirehq
DOCKER_NAME: notifire/web
DOCKER_NAME: novu/web
IMAGE_TAG: ${{ github.sha }}
GH_ACTOR: ${{ github.actor }}
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prod-deploy-widget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ name: Deploy PROD Widget
on:
push:
tags:
- '**@notifire/widget**'
- '**@notifire/shared**'
- '**@novu/widget**'
- '**@novu/shared**'
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
id: build-image
env:
REGISTERY_OWNER: notifirehq
DOCKER_NAME: notifire/widget
DOCKER_NAME: novu/widget
IMAGE_TAG: ${{ github.sha }}
GH_ACTOR: ${{ github.actor }}
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod-deploy-ws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Deploy PROD WS
on:
push:
tags:
- '**@notifire/ws**'
- '**@novu/ws**'
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
id: build-image
env:
REGISTERY_OWNER: notifirehq
DOCKER_NAME: notifire/ws
DOCKER_NAME: novu/ws
IMAGE_TAG: ${{ github.sha }}
GH_ACTOR: ${{ github.actor }}
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-api-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: mansagroup/nrwl-nx-action@v2
with:
targets: lint
projects: "@notifire/api"
projects: "@novu/api"

- name: Start Local Stack
env:
Expand All @@ -70,7 +70,7 @@ jobs:
((counter++))
done
docker-compose logs --tail="all"
aws --endpoint-url=http://localhost:4566 s3 mb s3://notifire-test
aws --endpoint-url=http://localhost:4566 s3 mb s3://novu-test
# Runs a single command using the runners shell
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-web-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- uses: mansagroup/nrwl-nx-action@v2
with:
targets: lint
projects: "@notifire/web"
projects: "@novu/web"

- name: Start Local Stack
env:
Expand All @@ -73,7 +73,7 @@ jobs:
echo "Trying again. Try #$counter"
((counter++))
done
aws --endpoint-url=http://localhost:4566 s3 mb s3://notifire-test
aws --endpoint-url=http://localhost:4566 s3 mb s3://novu-test
# Runs a single command using the runners shell
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-widget-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: mansagroup/nrwl-nx-action@v2
with:
targets: lint
projects: "@notifire/widget"
projects: "@novu/widget"

# Runs a single command using the runners shell
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-core.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test @notifire/core
name: Test @novu/node
on:
push:
paths:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

### Reverts

* Revert "refactor(@notifire/core): adds a strict mode typescript compilation" ([f45886f](https://github.com/notifirehq/notifire/commit/f45886f452a34b2f6137d5083282e4274dd3139e))
* Revert "refactor(@novu/node): adds a strict mode typescript compilation" ([f45886f](https://github.com/notifirehq/notifire/commit/f45886f452a34b2f6137d5083282e4274dd3139e))



Expand Down
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="https://notifire.co">
<a href="https://novu.co">
<img width="200" src="https://uploads-ssl.webflow.com/6130b4d29bb0ab09e14ae9ee/6130e6931f755df302203fcc_SideLogo%20-%20BLack-p-800.png">
</a>
</p>
Expand All @@ -11,18 +11,18 @@ The ultimate service for managing multi-channel notifications with a single API.

<p align="center">
<br />
<a href="https://docs.notifire.co" rel="dofollow"><strong>Explore the docs »</strong></a>
<a href="https://docs.novu.co" rel="dofollow"><strong>Explore the docs »</strong></a>
<br />
<br/>
<a href="https://github.com/notifirehq/notifire/issues">Report Bug</a>
<a href="https://github.com/notifirehq/novu/issues">Report Bug</a>
·
<a href="https://github.com/notifirehq/notifire/discussions">Request Feature</a>
<a href="https://github.com/notifirehq/novu/discussions">Request Feature</a>
·
<a href="https://blog.notifire.co/">Read our blog</a>
<a href="https://blog.novu.co/">Read our blog</a>
</p>

## ⭐️ Why
Building a notification system is hard, at first it seems like just sending an email but in reality it's just the beginning. In today's world users expect multi channel communication experience over email, sms, push, direct and more... An ever growing list of providers are popping up each day, and notifications are spread around the code. Notifire's goal is to simplify notifications and provide developers the tools to create meaningful communication between the system and it's users.
Building a notification system is hard, at first it seems like just sending an email but in reality it's just the beginning. In today's world users expect multi channel communication experience over email, sms, push, direct and more... An ever growing list of providers are popping up each day, and notifications are spread around the code. Novu's goal is to simplify notifications and provide developers the tools to create meaningful communication between the system and it's users.

## ✨ Features

Expand All @@ -43,27 +43,27 @@ npx novu init
Run this command to start the novu on-boarding proccess, after which you will be able to log-in to your novu admin instance.

## Providers
Notifire provides a single API to manage providers across multiple channels with a single to use interface.
Novu provides a single API to manage providers across multiple channels with a single to use interface.

#### 💌 Email
- [x] [Sendgrid](https://github.com/notifirehq/notifire/tree/main/providers/sendgrid)
- [x] [Mailgun](https://github.com/notifirehq/notifire/tree/main/providers/mailgun)
- [x] [SES](https://github.com/notifirehq/notifire/tree/main/providers/ses)
- [x] [Postmark](https://github.com/notifirehq/notifire/tree/main/providers/postmark)
- [x] [NodeMailer](https://github.com/notifirehq/notifire/tree/main/providers/nodemailer)
- [x] [Mailjet](https://github.com/notifirehq/notifire/tree/main/providers/mailjet)
- [x] [Mandrill](https://github.com/notifirehq/notifire/tree/main/providers/mandrill)
- [x] [SendinBlue](https://github.com/notifirehq/notifire/tree/main/providers/sendinblue)
- [x] [EmailJS](https://github.com/notifirehq/notifire/tree/main/providers/emailjs)
- [x] [Sendgrid](https://github.com/notifirehq/novu/tree/main/providers/sendgrid)
- [x] [Mailgun](https://github.com/notifirehq/novu/tree/main/providers/mailgun)
- [x] [SES](https://github.com/notifirehq/novu/tree/main/providers/ses)
- [x] [Postmark](https://github.com/notifirehq/novu/tree/main/providers/postmark)
- [x] [NodeMailer](https://github.com/notifirehq/novu/tree/main/providers/nodemailer)
- [x] [Mailjet](https://github.com/notifirehq/novu/tree/main/providers/mailjet)
- [x] [Mandrill](https://github.com/notifirehq/novu/tree/main/providers/mandrill)
- [x] [SendinBlue](https://github.com/notifirehq/novu/tree/main/providers/sendinblue)
- [x] [EmailJS](https://github.com/notifirehq/novu/tree/main/providers/emailjs)
- [ ] SparkPost

#### 📞 SMS
- [x] [Twilio](https://github.com/notifirehq/notifire/tree/main/providers/twilio)
- [x] [Plivo](https://github.com/notifirehq/notifire/tree/main/providers/plivo)
- [x] [SNS](https://github.com/notifirehq/notifire/tree/main/providers/sns)
- [x] [Nexmo - Vonage](https://github.com/notifirehq/notifire/tree/main/providers/nexmo)
- [x] [Sms77](https://github.com/notifirehq/notifire/tree/main/providers/sms77)
- [x] [Telnyx](https://github.com/notifirehq/notifire/tree/main/providers/telnyx)
- [x] [Twilio](https://github.com/notifirehq/novu/tree/main/providers/twilio)
- [x] [Plivo](https://github.com/notifirehq/novu/tree/main/providers/plivo)
- [x] [SNS](https://github.com/notifirehq/novu/tree/main/providers/sns)
- [x] [Nexmo - Vonage](https://github.com/notifirehq/novu/tree/main/providers/nexmo)
- [x] [Sms77](https://github.com/notifirehq/novu/tree/main/providers/sms77)
- [x] [Telnyx](https://github.com/notifirehq/novu/tree/main/providers/telnyx)
- [ ] Bandwidth
- [ ] RingCentral

Expand All @@ -78,11 +78,11 @@ Notifire provides a single API to manage providers across multiple channels with
- [ ] Mattermost

#### 📱 In-App (Coming Soon...)
- [ ] Notifire
- [ ] Novu
- [ ] MagicBell

#### Other (Coming Soon...)
- [ ] PagerDuty

## 🔗 Links
- [Home page](https://notifire.co/)
- [Home page](https://novu.co/)
4 changes: 2 additions & 2 deletions _templates/provider/new/README.ejs.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
---
<% LowerType = h.changeCase.lower(type) -%>
<% PascalName = h.changeCase.pascal(name) -%>
# Notifire <%= h.changeCase.pascal(name) %> Provider
# Novu <%= h.changeCase.pascal(name) %> Provider

A <%= PascalName %> <%= LowerType %> provider library for [@notifire/core](https://github.com/notifirehq/notifire)
A <%= PascalName %> <%= LowerType %> provider library for [@novu/node](https://github.com/notifirehq/novu)

## Usage

Expand Down
10 changes: 5 additions & 5 deletions _templates/provider/new/package.ejs.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@


{
"name": "@notifire/<%= name %>",
"version": "0.2.3",
"description": "A <%= name %> wrapper for notifire",
"name": "@novu/<%= name %>",
"version": "",
"description": "A <%= name %> wrapper for novu",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"private": false,
"repository": "https://github.com/notifirehq/notifire",
"repository": "https://github.com/notifirehq/novu",
"license": "MIT",
"keywords": [],
"scripts": {
Expand All @@ -36,7 +36,7 @@
"node": ">=10"
},
"dependencies": {
"@notifire/core": "^0.2.3"
"@novu/node": "0.3.6-alpha.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion _templates/provider/new/src/lib/provider.ejs.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
ISendMessageSuccessResponse,
I<%= PascalType %>Options,
I<%= PascalType %>Provider,
} from '@notifire/core';
} from '@novu/node';

export class <%= PascalName %><%= PascalType %>Provider implements I<%= PascalType %>Provider {
channelType = ChannelTypeEnum.<%= UpperType %> as ChannelTypeEnum.<%= UpperType %>;
Expand Down
2 changes: 1 addition & 1 deletion apps/api/e2e/api/healthcheck/health-check.e2e.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UserSession } from '@notifire/testing';
import { UserSession } from '@novu/testing';
import { expect } from 'chai';

describe('Health-check', () => {
Expand Down
Loading

0 comments on commit 54598f6

Please sign in to comment.