@plusonelabs/cue 0.0.91 → 0.0.94

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/package.json CHANGED
@@ -1,14 +1,17 @@
1
1
  {
2
2
  "name": "@plusonelabs/cue",
3
- "version": "0.0.91",
3
+ "version": "0.0.94",
4
4
  "description": "Cue CLI",
5
5
  "main": "./dist/cli.mjs",
6
6
  "bin": {
7
- "cue": "dist/cli.mjs"
7
+ "cue": "bin/cue.js"
8
8
  },
9
9
  "type": "module",
10
10
  "engines": {
11
11
  "node": ">=18.0.0"
12
12
  },
13
+ "dependencies": {
14
+ "playwright-core": "^1.57.0"
15
+ },
13
16
  "author": "PlusOneLabs"
14
17
  }
package/.eslintignore DELETED
@@ -1,6 +0,0 @@
1
- dist
2
- node_modules
3
- *.js
4
- *.d.ts
5
- coverage
6
- .husky
Binary file
package/install.sh DELETED
@@ -1,63 +0,0 @@
1
- #!/bin/bash
2
- echo "Installing Cue CLI..."
3
-
4
- # Check if --global flag is explicitly passed
5
- if [[ "$1" == "--global" ]]; then
6
- echo "Installing globally via npm..."
7
- npm install -g @plusonelabs/cue
8
- echo "Cue CLI installed globally!"
9
- echo "Run 'cue' from anywhere."
10
- echo ""
11
- echo "To update: npm update -g @plusonelabs/cue"
12
- else
13
- echo "Installing locally to ~/.cue/local (recommended for auto-updates)..."
14
-
15
- # Create local installation directory
16
- LOCAL_DIR="$HOME/.cue/local"
17
- mkdir -p "$LOCAL_DIR"
18
-
19
- # Create or update package.json
20
- if [ ! -f "$LOCAL_DIR/package.json" ]; then
21
- cat > "$LOCAL_DIR/package.json" << 'PACKAGE'
22
- {
23
- "name": "cue-local",
24
- "version": "0.0.1",
25
- "private": true,
26
- "dependencies": {}
27
- }
28
- PACKAGE
29
- fi
30
-
31
- # Install or update the package
32
- cd "$LOCAL_DIR"
33
- npm install @plusonelabs/cue@latest --save
34
-
35
- # Create wrapper script
36
- cat > "$LOCAL_DIR/cue" << 'WRAPPER'
37
- #!/bin/bash
38
- exec "$HOME/.cue/local/node_modules/.bin/cue" "$@"
39
- WRAPPER
40
- chmod +x "$LOCAL_DIR/cue"
41
-
42
- # Create symlink in /usr/local/bin if possible
43
- if [ -w /usr/local/bin ]; then
44
- ln -sf "$LOCAL_DIR/cue" /usr/local/bin/cue
45
- echo "Cue CLI installed! Symlink created at /usr/local/bin/cue"
46
- echo "Run 'cue' from anywhere."
47
- else
48
- echo "Cue CLI installed to ~/.cue/local/cue"
49
- echo ""
50
- echo "To use globally, either:"
51
- echo "1. Add ~/.cue/local to your PATH:"
52
- echo " export PATH=\"\$HOME/.cue/local:\$PATH\""
53
- echo " # Add the above line to ~/.bashrc or ~/.zshrc"
54
- echo ""
55
- echo "2. Or create a symlink (requires sudo):"
56
- echo " sudo ln -sf $LOCAL_DIR/cue /usr/local/bin/cue"
57
- echo ""
58
- echo "Or run directly: ~/.cue/local/cue"
59
- fi
60
-
61
- echo ""
62
- echo "Auto-update with: cue update"
63
- fi