generator-nitro 11.0.6 → 11.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -120,12 +120,13 @@
120
120
  "husky": "9.1.7",
121
121
  "license-checker": "25.0.1",
122
122
  "lighthouse": "13.0.3",
123
- "lint-staged": "16.3.2",
123
+ "lint-staged": "16.3.3",
124
124
  "npm-check-updates": "19.6.3",
125
125
  "npm-run-all": "4.1.5",
126
126
  "prettier": "3.8.1",
127
127
  "rimraf": "6.1.3",
128
128
  "stylelint": "16.26.1",<% if (options.jsCompiler === 'ts') { %>
129
+ "tslib": "2.8.1",
129
130
  "typescript": "5.9.3",<% } %>
130
131
  "webpack": "5.105.4",
131
132
  "webpack-cli": "6.0.1",
@@ -15,7 +15,7 @@ The template name has not to contain slashes or special characters. Use only nam
15
15
 
16
16
  The following js code shows an example how to use a precompiled template.
17
17
 
18
- ```
18
+ ```js
19
19
  const templateExample = require('../../template/example.hbs');
20
20
  const tplData = {
21
21
  title: 'Client Side Rendered Example Module',
@@ -37,7 +37,7 @@ in your `.hbs` file (e.g. `{{> partial/example.link}}`)
37
37
  ### Helpers
38
38
 
39
39
  Require clientside handlebars helpers in your pattern source. You may place them in `template/helper`
40
- or in a shared pattern (e.g in `sr/shared/utils/hbs-helpers`)
40
+ or in a shared pattern (e.g in `src/shared/utils/hbs-helpers`)
41
41
 
42
42
  ## Handlebars versions
43
43
 
@@ -149,11 +149,13 @@ For backwards compatibility, you can set it to `false`, to get the loading behav
149
149
 
150
150
  #### Example config
151
151
 
152
- ```
153
- server: {
154
- port: 8080,
155
- hmrPort: 3000,
156
- host: 'dev.local',
152
+ ```js
153
+ const config = {
154
+ server: {
155
+ port: 8080,
156
+ hmrPort: 3000,
157
+ host: 'dev.local',
158
+ },
157
159
  }
158
160
  ```
159
161
 
@@ -54,7 +54,7 @@ The 'themes' node contains an array of theme objects. A theme object contains fo
54
54
 
55
55
  #### Example Themes Configuration
56
56
 
57
- ```
57
+ ```js
58
58
  themes: [
59
59
  {
60
60
  id: 'light',
@@ -32,7 +32,7 @@
32
32
  "cross-env": "10.1.0",
33
33
  "extend": "3.0.2",
34
34
  "hbs": "4.2.0",
35
- "i18next": "25.8.14",
35
+ "i18next": "25.8.18",
36
36
  "npm-run-all": "4.1.5"
37
37
  }
38
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-nitro",
3
- "version": "11.0.6",
3
+ "version": "11.0.7",
4
4
  "description": "Yeoman generator for the nitro frontend framework",
5
5
  "license": "MIT",
6
6
  "repository": {