-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathworkspace.json
116 lines (116 loc) · 3.22 KB
/
workspace.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"version": 2,
"projects": {
"nx-shopify": {
"root": "packages/nx-shopify",
"sourceRoot": "packages/nx-shopify/src",
"projectType": "library",
"generators": {},
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["packages/nx-shopify/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"options": {
"jestConfig": "packages/nx-shopify/jest.config.js",
"passWithNoTests": true
},
"outputs": ["coverage/packages/nx-shopify"]
},
"build": {
"executor": "@nrwl/node:package",
"options": {
"outputPath": "dist/packages/nx-shopify",
"tsConfig": "packages/nx-shopify/tsconfig.lib.json",
"packageJson": "packages/nx-shopify/package.json",
"main": "packages/nx-shopify/src/index.ts",
"assets": [
"packages/nx-shopify/*.md",
{
"input": "./packages/nx-shopify/src",
"glob": "**/*.!(ts)",
"output": "./src"
},
{
"input": "./packages/nx-shopify",
"glob": "generators.json",
"output": "."
},
{
"input": "./packages/nx-shopify",
"glob": "executors.json",
"output": "."
}
]
},
"outputs": ["{options.outputPath}"]
},
"release": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": ["nx build nx-shopify", "npx semantic-release"],
"parallel": false
}
}
}
},
"nx-shopify-e2e": {
"projectType": "application",
"root": "e2e/nx-shopify-e2e",
"sourceRoot": "e2e/nx-shopify-e2e/src",
"targets": {
"e2e": {
"executor": "@nrwl/nx-plugin:e2e",
"options": {
"target": "nx-shopify:build",
"npmPackageName": "@trafilea/nx-shopify",
"pluginOutputPath": "dist/packages/nx-shopify",
"jestConfig": "e2e/nx-shopify-e2e/jest.config.js"
}
}
}
},
"nx-shopify-docs": {
"projectType": "application",
"root": "docs",
"targets": {
"setup": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": ["yarn"],
"cwd": "docs"
}
},
"build": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"command": "yarn build",
"cwd": "docs"
}
},
"serve": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": ["yarn start"],
"cwd": "docs"
}
},
"release": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": ["nx setup nx-shopify-docs", "yarn deploy"],
"cwd": "docs",
"parallel": false
}
}
}
}
},
"cli": {
"defaultCollection": "@nrwl/workspace"
}
}