ritik 0.0.8 → 0.0.9

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.
@@ -1,11 +1,10 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';
3
2
 
4
- var axios = require('axios');
5
- var chalk = require('chalk');
6
- var boxen = require('boxen');
7
- var open = require('open');
8
- var prompts = require('@inquirer/prompts');
3
+ import axios from 'axios';
4
+ import chalk from 'chalk';
5
+ import boxen from 'boxen';
6
+ import open from 'open';
7
+ import { select } from '@inquirer/prompts';
9
8
 
10
9
  const leftPad = 22;
11
10
  const rightPad = 52;
@@ -102,7 +101,7 @@ function Prompt(profile) {
102
101
  console.log("Hasta la vista.\n");
103
102
  }
104
103
  };
105
- prompts.select({
104
+ select({
106
105
  message: "Choose an Action",
107
106
  choices
108
107
  }).then((answer) => actions[answer]());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ritik",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "description": "CLI Portfolio",
6
6
  "main": "dist/index.cjs",
@@ -8,7 +8,7 @@
8
8
  "ritik": "dist/index.cjs"
9
9
  },
10
10
  "engines": {
11
- "node": ">=12"
11
+ "node": ">=14"
12
12
  },
13
13
  "scripts": {
14
14
  "build": "rollup -c",