Skip to content

Commit

Permalink
Merge pull request #5 from lehuygiang28/feat/nx-cloud/setup
Browse files Browse the repository at this point in the history
feat(nx-cloud): setup nx workspace
  • Loading branch information
lehuygiang28 authored Jun 29, 2024
2 parents 6ba1a5c + d20dfda commit 308884b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions apps/fe/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
},
"build": {
"executor": "@nx/next:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"cache": true,
"options": {
"outputPath": "dist/apps/fe"
},
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"cache": true,
"configurations": {
"development": {
"outputPath": "."
Expand Down
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
}
],
"nxCloudAccessToken": "YTNiZTM5ZDgtNGEyMS00OGM3LTlkNmItNjc3YzNkNTZhMGI1fHJlYWQtd3JpdGU=",
"nxCloudAccessToken": "NTY4ZjhhNzUtM2MzYy00MmQ5LWFmNTAtZTBlYzQ3N2JiNjVlfHJlYWQtd3JpdGU=",
"generators": {
"@nx/next": {
"application": {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"scripts": {
"fe": "yarn nx dev:rf fe",
"be": "yarn nx serve be --configuration=development",
"fe:build": "yarn nx build fe --skip-nx-cache",
"fe:prod": "yarn nx start fe --configuration=production --skip-nx-cache",
"be:prod": "yarn nx serve be --configuration=production --skip-nx-cache"
"fe:build": "yarn nx build fe",
"fe:prod": "yarn nx start fe --configuration=production",
"be:prod": "yarn nx serve be --configuration=production"
},
"dependencies": {
"@ant-design/icons": "^5.3.7",
Expand Down
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"framework": "nextjs",
"regions": ["sin1"],
"installCommand": "yarn install --immutable",
"buildCommand": "yarn nx build fe --skip-nx-cache",
"buildCommand": "yarn nx build fe",
"outputDirectory": "dist/apps/fe/.next",
"cleanUrls": true
}

0 comments on commit 308884b

Please sign in to comment.