generator-nitro 9.0.3 → 9.2.0
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/.husky/pre-commit +0 -3
- package/generators/app/templates/.node-version +1 -1
- package/generators/app/templates/CUTAWAYpackage.json +18 -17
- package/generators/app/templates/cssnano.config.js +10 -0
- package/generators/app/templates/project/docs/nitro.md +0 -6
- package/generators/app/templates/project/viewData/readme.md +1 -1
- package/generators/app/templates/readme.md +0 -6
- package/generators/app/templates/tests/backstop/engine_scripts/puppet/clickAndHoverHelper.js +3 -1
- package/generators/server/templates/package.json +4 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
20.11.
|
|
1
|
+
20.11.1
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"nitro:update": "npm uninstall generator-nitro && npm install generator-nitro@latest --save-dev --save-exact && yo nitro",
|
|
21
21
|
"update-dependencies": "npm-check-updates -u --deprecated",
|
|
22
22
|
"\n# MISC ------- ": "",
|
|
23
|
-
"postinstall": "<% if (git.root) { %>cd <%= git.root %> && husky
|
|
23
|
+
"postinstall": "<% if (git.root) { %>cd <%= git.root %> && husky <% if (git.project) { %><%= git.project %>/.husky && cd <%= git.project %> <% } %>&& <% } %>npx playwright install && <% if (options.themes) { %>npm rebuild node-sass && <% } %>env-linter<% if (git.root) { %> --hooksInstalled<% } %> --saveExact --dependenciesExactVersion --lts",
|
|
24
24
|
"\n# LINT/TEST ------- ": "",
|
|
25
25
|
"check-node-version": "check-node-version --print --package",
|
|
26
26
|
"cypress-test": "npm run build && cross-env PORT=8888 NITRO_MODE=test npm-run-all --parallel --race prod:serve cypress-test:open",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"dependencies": {<% if (options.exampleCode) { %>
|
|
81
81
|
"@gondel/core": "1.2.8",
|
|
82
82
|
"@gondel/plugin-hot": "1.2.8",
|
|
83
|
-
"bootstrap": "5.3.
|
|
84
|
-
"core-js": "3.
|
|
83
|
+
"bootstrap": "5.3.3",<% } %>
|
|
84
|
+
"core-js": "3.36.1"<% if (options.exampleCode) { %>,
|
|
85
85
|
"flatpickr": "4.6.13",
|
|
86
86
|
"handlebars": "4.7.8",
|
|
87
87
|
"jquery": "3.7.1",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"svg4everybody": "2.1.9"<% } %>
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {<% if (options.jsCompiler === 'js') { %>
|
|
95
|
-
"@babel/eslint-parser": "7.
|
|
95
|
+
"@babel/eslint-parser": "7.24.1",<% } %>
|
|
96
96
|
"@merkle-open/eslint-config": "3.0.0",
|
|
97
97
|
"@merkle-open/html-validate-config": "1.0.1",
|
|
98
98
|
"@merkle-open/prettier-config": "1.2.0",
|
|
@@ -102,36 +102,37 @@
|
|
|
102
102
|
"@nitro/exporter": "<%= version %>",
|
|
103
103
|
"@nitro/gulp": "<%= version %>",
|
|
104
104
|
"@nitro/webpack": "<%= version %>",
|
|
105
|
-
"@playwright/test": "1.
|
|
105
|
+
"@playwright/test": "1.42.1",<% if (options.jsCompiler === 'ts') { %>
|
|
106
106
|
"@types/bootstrap": "5.2.10",<% if (options.exampleCode ) { %>
|
|
107
107
|
"@types/jquery": "3.5.29",<% } %>
|
|
108
108
|
"@types/svg4everybody": "2.1.5",
|
|
109
109
|
"@types/webpack-env": "1.18.4",<% } %>
|
|
110
|
-
"backstopjs": "6.3.
|
|
110
|
+
"backstopjs": "6.3.23",
|
|
111
111
|
"check-node-version": "4.2.1",
|
|
112
112
|
"commitizen": "4.3.0",
|
|
113
|
-
"config": "3.3.
|
|
113
|
+
"config": "3.3.11",<% if (options.themes) { %>
|
|
114
|
+
"cookie-session": "2.1.0",<% } %>
|
|
114
115
|
"cross-env": "7.0.3",
|
|
115
|
-
"cypress": "13.
|
|
116
|
+
"cypress": "13.7.1",
|
|
116
117
|
"cz-conventional-changelog": "3.3.0",
|
|
117
|
-
"env-linter": "
|
|
118
|
-
"eslint": "8.
|
|
118
|
+
"env-linter": "2.0.0",
|
|
119
|
+
"eslint": "8.57.0",
|
|
119
120
|
"eslint-plugin-import": "2.29.1",
|
|
120
121
|
"extend": "3.0.2",
|
|
121
122
|
"generator-nitro": "<%= version %>",
|
|
122
123
|
"gulp": "4.0.2",
|
|
123
124
|
"html-validate": "7.18.1",
|
|
124
|
-
"husky": "
|
|
125
|
+
"husky": "9.0.11",
|
|
125
126
|
"license-checker": "25.0.1",
|
|
126
|
-
"lighthouse": "11.
|
|
127
|
-
"lint-staged": "15.
|
|
127
|
+
"lighthouse": "11.7.0",
|
|
128
|
+
"lint-staged": "15.2.2",<% if (options.themes) { %>
|
|
128
129
|
"node-sass": "8.0.0",<% } %>
|
|
129
|
-
"npm-check-updates": "16.14.
|
|
130
|
+
"npm-check-updates": "16.14.17",
|
|
130
131
|
"npm-run-all": "4.1.5",
|
|
131
|
-
"prettier": "3.2.
|
|
132
|
+
"prettier": "3.2.5",
|
|
132
133
|
"rimraf": "5.0.5",
|
|
133
|
-
"stylelint": "16.
|
|
134
|
-
"typescript": "5.
|
|
134
|
+
"stylelint": "16.3.0",<% if (options.jsCompiler === 'ts') { %>
|
|
135
|
+
"typescript": "5.4.3",<% } %>
|
|
135
136
|
"webpack-cli": "4.10.0",
|
|
136
137
|
"yo": "5.0.0"
|
|
137
138
|
},
|
package/generators/app/templates/tests/backstop/engine_scripts/puppet/clickAndHoverHelper.js
CHANGED
|
@@ -27,7 +27,9 @@ module.exports = async (page, scenario) => {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
if (postInteractionWait) {
|
|
30
|
-
await
|
|
30
|
+
await new Promise((resolve) => {
|
|
31
|
+
setTimeout(resolve, postInteractionWait);
|
|
32
|
+
});
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
if (scrollToSelector) {
|
|
@@ -27,9 +27,12 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@nitro/app": "<%= nitroAppVersion %>",
|
|
29
29
|
"check-node-version": "4.2.1",
|
|
30
|
-
"config": "3.3.
|
|
30
|
+
"config": "3.3.11",
|
|
31
|
+
"cookie-session": "2.1.0",
|
|
31
32
|
"cross-env": "7.0.3",
|
|
32
33
|
"extend": "3.0.2",
|
|
34
|
+
"hbs": "4.2.0",
|
|
35
|
+
"i18next": "23.10.1",
|
|
33
36
|
"npm-run-all": "4.1.5"
|
|
34
37
|
}
|
|
35
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-nitro",
|
|
3
|
-
"version": "9.0
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"description": "Yeoman generator for the nitro frontend framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"modular"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"cli-color": "2.0.
|
|
40
|
-
"config": "3.3.
|
|
39
|
+
"cli-color": "2.0.4",
|
|
40
|
+
"config": "3.3.11",
|
|
41
41
|
"find-git-root": "1.0.4",
|
|
42
42
|
"git-config": "0.0.7",
|
|
43
43
|
"glob": "10.3.10",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@merkle-open/eslint-config": "3.0.0",
|
|
51
51
|
"ejs": "3.1.9",
|
|
52
|
-
"eslint": "8.
|
|
52
|
+
"eslint": "8.57.0",
|
|
53
53
|
"eslint-plugin-import": "2.29.1",
|
|
54
54
|
"fs-extra": "11.2.0",
|
|
55
55
|
"jasmine": "5.1.0",
|