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

feat: public accessable ionic.config.json Schema file #1696

Open
3 tasks done
muuvmuuv opened this issue Sep 9, 2021 · 3 comments
Open
3 tasks done

feat: public accessable ionic.config.json Schema file #1696

muuvmuuv opened this issue Sep 9, 2021 · 3 comments
Labels

Comments

@muuvmuuv
Copy link

muuvmuuv commented Sep 9, 2021

Prequisites

Describe the Feature Request

I would like to add a $schema to my ionic.config.json in case when I forgot what options are possible. Angular for example does have that as well for their angular.json its public but they force the node_modules installed schema file. I would like to have that for ionic (and Capacitor) too.

Describe the Use Case

Forgetting options, validation, help

Describe Preferred Solution

  • Public CDN url
  • node_modules/@ionic/core/ionic.config.schema.json e.g.

Describe Alternatives

VS Code extension that provide it out of the box

Related Code

No response

Additional Information

No response

@liamdebeasi
Copy link
Contributor

Thanks for the issue. The ionic.config.json options are documented here: https://ionicframework.com/docs/cli/configuration#project-configuration-file

Does this documentation work for your use case?

@muuvmuuv
Copy link
Author

muuvmuuv commented Sep 9, 2021

That are so one I am already using but it requires to open the link, I would like a JSON schema so I have better autocompletion in my IDE. I know its kinda out of scope.

@liamdebeasi
Copy link
Contributor

Thanks, that makes sense. I think we could look into shipping a schema in starter applications, so I am going to move this issue there.

@liamdebeasi liamdebeasi transferred this issue from ionic-team/ionic-framework Sep 9, 2021
@ionitron-bot ionitron-bot bot added the triage label Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants