Skip to content

Commit

Permalink
Merge pull request #19 from vivid-planet/fix-lint-errors
Browse files Browse the repository at this point in the history
fix eslint errors
  • Loading branch information
raphaelblum authored Jan 23, 2024
2 parents 4007f91 + 479564b commit 826edbc
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 31 deletions.
36 changes: 18 additions & 18 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,15 @@
"lib/*"
],
"scripts": {
"clean": "rimraf lib",
"build": "$npm_execpath run clean && tsc -p tsconfig.build.json",
"clean": "rimraf lib",
"dev": "tsc --watch --preserveWatchOutput -p tsconfig.build.json",
"lint": "run-p lint:eslint lint:tsc",
"lint:eslint": "eslint --max-warnings 0 src/ package.json",
"lint:tsc": "tsc --noEmit",
"test": "jest",
"test:watch": "jest --watch"
},
"peerDependencies": {
"@comet/blocks-api": "^5.3.0",
"@comet/cms-api": "^5.3.0",
"@mikro-orm/cli": "^5.7.1",
"@mikro-orm/core": "^5.0.5",
"@mikro-orm/migrations": "^5.7.1",
"@mikro-orm/nestjs": "^5.0.0",
"@mikro-orm/postgresql": "^5.0.4",
"@nestjs/common": "^9.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.0.0"
},
"dependencies": {
"node-fetch": "^2.6.1"
},
Expand All @@ -54,25 +42,37 @@
"@nestjs/graphql": "^10.0.0",
"@sendinblue/client": "^3.3.1",
"@types/jest": "^29.5.0",
"@types/rimraf": "^3.0.0",
"@types/node-fetch": "^2.5.12",
"@types/rimraf": "^3.0.0",
"@types/uuid": "^8.3.0",
"pg-error-constants": "^1.0.0",
"class-transformer": "^0.5.0",
"nestjs-console": "^8.0.0",
"express": "^4.17.1",
"class-validator": "^0.13.1",
"eslint": "^8.0.0",
"express": "^4.17.1",
"graphql": "^15.5.0",
"jest": "^29.5.0",
"jest-junit": "^15.0.0",
"nestjs-console": "^8.0.0",
"pg-error-constants": "^1.0.0",
"prettier": "^2.0.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.0",
"rxjs": "^7.0.0",
"prettier": "^2.0.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.0.0",
"typescript": "^4.0.0",
"uuid": "^8.3.2"
},
"peerDependencies": {
"@comet/blocks-api": "^5.3.0",
"@comet/cms-api": "^5.3.0",
"@mikro-orm/cli": "^5.7.1",
"@mikro-orm/core": "^5.0.5",
"@mikro-orm/migrations": "^5.7.1",
"@mikro-orm/nestjs": "^5.0.0",
"@mikro-orm/postgresql": "^5.0.4",
"@nestjs/common": "^9.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/api/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { BrevoModule } from "./brevo-module";
export { BrevoModule } from "./brevo-module";
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface TargetGroupInterface {
totalSubscribers: number;
totalContactsBlocked: number;
scope: EmailCampaignScopeInterface;
filters?: Type<BrevoContactFilterAttributesInterface>;
filters?: BrevoContactFilterAttributesInterface;
}

export class TargetGroupEntityFactory {
Expand Down Expand Up @@ -78,7 +78,7 @@ export class TargetGroupEntityFactory {
class TargetGroup extends TargetGroupBase {
@Embedded(() => BrevoFilterAttributes, { nullable: true })
@Field(() => BrevoFilterAttributes, { nullable: true })
filters?: Type<BrevoContactFilterAttributesInterface>;
filters?: BrevoContactFilterAttributesInterface;
}

return TargetGroup;
Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 826edbc

Please sign in to comment.