No more bundled binaries
This version is optimised for use on development machines via npm install. It carries out the mkcert binary installation in a postinstall script. In version 6.x and earlier, all binaries for all platforms were bundled as the library also supported use from a binary install (see Site.js). The 6.x branch will still be updated with new mkcert versions but the 7.x and later versions will be used in Place.
Changed
- Uses ECMAScript Modules (ESM; es6 modules)
- Breaking change: mkcert binary is now downloaded during installation and the root certificate authority and TLS certificates are created at this time also.
- Breaking change: The settings path is no longer configurable and is shared by all installations of this package. This means whenever you install this package, it will update to the latest version of mkcert and recreate the root certificate authorities and local certificates and these will be used by all instances of Auto Encrypt Localhost on your dev machine (and this is most likely the behaviour you want).
- Breaking change: Removed command-line interface as it is no longer nececessary. Your local certificate authority and TLS certificates are ready to be used once your npm install is complete.