8000 feat(nx-cloud): set up nx workspace · composize/composize@d1760de · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit d1760de

Browse files
feat(nx-cloud): set up nx workspace
feat(nx-cloud): set up nx workspace
2 parents 3175940 + 074ef28 commit d1760de

File tree

1 file changed

+8
-30
lines changed

1 file changed

+8
-30
lines changed

nx.json

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
33
"namedInputs": {
4-
"default": [
5-
"{projectRoot}/**/*",
6-
"sharedGlobals"
7-
],
4+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
85
"production": [
96
"default",
107
"!{projectRoot}/.eslintrc.json",
@@ -13,18 +10,14 @@
1310
"!{projectRoot}/tsconfig.spec.json",
1411
"!{projectRoot}/src/test-setup.[jt]s"
1512
],
16-
"sharedGlobals": [
17-
"{workspaceRoot}/.github/workflows/ci.yml"
18-
]
13+
"sharedGlobals": ["{workspaceRoot}/.github/workflows/ci.yml"]
1914
},
20-
"nxCloudId": "67e0b6bb89d8d1697fb5e9f7",
15+
"nxCloudId": "67ecf8280ce9cdc60ddde11f",
2116
"plugins": [
2217
{
2318
"plugin": "@nx/js/typescript",
2419
"options": {
25-
"typecheck": {
26-
"targetName": "typecheck"
27-
},
20+
"typecheck": { "targetName": "typecheck" },
2821
"build": {
2922
"targetName": "build",
3023
"configName": "tsconfig.lib.json",
@@ -33,12 +26,7 @@
3326
}
3427
}
3528
},
36-
{
37-
"plugin": "@nx/eslint/plugin",
38-
"options": {
39-
"targetName": "lint"
40-
}
41-
},
29+
{ "plugin": "@nx/eslint/plugin", "options": { "targetName": "lint" } },
4230
{
4331
"plugin": "@nx/vite/plugin",
4432
"options": {
@@ -55,22 +43,12 @@
5543
}
5644
],
5745
"targetDefaults": {
58-
"test": {
59-
"dependsOn": [
60-
"^build"
61-
]
62-
},
63-
"nx-release-publish": {
64-
"options": {
65-
"packageRoot": "dist/{projectName}"
66-
}
67-
}
46+
"test": { "dependsOn": ["^build"] },
47+
"nx-release-publish": { "options": { "packageRoot": "dist/{projectName}" } }
6848
},
6949
"release": {
7050
"changelog": {
71-
"workspaceChangelog": {
72-
"createRelease": "github"
73-
},
51+
"workspaceChangelog": { "createRelease": "github" },
7452
"projectChangelogs": true
7553
},
7654
"version": {

0 commit comments

Comments
 (0)
0