-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e5e4c5
commit 4b515a5
Showing
311 changed files
with
12,709 additions
and
20,009 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,4 +45,4 @@ target/ | |
#Cargo.lock | ||
|
||
.turbo | ||
#pnpm-lock.yaml | ||
pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,21 +6,11 @@ | |
"author": "[email protected]", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "turbo build", | ||
"build:report": "turbo build:report", | ||
"start:platform": "turbo start:platform", | ||
"dev": "turbo dev", | ||
"build": "pnpm -r do-build", | ||
"clean": "node ./scripts/clean.mjs", | ||
"preinstall": "node ./scripts/check.mjs && node ./scripts/prisma.mjs" | ||
}, | ||
"packageManager": "[email protected]", | ||
"devDependencies": { | ||
"@commitlint/cli": "^19.5.0", | ||
"@commitlint/config-conventional": "^19.5.0", | ||
"fs-extra": "^11.2.0", | ||
"husky": "^9.1.6", | ||
"turbo": "latest", | ||
"typescript": "latest", | ||
"pnpm": "latest" | ||
"fs-extra": "^11.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
project: "tsconfig.json", | ||
tsconfigRootDir: __dirname, | ||
sourceType: "module", | ||
}, | ||
plugins: ["@typescript-eslint/eslint-plugin"], | ||
extends: [ | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
], | ||
root: true, | ||
env: { | ||
node: true, | ||
jest: true, | ||
}, | ||
ignorePatterns: [".eslintrc.js"], | ||
rules: { | ||
"@typescript-eslint/interface-name-prefix": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# compiled output | ||
/dist | ||
/node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
pnpm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# OS | ||
.DS_Store | ||
|
||
# Tests | ||
/coverage | ||
/.nyc_output | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
|
||
db/sql | ||
|
||
public | ||
|
||
!schema.gql | ||
|
||
prisma/schema.prisma |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"tabWidth": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/nest-cli", | ||
"collection": "@nestjs/schematics", | ||
"sourceRoot": "src", | ||
"compilerOptions": { | ||
"deleteOutDir": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"name": "canyon-backend", | ||
"version": "0.0.0", | ||
"description": "", | ||
"private": true, | ||
"scripts": { | ||
"do-build": "prisma generate && nest build", | ||
"start": "nest start", | ||
"dev-backend": "nest start --watch", | ||
"preinstall": "prisma generate && nest build", | ||
"format": "prettier --write '**/*.{js,ts,jsx,tsx}'", | ||
"do-test": "jest" | ||
}, | ||
"dependencies": { | ||
"@mongodb-js/zstd": "^1.2.2", | ||
"@nestjs/apollo": "^12.2.1", | ||
"@nestjs/common": "^10.4.9", | ||
"@nestjs/config": "^3.3.0", | ||
"@nestjs/core": "^10.4.9", | ||
"@nestjs/graphql": "^12.2.1", | ||
"@nestjs/jwt": "^10.2.0", | ||
"@nestjs/passport": "^10.0.3", | ||
"@nestjs/platform-express": "^10.4.9", | ||
"@nestjs/schedule": "^4.1.1", | ||
"@nestjs/serve-static": "^4.0.2", | ||
"@nestjs/typeorm": "^10.0.2", | ||
"@prisma/client": "5.16.1", | ||
"axios": "^1.7.8", | ||
"body-parser": "^1.20.3", | ||
"canyon-data": "^2.0.0-beta.6", | ||
"canyon-map": "^2.0.0-beta.5", | ||
"class-transformer": "^0.5.1", | ||
"class-validator": "^0.14.1", | ||
"dayjs": "^1.11.13", | ||
"diff": "^7.0.0", | ||
"dotenv": "^16.4.5", | ||
"express": "^4.21.1", | ||
"graphql": "^16.9.0", | ||
"istanbul-lib-coverage": "^3.2.2", | ||
"istanbul-lib-report": "^3.0.1", | ||
"istanbul-lib-source-maps": "^5.0.6", | ||
"istanbul-reports": "^3.1.7", | ||
"passport-jwt": "^4.0.1", | ||
"passport-local": "^1.0.0", | ||
"prisma": "5.16.1", | ||
"protobufjs": "^7.4.0", | ||
"reflect-metadata": "^0.2.2", | ||
"rxjs": "^7.8.1", | ||
"sqlite3": "^5.1.7", | ||
"test-exclude": "^7.0.1", | ||
"typeorm": "^0.3.20", | ||
"zod": "^3.23.8" | ||
}, | ||
"devDependencies": { | ||
"@nestjs/cli": "^10.4.8", | ||
"@nestjs/schematics": "^10.2.3", | ||
"@types/express": "^5.0.0", | ||
"@types/istanbul-lib-coverage": "^2.0.6", | ||
"@types/istanbul-lib-source-maps": "^4.0.4", | ||
"@types/jest": "^29.5.14", | ||
"@types/node": "^22.10.0", | ||
"@types/test-exclude": "^6.0.2", | ||
"@typescript-eslint/eslint-plugin": "^8.16.0", | ||
"@typescript-eslint/parser": "^8.16.0", | ||
"ejs": "^3.1.10", | ||
"eslint": "^9.15.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.4.1", | ||
"source-map-support": "^0.5.21", | ||
"ts-jest": "^29.2.5", | ||
"ts-loader": "^9.5.1", | ||
"ts-node": "^10.9.2", | ||
"tsconfig-paths": "^4.2.0", | ||
"typescript": "^5.7.2" | ||
}, | ||
"jest": { | ||
"moduleFileExtensions": [ | ||
"js", | ||
"json", | ||
"ts" | ||
], | ||
"preset": "ts-jest", | ||
"clearMocks": true, | ||
"collectCoverage": true, | ||
"coverageDirectory": "coverage", | ||
"coverageProvider": "v8", | ||
"rootDir": "test", | ||
"moduleNameMapper": { | ||
"^src/(.*)$": "<rootDir>/$1" | ||
}, | ||
"transform": { | ||
"^.+\\.(t|j)sx?$": "@swc/jest" | ||
} | ||
} | ||
} |
Oops, something went wrong.