@skillrecordings/cli 0.2.0 → 0.2.1
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/bin/skill.mjs +3 -9
- package/package.json +1 -1
package/bin/skill.mjs
CHANGED
|
@@ -5,15 +5,9 @@ import { dirname, join } from 'node:path'
|
|
|
5
5
|
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
6
6
|
const cliDir = join(__dirname, '..')
|
|
7
7
|
|
|
8
|
-
//
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
// Skip env validation for commands that don't need it
|
|
14
|
-
if (noSecretsNeeded) {
|
|
15
|
-
process.env.SKIP_ENV_VALIDATION = '1'
|
|
16
|
-
}
|
|
8
|
+
// Skip env validation at import time - let commands fail at runtime if they need missing vars
|
|
9
|
+
// This allows help, auth, and other non-db commands to work without DATABASE_URL
|
|
10
|
+
process.env.SKIP_ENV_VALIDATION = '1'
|
|
17
11
|
|
|
18
12
|
// Load env from CLI package directory
|
|
19
13
|
try {
|