Skip to content

Commit

Permalink
fix: Fix issues with turbo pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
alllenshibu committed Jun 29, 2024
1 parent 8e920fa commit 34d68cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/core-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "npm run clean & webpack --config webpack.config.js",
"clean": "rimraf dist & rimraf build",
"dev": "concurrently \"npx tsc --watch\" \"nodemon -q build/index.js\"",
"setup": "node -e \"require('fs').rename('.env.example','.env',function(err){if(err){console.log(err);}console.log('Environment variables set up successfully');});\"",
"setup": "node -e \"require('fs').copyFile('.env.example', '.env', (err) => {if (err) {console.log(err);} else {console.log('Environment variables set up successfully');}});\"",
"start": "node dist/app.js",
"test": "mocha -r ts-node/register 'tests/**/*.ts' --timeout 10000 --exit",
"lint": "eslint --ext .ts src"
Expand Down
2 changes: 1 addition & 1 deletion apps/core-auth0-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "npm run clean & webpack --config webpack.config.js",
"clean": "rimraf dist & rimraf build",
"dev": "concurrently \"npx tsc --watch\" \"nodemon -q build/index.js\"",
"setup": "node -e \"require('fs').rename('.env.example','.env',function(err){if(err){console.log(err);}console.log('Environment variables set up successfully');});\"",
"setup": "node -e \"require('fs').copyFile('.env.example', '.env', (err) => {if (err) {console.log(err);} else {console.log('Environment variables set up successfully');}});\"",
"start": "node dist/app.js",
"lint": "eslint --ext .ts src"
},
Expand Down
2 changes: 1 addition & 1 deletion apps/web-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"setup": "node -e \"require('fs').rename('.env.example','.env',function(err){if(err){console.log(err);}console.log('Environment variables set up successfully');});\"",
"setup": "node -e \"require('fs').copyFile('.env.example', '.env', (err) => {if (err) {console.log(err);} else {console.log('Environment variables set up successfully');}});\"",
"lint": "next lint"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"db:generate": "prisma generate",
"db:push": "prisma db push --skip-generate",
"setup": "node -e \"require('fs').rename('.env.example','.env',function(err){if(err){console.log(err);}console.log('Environment variables set up successfully');});\""
"setup": "node -e \"require('fs').copyFile('.env.example', '.env', (err) => {if (err) {console.log(err);} else {console.log('Prisma client generated and environment variables set up successfully');}});\" && prisma generate"
},
"dependencies": {
"@prisma/client": "^5.7.1"
Expand Down

0 comments on commit 34d68cc

Please sign in to comment.