Skip to content

Commit a9c719a

Browse files
committed
chore: wip
1 parent 1782c6d commit a9c719a

14 files changed

+1187
-64
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,7 @@ import type { LaunchpadConfig } from '@stacksjs/launchpad'
340340
const config: LaunchpadConfig = {
341341
// System-wide installation preferences
342342
installationPath: '/usr/local', // Default system location
343-
autoSudo: true, // Auto-elevate when needed
344-
sudoPassword: '', // Password for sudo operations
343+
sudoPassword: '', // Password for sudo operations, can be loaded from `SUDO_PASSWORD` environment variable
345344

346345
// Development environment settings
347346
devAware: true, // Enable dev-aware installations

docs/api/reference.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,6 @@ interface LaunchpadConfig {
251251
sudoPassword: string
252252
/** Whether to enable dev-aware installations (default: true) */
253253
devAware: boolean
254-
/** Whether to auto-elevate with sudo when needed (default: true) */
255-
autoSudo: boolean
256254
/** Max installation retries on failure (default: 3) */
257255
maxRetries: number
258256
/** Timeout for pkgx operations in milliseconds (default: 60000) */

docs/config.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ const config: LaunchpadConfig = {
3030
// Whether to enable dev-aware installations (default: true)
3131
devAware: true,
3232

33-
// Whether to auto-elevate with sudo when needed (default: true)
34-
autoSudo: true,
35-
3633
// Max installation retries on failure (default: 3)
3734
maxRetries: 3,
3835

@@ -117,7 +114,6 @@ JavaScript format (`.launchpadrc`):
117114
"installationPath": "/usr/local",
118115
"sudoPassword": "",
119116
"devAware": true,
120-
"autoSudo": true,
121117
"maxRetries": 3,
122118
"timeout": 60000,
123119
"symlinkVersions": true,
@@ -369,7 +365,6 @@ This ensures that essential tools like shells, package managers, and system util
369365
| Option | Type | Default | Description |
370366
|--------|------|---------|-------------|
371367
| `sudoPassword` | string | `""` | Password for sudo operations, can be loaded from `SUDO_PASSWORD` environment variable |
372-
| `autoSudo` | boolean | `true` | Automatically use sudo when needed |
373368

374369
### Shell Environment Messages
375370

packages/launchpad/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ import type { LaunchpadConfig } from '@stacksjs/launchpad'
302302
const config: LaunchpadConfig = {
303303
// System-wide installation preferences
304304
installationPath: '/usr/local', // Default system location
305-
autoSudo: true, // Auto-elevate when needed
306305
sudoPassword: '', // Password for sudo operations
307306

308307
// Development environment settings

packages/launchpad/launchpad.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ export const defaultConfig: LaunchpadConfig = {
2222
// will be dev-aware (will respect the current dev environment)
2323
devAware: true,
2424

25-
// Auto-elevate with sudo when needed
26-
autoSudo: true,
27-
2825
// Max installation retries on failure
2926
maxRetries: 3,
3027

0 commit comments

Comments
 (0)