Skip to content

Commit

Permalink
refactor(platform): Refactor project components (keyshade-xyz#626)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b authored and bansal-harsh-2504 committed Jan 17, 2025
1 parent eeffa42 commit 7024516
Show file tree
Hide file tree
Showing 19 changed files with 1,628 additions and 792 deletions.
13 changes: 11 additions & 2 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"unit": "pnpm db:generate-types && jest --config=jest.config.ts"
},
"dependencies": {
"@keyshade/schema": "workspace:*",
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.2.0",
"@nestjs/core": "^10.0.0",
Expand All @@ -34,18 +35,22 @@
"@nestjs/swagger": "^7.3.0",
"@nestjs/throttler": "^6.2.1",
"@nestjs/websockets": "^10.3.7",
"@slack/bolt": "^3.22.0",
"@react-email/components": "^0.0.25",
"@react-email/preview": "0.0.11",
"@slack/bolt": "^3.22.0",
"@react-email/render": "^1.0.1",
"@socket.io/redis-adapter": "^8.3.0",
"@sentry/node": "^7.102.0",
"@sentry/profiling-node": "^7.102.0",
"@supabase/supabase-js": "^2.39.6",
"chalk": "^4.1.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"cookie-parser": "^1.4.6",
"dayjs": "^1.11.11",
"eccrypto": "^1.1.6",
"minio": "^8.0.0",
"moment": "^2.30.1",
"nodemailer": "^6.9.9",
"passport-github2": "^0.1.12",
"passport-gitlab2": "^5.0.0",
Expand All @@ -54,9 +59,11 @@
"redis": "^4.6.13",
"rxjs": "^7.8.1",
"socket.io": "^4.7.5",
"uuid": "^9.0.1"
"uuid": "^9.0.1",
"zod": "^3.23.6"
},
"devDependencies": {
"@types/jest": "^29.5.2",
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
Expand All @@ -69,8 +76,10 @@
"@types/supertest": "^6.0.0",
"@types/uuid": "^9.0.8",
"ajv": "^7",
"cross-env": "^7.0.3",
"dotenv-cli": "^7.4.2",
"file-loader": "^6.2.0",
"husky": "^9.0.11",
"jest": "^29.5.0",
"jest-mock-extended": "^3.0.5",
"prettier": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/api/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.json",
"extends": "tsconfig.json",
"compilerOptions": {
"outDir": "dist/out-tsc",
"module": "ES2022",
Expand Down
4 changes: 3 additions & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"type": "module",
"scripts": {
"build": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.esm.js --format=esm --banner:js='#!/usr/bin/env node' && esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs --format=cjs --banner:js='#!/usr/bin/env node'",
"build": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs --format=cjs --banner:js=\"#!/usr/bin/env node\" && esbuild src/index.ts --bundle --platform=node --outfile=dist/index.esm.js --format=esm --banner:js=\"#!/usr/bin/env node\"",
"start": "node dist/index.cjs",
"dev": "pnpm build && node dist/index.cjs",
"lint": "eslint \"src/**/*.ts\" --fix",
Expand All @@ -26,6 +26,8 @@
"dependencies": {
"@clack/core": "^0.3.4",
"@clack/prompts": "^0.7.0",
"@keyshade/api-client": "workspace:*",
"@keyshade/secret-scan": "workspace:*",
"chalk": "^4.1.2",
"cli-table": "^0.3.11",
"colors": "^1.4.0",
Expand Down
1 change: 1 addition & 0 deletions apps/platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "eslint \"src/**/*.ts\" --fix --config .eslintrc.cjs"
},
"dependencies": {
"@keyshade/schema": "workspace:*",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.4",
"@radix-ui/react-avatar": "^1.0.4",
Expand Down
Loading

0 comments on commit 7024516

Please sign in to comment.