-
Notifications
You must be signed in to change notification settings - Fork 5
/
project.json
95 lines (95 loc) · 2.78 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/dao-data/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"dependsOn": ["^build"],
"options": {
"outputPath": "dist/libs/dao-data",
"main": "libs/dao-data/src/index.ts",
"tsConfig": "libs/dao-data/tsconfig.lib.json",
"dependsOn": [
{
"target": "build",
"projects": "dependencies"
}
],
"assets": ["libs/dao-data/*.md"],
"updateBuildableProjectDepsInPackageJson": true,
"buildableProjectDepsInPackageJsonType": "dependencies"
}
},
"vite-build": {
"dependsOn": [
{
"target": "build",
"projects": "self"
}
]
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/dao-data/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/dao-data"],
"options": {
"jestConfig": "libs/dao-data/jest.config.ts",
"passWithNoTests": true
}
},
"version": {
"executor": "@jscutlery/semver:version",
"options": {
"preset": "conventional",
"tagPrefix": "${projectName}@",
"noVerify": true,
"baseBranch": "master",
"commitMessageFormat": "ci(${projectName}): 🔥 cut release to ${version}"
}
},
"deploy": {
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public"
}
},
"generate-gql-schema": {
"executor": "nx:run-commands",
"options": {
"commands": [
"get-graphql-schema https://api.thegraph.com/subgraphs/name/hausdao/daohaus-v3-goerli > libs/dao-data/src/subgraph/schema.graphql",
"get-graphql-schema https://api.thegraph.com/subgraphs/name/ensdomains/ens > libs/dao-data/src/subgraph/schema-ens.graphql",
"get-graphql-schema https://api.lens.dev > libs/dao-data/src/subgraph/schema-lens.graphql"
]
}
},
"generate-gql-types": {
"executor": "nx:run-commands",
"options": {
"commands": [
"graphql-codegen --config libs/dao-data/codegen.yaml",
"graphql-codegen --config libs/dao-data/codegen-ens.yaml",
"graphql-codegen --config libs/dao-data/codegen-lens.yaml"
]
}
},
"serve": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/dao-data",
"tsConfig": "./libs/dao-data/tsconfig.lib.json",
"main": "./libs/dao-data/src/index.ts"
}
}
},
"tags": []
}