ionic-team/starters

feat: public accessable ionic.config.json Schema file

muuvmuuv opened this issue · 3 comments

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

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?

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.

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.