generator-nitro 7.5.0 → 7.5.2
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.
- package/generators/app/templates/CUTAWAYpackage.json +17 -17
- package/generators/app/templates/project/blueprints/readme.md +2 -0
- package/generators/app/templates/project/docs/nitro.md +1 -1
- package/generators/app/templates/tests/backstop/config/basic.js +1 -2
- package/generators/app/templates/tests/cypress/readme.md +1 -1
- package/package.json +2 -2
|
@@ -84,21 +84,21 @@
|
|
|
84
84
|
"modular"
|
|
85
85
|
],
|
|
86
86
|
"dependencies": {<% if (options.exampleCode) { %>
|
|
87
|
-
"@gondel/core": "1.2.
|
|
88
|
-
"@gondel/plugin-hot": "1.2.
|
|
89
|
-
"bootstrap": "5.
|
|
90
|
-
"core-js": "3.30.
|
|
87
|
+
"@gondel/core": "1.2.8",
|
|
88
|
+
"@gondel/plugin-hot": "1.2.8",
|
|
89
|
+
"bootstrap": "5.3.0",<% } %>
|
|
90
|
+
"core-js": "3.30.2"<% if (options.exampleCode) { %>,
|
|
91
91
|
"flatpickr": "4.6.13",
|
|
92
92
|
"handlebars": "4.7.7",
|
|
93
|
-
"jquery": "3.
|
|
93
|
+
"jquery": "3.7.0",
|
|
94
94
|
"lazysizes": "5.3.2",
|
|
95
|
-
"lottie-web": "5.
|
|
95
|
+
"lottie-web": "5.12.0",
|
|
96
96
|
"prevent-window-opener-attacks": "0.3.1"<% } %><% if (options.jsCompiler === 'js') { %>,
|
|
97
97
|
"regenerator-runtime": "0.13.11"<% } %><% if (options.exampleCode) { %>,
|
|
98
98
|
"svg4everybody": "2.1.9"<% } %>
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {<% if (options.jsCompiler === 'js') { %>
|
|
101
|
-
"@babel/eslint-parser": "7.
|
|
101
|
+
"@babel/eslint-parser": "7.22.5",<% } %>
|
|
102
102
|
"@khanacademy/tota11y": "0.2.0",
|
|
103
103
|
"@merkle-open/eslint-config": "1.0.0",
|
|
104
104
|
"@merkle-open/html-validate-config": "1.0.1",
|
|
@@ -109,17 +109,17 @@
|
|
|
109
109
|
"@nitro/exporter": "<%= version %>",
|
|
110
110
|
"@nitro/gulp": "<%= version %>",
|
|
111
111
|
"@nitro/webpack": "<%= version %>",
|
|
112
|
-
"@playwright/test": "1.
|
|
112
|
+
"@playwright/test": "1.35.0",<% if (options.jsCompiler === 'ts') { %>
|
|
113
113
|
"@types/bootstrap": "5.2.6",<% if (options.exampleCode ) { %>
|
|
114
114
|
"@types/jquery": "3.5.16",<% } %>
|
|
115
115
|
"@types/svg4everybody": "2.1.2",
|
|
116
|
-
"@types/webpack-env": "1.18.
|
|
117
|
-
"backstopjs": "6.2.
|
|
116
|
+
"@types/webpack-env": "1.18.1",<% } %>
|
|
117
|
+
"backstopjs": "6.2.2",
|
|
118
118
|
"check-node-version": "4.2.1",
|
|
119
119
|
"commitizen": "4.3.0",
|
|
120
120
|
"config": "3.3.9",
|
|
121
121
|
"cross-env": "7.0.3",
|
|
122
|
-
"cypress": "12.
|
|
122
|
+
"cypress": "12.14.0",
|
|
123
123
|
"cz-conventional-changelog": "3.3.0",
|
|
124
124
|
"env-linter": "1.0.0",
|
|
125
125
|
"eslint": "7.32.0",
|
|
@@ -127,18 +127,18 @@
|
|
|
127
127
|
"extend": "3.0.2",
|
|
128
128
|
"generator-nitro": "<%= version %>",
|
|
129
129
|
"gulp": "4.0.2",
|
|
130
|
-
"html-validate": "7.
|
|
130
|
+
"html-validate": "7.18.1",
|
|
131
131
|
"husky": "8.0.3",
|
|
132
132
|
"license-checker": "25.0.1",
|
|
133
|
-
"lighthouse": "10.
|
|
133
|
+
"lighthouse": "10.2.0",
|
|
134
134
|
"lint-staged": "13.2.2",<% if (options.themes) { %>
|
|
135
135
|
"node-sass": "8.0.0",<% } %>
|
|
136
|
-
"npm-check-updates": "16.10.
|
|
136
|
+
"npm-check-updates": "16.10.12",
|
|
137
137
|
"npm-run-all": "4.1.5",
|
|
138
138
|
"prettier": "2.8.8",
|
|
139
|
-
"rimraf": "5.0.
|
|
140
|
-
"stylelint": "15.
|
|
141
|
-
"typescript": "5.
|
|
139
|
+
"rimraf": "5.0.1",
|
|
140
|
+
"stylelint": "15.7.0",<% if (options.jsCompiler === 'ts') { %>
|
|
141
|
+
"typescript": "5.1.3",<% } %>
|
|
142
142
|
"webpack-cli": "4.10.0",
|
|
143
143
|
"yo": "4.3.1"
|
|
144
144
|
},
|
|
@@ -41,8 +41,10 @@ $decorator$ // Decorator filename part, eg. highlight
|
|
|
41
41
|
|
|
42
42
|
`npm run nitro:server` uses 'server/package.json' if present
|
|
43
43
|
|
|
44
|
+
```
|
|
44
45
|
<%= nitroAppVersion %> // Version of devDependency '@nitro/app' from project package.json
|
|
45
46
|
<%= nodeVersion %> // 'engines/node' from project package.json
|
|
46
47
|
<%= npmVersion %> // 'engines/npm' from project package.json
|
|
47
48
|
<%= projectName %> // 'name' from project package.json
|
|
48
49
|
<%= projectVersion %> // 'version' from project package.json
|
|
50
|
+
```
|
|
@@ -21,7 +21,7 @@ Nitro is simple, fast and flexible. Use this app for all your frontend work.
|
|
|
21
21
|
|
|
22
22
|
This application was created by the yeoman generator for nitro.
|
|
23
23
|
Before using, you need of course [node](https://nodejs.org/) installed.
|
|
24
|
-
Nitro is tested with the current ["Active" LTS version](https://github.com/nodejs/Release#release-schedule)
|
|
24
|
+
Nitro is tested with the current ["Active" LTS version](https://github.com/nodejs/Release#release-schedule)
|
|
25
25
|
and with the LTS maintenance versions (release 16.x and 14.x).
|
|
26
26
|
|
|
27
27
|
Install the project dependencies in the project root:
|
|
@@ -47,8 +47,7 @@ module.exports = {
|
|
|
47
47
|
asyncCompareLimit: 50,
|
|
48
48
|
debug: false,
|
|
49
49
|
debugWindow: false,
|
|
50
|
-
|
|
51
|
-
// 'docker run --rm -it --mount type=bind,source="{cwd}",target=/src backstopjs/backstopjs:{version} {backstopCommand} {args}',
|
|
50
|
+
dockerCommandTemplate: 'docker run --rm -it --mount type=bind,source="{cwd}",target=/src backstopjs/backstopjs:{version} {backstopCommand} {args}',
|
|
52
51
|
},
|
|
53
52
|
baseScenario: {
|
|
54
53
|
label: 'scenario x',
|
|
@@ -8,7 +8,7 @@ End-to-end testing with cypress.
|
|
|
8
8
|
|
|
9
9
|
We use the [default configuration](https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests)
|
|
10
10
|
|
|
11
|
-
- `./cypress/e2e`
|
|
11
|
+
- `./cypress/e2e` is the place for your tests
|
|
12
12
|
- `./cypress/screenshots` and `./cypress/videos` directories are excluded from git
|
|
13
13
|
|
|
14
14
|
## Scripts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-nitro",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.2",
|
|
4
4
|
"description": "Yeoman generator for the nitro frontend framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "merkle-open/generator-nitro",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"glob": "8.1.0",
|
|
41
41
|
"got": "11.8.5",
|
|
42
42
|
"lodash": "4.17.21",
|
|
43
|
-
"yeoman-generator": "5.
|
|
43
|
+
"yeoman-generator": "5.9.0",
|
|
44
44
|
"yosay": "2.0.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|