Compare commits
2 Commits
3bcc6f89b3
...
7083d8e624
| Author | SHA1 | Date | |
|---|---|---|---|
| 7083d8e624 | |||
| 77a9711309 |
8
.changeset/README.md
Normal file
8
.changeset/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Changesets
|
||||
|
||||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
|
||||
with multi-package repos, or single-package repos to help you version and publish your code. You can
|
||||
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
|
||||
|
||||
We have a quick list of common questions to get you started engaging with this project in
|
||||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
|
||||
11
.changeset/config.json
Normal file
11
.changeset/config.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json",
|
||||
"changelog": "@changesets/cli/changelog",
|
||||
"commit": false,
|
||||
"fixed": [],
|
||||
"linked": [],
|
||||
"access": "restricted",
|
||||
"baseBranch": "main",
|
||||
"updateInternalDependencies": "patch",
|
||||
"ignore": []
|
||||
}
|
||||
@@ -1,13 +1,14 @@
|
||||
import express from "express";
|
||||
import { setupRoutes } from "@/src/routes/routeHandler.route.js";
|
||||
|
||||
const port = Number(process.env.PORT);
|
||||
const startApp = async () => {
|
||||
const app = express();
|
||||
const baseUrl = "";
|
||||
setupRoutes(baseUrl, app);
|
||||
|
||||
app.listen(3000, () => {
|
||||
console.log("Listening on port 3000");
|
||||
app.listen(port, () => {
|
||||
console.log(`Listening on port ${port}`);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
3955
package-lock.json
generated
3955
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
21
package.json
21
package.json
@@ -5,12 +5,17 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"dev": "dotenvx run -f .env -- npm run dev:app",
|
||||
"dev:app": "cd backend && tsx watch app.ts",
|
||||
"prebuild": "tsx backend/src/scaler/generateSpec.ts",
|
||||
"build": "esbuild backend/app.ts --bundle --platform=node --minify --outfile=dist/index.js --format=esm --packages=external",
|
||||
"build:app": "ncc build backend/app.ts -o dist -m -s",
|
||||
"lint": "tsc",
|
||||
"start": "node dist/index.js"
|
||||
"start": "node dist/index.js",
|
||||
"commit": "cz",
|
||||
"changeset": "changeset",
|
||||
"version": "changeset version",
|
||||
"release": "changeset publish"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -30,12 +35,24 @@
|
||||
"openapi-types": "^12.1.3",
|
||||
"ts-node-dev": "^2.0.0",
|
||||
"tsx": "^4.21.0",
|
||||
"typescript": "^5.9.3"
|
||||
"typescript": "^5.9.3",
|
||||
"@changesets/cli": "^2.27.0",
|
||||
"@commitlint/cli": "^18.4.0",
|
||||
"@commitlint/config-conventional": "^18.4.0",
|
||||
"commitizen": "^4.3.0",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"husky": "^8.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dotenvx/dotenvx": "^1.51.2",
|
||||
"@scalar/express-api-reference": "^0.8.28",
|
||||
"better-auth": "^1.4.6",
|
||||
"express": "^5.2.1",
|
||||
"npm-check-updates": "^19.1.2"
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "cz-conventional-changelog"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user