-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): update create-nx-plugin to generate cli library (+1 squas…
…hed commit) Squashed commits: [d7782395d] feat(nx-plugin): add create-package plugin
- Loading branch information
Showing
39 changed files
with
849 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 84 additions & 0 deletions
84
docs/generated/packages/nx-plugin/generators/create-package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"name": "create-package", | ||
"factory": "./src/generators/create-package/create-package", | ||
"schema": { | ||
"$schema": "http://json-schema.org/schema", | ||
"cli": "nx", | ||
"$id": "NxPluginCreatePackage", | ||
"title": "Create a framework package", | ||
"description": "Create a framework package that uses Nx CLI.", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "The package name of cli, e.g. `create-framework-package`. Note this must be a valid NPM name to be published.", | ||
"$default": { "$source": "argv", "index": 0 }, | ||
"x-priority": "important" | ||
}, | ||
"project": { | ||
"type": "string", | ||
"description": "The name of the generator project.", | ||
"alias": "p", | ||
"$default": { "$source": "projectName" }, | ||
"x-prompt": "What is the name of the project for the generator?", | ||
"x-priority": "important" | ||
}, | ||
"unitTestRunner": { | ||
"type": "string", | ||
"enum": ["jest", "none"], | ||
"description": "Test runner to use for unit tests.", | ||
"default": "jest" | ||
}, | ||
"directory": { | ||
"type": "string", | ||
"description": "A directory where the app is placed." | ||
}, | ||
"linter": { | ||
"description": "The tool to use for running lint checks.", | ||
"type": "string", | ||
"enum": ["eslint"], | ||
"default": "eslint" | ||
}, | ||
"tags": { | ||
"type": "string", | ||
"description": "Add tags to the library (used for linting).", | ||
"alias": "t" | ||
}, | ||
"skipFormat": { | ||
"description": "Skip formatting files.", | ||
"type": "boolean", | ||
"default": false, | ||
"x-priority": "internal" | ||
}, | ||
"skipTsConfig": { | ||
"type": "boolean", | ||
"default": false, | ||
"description": "Do not update tsconfig.json for development experience.", | ||
"x-priority": "internal" | ||
}, | ||
"setParserOptionsProject": { | ||
"type": "boolean", | ||
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", | ||
"default": false | ||
}, | ||
"compiler": { | ||
"type": "string", | ||
"enum": ["tsc", "swc"], | ||
"default": "tsc", | ||
"description": "The compiler used by the build and test targets." | ||
}, | ||
"importPath": { | ||
"type": "string", | ||
"description": "How the plugin will be published, like `create-framework-app`. Note this must be a valid NPM name. Will use name if not provided." | ||
} | ||
}, | ||
"required": ["name", "project"], | ||
"presets": [] | ||
}, | ||
"description": "Create a framework package that uses Nx CLI", | ||
"implementation": "/packages/nx-plugin/src/generators/create-package/create-package.ts", | ||
"aliases": [], | ||
"hidden": false, | ||
"path": "/packages/nx-plugin/src/generators/create-package/schema.json", | ||
"type": "generator" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...rkspace/src/create-workspace-options.d.ts → ...workspace/src/create-workspace-options.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.