-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: nestjs-slack plugin #25
Conversation
example/src/app.module.ts
Outdated
import { Module } from "@nestjs/common"; | ||
import { TypeOrmModule } from "@nestjs/typeorm"; | ||
import { GraphQLModule } from "@nestjs/graphql"; | ||
import { AppController } from "./app.controller"; | ||
import { AppService } from "./app.service"; | ||
import { NodeModule } from "./node/node.module"; | ||
import { RecipesModule } from "./recipes/recipes.module"; | ||
import { ConfigModule } from "./config/config.module"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://docs.nestjs.com/techniques/configuration try use this :)
packages/nestjs-slack/README.md
Outdated
@@ -0,0 +1 @@ | |||
TBA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we recommend standard-readme format :)
This reverts commit 6181a6d.
example/src/app.module.ts
Outdated
|
||
const isProduction = process.env.NODE_ENV === "production"; | ||
|
||
@Module({ | ||
imports: [ | ||
ConfigModule.forRoot(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ConfigModule.forRoot(), | |
ConfigModule.forRoot({ | |
ignoreEnvFile: true, | |
load: [] | |
}), |
README.md
Outdated
|
||
## Usage | ||
|
||
cp example/.env.tmpl example/.env |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use ignoreEnvFile: true
added nestjs-slack webhook plugin