<!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes # --------- Co-authored-by: Nicholas Cunningham <ndcunningham@gmail.com>
53 lines
2.1 KiB
JSON
53 lines
2.1 KiB
JSON
{
|
|
"name": "nx/next",
|
|
"version": "0.1",
|
|
"extends": ["@nx/react"],
|
|
"generators": {
|
|
"init": {
|
|
"factory": "./src/generators/init/init#nextInitGeneratorInternal",
|
|
"schema": "./src/generators/init/schema.json",
|
|
"description": "Initialize the `@nx/next` plugin.",
|
|
"hidden": true
|
|
},
|
|
"application": {
|
|
"factory": "./src/generators/application/application#applicationGeneratorInternal",
|
|
"schema": "./src/generators/application/schema.json",
|
|
"aliases": ["app"],
|
|
"x-type": "application",
|
|
"description": "Create an application."
|
|
},
|
|
"page": {
|
|
"factory": "./src/generators/page/page",
|
|
"schema": "./src/generators/page/schema.json",
|
|
"description": "Create a page."
|
|
},
|
|
"component": {
|
|
"factory": "./src/generators/component/component",
|
|
"schema": "./src/generators/component/schema.json",
|
|
"description": "Create a component."
|
|
},
|
|
"library": {
|
|
"factory": "./src/generators/library/library#libraryGeneratorInternal",
|
|
"schema": "./src/generators/library/schema.json",
|
|
"aliases": ["lib"],
|
|
"x-type": "library",
|
|
"description": "Create a library."
|
|
},
|
|
"custom-server": {
|
|
"factory": "./src/generators/custom-server/custom-server#customServerGenerator",
|
|
"schema": "./src/generators/custom-server/schema.json",
|
|
"description": "Set up a custom server."
|
|
},
|
|
"cypress-component-configuration": {
|
|
"factory": "./src/generators/cypress-component-configuration/cypress-component-configuration#cypressComponentConfigurationInternal",
|
|
"schema": "./src/generators/cypress-component-configuration/schema.json",
|
|
"description": "cypress-component-configuration generator"
|
|
},
|
|
"convert-to-inferred": {
|
|
"factory": "./src/generators/convert-to-inferred/convert-to-inferred",
|
|
"schema": "./src/generators/convert-to-inferred/schema.json",
|
|
"description": "Convert an existing Next.js project(s) using `@nx/next:build` to use `@nx/next/plugin`. Defaults to migrating all projects. Pass '--project' to migrate a single project."
|
|
}
|
|
}
|
|
}
|