adding in the core on compile

This commit is contained in:
talksik
2022-06-03 10:13:40 -07:00
parent aa9b5aa954
commit 0d7839dd13
5 changed files with 40 additions and 726 deletions
+2
View File
@@ -7,3 +7,5 @@
# production
/build
/dist
/packages/api/core
+1 -1
View File
@@ -5,7 +5,7 @@
"author": "talksik <patel.arjun50@gmail.com>",
"license": "MIT",
"workspaces": [
"packages/**"
"packages/*"
],
"private": true
}
+1 -1
View File
@@ -20,5 +20,5 @@ app.use('/api/status', (req: Request, res: Response) => {
res.json({ message: 'wohoo, server is healthy' });
});
const PORT = 5000;
const PORT = process.env.PORT || 8080;
const server = app.listen(PORT, () => console.log('express running'));
+3 -3
View File
@@ -4,10 +4,11 @@
"main": "index.ts",
"license": "MIT",
"scripts": {
"core": "cp -r ../core ./core",
"dev": "NODE_ENV=development nodemon",
"start": "node dist/index.js",
"build": "tsc -p .",
"start:dev": "ts-node index.ts",
"start": "node dist/index.js",
"gcp-build": "yarn core & tsc -p .",
"production": "NODE_ENV=production nodemon"
},
"devDependencies": {
@@ -17,7 +18,6 @@
"typescript": "^4.6.2"
},
"dependencies": {
"@nirvana/core": "*",
"axios": "^0.26.1",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
+33 -721
View File
File diff suppressed because it is too large Load Diff