Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
  • Loading branch information
HadiKhai committed Mar 23, 2024
1 parent 74ee223 commit 0bd6c89
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/frontend/react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
"targets": {
"serve": {
"command": "cd ./examples/frontend/react && yarn dev"
},
"lint": {
"executor": "@nx/eslint:lint",
"options": {
"lintFilePatterns": ["examples/frontend/react/src/**/*.ts"],
"eslintConfig": "examples/frontend/react/.eslintrc.cjs",
"fix": true
}
}
},
"tags": []
Expand Down
8 changes: 8 additions & 0 deletions examples/fullstack/nextjs/app/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
"targets": {
"serve": {
"command": "cd ./examples/fullstack/nextjs/app && yarn dev"
},
"lint": {
"executor": "@nx/eslint:lint",
"options": {
"lintFilePatterns": ["examples/fullstack/nextjs/app/src/**/*.ts"],
"eslintConfig": "examples/fullstack/nextjs/app/.eslintrc.json",
"fix": true
}
}
},
"tags": []
Expand Down
36 changes: 36 additions & 0 deletions examples/fullstack/nextjs/pages/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
### NextJS template
# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

3 changes: 3 additions & 0 deletions examples/fullstack/nextjs/pages/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"targets": {
"serve": {
"command": "cd ./examples/fullstack/nextjs/pages && yarn dev"
},
"lint": {
"command": "cd ./examples/fullstack/nextjs/pages && yarn lint"
}
},
"tags": []
Expand Down

0 comments on commit 0bd6c89

Please sign in to comment.