From 7ddbaa0e782950713a9d4a56429a152a52c2ed08 Mon Sep 17 00:00:00 2001 From: Saravanakumar Date: Thu, 3 Apr 2025 19:33:54 +0530 Subject: [PATCH 1/2] Test changed and express lts version changes while generating the express app --- bin/express-cli.js | 2 +- test/cmd.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/express-cli.js b/bin/express-cli.js index 380a447d..3bb5703e 100755 --- a/bin/express-cli.js +++ b/bin/express-cli.js @@ -99,7 +99,7 @@ function createApplication (name, dir, options, done) { }, dependencies: { debug: '~2.6.9', - express: '~4.17.1' + express: '~5.1.0' } } diff --git a/test/cmd.js b/test/cmd.js index 4a102a94..fb9d4d00 100644 --- a/test/cmd.js +++ b/test/cmd.js @@ -73,7 +73,7 @@ describe('express(1)', function () { ' "dependencies": {\n' + ' "cookie-parser": "~1.4.5",\n' + ' "debug": "~2.6.9",\n' + - ' "express": "~4.17.1",\n' + + ' "express": "~5.1.0",\n' + ' "http-errors": "~1.7.2",\n' + ' "jade": "~1.11.0",\n' + ' "morgan": "~1.10.0"\n' + @@ -357,6 +357,8 @@ describe('express(1)', function () { it('should have installable dependencies', function (done) { this.timeout(NPM_INSTALL_TIMEOUT) + console.log('Installing dependencies...') + console.log('dir:', ctx.dir) npmInstall(ctx.dir, done) }) From 760b60add9ed6b63af96f4112b2e5f507bb24e8b Mon Sep 17 00:00:00 2001 From: Saravanakumar Date: Thu, 3 Apr 2025 19:36:32 +0530 Subject: [PATCH 2/2] removed the console --- test/cmd.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/cmd.js b/test/cmd.js index fb9d4d00..049342d6 100644 --- a/test/cmd.js +++ b/test/cmd.js @@ -357,8 +357,6 @@ describe('express(1)', function () { it('should have installable dependencies', function (done) { this.timeout(NPM_INSTALL_TIMEOUT) - console.log('Installing dependencies...') - console.log('dir:', ctx.dir) npmInstall(ctx.dir, done) })