Skip to content

Commit

Permalink
caching
Browse files Browse the repository at this point in the history
  • Loading branch information
arunachalam-monk committed Sep 18, 2024
1 parent 9dc6f48 commit 4d84d4e
Show file tree
Hide file tree
Showing 3 changed files with 170 additions and 4 deletions.
91 changes: 91 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx-cloud",
"options": {
"cacheableOperations": [
"build:development",
"build:staging",
"build:preview",
"build:backend-staging-qa",
"test",
"test:coverage",
"prettier",
"prettier:fix",
"eslint",
"eslint:fix",
"lint",
"lint:fix",
"build",
"deploy",
"typecheck",
"svgo",
"build:production",
"compile",
"validate",
"svgo:wireframe",
"svgo:all"
],
"accessToken": "NjI2ZmRiNTYtNjRiOS00Zjc4LWFkN2YtNWM4MTMwYWY3MDk5fHJlYWQtd3JpdGU="
}
}
},
"targetDefaults": {
"build:development": {
"dependsOn": ["^build:development"],
"outputs": ["{projectRoot}/lib"]
},
"build:staging": {
"dependsOn": ["^build:staging"],
"outputs": ["{projectRoot}/lib"]
},
"build:preview": {
"dependsOn": ["^build:preview"],
"outputs": ["{projectRoot}/lib"]
},
"build:backend-staging-qa": {
"dependsOn": ["^build:backend-staging-qa"],
"outputs": ["{projectRoot}/lib"]
},
"test": {
"dependsOn": ["^test"]
},
"start": {
"dependsOn": ["^build"]
},
"serve": {
"dependsOn": ["^serve"]
},
"deploy": {
"dependsOn": ["^deploy"]
},
"typecheck": {
"dependsOn": ["^typecheck"]
},
"build:production": {
"dependsOn": ["^build:production"],
"outputs": ["{projectRoot}/lib"]
},
"build": {
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/lib"]
},
"compile": {
"dependsOn": ["^compile"]
},
"svgo:wireframe": {
"dependsOn": ["^svgo:wireframe"],
"outputs": ["{projectRoot}/src/lib/data"]
},
"svgo:all": {
"dependsOn": ["^svgo:all"],
"outputs": ["{projectRoot}/src/lib/data"]
},
"svgo": {
"outputs": ["{projectRoot}/src/lib/data"]
}
},
"affected": {
"defaultBase": "main"
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
},
"devDependencies": {
"lerna": "^7.1.4",
"nx": "16.10.0",
"nx-cloud": "latest",
"rimraf": "^3.0.2"
},
"repository": {
Expand Down
81 changes: 77 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4164,6 +4164,15 @@ __metadata:
languageName: node
linkType: hard

"@nrwl/nx-cloud@npm:19.1.0":
version: 19.1.0
resolution: "@nrwl/nx-cloud@npm:19.1.0"
dependencies:
nx-cloud: 19.1.0
checksum: 185459710d05e31a59b3d9244e54e5a03ea87ad241a6a930aa87fa87cc1fbf9f2b3edd36e8c61010d24a3aed45662b4b7640aa988b21d51632ce40d5f67a6ae4
languageName: node
linkType: hard

"@nrwl/tao@npm:16.10.0":
version: 16.10.0
resolution: "@nrwl/tao@npm:16.10.0"
Expand Down Expand Up @@ -6859,6 +6868,17 @@ __metadata:
languageName: node
linkType: hard

"axios@npm:^1.6.0":
version: 1.7.7
resolution: "axios@npm:1.7.7"
dependencies:
follow-redirects: ^1.15.6
form-data: ^4.0.0
proxy-from-env: ^1.1.0
checksum: 882d4fe0ec694a07c7f5c1f68205eb6dc5a62aecdb632cc7a4a3d0985188ce3030e0b277e1a8260ac3f194d314ae342117660a151fabffdc5081ca0b5a8b47fe
languageName: node
linkType: hard

"axobject-query@npm:^3.1.1":
version: 3.2.1
resolution: "axobject-query@npm:3.2.1"
Expand Down Expand Up @@ -9389,7 +9409,7 @@ __metadata:
languageName: node
linkType: hard

"dotenv@npm:^10.0.0":
"dotenv@npm:^10.0.0, dotenv@npm:~10.0.0":
version: 10.0.0
resolution: "dotenv@npm:10.0.0"
checksum: f412c5fe8c24fbe313d302d2500e247ba8a1946492db405a4de4d30dd0eb186a88a43f13c958c5a7de303938949c4231c56994f97d05c4bc1f22478d631b4005
Expand Down Expand Up @@ -10744,6 +10764,16 @@ __metadata:
languageName: node
linkType: hard

"follow-redirects@npm:^1.15.6":
version: 1.15.9
resolution: "follow-redirects@npm:1.15.9"
peerDependenciesMeta:
debug:
optional: true
checksum: 859e2bacc7a54506f2bf9aacb10d165df78c8c1b0ceb8023f966621b233717dab56e8d08baadc3ad3b9db58af290413d585c999694b7c146aaf2616340c3d2a6
languageName: node
linkType: hard

"for-each@npm:^0.3.3":
version: 0.3.3
resolution: "for-each@npm:0.3.3"
Expand Down Expand Up @@ -12106,6 +12136,13 @@ __metadata:
languageName: node
linkType: hard

"ini@npm:4.1.3":
version: 4.1.3
resolution: "ini@npm:4.1.3"
checksum: 004b2be42388877c58add606149f1a0c7985c90a0ba5dbf45a4738fdc70b0798d922caecaa54617029626505898ac451ff0537a08b949836b49d3267f66542c9
languageName: node
linkType: hard

"ini@npm:^1.3.2, ini@npm:^1.3.5, ini@npm:^1.3.8, ini@npm:~1.3.0":
version: 1.3.8
resolution: "ini@npm:1.3.8"
Expand Down Expand Up @@ -15492,6 +15529,8 @@ __metadata:
resolution: "monkjs@workspace:."
dependencies:
lerna: ^7.1.4
nx: 16.10.0
nx-cloud: latest
react: ^17.0.2
react-dom: ^17.0.2
rimraf: ^3.0.2
Expand Down Expand Up @@ -15715,7 +15754,7 @@ __metadata:
languageName: node
linkType: hard

"node-machine-id@npm:1.1.12":
"node-machine-id@npm:1.1.12, node-machine-id@npm:^1.1.12":
version: 1.1.12
resolution: "node-machine-id@npm:1.1.12"
checksum: e23088a0fb4a77a1d6484b7f09a22992fd3e0054d4f2e427692b4c7081e6cf30118ba07b6113b6c89f1ce46fd26ec5ab1d76dcaf6c10317717889124511283a5
Expand Down Expand Up @@ -15971,6 +16010,26 @@ __metadata:
languageName: node
linkType: hard

"nx-cloud@npm:19.1.0, nx-cloud@npm:latest":
version: 19.1.0
resolution: "nx-cloud@npm:19.1.0"
dependencies:
"@nrwl/nx-cloud": 19.1.0
axios: ^1.6.0
chalk: ^4.1.0
dotenv: ~10.0.0
fs-extra: ^11.1.0
ini: 4.1.3
node-machine-id: ^1.1.12
open: ~8.4.0
tar: 6.2.1
yargs-parser: ">=21.1.1"
bin:
nx-cloud: bin/nx-cloud.js
checksum: e76899f2f833c1518d0dc361052fd5913d2140866cce10146fe13b340d40ad6095733fe5319f009cd31a10e4e601fca58a3a3f954a339ba98d9f060c641f405f
languageName: node
linkType: hard

"nx@npm:16.10.0, nx@npm:>=16.5.1 < 17":
version: 16.10.0
resolution: "nx@npm:16.10.0"
Expand Down Expand Up @@ -16232,7 +16291,7 @@ __metadata:
languageName: node
linkType: hard

"open@npm:^8.0.9, open@npm:^8.4.0":
"open@npm:^8.0.9, open@npm:^8.4.0, open@npm:~8.4.0":
version: 8.4.2
resolution: "open@npm:8.4.2"
dependencies:
Expand Down Expand Up @@ -20470,6 +20529,20 @@ __metadata:
languageName: node
linkType: hard

"tar@npm:6.2.1":
version: 6.2.1
resolution: "tar@npm:6.2.1"
dependencies:
chownr: ^2.0.0
fs-minipass: ^2.0.0
minipass: ^5.0.0
minizlib: ^2.1.1
mkdirp: ^1.0.3
yallist: ^4.0.0
checksum: f1322768c9741a25356c11373bce918483f40fa9a25c69c59410c8a1247632487edef5fe76c5f12ac51a6356d2f1829e96d2bc34098668a2fc34d76050ac2b6c
languageName: node
linkType: hard

"tar@npm:^6.1.11, tar@npm:^6.1.2":
version: 6.2.0
resolution: "tar@npm:6.2.0"
Expand Down Expand Up @@ -22629,7 +22702,7 @@ __metadata:
languageName: node
linkType: hard

"yargs-parser@npm:21.1.1, yargs-parser@npm:^21.0.1, yargs-parser@npm:^21.1.1":
"yargs-parser@npm:21.1.1, yargs-parser@npm:>=21.1.1, yargs-parser@npm:^21.0.1, yargs-parser@npm:^21.1.1":
version: 21.1.1
resolution: "yargs-parser@npm:21.1.1"
checksum: ed2d96a616a9e3e1cc7d204c62ecc61f7aaab633dcbfab2c6df50f7f87b393993fe6640d017759fe112d0cb1e0119f2b4150a87305cc873fd90831c6a58ccf1c
Expand Down

0 comments on commit 4d84d4e

Please sign in to comment.