Skip to content

Commit

Permalink
Merge pull request #494 from kethinov/0.21.10
Browse files Browse the repository at this point in the history
0.21.10
  • Loading branch information
kethinov authored Oct 25, 2023
2 parents 9a3dcf1 + dc40c25 commit 6588bb7
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 54 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.21.10

- Altered default global model to prevent a common race condition.
- Various dependencies updated.

## 0.21.9

- Added `eslint-plugin-html` to the default devDependency list.
Expand Down
14 changes: 5 additions & 9 deletions generators/app/templates/mvc/models/teddy/global.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
const model = {
content: {
appTitle: '<%= appName %>',
pageTitle: '{content.appTitle}', // override this on a per route level
titleTag: '{content.appTitle} — {content.pageTitle}'
}
}

module.exports = (req, res) => {
return {
content: model.content
content: {
appTitle: '<%= appName %>',
pageTitle: '{content.appTitle}', // override this on a per route level
titleTag: '{content.appTitle} — {content.pageTitle}'
}
}
}
80 changes: 37 additions & 43 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/generator-roosevelt/graphs/contributors"
}
],
"version": "0.21.9",
"version": "0.21.10",
"files": [
"generators"
],
Expand All @@ -24,7 +24,7 @@
"gulp-filter": "8.0.0",
"selfsigned": "2.1.1",
"terminal-link": "3.0.0",
"yeoman-generator": "5.9.0"
"yeoman-generator": "5.10.0"
},
"devDependencies": {
"c8": "8.0.1",
Expand Down

0 comments on commit 6588bb7

Please sign in to comment.