generator-nitro 10.0.2 → 10.0.4
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/.node-version +1 -1
- package/generators/app/templates/CUTAWAYpackage.json +14 -14
- package/generators/app/templates/config/default/gulp.js +12 -12
- package/generators/app/templates/src/ui.js +0 -1
- package/generators/server/templates/package.json +2 -2
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
20.
|
|
1
|
+
20.20.0
|
|
@@ -81,36 +81,36 @@
|
|
|
81
81
|
"@gondel/core": "1.2.9",
|
|
82
82
|
"@gondel/plugin-hot": "1.2.9",
|
|
83
83
|
"bootstrap": "5.3.8",<% } %>
|
|
84
|
-
"core-js": "3.
|
|
84
|
+
"core-js": "3.48.0"<% if (options.exampleCode) { %>,
|
|
85
85
|
"flatpickr": "4.6.13",
|
|
86
86
|
"handlebars": "4.7.8",
|
|
87
|
-
"jquery": "
|
|
87
|
+
"jquery": "4.0.0",
|
|
88
88
|
"lazysizes": "5.3.2",
|
|
89
89
|
"lottie-web": "5.13.0"<% } %><% if (options.jsCompiler === 'js') { %>,
|
|
90
90
|
"regenerator-runtime": "0.14.1"<% } %>
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {<% if (options.jsCompiler === 'js') { %>
|
|
93
|
-
"@babel/eslint-parser": "7.28.
|
|
93
|
+
"@babel/eslint-parser": "7.28.6",<% } %>
|
|
94
94
|
"@merkle-open/eslint-config": "4.0.1",
|
|
95
|
-
"@merkle-open/html-validate-config": "
|
|
96
|
-
"@merkle-open/prettier-config": "
|
|
97
|
-
"@merkle-open/stylelint-config": "
|
|
95
|
+
"@merkle-open/html-validate-config": "2.0.0",
|
|
96
|
+
"@merkle-open/prettier-config": "2.0.0",
|
|
97
|
+
"@merkle-open/stylelint-config": "5.0.0",
|
|
98
98
|
"@merkle-open/ts-config": "1.1.1",
|
|
99
99
|
"@nitro/app": "<%= version %>",
|
|
100
100
|
"@nitro/exporter": "<%= version %>",
|
|
101
101
|
"@nitro/gulp": "<%= version %>",
|
|
102
102
|
"@nitro/webpack": "<%= version %>",
|
|
103
|
-
"@playwright/test": "1.
|
|
103
|
+
"@playwright/test": "1.58.0",<% if (options.jsCompiler === 'ts') { %>
|
|
104
104
|
"@types/bootstrap": "5.2.10",<% if (options.exampleCode ) { %>
|
|
105
105
|
"@types/jquery": "3.5.32",<% } %>
|
|
106
106
|
"@types/webpack-env": "1.18.8",<% } %>
|
|
107
107
|
"backstopjs": "6.3.25",
|
|
108
108
|
"check-node-version": "4.2.1",
|
|
109
109
|
"commitizen": "4.3.1",
|
|
110
|
-
"config": "4.
|
|
110
|
+
"config": "4.2.0",<% if (options.themes) { %>
|
|
111
111
|
"cookie-session": "2.1.1",<% } %>
|
|
112
112
|
"cross-env": "10.1.0",
|
|
113
|
-
"cypress": "15.
|
|
113
|
+
"cypress": "15.9.0",
|
|
114
114
|
"cz-conventional-changelog": "3.3.0",
|
|
115
115
|
"env-linter": "2.0.0",
|
|
116
116
|
"eslint": "8.57.1",
|
|
@@ -122,13 +122,13 @@
|
|
|
122
122
|
"husky": "9.1.7",
|
|
123
123
|
"license-checker": "25.0.1",
|
|
124
124
|
"lighthouse": "12.8.2",
|
|
125
|
-
"lint-staged": "16.2.
|
|
125
|
+
"lint-staged": "16.2.7",<% if (options.themes) { %>
|
|
126
126
|
"node-sass": "9.0.0",<% } %>
|
|
127
|
-
"npm-check-updates": "19.1
|
|
127
|
+
"npm-check-updates": "19.3.1",
|
|
128
128
|
"npm-run-all": "4.1.5",
|
|
129
|
-
"prettier": "3.
|
|
130
|
-
"rimraf": "6.1.
|
|
131
|
-
"stylelint": "16.
|
|
129
|
+
"prettier": "3.8.1",
|
|
130
|
+
"rimraf": "6.1.2",
|
|
131
|
+
"stylelint": "16.26.1",<% if (options.jsCompiler === 'ts') { %>
|
|
132
132
|
"typescript": "5.9.3",<% } %>
|
|
133
133
|
"webpack-cli": "4.10.0",
|
|
134
134
|
"yo": "6.0.0"
|
|
@@ -21,31 +21,31 @@ const config = {
|
|
|
21
21
|
minifyImages: [
|
|
22
22
|
// copies and minifies all source images to dest folder<% if (options.themes) { %>
|
|
23
23
|
{
|
|
24
|
-
src: 'src/shared/assets/img
|
|
25
|
-
dest: 'public/assets/light/img',
|
|
24
|
+
src: '<% if (options.exampleCode) { %>src/shared/assets/img/**/*<% } %>',
|
|
25
|
+
dest: '<% if (options.exampleCode) { %>public/assets/light/img<% } %>',
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
src: 'src/shared/assets/img
|
|
29
|
-
dest: 'public/assets/dark/img',
|
|
28
|
+
src: '<% if (options.exampleCode) { %>src/shared/assets/img/**/*<% } %>',
|
|
29
|
+
dest: '<% if (options.exampleCode) { %>public/assets/dark/img<% } %>',
|
|
30
30
|
},<% } else { %>
|
|
31
31
|
{
|
|
32
|
-
src: 'src/shared/assets/img
|
|
33
|
-
dest: 'public/assets/img',
|
|
32
|
+
src: '<% if (options.exampleCode) { %>src/shared/assets/img/**/*<% } %>',
|
|
33
|
+
dest: '<% if (options.exampleCode) { %>public/assets/img<% } %>',
|
|
34
34
|
},<% } %>
|
|
35
35
|
],
|
|
36
36
|
svgSprites: [
|
|
37
37
|
// generates icon sprite with the name of the last folder in src<% if (options.themes) { %>
|
|
38
38
|
{
|
|
39
|
-
src: 'src/patterns/atoms/icon/img/icons/*.svg',
|
|
40
|
-
dest: 'public/assets/light/svg',
|
|
39
|
+
src: '<% if (options.exampleCode) { %>src/patterns/atoms/icon/img/icons/*.svg<% } %>',
|
|
40
|
+
dest: '<% if (options.exampleCode) { %>public/assets/light/svg<% } %>',
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
src: 'src/patterns/atoms/icon/img/icons/*.svg',
|
|
44
|
-
dest: 'public/assets/dark/svg',
|
|
43
|
+
src: '<% if (options.exampleCode) { %>src/patterns/atoms/icon/img/icons/*.svg<% } %>',
|
|
44
|
+
dest: '<% if (options.exampleCode) { %>public/assets/dark/svg<% } %>',
|
|
45
45
|
},<% } else { %>
|
|
46
46
|
{
|
|
47
|
-
src: 'src/patterns/atoms/icon/img/icons/*.svg',
|
|
48
|
-
dest: 'public/assets/svg',
|
|
47
|
+
src: '<% if (options.exampleCode) { %>src/patterns/atoms/icon/img/icons/*.svg<% } %>',
|
|
48
|
+
dest: '<% if (options.exampleCode) { %>public/assets/svg<% } %>',
|
|
49
49
|
},<% } %>
|
|
50
50
|
],
|
|
51
51
|
},
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
<% if (options.exampleCode) { %>import { hot } from '@gondel/plugin-hot';
|
|
4
4
|
|
|
5
|
-
import './shared/base/security/js/security';
|
|
6
5
|
import './shared/base/reset/css/reset.scss';
|
|
7
6
|
import './shared/base/grid/css/grid.scss';
|
|
8
7
|
import './shared/base/document/css/document.scss';
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@nitro/app": "<%= nitroAppVersion %>",
|
|
29
29
|
"check-node-version": "4.2.1",
|
|
30
|
-
"config": "4.
|
|
30
|
+
"config": "4.2.0",
|
|
31
31
|
"cookie-session": "2.1.1",
|
|
32
32
|
"cross-env": "10.1.0",
|
|
33
33
|
"extend": "3.0.2",
|
|
34
34
|
"hbs": "4.2.0",
|
|
35
|
-
"i18next": "25.
|
|
35
|
+
"i18next": "25.8.0",
|
|
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": "10.0.
|
|
3
|
+
"version": "10.0.4",
|
|
4
4
|
"description": "Yeoman generator for the nitro frontend framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -37,22 +37,22 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"cli-color": "2.0.4",
|
|
40
|
-
"config": "4.
|
|
40
|
+
"config": "4.2.0",
|
|
41
41
|
"find-git-root": "1.0.4",
|
|
42
42
|
"git-config": "0.0.7",
|
|
43
43
|
"glob": "10.4.5",
|
|
44
44
|
"got": "11.8.5",
|
|
45
|
-
"lodash": "4.17.
|
|
45
|
+
"lodash": "4.17.23",
|
|
46
46
|
"yeoman-generator": "5.10.0",
|
|
47
47
|
"yosay": "2.0.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@merkle-open/eslint-config": "4.0.1",
|
|
51
|
-
"ejs": "
|
|
51
|
+
"ejs": "4.0.1",
|
|
52
52
|
"eslint": "8.57.1",
|
|
53
53
|
"eslint-plugin-import": "2.32.0",
|
|
54
|
-
"fs-extra": "11.3.
|
|
55
|
-
"jasmine": "5.
|
|
54
|
+
"fs-extra": "11.3.3",
|
|
55
|
+
"jasmine": "5.13.0",
|
|
56
56
|
"yeoman-assert": "3.1.1",
|
|
57
57
|
"yeoman-test": "6.3.0"
|
|
58
58
|
}
|