-
Notifications
You must be signed in to change notification settings - Fork 0
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
setup dynamic module with all needs #1
base: main
Are you sure you want to change the base?
Conversation
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.
Has to be tested on an external project
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: 'tsconfig.json', | ||
tsconfigRootDir: __dirname, | ||
sourceType: 'module', | ||
}, | ||
extends: ['@avicenne-studio'], | ||
root: true, | ||
env: { | ||
node: true, | ||
jest: true, | ||
}, | ||
ignorePatterns: ['.eslintrc.js'], | ||
}; |
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.
module.exports = {
extends: ["@avicenne-studio"],
};
import { NestFactory } from "@nestjs/core"; | ||
|
||
import { ReferralModule } from "./referral.module"; | ||
|
||
async function bootstrap() { | ||
const app = await NestFactory.create(ReferralModule); | ||
await app.listen(3000); | ||
} | ||
|
||
void bootstrap(); |
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.
Not needed to start a server for this
Totally agree yes |
Create referral module with ESLint and Prettier configurations
ClickUp Task
#TASK_ID
💬 Description
This PR creates a dynamic NestJS module for referral code generation, addressing the need for unique referral codes based on a project key. This feature is essential for enabling distinct code generation across multiple projects, while also ensuring compliance with banned word restrictions.
🚨 Changelog
🔬 Test Zone
📝 Additional Notes