Skip to content

Commit

Permalink
feat(nx-cloud): setup nx cloud workspace
Browse files Browse the repository at this point in the history
    
This commit set up Nx Cloud for your Nx workspace enabling distributed caching
and GitHub integration for fast CI and improved Developer Experience.

You can access your Nx Cloud workspace by going to 
https://cloud.nx.app/orgs/670fcaceb56d70b74ae45903/workspaces/670fcae292f509d0a4f1d01c

**Note:** This commit attempts to maintain formatting of the nx.json, however you may need to correct formatting by running an nx format command and committing the changes.
  • Loading branch information
vicb committed Oct 16, 2024
1 parent 3678bbd commit 3b17714
Showing 1 changed file with 14 additions and 58 deletions.
72 changes: 14 additions & 58 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,17 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": ["production", "^production"],
"cache": true
},
"build": { "dependsOn": ["^build"], "inputs": ["production", "^production"], "cache": true },
"@nx/jest:jest": {
"cache": true,
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"options": {
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
},
"@nx/eslint:lint": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
"cache": true
},
"@nx/js:tsc": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"@nx/vite:build": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
"options": { "passWithNoTests": true },
"configurations": { "ci": { "ci": true, "codeCoverage": true } }
},
"@nx/vite:test": {
"cache": true,
"inputs": ["default", "^production"]
}
"@nx/eslint:lint": { "inputs": ["default", "{workspaceRoot}/.eslintrc.json"], "cache": true },
"@nx/js:tsc": { "cache": true, "dependsOn": ["^build"], "inputs": ["production", "^production"] },
"@nx/vite:build": { "cache": true, "dependsOn": ["^build"], "inputs": ["production", "^production"] },
"@nx/vite:test": { "cache": true, "inputs": ["default", "^production"] }
},
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
Expand All @@ -51,32 +26,18 @@
"sharedGlobals": ["{workspaceRoot}/babel.config.json"]
},
"generators": {
"@nx/web:application": {
"style": "css",
"linter": "eslint",
"unitTestRunner": "vitest",
"e2eTestRunner": "none"
},
"@nx/web:library": {
"style": "css",
"linter": "eslint",
"unitTestRunner": "vitest"
}
"@nx/web:application": { "style": "css", "linter": "eslint", "unitTestRunner": "vitest", "e2eTestRunner": "none" },
"@nx/web:library": { "style": "css", "linter": "eslint", "unitTestRunner": "vitest" }
},
"defaultBase": "master",
"plugins": [
{
"plugin": "@nx/eslint/plugin",
"options": {
"targetName": "lint",
"extensions": ["ts", "tsx", "js", "jsx", "html", "vue"]
}
"options": { "targetName": "lint", "extensions": ["ts", "tsx", "js", "jsx", "html", "vue"] }
},
{
"plugin": "@nx/jest/plugin",
"options": {
"targetName": "test"
},
"options": { "targetName": "test" },
"include": [
"apps/fetcher/**/*",
"apps/fxc-front/**/*",
Expand All @@ -91,12 +52,7 @@
"libs/windy-sounding/**/*"
]
},
{
"plugin": "@nx/jest/plugin",
"options": {
"targetName": "benchmark"
},
"include": ["apps/run/**/*"]
}
]
{ "plugin": "@nx/jest/plugin", "options": { "targetName": "benchmark" }, "include": ["apps/run/**/*"] }
],
"nxCloudId": "670fcae292f509d0a4f1d01c"
}

0 comments on commit 3b17714

Please sign in to comment.