* feat: new proxy package * chore: update nx workspace * chore: remove unused codegen lib * chore: add swc-node as build dependencies * chore: remove unused demo-app-e2e app * chore: reorganize demo apps * feat: working cross-engine proxy * chore: update docs * fix: readme file export * chore: update nextjs lib * chore: keep nextjs code
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"runner": "nx-cloud",
|
|
"options": {
|
|
"cacheableOperations": ["build", "lint", "test", "e2e"],
|
|
"accessToken": ""
|
|
}
|
|
}
|
|
},
|
|
"neverConnectToCloud": true,
|
|
"targetDefaults": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["production", "^production"]
|
|
},
|
|
"test": {
|
|
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
|
|
},
|
|
"e2e": {
|
|
"inputs": ["default", "^production"]
|
|
},
|
|
"lint": {
|
|
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
|
|
}
|
|
},
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"production": [
|
|
"default",
|
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
"!{projectRoot}/tsconfig.spec.json",
|
|
"!{projectRoot}/jest.config.[jt]s",
|
|
"!{projectRoot}/.eslintrc.json",
|
|
"!{projectRoot}/src/test-setup.[jt]s"
|
|
],
|
|
"sharedGlobals": ["{workspaceRoot}/babel.config.json"]
|
|
},
|
|
"generators": {
|
|
"@nx/next": {
|
|
"application": {
|
|
"style": "css",
|
|
"linter": "eslint"
|
|
}
|
|
},
|
|
"@nx/react": {
|
|
"application": {
|
|
"babel": true
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "demo-nextjs-app"
|
|
}
|