Skip to content

Commit

Permalink
- add docker-swarm deployment example
Browse files Browse the repository at this point in the history
- update dependencies
  • Loading branch information
AmruthPillai committed Nov 22, 2023
1 parent 55e94ca commit dfb3ef6
Show file tree
Hide file tree
Showing 12 changed files with 602 additions and 413 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export const ImportDialog = () => {
<Label className="text-error">{t`Errors`}</Label>
<ScrollArea orientation="vertical" className="h-[180px]">
<div className="whitespace-pre-wrap rounded bg-secondary-accent p-4 font-mono text-xs leading-relaxed">
{JSON.stringify(validationResult.errors, null, 4)}
{JSON.stringify(JSON.parse(validationResult.errors), null, 4)}
</div>
</ScrollArea>
</div>
Expand Down
6 changes: 3 additions & 3 deletions apps/server/src/contributors/contributors.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ export class ContributorsService {
}

async fetchCrowdinContributors() {
const projectId = this.configService.getOrThrow("CROWDIN_PROJECT_ID");
const accessToken = this.configService.getOrThrow("CROWDIN_PERSONAL_TOKEN");

try {
const projectId = this.configService.getOrThrow("CROWDIN_PROJECT_ID");
const accessToken = this.configService.getOrThrow("CROWDIN_PERSONAL_TOKEN");

const response = await this.httpService.axiosRef.get(
`https://api.crowdin.com/api/v2/projects/${projectId}/members`,
{ headers: { Authorization: `Bearer ${accessToken}` } },
Expand Down
6 changes: 3 additions & 3 deletions libs/parser/src/reactive-resume-v3/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const basicsSchema = z.object({
phone: z.string(),
headline: z.string(),
summary: z.string(),
birthdate: z.string(),
birthdate: z.string().optional(),
website: z.string(),
profiles: z.array(profileSchema),
location: z.object({
Expand All @@ -40,7 +40,7 @@ const basicsSchema = z.object({
const sectionSchema = z.object({
id: z.string(),
name: z.string(),
type: z.enum(["basic", "custom"]),
type: z.enum(["basic", "work", "custom"]),
columns: z.number().or(z.null()),
visible: z.boolean(),
});
Expand Down Expand Up @@ -147,7 +147,7 @@ const metadataSchema = z.object({
date: z.object({ format: z.string() }),
theme: z.object({ text: z.string(), primary: z.string(), background: z.string() }),
layout: z.array(z.array(z.array(z.string()))),
locale: z.string(),
locale: z.string().optional(),
template: z.string(),
typography: z.object({
size: z.object({ body: z.number(), heading: z.number() }),
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,20 @@
"@types/cookie-parser": "^1.4.6",
"@types/express": "^4.17.21",
"@types/file-saver": "^2.0.7",
"@types/jest": "^29.5.9",
"@types/jest": "^29.5.10",
"@types/lodash.debounce": "^4.0.9",
"@types/lodash.get": "^4.4.9",
"@types/lodash.set": "^4.3.9",
"@types/multer": "^1.4.11",
"@types/node": "20.9.3",
"@types/node": "20.9.4",
"@types/nodemailer": "^6.4.14",
"@types/papaparse": "^5.3.12",
"@types/papaparse": "^5.3.13",
"@types/passport": "^1.0.16",
"@types/passport-github2": "^1.2.9",
"@types/passport-google-oauth20": "^2.0.14",
"@types/passport-local": "^1.0.38",
"@types/react": "18.2.38",
"@types/react-dom": "18.2.16",
"@types/react-dom": "18.2.17",
"@types/react-is": "18.2.4",
"@types/retry": "^0.12.5",
"@types/webfontloader": "^1.6.38",
Expand Down Expand Up @@ -108,7 +108,7 @@
"ts-jest": "^29.1.1",
"ts-node": "10.9.1",
"typescript": "~5.3.2",
"vite": "~5.0.1",
"vite": "~5.0.2",
"vite-plugin-dts": "~3.6.3",
"vitest": "~0.34.6"
},
Expand Down Expand Up @@ -162,7 +162,7 @@
"@radix-ui/react-toggle": "^1.0.3",
"@radix-ui/react-toggle-group": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@sentry/node": "^7.81.0",
"@sentry/node": "^7.81.1",
"@songkeys/nestjs-redis": "^10.0.0",
"@songkeys/nestjs-redis-health": "^10.0.0",
"@swc/helpers": "~0.5.3",
Expand Down Expand Up @@ -215,7 +215,7 @@
"react": "18.2.0",
"react-colorful": "^5.6.1",
"react-dom": "18.2.0",
"react-helmet-async": "^2.0.0",
"react-helmet-async": "^2.0.1",
"react-hook-form": "^7.48.2",
"react-parallax-tilt": "^1.7.175",
"react-resizable-panels": "^0.0.61",
Expand Down
Loading

0 comments on commit dfb3ef6

Please sign in to comment.