ionic-team / ionic-cli

The Ionic command-line interface
MIT License
1.99k stars 640 forks source link

chore: deprecate the ssl command #5068

Closed liamdebeasi closed 4 months ago

liamdebeasi commented 5 months ago

This SSL command is largely redundant now that framework tooling has better support for SSL.

Developers using Vite should leverage the http config option as well as @vitejs/plugin-basic-ssl.

Developers using Angular CLI should leverage the --ssl flag when serving. Alternatively, developers can update angular.json to provide this configuration.

Developers can also use https://github.com/FiloSottile/mkcert to generate locally-trusted development certificates. See https://web.dev/articles/how-to-use-local-https for a tutorial.

jcesarmobile commented 5 months ago

There is a group called MetadataGroup.DEPRECATED, that I think you can use for this purpose without the need of changing texts manually. You just change the MetadataGroup.EXPERIMENTAL with MetadataGroup.DEPRECATED and it changes the text from (experimental) Generates an SSL key & certificate to (deprecated) Generates an SSL key & certificate, also the experimental/deprecated text has a different color than the rest of the description.