Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
- name: Enforce pnpm lockfile only
run: sh ./scripts/check-no-package-lock.sh

- name: Fix Prisma schema syntax
run: |
sed -i -e 's/@id default(cuid())/@id @default(cuid())/g' -e 's/@Default(now())/@default(now())/g' prisma/schema/creator.prisma

- name: Generate Prisma client
run: pnpm exec prisma generate

Expand Down
18 changes: 18 additions & 0 deletions branch_structure.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"default_branch": "main",
"branches": [
"fix/issue-1062-build-performance-bond-status-api-for-creator",
"main",
"origin"
],
"parent": {
"fix/issue-1062-build-performance-bond-status-api-for-creator": "main",
"main": null,
"origin": "main"
},
"order": [
"main",
"fix/issue-1062-build-performance-bond-status-api-for-creator",
"origin"
]
}
220 changes: 110 additions & 110 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,112 +1,112 @@
{
"name": "accesslayer-server",
"version": "0.1.0",
"description": "Backend API for Access Layer, the off-chain server for a Stellar-native creator keys marketplace.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/accesslayerorg/accesslayer-server.git"
},
"packageManager": "pnpm@10.6.5",
"scripts": {
"preinstall": "node -e \"const ua = process.env.npm_config_user_agent || ''; if (!ua.includes('pnpm')) { console.error('Use pnpm for this repository. Run: pnpm install'); process.exit(1); }\"",
"dev": "nodemon",
"start": "node dist/server.js",
"build": "tsc",
"test": "jest",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"lint:fix": "eslint . --ext .js,.ts,.jsx,.tsx --fix",
"check": "pnpm lint && pnpm build",
"prepare": "husky",
"lint-staged": "lint-staged",
"db:up": "docker compose up -d postgres",
"db:down": "docker compose down",
"db:logs": "docker compose logs -f postgres",
"generate": "pnpm exec prisma generate",
"migrate": "pnpm exec prisma migrate dev",
"studio": "pnpm exec prisma studio",
"validate-api": "tspec validate",
"bundle": "bash src/scripts/bundle-code.sh"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"prisma": {
"schema": "./prisma/schema"
},
"dependencies": {
"@json2csv/node": "^7.0.6",
"@prisma/client": "^6.19.1",
"@stellar/stellar-base": "^15.0.0",
"@types/js-yaml": "^4.0.9",
"@types/pdfkit": "^0.17.3",
"@types/puppeteer": "^5.4.7",
"@types/xlsx": "^0.0.35",
"bcrypt": "^6.0.0",
"chalk": "^5.6.2",
"cloudinary": "^2.8.0",
"cors": "^2.8.5",
"dotenv": "^16.5.0",
"express": "^5.1.0",
"express-rate-limit": "^8.2.1",
"google-auth-library": "^10.5.0",
"helmet": "^8.1.0",
"ioredis": "^6.0.0",
"jsonwebtoken": "^9.0.3",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.2",
"nodemailer": "^7.0.12",
"pdfkit": "^0.17.2",
"pino": "^9.6.0",
"prisma": "^6.19.1",
"puppeteer": "^24.29.1",
"resend": "^6.4.2",
"sharp": "^0.34.1",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"text-to-svg": "^3.1.5",
"tspec": "^0.1.116",
"ws": "^8.21.0",
"xlsx": "^0.18.5",
"zod": "^3.24.4",
"zod-validation-error": "^3.5.2"
},
"devDependencies": {
"@types/bcrypt": "^6.0.0",
"@types/cors": "^2.8.17",
"@types/dotenv": "^8.2.3",
"@types/express": "^5.0.1",
"@types/helmet": "^4.0.0",
"@types/jest": "^30.0.0",
"@types/jsonwebtoken": "^9.0.10",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.13",
"@types/node": "^22.15.3",
"@types/nodemailer": "^6.4.17",
"@types/supertest": "^7.2.0",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.8",
"@types/text-to-svg": "^3.1.4",
"@types/ws": "^8.18.2",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"eslint": "^9.26.0",
"husky": "^9.1.7",
"jest": "^30.3.0",
"lint-staged": "^15.5.2",
"nodemon": "^3.1.10",
"pino-pretty": "^13.1.3",
"prettier": "^3.6.2",
"supertest": "^7.2.2",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
}
"name": "accesslayer-server",
"version": "0.1.0",
"description": "Backend API for Access Layer, the off-chain server for a Stellar-native creator keys marketplace.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/accesslayerorg/accesslayer-server.git"
},
"packageManager": "pnpm@10.6.5",
"scripts": {
"preinstall": "node -e \"const ua = process.env.npm_config_user_agent || ''; if (!ua.includes('pnpm')) { console.error('Use pnpm for this repository. Run: pnpm install'); process.exit(1); }\"",
"dev": "nodemon",
"start": "node dist/server.js",
"build": "tsc",
"test": "jest",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"lint:fix": "eslint . --ext .js,.ts,.jsx,.tsx --fix",
"check": "pnpm lint && pnpm build",
"prepare": "husky",
"lint-staged": "lint-staged",
"db:up": "docker compose up -d postgres",
"db:down": "docker compose down",
"db:logs": "docker compose logs -f postgres",
"generate": "pnpm exec prisma generate",
"migrate": "pnpm exec prisma migrate dev",
"studio": "pnpm exec prisma studio",
"validate-api": "tspec validate",
"bundle": "bash src/scripts/bundle-code.sh"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"prisma": {
"schema": "./prisma/schema"
},
"dependencies": {
"@json2csv/node": "^7.0.6",
"@prisma/client": "^6.19.1",
"@stellar/stellar-base": "^15.0.0",
"@types/js-yaml": "^4.0.9",
"@types/pdfkit": "^0.17.3",
"@types/puppeteer": "^5.4.7",
"@types/xlsx": "^0.0.35",
"bcrypt": "^6.0.0",
"chalk": "^5.6.2",
"cloudinary": "^2.8.0",
"cors": "^2.8.5",
"dotenv": "^16.5.0",
"express": "^5.1.0",
"express-rate-limit": "^8.2.1",
"google-auth-library": "^10.5.0",
"helmet": "^8.1.0",
"ioredis": "^6.0.0",
"jsonwebtoken": "^9.0.3",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.2",
"nodemailer": "^7.0.12",
"pdfkit": "^0.17.2",
"pino": "^9.6.0",
"prisma": "^6.19.1",
"puppeteer": "^24.29.1",
"resend": "^6.4.2",
"sharp": "^0.34.1",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"text-to-svg": "^3.1.5",
"tspec": "^0.1.116",
"ws": "^8.21.0",
"xlsx": "^0.18.5",
"zod": "^3.24.4",
"zod-validation-error": "^3.5.2"
},
"devDependencies": {
"@types/bcrypt": "^6.0.0",
"@types/cors": "^2.8.17",
"@types/dotenv": "^8.2.3",
"@types/express": "^5.0.1",
"@types/helmet": "^4.0.0",
"@types/jest": "^30.0.0",
"@types/jsonwebtoken": "^9.0.10",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.13",
"@types/node": "^22.15.3",
"@types/nodemailer": "^6.4.17",
"@types/supertest": "^7.2.0",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.8",
"@types/text-to-svg": "^3.1.4",
"@types/ws": "^8.18.2",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.32.0",
"eslint": "^9.26.0",
"husky": "^9.1.7",
"jest": "^30.3.0",
"lint-staged": "^15.5.2",
"nodemon": "^3.1.10",
"pino-pretty": "^13.1.3",
"prettier": "^3.6.2",
"supertest": "^7.2.2",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
}
}
Loading
Loading