Skip to content

Develop 4.1.0#13

Merged
daquinoaldo merged 5 commits intomasterfrom
develop-4.1.0
Apr 23, 2019
Merged

Develop 4.1.0#13
daquinoaldo merged 5 commits intomasterfrom
develop-4.1.0

Conversation

@daquinoaldo
Copy link
Owner

Pull Request Details

  • certificates generated at first run
  • certificates generated in AppData
  • mitigates EACCES and EADDRINUSE

Related Issue

This closes #8 (AppData), closes #10 (first run), and closes #11 (EACCES). Should solve #9.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes (or the existing one were enough).
  • All new and existing tests passed.

This prevent the script to generate a new certificate every time
the module is updated.
`certs.js` manages the certificates: creation and deletion, and
provides them to index.js.
An uninstall script is added, it deletes the folder at uninstall
time.

makes problems, generate the certificates at first run.
If the index.js won't find the certificates,
certs.js will generate them.

Some edits in README accordingly to changes.
Add also a link on README to CONTRIBUTING.

Upgrade to v4.1.0 in package.json.
Upgrade of dependencies.
Fixes a brutal crash in case of address 443 or 80 already in use
on the machine and if the script is not runned under sudo on linux.
The script exit, but writing an error message and a tip on how to
resolve.

Update README consequently.

Upgrade minimum node version to 8.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling cfd3b70 on develop-4.1.0 into 49792e1 on master.

@coveralls
Copy link

coveralls commented Apr 23, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling 3dc0988 on develop-4.1.0 into 49792e1 on master.

Add pkg to package all this code into an executable that doesn't
require a node.js installation. This allow to easly distribute
this tool.
Repository owner deleted a comment from coveralls Apr 23, 2019
Repository owner deleted a comment from coveralls Apr 23, 2019
@daquinoaldo daquinoaldo merged commit 186b5ba into master Apr 23, 2019
@daquinoaldo daquinoaldo deleted the develop-4.1.0 branch April 23, 2019 17:49
daquinoaldo added a commit that referenced this pull request Aug 18, 2019
- Update to mkcert v1.4.0: macOS Catalina compatibility and more. https://github.com/FiloSottile/mkcert/releases/tag/v1.4.0
- Add `REINSTALL=true serve` env variable to force reinstall certs.
- Check for updates if running as compiled executable (downloaded from GitHub releases).
- Update dependencies.
- Add troubleshooting for #13.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Catch EACCES error due to missing permission on port 443 and 80. Generate certificates at first run Save the certificates outside the node module.

2 participants