-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ako / lerna and nx integrations (#6311)
* build/ update lerna-nx and use nx scripts * build/ add nx config file * build/ add nx token key * build/ replace build scripts with nx * build/ run build local in parallel * ci/ update build command * ci/ update build command * build/ update package-lock * build/ update nx script * build/ remove deprecated --all flag * build/ update nx to latest version * build/ update package-lock file * config/fix cacheOperation for linting * build/ update package-lock file * ci/ fix nx accesstoken * build/ update package-lock * ci/ add nx-cloud env example file * ci/ add nx-cloud env example file * build: use nx build for build:travis script * build/ update lerna to 5.5.1 * ci/ use process.env to get nx accessToken
- Loading branch information
Ali(Ako) Hosseini
committed
Oct 6, 2022
1 parent
4e4de43
commit 8f2df0f
Showing
7 changed files
with
7,627 additions
and
4,617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,5 @@ packages/p2p/lib/ | |
packages/appstore/dist/ | ||
packages/appstore/lib/ | ||
.env | ||
nx-cloud.env | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# To have nx cloud caching, make a copy of this file and name it nx-cloud.env, | ||
# then replace the <TOKEN> with nx-cloud token provided in the lastpass shared-FE section. | ||
|
||
NX_CLOUD_ACCESS_TOKEN=<TOKEN> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"extends": "nx/presets/npm.json", | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "@nrwl/nx-cloud", | ||
"options": { | ||
"cacheableOperations": [ | ||
"build", | ||
"test", | ||
"test:eslint", | ||
"package", | ||
"prepare", | ||
"build:travis" | ||
], | ||
"accessToken": "${process.env.NX_CLOUD_ACCESS_TOKEN}" | ||
} | ||
} | ||
}, | ||
"targetDependencies": { | ||
"build": [ | ||
{ | ||
"target": "build", | ||
"projects": "dependencies" | ||
} | ||
], | ||
"prepare": [ | ||
{ | ||
"target": "prepare", | ||
"projects": "dependencies" | ||
} | ||
], | ||
"package": [ | ||
{ | ||
"target": "package", | ||
"projects": "dependencies" | ||
} | ||
] | ||
}, | ||
"affected": { | ||
"defaultBase": "master" | ||
}, | ||
"pluginsConfig": { | ||
"@nrwl/js": { | ||
"analyzeSourceFiles": false | ||
} | ||
} | ||
} |
Oops, something went wrong.
8f2df0f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
deriv-app – ./
binary.sx
deriv-app-git-master.binary.sx
deriv-app.vercel.app
deriv-app.binary.sx