generator-nitro 10.0.2 → 10.0.3
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 +7 -7
- 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 +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
20.19.
|
|
1
|
+
20.19.6
|
|
@@ -81,7 +81,7 @@
|
|
|
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.47.0"<% if (options.exampleCode) { %>,
|
|
85
85
|
"flatpickr": "4.6.13",
|
|
86
86
|
"handlebars": "4.7.8",
|
|
87
87
|
"jquery": "3.7.1",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"@nitro/exporter": "<%= version %>",
|
|
101
101
|
"@nitro/gulp": "<%= version %>",
|
|
102
102
|
"@nitro/webpack": "<%= version %>",
|
|
103
|
-
"@playwright/test": "1.
|
|
103
|
+
"@playwright/test": "1.57.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",<% } %>
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"config": "4.1.1",<% if (options.themes) { %>
|
|
111
111
|
"cookie-session": "2.1.1",<% } %>
|
|
112
112
|
"cross-env": "10.1.0",
|
|
113
|
-
"cypress": "15.
|
|
113
|
+
"cypress": "15.7.1",
|
|
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
127
|
"npm-check-updates": "19.1.2",
|
|
128
128
|
"npm-run-all": "4.1.5",
|
|
129
|
-
"prettier": "3.
|
|
130
|
-
"rimraf": "6.1.
|
|
131
|
-
"stylelint": "16.
|
|
129
|
+
"prettier": "3.7.4",
|
|
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';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-nitro",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.3",
|
|
4
4
|
"description": "Yeoman generator for the nitro frontend framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"eslint": "8.57.1",
|
|
53
53
|
"eslint-plugin-import": "2.32.0",
|
|
54
54
|
"fs-extra": "11.3.2",
|
|
55
|
-
"jasmine": "5.
|
|
55
|
+
"jasmine": "5.13.0",
|
|
56
56
|
"yeoman-assert": "3.1.1",
|
|
57
57
|
"yeoman-test": "6.3.0"
|
|
58
58
|
}
|