forked from janus-idp/backstage-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(orchestrator): add openapi client generation support (janus-idp…
…#1649) * Generate Typescript OpenAPI client Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com> * Add openapi check dependencies in turbo Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com> * Lint ingore generated client Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com> * Ignore generated client files Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com> --------- Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com>
- Loading branch information
1 parent
7e0a3dd
commit 3b14d9c
Showing
14 changed files
with
41 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname); | ||
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, { | ||
ignorePatterns: ['src/generated/client/**'], | ||
}); |
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 @@ | ||
src/generated/client |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
{ | ||
"extends": ["//"], | ||
"pipeline": { | ||
"start": { | ||
"dependsOn": ["openapi:check"] | ||
}, | ||
"tsc": { | ||
"outputs": ["../../dist-types/plugins/orchestrator-common/**"], | ||
"dependsOn": ["^tsc"] | ||
"dependsOn": ["^tsc", "openapi:check"] | ||
}, | ||
"openapi:check": { | ||
"outputs": ["src/generated/**"] | ||
}, | ||
"openapi:generate": { | ||
"outputs": ["src/generated/**"] | ||
}, | ||
"test": { | ||
"dependsOn": ["openapi:check"] | ||
}, | ||
"export-dynamic": { | ||
"dependsOn": ["openapi:check"] | ||
} | ||
} | ||
} |