kami-redis 2.0.0 → 2.0.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # kami-redis
2
2
 
3
+ ## 2.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - c9fe624: added shebang
8
+
9
+ ## 2.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - b2e2ed5: added bin (forgot to add bin)
14
+
3
15
  ## 2.0.0
4
16
 
5
17
  ### Major Changes
package/dist/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  // src/index.ts
2
4
  import meow from "meow";
3
5
  import pc2 from "picocolors";
@@ -188,7 +190,7 @@ async function viewKey(selectedKey) {
188
190
  var cli = meow(
189
191
  `
190
192
  Usage
191
- foo <url>
193
+ kami-redis <url>
192
194
  `,
193
195
  {
194
196
  importMeta: import.meta
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "kami-redis",
3
3
  "type": "module",
4
- "version": "2.0.0",
4
+ "version": "2.0.2",
5
5
  "description": "Browse, inspect, copy, and delete Redis keys from your CLI",
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
10
+ "bin": {
11
+ "kami-redis": "dist/index.js"
12
+ },
10
13
  "scripts": {
11
14
  "dev": "bun run --watch src/index.ts",
12
15
  "build": "tsup src/index.ts",
package/src/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  /* eslint-disable style/no-tabs */
2
3
  import meow from "meow";
3
4
  import pc from "picocolors";
@@ -12,7 +13,7 @@ import { viewKey } from "./utils/view-key";
12
13
  const cli = meow(
13
14
  `
14
15
  Usage
15
- foo <url>
16
+ kami-redis <url>
16
17
  `,
17
18
  {
18
19
  importMeta: import.meta,
package/tsup.config.ts CHANGED
@@ -5,5 +5,4 @@ export default defineConfig({
5
5
  outDir: "dist",
6
6
  clean: true,
7
7
  format: ["esm"],
8
- dts: true,
9
8
  });