Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[proposal] make path output from generate schema dynamic #1317

Closed
cre8 opened this issue Jan 19, 2024 · 0 comments · Fixed by #1318
Closed

[proposal] make path output from generate schema dynamic #1317

cre8 opened this issue Jan 19, 2024 · 0 comments · Fixed by #1318
Labels
enhancement New feature or request

Comments

@cre8
Copy link
Contributor

cre8 commented Jan 19, 2024

Is your feature request related to a problem? Please describe.
Right now the outcoming schem.json file is static: https://github.com/decentralized-identity/veramo/blob/next/packages/cli/src/dev.ts#L187
This makes it difficult when I run the command inside a monorepo like nx. The veramo cli process is running in the root folder and the path to the api-extractor.json can be set, but not the output.

Describe the solution you'd like
Add a new parameter that can be passed to the cli. The default one will be the current one to not break anything.

Describe alternatives you've considered
Something like cd libs/vc-store && npx @veramo/cli -- dev generate-plugin-schema is not good since an already installed dependency is not used.

Additional context
Add any other context or screenshots about the feature request here.

@cre8 cre8 added the enhancement New feature or request label Jan 19, 2024
cre8 added a commit to cre8/veramo that referenced this issue Jan 19, 2024
Fixes decentralized-identity#1317

Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
mirceanis added a commit that referenced this issue Jan 25, 2024
…d export the schemas from each package

relates to #1318 / #1317
mirceanis added a commit that referenced this issue Jan 25, 2024
* remove references to the JSON build output for plugin schemas
* export the schemas from each package

relates to #1318 / #1317 / #1315
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant