generator-nitro 9.0.2 → 9.1.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 +19 -19
- 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/stylelint.config.js +0 -18
- package/generators/server/templates/package.json +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
20.
|
|
1
|
+
20.11.0
|
|
@@ -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",
|
|
@@ -81,57 +81,57 @@
|
|
|
81
81
|
"@gondel/core": "1.2.8",
|
|
82
82
|
"@gondel/plugin-hot": "1.2.8",
|
|
83
83
|
"bootstrap": "5.3.2",<% } %>
|
|
84
|
-
"core-js": "3.
|
|
84
|
+
"core-js": "3.35.1"<% if (options.exampleCode) { %>,
|
|
85
85
|
"flatpickr": "4.6.13",
|
|
86
86
|
"handlebars": "4.7.8",
|
|
87
87
|
"jquery": "3.7.1",
|
|
88
88
|
"lazysizes": "5.3.2",
|
|
89
89
|
"lottie-web": "5.12.2",
|
|
90
90
|
"prevent-window-opener-attacks": "0.3.1"<% } %><% if (options.jsCompiler === 'js') { %>,
|
|
91
|
-
"regenerator-runtime": "0.14.
|
|
91
|
+
"regenerator-runtime": "0.14.1"<% } %><% if (options.exampleCode) { %>,
|
|
92
92
|
"svg4everybody": "2.1.9"<% } %>
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {<% if (options.jsCompiler === 'js') { %>
|
|
95
|
-
"@babel/eslint-parser": "7.23.
|
|
95
|
+
"@babel/eslint-parser": "7.23.10",<% } %>
|
|
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",
|
|
99
|
-
"@merkle-open/stylelint-config": "
|
|
99
|
+
"@merkle-open/stylelint-config": "4.0.0",
|
|
100
100
|
"@merkle-open/ts-config": "1.1.0",
|
|
101
101
|
"@nitro/app": "<%= version %>",
|
|
102
102
|
"@nitro/exporter": "<%= version %>",
|
|
103
103
|
"@nitro/gulp": "<%= version %>",
|
|
104
104
|
"@nitro/webpack": "<%= version %>",
|
|
105
|
-
"@playwright/test": "1.
|
|
105
|
+
"@playwright/test": "1.41.2",<% 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.
|
|
110
|
+
"backstopjs": "6.3.3",
|
|
111
111
|
"check-node-version": "4.2.1",
|
|
112
112
|
"commitizen": "4.3.0",
|
|
113
|
-
"config": "3.3.
|
|
113
|
+
"config": "3.3.11",
|
|
114
114
|
"cross-env": "7.0.3",
|
|
115
|
-
"cypress": "13.6.
|
|
115
|
+
"cypress": "13.6.4",
|
|
116
116
|
"cz-conventional-changelog": "3.3.0",
|
|
117
|
-
"env-linter": "
|
|
118
|
-
"eslint": "8.
|
|
119
|
-
"eslint-plugin-import": "2.29.
|
|
117
|
+
"env-linter": "2.0.0",
|
|
118
|
+
"eslint": "8.56.0",
|
|
119
|
+
"eslint-plugin-import": "2.29.1",
|
|
120
120
|
"extend": "3.0.2",
|
|
121
121
|
"generator-nitro": "<%= version %>",
|
|
122
122
|
"gulp": "4.0.2",
|
|
123
123
|
"html-validate": "7.18.1",
|
|
124
|
-
"husky": "
|
|
124
|
+
"husky": "9.0.10",
|
|
125
125
|
"license-checker": "25.0.1",
|
|
126
|
-
"lighthouse": "11.
|
|
127
|
-
"lint-staged": "15.
|
|
126
|
+
"lighthouse": "11.5.0",
|
|
127
|
+
"lint-staged": "15.2.2",<% if (options.themes) { %>
|
|
128
128
|
"node-sass": "8.0.0",<% } %>
|
|
129
|
-
"npm-check-updates": "16.14.
|
|
129
|
+
"npm-check-updates": "16.14.15",
|
|
130
130
|
"npm-run-all": "4.1.5",
|
|
131
|
-
"prettier": "3.
|
|
131
|
+
"prettier": "3.2.5",
|
|
132
132
|
"rimraf": "5.0.5",
|
|
133
|
-
"stylelint": "
|
|
134
|
-
"typescript": "5.3.
|
|
133
|
+
"stylelint": "16.2.1",<% if (options.jsCompiler === 'ts') { %>
|
|
134
|
+
"typescript": "5.3.3",<% } %>
|
|
135
135
|
"webpack-cli": "4.10.0",
|
|
136
136
|
"yo": "5.0.0"
|
|
137
137
|
},
|
|
@@ -5,24 +5,6 @@ lintConfig.rules['plugin/stylelint-bem-namics'] = {
|
|
|
5
5
|
helperPrefixes: ['state'],
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
// remove deprecated checks - handled by prettier
|
|
9
|
-
lintConfig.rules['at-rule-name-case'] = null;
|
|
10
|
-
lintConfig.rules['color-hex-case'] = null;
|
|
11
|
-
lintConfig.rules['declaration-block-semicolon-newline-after'] = null;
|
|
12
|
-
lintConfig.rules['declaration-block-trailing-semicolon'] = null;
|
|
13
|
-
lintConfig.rules['declaration-colon-space-after'] = null;
|
|
14
|
-
lintConfig.rules['max-empty-lines'] = null;
|
|
15
|
-
lintConfig.rules['media-feature-name-case'] = null;
|
|
16
|
-
lintConfig.rules['no-missing-end-of-source-newline'] = null;
|
|
17
|
-
lintConfig.rules['number-leading-zero'] = null;
|
|
18
|
-
lintConfig.rules['property-case'] = null;
|
|
19
|
-
lintConfig.rules['selector-list-comma-newline-after'] = null;
|
|
20
|
-
lintConfig.rules['selector-pseudo-class-case'] = null;
|
|
21
|
-
lintConfig.rules['selector-pseudo-element-case'] = null;
|
|
22
|
-
lintConfig.rules['string-quotes'] = null;
|
|
23
|
-
lintConfig.rules['unit-case'] = null;
|
|
24
|
-
lintConfig.rules['indentation'] = null;
|
|
25
|
-
|
|
26
8
|
// node-sass can't handle modern color function notation
|
|
27
9
|
lintConfig.rules['color-function-notation'] = null;
|
|
28
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-nitro",
|
|
3
|
-
"version": "9.0
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "Yeoman generator for the nitro frontend framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"cli-color": "2.0.3",
|
|
40
|
-
"config": "3.3.
|
|
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,9 +49,9 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@merkle-open/eslint-config": "3.0.0",
|
|
51
51
|
"ejs": "3.1.9",
|
|
52
|
-
"eslint": "8.
|
|
53
|
-
"eslint-plugin-import": "2.29.
|
|
54
|
-
"fs-extra": "11.
|
|
52
|
+
"eslint": "8.56.0",
|
|
53
|
+
"eslint-plugin-import": "2.29.1",
|
|
54
|
+
"fs-extra": "11.2.0",
|
|
55
55
|
"jasmine": "5.1.0",
|
|
56
56
|
"yeoman-assert": "3.1.1",
|
|
57
57
|
"yeoman-test": "6.3.0"
|