ritik 0.0.7 → 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.
- package/dist/index.js +6 -7
- package/package.json +5 -4
package/dist/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
104
|
+
select({
|
|
106
105
|
message: "Choose an Action",
|
|
107
106
|
choices
|
|
108
107
|
}).then((answer) => actions[answer]());
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ritik",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "CLI Portfolio",
|
|
5
|
-
"main": "dist/index.
|
|
6
|
+
"main": "dist/index.cjs",
|
|
6
7
|
"bin": {
|
|
7
|
-
"ritik": "dist/index.
|
|
8
|
+
"ritik": "dist/index.cjs"
|
|
8
9
|
},
|
|
9
10
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
11
|
+
"node": ">=14"
|
|
11
12
|
},
|
|
12
13
|
"scripts": {
|
|
13
14
|
"build": "rollup -c",
|