Skip to content

Commit

Permalink
fix: support init through nx add
Browse files Browse the repository at this point in the history
  • Loading branch information
driimus committed Dec 1, 2024
1 parent 5d5f983 commit a675486
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/nx-plugin-openapi/executors.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"$schema": "http://json-schema.org/schema",
"executors": {
"generate-api-lib-sources": {
"implementation": "./src/executors/generate-api-lib-sources/executor",
Expand Down
4 changes: 0 additions & 4 deletions packages/nx-plugin-openapi/generators.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
{
"$schema": "http://json-schema.org/schema",
"name": "nx-plugin-openapi",
"version": "0.0.0-semantically-released",
"generators": {
"init": {
"factory": "./src/generators/init/generator",
"schema": "./src/generators/init/schema.json",
"description": "Initialize the @driimus/nx-plugin-openapi plugin",
"aliases": ["ng-add"],
"hidden": true
},
"api-spec": {
Expand Down
1 change: 1 addition & 0 deletions packages/nx-plugin-openapi/src/generators/init/schema.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export interface InitGeneratorOptions {}
6 changes: 6 additions & 0 deletions packages/nx-plugin-openapi/src/generators/init/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$id": "@driimus/nx-plugin-openapi:init",
"title": "Init generator options",
"type": "object",
"properties": {}
}

0 comments on commit a675486

Please sign in to comment.