Skip to content

Commit 9fbcb26

Browse files
committed
ci: extended support for nx
1 parent 33804f9 commit 9fbcb26

File tree

9 files changed

+549
-551
lines changed

9 files changed

+549
-551
lines changed

conditional-signing/nodejs/project.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
"name": "conditional-signing-nodejs",
33
"root": "conditional-signing/nodejs",
44
"targets": {
5+
"test-lit": {
6+
"executor": "nx:run-commands",
7+
"options": {
8+
"command": "cd conditional-signing/nodejs && yarn && yarn test"
9+
}
10+
},
511
"update-lit": {
612
"executor": "nx:run-commands",
713
"options": {
814
"command": "cd conditional-signing/nodejs && ../../scripts/update-lit.sh"
915
}
1016
}
1117
}
12-
}
18+
}
Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
<<<<<<< HEAD
32
"name": "decryption-in-lit-action",
43
"version": "1.0.0",
54
"main": "index.js",
@@ -25,25 +24,5 @@
2524
"@lit-protocol/constants": "^6.4.10",
2625
"@lit-protocol/contracts-sdk": "^6.4.10",
2726
"@lit-protocol/lit-node-client": "^6.4.10"
28-
=======
29-
"name": "action-plus-examples",
30-
"version": "1.0.0",
31-
"main": "index.js",
32-
"type": "module",
33-
"license": "MIT",
34-
"dependencies": {
35-
"@lit-protocol/auth-helpers": "^6.4.10",
36-
"@lit-protocol/lit-auth-client": "^6.4.10",
37-
"@lit-protocol/lit-node-client": "^6.4.10",
38-
"@lit-protocol/types": "^6.4.10",
39-
"@types/node": "^20.12.8",
40-
"ethers": "^5.7.1",
41-
"siwe": "^2.0.0",
42-
"ts-node": "^10.9.1",
43-
"typescript": "^5.1.6"
44-
},
45-
"scripts": {
46-
"start": "node --loader ts-node/esm src/index.ts"
47-
>>>>>>> 314a19b (refactor: changed dir structure for decrypt-api-key-in-action as per templates)
4827
}
4928
}

decrypt-api-key-in-action/nodejs/project.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
"name": "decrypt-api-key-in-action-nodejs",
33
"root": "decrypt-api-key-in-action/nodejs",
44
"targets": {
5+
"test-lit": {
6+
"executor": "nx:run-commands",
7+
"options": {
8+
"command": "cd decrypt-api-key-in-action/nodejs && yarn && yarn test"
9+
}
10+
},
511
"update-lit": {
612
"executor": "nx:run-commands",
713
"options": {
814
"command": "cd decrypt-api-key-in-action/nodejs && ../../scripts/update-lit.sh"
915
}
1016
}
1117
}
12-
}
18+
}

eip-191-signing/nodejs/project.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
"name": "eip-191-signing-nodejs",
33
"root": "eip-191-signing/nodejs",
44
"targets": {
5+
"test-lit": {
6+
"executor": "nx:run-commands",
7+
"options": {
8+
"command": "cd eip-191-signing/nodejs && yarn && yarn test"
9+
}
10+
},
511
"update-lit": {
612
"executor": "nx:run-commands",
713
"options": {
814
"command": "cd eip-191-signing/nodejs && ../../scripts/update-lit.sh"
915
}
1016
}
1117
}
12-
}
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "lit-action-claim-key-nodejs",
3+
"root": "lit-action-claim-key/nodejs",
4+
"targets": {
5+
"test-lit": {
6+
"executor": "nx:run-commands",
7+
"options": {
8+
"command": "cd lit-action-claim-key/nodejs && yarn && yarn test"
9+
}
10+
},
11+
"update-lit": {
12+
"executor": "nx:run-commands",
13+
"options": {
14+
"command": "cd lit-action-claim-key/nodejs && ../../scripts/update-lit.sh"
15+
}
16+
}
17+
}
18+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "These examples are designed to help you get started building with Lit!",
55
"main": "index.js",
66
"scripts": {
7-
"test-lit": "nx run-many --target=test-lit --all --parallel=1 --exclude=pkp-migration-nodejs,sign-and-combine-ecdsa-nodejs,wrapped-keys-nodejs",
7+
"test-lit": "nx run-many --target=test-lit --all --parallel=1",
88
"update-lit": "chmod +x ./scripts/update-lit.sh && nx run-many --target=update-lit --all --parallel"
99
},
1010
"devDependencies": {

0 commit comments

Comments
 (0)