Skip to content

Commit

Permalink
Create nx.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanheemstra authored Feb 21, 2025
1 parent 92c4959 commit 5d9a283
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"nxCloudId": ["67a3831acafec34e47159841"],
"production": [
"default",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/eslint.config.mjs",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/jest.config.[jt]s",
"!{projectRoot}/src/test-setup.[jt]s",
"!{projectRoot}/test-setup.[jt]s"
],
"sharedGlobals": ["{workspaceRoot}/.github/workflows/ci.yml"]
},
"nxCloudId": "67b72b5c86db7789c5ca1378",
"plugins": [
{
"plugin": "@nx/webpack/plugin",
"options": {
"buildTargetName": "build",
"serveTargetName": "serve",
"previewTargetName": "preview",
"buildDepsTargetName": "build-deps",
"watchDepsTargetName": "watch-deps"
}
},
{
"plugin": "@nx/eslint/plugin",
"options": {
"targetName": "lint"
}
},
{
"plugin": "@nx/playwright/plugin",
"options": {
"targetName": "e2e"
}
},
{
"plugin": "@nx/jest/plugin",
"options": {
"targetName": "test"
}
}
],
"targetDefaults": {
"e2e-ci--**/*": {
"dependsOn": ["^build"]
}
},
"generators": {
"@nx/react": {
"application": {
"babel": true,
"style": "tailwind",
"linter": "eslint",
"bundler": "webpack"
},
"component": {
"style": "tailwind"
},
"library": {
"style": "tailwind",
"linter": "eslint"
}
}
},
"projects": {
"hatch_project": {
"root": "hatch-project/src/hatch_project",
"sourceRoot": "hatch-project/src/hatch_project/src",
"projectType": "application"
}
}
}

0 comments on commit 5d9a283

Please sign in to comment.