Skip to content

Commit

Permalink
chore: build
Browse files Browse the repository at this point in the history
  • Loading branch information
pin705 committed Jul 16, 2024
1 parent 00b635a commit b8baa0a
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 14 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Installation
```
$ npm install -g @pinjs/gem-cli
```
## Usage
```
Usage:
$ gem-cli <command>
Commands:
--init-template Create base template
```
## Example
```
npm run gem-cli --init-template
yarn gem-cli --init-template
pnpm gem-cli --init-template
```
File renamed without changes.
2 changes: 1 addition & 1 deletion dist/chunks/index.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { c as consola, a as colors$2, d as defineCommand } from '../shared/gem-cli.fb0ecb28.mjs';
import { c as consola, a as colors$2, d as defineCommand } from '../shared/gempages-cli.299fafe2.mjs';
import fs from 'node:fs';
import path from 'node:path';
import * as readline$1 from 'node:readline';
Expand Down
2 changes: 1 addition & 1 deletion dist/index.mjs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { m as main, r as runCommand, b as runMain } from './shared/gem-cli.fb0ecb28.mjs';
export { m as main, r as runCommand, b as runMain } from './shared/gempages-cli.299fafe2.mjs';
import 'node:tty';
Original file line number Diff line number Diff line change
Expand Up @@ -1011,8 +1011,8 @@ async function runMain$1(cmd, opts = {}) {
}
}

const name = "@pinjs/gem-cli";
const version = "0.0.7";
const name = "@pinjs/gempages-cli";
const version = "0.0.11";
const description = "⚡️ Gempages Generation CLI Experience";
const license = "MIT";
const type = "module";
Expand All @@ -1021,10 +1021,8 @@ const repository = {
type: "git",
url: "https://github.com/pin705/gem-cli"
};
const main$1 = "./bin/gem-cli.js";
const bin = {
"gem-cli": "./bin/gem-cli.js"
};
const main$1 = "./bin/gempages-cli.js";
const bin = "./bin/gempages-cli.js";
const files = [
"bin",
"dist"
Expand All @@ -1035,8 +1033,8 @@ const scripts = {
"build:stub": "unbuild --stub",
lint: "eslint .",
"lint:fix": "eslint --fix .",
"gem-cli": "node ./bin/gem-cli.js",
"gem-cli-bun": "bun --bun ./bin/gem-cli.js",
"gempages-cli": "node ./bin/gempages-cli.js",
"gempages-cli-bun": "bun --bun ./bin/gempages-cli.js",
prepack: "unbuild",
test: "pnpm lint && pnpm test:types && pnpm build && pnpm test:dist",
"test:types": "tsc --noEmit",
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"type": "git",
"url": "https://github.com/pin705/gem-cli"
},
"main": "./bin/gem-cli.js",
"bin": "./bin/gem-cli.js",
"main": "./bin/gempages-cli.js",
"bin": "./bin/gempages-cli.js",
"files": [
"bin",
"dist"
Expand All @@ -21,8 +21,8 @@
"build:stub": "unbuild --stub",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"gem-cli": "node ./bin/gem-cli.js",
"gem-cli-bun": "bun --bun ./bin/gem-cli.js",
"gempages-cli": "node ./bin/gempages-cli.js",
"gempages-cli-bun": "bun --bun ./bin/gempages-cli.js",
"prepack": "unbuild",
"test": "pnpm lint && pnpm test:types && pnpm build && pnpm test:dist",
"test:types": "tsc --noEmit",
Expand Down

0 comments on commit b8baa0a

Please sign in to comment.