Skip to content

Commit

Permalink
Merge pull request #1416 from kethinov/0.22.8
Browse files Browse the repository at this point in the history
0.22.8
  • Loading branch information
kethinov authored May 24, 2024
2 parents 74080ff + 63ab5e9 commit c0160c9
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 70 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

- Put your changes here...

## 0.22.8

- Fixed an issue with cert generation from CLI scripts.
- Updated various dependencies.

## 0.22.7

- Added a max age to the default express-session configuration.
Expand Down
4 changes: 2 additions & 2 deletions lib/scripts/certsGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function certsGenerator (appDir, keyFolder) {

// make secrets folder if non-existent
const filepath = path.join(appDir, keyFolder)
if (!fs.existsSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.key))) fse.writeFileSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.key), key)
if (!fs.existsSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.cert))) fse.writeFileSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.cert), cert)
if (!fs.existsSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.key))) fse.ensureFileSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.key), key)
if (!fs.existsSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.cert))) fse.ensureFileSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.cert), cert)
}
}
122 changes: 57 additions & 65 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "https://github.com/rooseveltframework/roosevelt/graphs/contributors"
}
],
"version": "0.22.7",
"version": "0.22.8",
"files": [
"defaultErrorPages",
"lib",
Expand All @@ -30,7 +30,7 @@
"clean-css": "5.3.3",
"compression": "1.7.4",
"cookie-parser": "1.4.6",
"csrf-csrf": "3.0.4",
"csrf-csrf": "3.0.6",
"es6-template-strings": "2.0.1",
"execa": "9.1.0",
"express": "4.19.2",
Expand Down Expand Up @@ -66,7 +66,7 @@
"prompts": "2.4.2",
"proxyquire": "2.1.3",
"sass": "1.77.2",
"sinon": "17.0.1",
"sinon": "18.0.0",
"standard": "17.1.0",
"stylus": "0.63.0",
"supertest": "7.0.0",
Expand Down

0 comments on commit c0160c9

Please sign in to comment.