From 7becfe59cc63c4a8409afa88b975678c593a58dc Mon Sep 17 00:00:00 2001 From: pin705 Date: Tue, 16 Jul 2024 16:03:51 +0700 Subject: [PATCH] chore: update readme --- README.md | 8 +++----- dist/chunks/index.mjs | 2 +- dist/index.mjs | 2 +- ...empages-cli.40ddb9b8.mjs => gempages-cli.fc3d64da.mjs} | 2 +- package.json | 4 ++-- 5 files changed, 8 insertions(+), 10 deletions(-) rename dist/shared/{gempages-cli.40ddb9b8.mjs => gempages-cli.fc3d64da.mjs} (99%) diff --git a/README.md b/README.md index 1c474b0..f44ce92 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ ## Installation ``` -$ npm install -g @pinjs/gem-cli +$ npm install -g @pinjs/gempages-cli ``` ## Usage ``` Usage: - $ gem-cli + $ gempages-cli Commands: --init-template Create base template @@ -13,7 +13,5 @@ Commands: ``` ## Example ``` -npm run gem-cli --init-template -yarn gem-cli --init-template -pnpm gem-cli --init-template +gempages-cli init-template ``` diff --git a/dist/chunks/index.mjs b/dist/chunks/index.mjs index 8ed09de..8e22514 100644 --- a/dist/chunks/index.mjs +++ b/dist/chunks/index.mjs @@ -1,4 +1,4 @@ -import { c as consola, a as colors$2, d as defineCommand } from '../shared/gempages-cli.40ddb9b8.mjs'; +import { c as consola, a as colors$2, d as defineCommand } from '../shared/gempages-cli.fc3d64da.mjs'; import fs from 'node:fs'; import path from 'node:path'; import * as readline$1 from 'node:readline'; diff --git a/dist/index.mjs b/dist/index.mjs index ec00f34..befb842 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -1,2 +1,2 @@ -export { m as main, r as runCommand, b as runMain } from './shared/gempages-cli.40ddb9b8.mjs'; +export { m as main, r as runCommand, b as runMain } from './shared/gempages-cli.fc3d64da.mjs'; import 'node:tty'; diff --git a/dist/shared/gempages-cli.40ddb9b8.mjs b/dist/shared/gempages-cli.fc3d64da.mjs similarity index 99% rename from dist/shared/gempages-cli.40ddb9b8.mjs rename to dist/shared/gempages-cli.fc3d64da.mjs index 3b43f1f..e6e0d53 100644 --- a/dist/shared/gempages-cli.40ddb9b8.mjs +++ b/dist/shared/gempages-cli.fc3d64da.mjs @@ -1012,7 +1012,7 @@ async function runMain$1(cmd, opts = {}) { } const name = "@pinjs/gempages-cli"; -const version = "0.0.14"; +const version = "0.0.15"; const description = "⚡️ Gempages Generation CLI Experience"; const license = "MIT"; const type = "module"; diff --git a/package.json b/package.json index b1eeb2f..1a3bb82 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ "build:stub": "unbuild --stub", "lint": "eslint .", "lint:fix": "eslint --fix .", - "gempages-cli": "node ./bin/gempages-cli.js", - "gempages-cli-bun": "bun --bun ./bin/gempages-cli.js", + "gempages-cli": "node ./bin/index.js", + "gempages-cli-bun": "bun --bun ./bin/index.js", "prepack": "unbuild", "test": "pnpm lint && pnpm test:types && pnpm build && pnpm test:dist", "test:types": "tsc --noEmit",