From 39f0073f351931b60e52dc778b40f9d14340ca52 Mon Sep 17 00:00:00 2001 From: White-Patrasche <5338095@gmail.com> Date: Thu, 22 Jun 2023 15:48:30 +0900 Subject: [PATCH] fix: edit package name --- README.md | 10 ++++---- package-lock.json | 59 +++++++++++++++++++++++++++++------------------ package.json | 3 ++- 3 files changed, 43 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 9778a90..72a0b14 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,25 @@ -# up-date-cli +# up-date > This readme is automatically generated by [create-ink-app](https://github.com/vadimdemedes/create-ink-app) ## Install ```bash -$ npm install --global up-date-cli +$ npm install --global up-date ``` ## CLI ``` -$ up-date-cli --help +$ up-date --help Usage - $ up-date-cli + $ up-date Options --name Your name Examples - $ up-date-cli --name=Jane + $ up-date --name=Jane Hello, Jane ``` diff --git a/package-lock.json b/package-lock.json index a88c3df..ff537a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,20 +1,21 @@ { - "name": "up-date-cli", + "name": "up-date", "version": "0.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "up-date-cli", + "name": "up-date", "version": "0.0.0", "license": "MIT", "dependencies": { + "enquirer": "^2.3.6", "ink": "^4.1.0", "meow": "^11.0.0", "react": "^18.2.0" }, "bin": { - "up-date-cli": "dist/cli.js" + "up-date": "dist/cli.js" }, "devDependencies": { "@babel/cli": "^7.21.0", @@ -1083,6 +1084,14 @@ "ajv": "^6.9.1" } }, + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "engines": { + "node": ">=6" + } + }, "node_modules/ansi-escapes": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", @@ -2219,6 +2228,17 @@ "node": ">=0.6" } }, + "node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, "node_modules/env-editor": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/env-editor/-/env-editor-1.1.0.tgz", @@ -8400,18 +8420,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/xo/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/xo/node_modules/merge2": { "version": "1.4.1", "dev": true, @@ -9613,6 +9621,11 @@ "peer": true, "requires": {} }, + "ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==" + }, "ansi-escapes": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", @@ -10409,6 +10422,14 @@ "tapable": "^0.1.8" } }, + "enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "requires": { + "ansi-colors": "^4.1.1" + } + }, "env-editor": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/env-editor/-/env-editor-1.1.0.tgz", @@ -14682,14 +14703,6 @@ "p-locate": "^6.0.0" } }, - "lru-cache": { - "version": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, "merge2": { "version": "1.4.1", "bundled": true, diff --git a/package.json b/package.json index 1716cc2..c35d74b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "up-date-cli", + "name": "up-date", "version": "0.0.0", "license": "MIT", "bin": "dist/cli.js", @@ -17,6 +17,7 @@ "dist" ], "dependencies": { + "enquirer": "^2.3.6", "ink": "^4.1.0", "meow": "^11.0.0", "react": "^18.2.0"