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