@builder.io/dev-tools 1.28.16-dev.202602271627.4aedad8b4 → 1.28.17-dev.202603022004.da8b71164
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/cli/index.cjs +63 -22
- package/cli/index.cjs.map +3 -3
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +2 -2
- package/server/index.mjs +2 -2
- package/types/cli/utils/resolve-shell-env.d.ts +5 -4
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
* files (e.g. .zshrc, .bash_profile) are never sourced, so tools added to PATH
|
|
7
7
|
* by those files are invisible.
|
|
8
8
|
*
|
|
9
|
-
* This function spawns `$SHELL -i -l -c "
|
|
10
|
-
* capture the fully-resolved PATH from the user's interactive shell. It uses
|
|
11
|
-
*
|
|
12
|
-
*
|
|
9
|
+
* This function spawns `$SHELL -i -l -c "printf <marker>; printenv PATH; printf <marker>"`
|
|
10
|
+
* to capture the fully-resolved PATH from the user's interactive shell. It uses
|
|
11
|
+
* `printenv` instead of `$PATH` to avoid issues with shells like fish where
|
|
12
|
+
* `$PATH` is a list variable. Unique markers reliably extract the PATH even
|
|
13
|
+
* when the shell prints banners, motd messages, or other noise.
|
|
13
14
|
*
|
|
14
15
|
* Returns `null` on Windows, in cloud environments, or on any failure.
|
|
15
16
|
*/
|