forked from HausDAO/monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
70 lines (69 loc) · 2.22 KB
/
project.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "moloch-v3-data",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/moloch-v3-data/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/moloch-v3-data",
"main": "libs/moloch-v3-data/src/index.ts",
"tsConfig": "libs/moloch-v3-data/tsconfig.lib.json",
"assets": ["libs/moloch-v3-data/*.md"],
"buildableProjectDepsInPackageJsonType": "dependencies"
}
},
"publish": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/publish.mjs moloch-v3-data {args.ver} {args.tag}"
},
"dependsOn": ["build"]
},
"npmPublish": {
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public",
"noBuild": true
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/moloch-v3-data/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/moloch-v3-data/jest.config.ts",
"passWithNoTests": true
}
},
"generate-gql-schema": {
"executor": "nx:run-commands",
"options": {
"commands": [
"get-graphql-schema https://api.thegraph.com/subgraphs/name/hausdao/daohaus-v3-goerli > libs/moloch-v3-data/src/subgraph/schema.graphql",
"get-graphql-schema https://api.thegraph.com/subgraphs/name/ensdomains/ens > libs/moloch-v3-data/src/subgraph/schema-ens.graphql",
"get-graphql-schema https://api.lens.dev > libs/moloch-v3-data/src/subgraph/schema-lens.graphql"
]
}
},
"generate-gql-types": {
"executor": "nx:run-commands",
"options": {
"commands": [
"graphql-codegen --config libs/moloch-v3-data/codegen.yaml",
"graphql-codegen --config libs/moloch-v3-data/codegen-ens.yaml",
"graphql-codegen --config libs/moloch-v3-data/codegen-lens.yaml"
]
}
}
},
"tags": []
}