mendixlabs / generator-mendix

Yeoman generator for Mendix widgets
MIT License
17 stars 15 forks source link

added syntax check #22

Closed pimvdnoll closed 7 years ago

pimvdnoll commented 7 years ago

based on https://www.npmjs.com/package/gulp-jsvalidate

JelteMX commented 7 years ago

Added in 2.0.4. Thanks!

pimvdnoll commented 7 years ago

How do I update to this newest version? tried npm update generator-mendix but it has still the old package.json and gulp.js file

JelteMX commented 7 years ago

First you need to update your generator:

npm update generator-mendix -g

after that, run yo mendix in the folder with the Gulpfile.js and package.json. You can always check the version of the generator you used by checking package.json in your widgetfolder. This version number is also mentioned at the to of your Gulpfile.js. Look for

"generatorVersion": "2.0.4",
pimvdnoll commented 7 years ago

thanks, was not aware of running yo mendix again.