Daniel Rochetti 3a98fd6d0f
feat: next proxy app router support (#22)
* feat: add nextjs app router support

* chore: rename nextjs page router demo

* feat: support nextjs app router with example

* chore(proxy): bump to 0.4.0

* chore: update package-lock.json

* chore: remove formidable

* chore: update package-lock.json

* fix: page export

* fix: type issues

* fix: remove comment

* fix: eslint any warning

* chore: client version bump 0.4.2
2023-10-30 09:01:15 -07:00

65 lines
1.7 KiB
JSON

{
"name": "demo-nextjs-page-router",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/demo-nextjs-page-router",
"projectType": "application",
"targets": {
"build": {
"executor": "@nx/next:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/apps/demo-nextjs-page-router"
},
"configurations": {
"development": {
"outputPath": "apps/demo-nextjs-page-router"
},
"production": {}
}
},
"serve": {
"executor": "@nx/next:server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "demo-nextjs-page-router:build",
"dev": true
},
"configurations": {
"development": {
"buildTarget": "demo-nextjs-page-router:build:development",
"dev": true
},
"production": {
"buildTarget": "demo-nextjs-page-router:build:production",
"dev": false
}
}
},
"export": {
"executor": "@nx/next:export",
"options": {
"buildTarget": "demo-nextjs-page-router:build:production"
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/demo-nextjs-page-router/jest.config.ts",
"passWithNoTests": true
}
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/demo-nextjs-page-router/**/*.{ts,tsx,js,jsx}"
]
}
}
},
"tags": []
}