kempo 4.2.25 → 4.2.26

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 +10 -4
  2. package/package.json +2 -2
package/bin/cli.js CHANGED
@@ -97,7 +97,7 @@ if(existsSync(join(projectDir, 'public'))){
97
97
  }
98
98
 
99
99
  const { action } = await inquirer.prompt([{
100
- type: 'list',
100
+ type: 'select',
101
101
  name: 'action',
102
102
  message: 'An existing Kempo project was detected. What would you like to do?',
103
103
  choices: [
@@ -155,7 +155,7 @@ let customDatabaseUrl = null;
155
155
 
156
156
  if(existingContainers.length > 0 && !useDefaults){
157
157
  const { containerChoice } = await inquirer.prompt([{
158
- type: 'list',
158
+ type: 'select',
159
159
  name: 'containerChoice',
160
160
  message: 'Found existing PostgreSQL containers. Select one or create new:',
161
161
  choices: [
@@ -194,7 +194,7 @@ if(containerMode === 'new' && !useDefaults){
194
194
  containerName = name;
195
195
 
196
196
  const { passwordChoice } = await inquirer.prompt([{
197
- type: 'list',
197
+ type: 'select',
198
198
  name: 'passwordChoice',
199
199
  message: 'Database password:',
200
200
  choices: [
@@ -259,7 +259,7 @@ let emailServiceSkipped = false;
259
259
 
260
260
  if(!useDefaults){
261
261
  const { emailService } = await inquirer.prompt([{
262
- type: 'list',
262
+ type: 'select',
263
263
  name: 'emailService',
264
264
  message: 'Email service:',
265
265
  choices: [
@@ -512,3 +512,9 @@ Then open:
512
512
  http://localhost:9876 (your site)
513
513
  http://localhost:9876/admin (admin panel)
514
514
  `);
515
+
516
+ /*
517
+ createUser/addUserToGroup hold open the postgres client's connection (no idle_timeout is
518
+ configured), so without this the process never exits on its own once setup finishes.
519
+ */
520
+ process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kempo",
3
- "version": "4.2.25",
3
+ "version": "4.2.26",
4
4
  "type": "module",
5
5
  "description": "A fullstack CMS framework for creating websites with user authentication",
6
6
  "scripts": {
@@ -49,7 +49,7 @@
49
49
  "dotenv": "^17.2.3",
50
50
  "drizzle-kit": "^0.31.7",
51
51
  "drizzle-orm": "^0.45.2",
52
- "inquirer": "^12.6.1",
52
+ "inquirer": "^14.0.2",
53
53
  "lexical": "0.43.0",
54
54
  "monaco-editor": "^0.56.0",
55
55
  "postgres": "^3.4.7",