Skip to content

Commit

Permalink
Merge pull request #1 from boklisten/test-setup-ci
Browse files Browse the repository at this point in the history
Setup Proper Github CI with PnPm
AdrianAndersen authored Dec 24, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents c7b49a6 + 8c8623b commit e20de7e
Showing 6 changed files with 6,788 additions and 4,811 deletions.
3 changes: 1 addition & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
@@ -66,7 +66,6 @@
"pkgroll": "^2.5.1",
"sinon": "^18.0.0",
"sinon-chai": "^3.6.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
"tsx": "^4.19.2"
}
}
3 changes: 2 additions & 1 deletion backend/src/server/server.ts
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ import { assertEnv, BlEnvironment } from "@backend/config/environment";
import { logger } from "@backend/logger/logger";
import cors from "cors";
import express, {
Express,
json,
Request,
RequestHandler,
@@ -15,7 +16,7 @@ import mongoose from "mongoose";
import passport from "passport";

export class Server {
public readonly app = express();
public readonly app: Express = express();
private readonly router = Router();

constructor() {
3 changes: 1 addition & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
@@ -45,8 +45,7 @@
"@types/sanitize-html": "^2.13.0",
"@types/string-similarity": "^4.0.2",
"@types/validator": "^13.12.2",
"cypress": "^13.17.0",
"typescript": "^5.7.2"
"cypress": "^13.17.0"
},
"browserslist": [
"defaults",
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"prettier": "^3.4.2",
"typescript-eslint": "^8.18.0"
"typescript-eslint": "^8.18.0",
"typescript": "^5.7.2"
}
}
11,583 changes: 6,781 additions & 4,802 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions shared/package.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,5 @@
"version": "1.0.0",
"license": "UNLICENSED",
"scripts": {},
"devDependencies": {
"typescript": "^5.7.2"
}
"devDependencies": {}
}

0 comments on commit e20de7e

Please sign in to comment.