@impulselab/directory 1.0.3 → 1.0.4

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.
Files changed (3) hide show
  1. package/README.md +10 -10
  2. package/index.js +1 -1
  3. package/package.json +7 -7
package/README.md CHANGED
@@ -7,8 +7,8 @@ An NPX command by Impulse Lab (`https://impulselab.ai`) that downloads prompts f
7
7
  ### Direct usage with npx
8
8
 
9
9
  ```bash
10
- npx @impulselab/directory directory <user-slug>/<command-slug> [--target <target>]
11
- npx @impulselab/directory directory stack <stack-id> [--target <target>]
10
+ npx @impulselab/directory <user-slug>/<command-slug> [--target <target>]
11
+ npx @impulselab/directory stack <stack-id> [--target <target>]
12
12
  ```
13
13
 
14
14
  `--target` selects the installation target. When omitted the command defaults to `claude-slash`.
@@ -30,25 +30,25 @@ When using the `stack` command, all prompts in the stack are installed for the c
30
30
 
31
31
  ```bash
32
32
  # Download a Claude slash command from impulse.directory
33
- npx @impulselab/directory directory john/my-awesome-command
33
+ npx @impulselab/directory john/my-awesome-command
34
34
 
35
35
  # Install as a Claude sub agent
36
- npx @impulselab/directory directory john/my-awesome-command --target claude-sub-agent
36
+ npx @impulselab/directory john/my-awesome-command --target claude-sub-agent
37
37
 
38
38
  # Install as a Cursor command (inside a Cursor project)
39
- npx @impulselab/directory directory john/my-awesome-command --target cursor-command
39
+ npx @impulselab/directory john/my-awesome-command --target cursor-command
40
40
 
41
41
  # Install as a Cursor rule (inside a Cursor project)
42
- npx @impulselab/directory directory john/my-awesome-command --target cursor-rule
42
+ npx @impulselab/directory john/my-awesome-command --target cursor-rule
43
43
 
44
44
  # Install an Impulse stack (tool-specific stack ID)
45
- npx @impulselab/directory directory stack 01JH0000000ABCDEF --target claude-slash
45
+ npx @impulselab/directory stack 01JH0000000ABCDEF --target claude-slash
46
46
 
47
47
  # Use a custom URL (local development)
48
- IMPULSE_BASE_URL=localhost:3000 npx @impulselab/directory directory dev-user/dev-command
48
+ IMPULSE_BASE_URL=localhost:3000 npx @impulselab/directory dev-user/dev-command
49
49
 
50
50
  # Use another server
51
- IMPULSE_BASE_URL=my-custom-domain.com npx @impulselab/directory directory author/custom-command
51
+ IMPULSE_BASE_URL=my-custom-domain.com npx @impulselab/directory author/custom-command
52
52
  ```
53
53
 
54
54
  ## 📁 Command Placement Logic
@@ -140,7 +140,7 @@ npx/impulse-claude/
140
140
  To see download details:
141
141
  ```bash
142
142
  # The command automatically displays the download path and destination folder
143
- npx @impulselab/directory directory debug-user/debug-command
143
+ npx @impulselab/directory debug-user/debug-command
144
144
  ```
145
145
 
146
146
  ## 🏷️ Branding
package/index.js CHANGED
@@ -84,7 +84,7 @@ const TARGET_CONFIG = {
84
84
  const KNOWN_TARGETS = Object.keys(TARGET_CONFIG);
85
85
 
86
86
  function showHelp() {
87
- const primaryUsageCmd = `npx ${PACKAGE.scopeName} ${PACKAGE.aliasName}`;
87
+ const primaryUsageCmd = `npx impulse-directory`;
88
88
  console.log(`
89
89
  Impulse Directory Command Installer
90
90
  Made by ${PACKAGE.brand} (${PACKAGE.websiteUrl})
package/package.json CHANGED
@@ -1,11 +1,16 @@
1
1
  {
2
2
  "name": "@impulselab/directory",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Download and install Claude commands from Impulse Directory",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "directory": "./index.js"
8
8
  },
9
+ "scripts": {
10
+ "test": "node index.js --help",
11
+ "predeploy": "chmod +x index.js",
12
+ "deploy": "pnpm publish --access public --no-git-checks"
13
+ },
9
14
  "keywords": [
10
15
  "claude",
11
16
  "commands",
@@ -24,10 +29,5 @@
24
29
  },
25
30
  "publishConfig": {
26
31
  "access": "public"
27
- },
28
- "scripts": {
29
- "test": "node index.js --help",
30
- "predeploy": "chmod +x index.js",
31
- "deploy": "pnpm publish --access public --no-git-checks"
32
32
  }
33
- }
33
+ }