Skip to content

Commit

Permalink
Merge pull request #1382 from kethinov/0.22.2
Browse files Browse the repository at this point in the history
0.22.2
  • Loading branch information
kethinov authored Apr 14, 2024
2 parents 242a4ac + bfebdcf commit 7c69fd3
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [18.x, 20.x, 21.x]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ test/app

coverage
.nyc_output

certs
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.2

- Fixed a bug that caused self-signed certs to get regenerated every time the app restarted.
- Updated various dependencies.

## 0.22.1

- Exposed the `express-session` middleware for use in Roosevelt apps.
Expand Down
4 changes: 2 additions & 2 deletions lib/scripts/certsGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ function certsGenerator (appDir, keyFolder) {
}

// TODO: use fse instead of the manual implementation
writeFileSyncRecursive(filepath + '/' + params.https.authInfoPath.authCertAndKey.key, key, 'utf-8')
writeFileSyncRecursive(filepath + '/' + params.https.authInfoPath.authCertAndKey.cert, cert, 'utf-8')
if (!fs.existsSync(filepath + '/' + params.https.authInfoPath.authCertAndKey.key)) writeFileSyncRecursive(filepath + '/' + params.https.authInfoPath.authCertAndKey.key, key, 'utf-8')
if (!fs.existsSync(filepath + '/' + params.https.authInfoPath.authCertAndKey.cert)) writeFileSyncRecursive(filepath + '/' + params.https.authInfoPath.authCertAndKey.cert, cert, 'utf-8')
} catch (err) {
console.log(err)
}
Expand Down
48 changes: 24 additions & 24 deletions package-lock.json

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

4 changes: 2 additions & 2 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.1",
"version": "0.22.2",
"files": [
"defaultErrorPages",
"lib",
Expand Down Expand Up @@ -58,7 +58,7 @@
"c8": "9.1.0",
"codecov": "3.8.3",
"eslint": "8.57.0",
"eslint-plugin-mocha": "10.4.1",
"eslint-plugin-mocha": "10.4.2",
"glob": "10.3.12",
"less": "4.2.0",
"mocha": "10.4.0",
Expand Down

0 comments on commit 7c69fd3

Please sign in to comment.