We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b2995 commit e55ea98Copy full SHA for e55ea98
src/api/import.js
@@ -184,6 +184,10 @@ export default async (providedOptions = {}) => {
184
185
packageJSON = await readPackageJSON(dir);
186
187
+ if (!packageJSON.version) {
188
+ warn(interactive, "Please set the 'version' in your application's package.json".yellow);
189
+ }
190
+
191
packageJSON.config = packageJSON.config || {};
192
const templatePackageJSON = await readPackageJSON(path.resolve(__dirname, '../../tmpl'));
193
packageJSON.config.forge = templatePackageJSON.config.forge;
0 commit comments