generator-nitro 6.0.4 → 6.0.5
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/index.js
CHANGED
|
@@ -129,7 +129,7 @@ module.exports = class extends Generator {
|
|
|
129
129
|
// check whether there is already a nitro application in place and we only have to update the application
|
|
130
130
|
const json = this.fs.readJSON(this.destinationPath('.yo-rc.json'), { new: true });
|
|
131
131
|
|
|
132
|
-
if (!json.new) {
|
|
132
|
+
if (!json.new && json['generator-nitro']) {
|
|
133
133
|
// update existing application
|
|
134
134
|
return this.prompt([
|
|
135
135
|
{
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@gondel/plugin-hot": "1.2.7",
|
|
86
86
|
"@khanacademy/tota11y": "0.2.0",
|
|
87
87
|
"bootstrap": "5.1.3",<% } %>
|
|
88
|
-
"core-js": "3.
|
|
88
|
+
"core-js": "3.20.0"<% if (options.exampleCode) { %>,
|
|
89
89
|
"flatpickr": "4.6.9",
|
|
90
90
|
"handlebars": "4.7.7",
|
|
91
91
|
"jquery": "3.6.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"svg4everybody": "2.1.9"<% } %>
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {<% if (options.jsCompiler === 'js') { %>
|
|
99
|
-
"@babel/eslint-parser": "7.16.
|
|
99
|
+
"@babel/eslint-parser": "7.16.5",<% } %>
|
|
100
100
|
"@namics/eslint-config": "9.1.1",
|
|
101
101
|
"@namics/prettier-config": "2.0.1",
|
|
102
102
|
"@namics/stylelint-config": "1.1.2",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"commitizen": "4.2.4",
|
|
115
115
|
"config": "3.3.6",
|
|
116
116
|
"cross-env": "7.0.3",
|
|
117
|
-
"cypress": "9.
|
|
117
|
+
"cypress": "9.2.0",
|
|
118
118
|
"cz-conventional-changelog": "3.3.0",
|
|
119
119
|
"env-linter": "0.5.1",
|
|
120
120
|
"eslint": "7.32.0",
|
|
@@ -124,16 +124,16 @@
|
|
|
124
124
|
"gulp": "4.0.2",
|
|
125
125
|
"husky": "7.0.4",
|
|
126
126
|
"license-checker": "25.0.1",
|
|
127
|
-
"lighthouse": "9.
|
|
127
|
+
"lighthouse": "9.2.0",
|
|
128
128
|
"lint-staged": "12.1.2",<% if (options.themes) { %>
|
|
129
129
|
"node-sass": "6.0.1",<% } %>
|
|
130
|
-
"npm-check-updates": "12.0.
|
|
130
|
+
"npm-check-updates": "12.0.5",
|
|
131
131
|
"npm-run-all": "4.1.5",
|
|
132
132
|
"opener": "1.5.2",
|
|
133
133
|
"prettier": "2.5.1",
|
|
134
134
|
"rimraf": "3.0.2",
|
|
135
135
|
"stylelint": "13.13.1",<% if (options.jsCompiler === 'ts') { %>
|
|
136
|
-
"typescript": "4.5.
|
|
136
|
+
"typescript": "4.5.4",<% } %>
|
|
137
137
|
"webpack-cli": "4.9.1",
|
|
138
138
|
"yo": "4.3.0"
|
|
139
139
|
},
|