create-express-kickstart 1.2.0 → 1.2.1

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.
Files changed (2) hide show
  1. package/bin/cli.js +3 -0
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -203,6 +203,9 @@ async function init() {
203
203
  if (deps['pino-http']) {
204
204
  dependenciesToInstall.push('pino');
205
205
  }
206
+ if (initAuth) {
207
+ dependenciesToInstall.push('jsonwebtoken', 'bcryptjs'); // Add bcryptjs too since it's standard with JWT
208
+ }
206
209
  const depString = dependenciesToInstall.join(' ');
207
210
 
208
211
  const devDependenciesToInstall = ['nodemon'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-express-kickstart",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Production-ready CLI starter for Express APIs",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {