@_davideast/jules-env 0.2.1 → 0.2.2
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/dist/cli.mjs +9 -9
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -6029,7 +6029,7 @@ import { spawn } from "node:child_process";
|
|
|
6029
6029
|
import { mkdir, writeFile, appendFile } from "node:fs/promises";
|
|
6030
6030
|
import { resolve, dirname } from "node:path";
|
|
6031
6031
|
import { homedir } from "node:os";
|
|
6032
|
-
var SHELLENV_SOURCE = "
|
|
6032
|
+
var SHELLENV_SOURCE = "test -f $HOME/.jules/shellenv && . $HOME/.jules/shellenv; ";
|
|
6033
6033
|
async function executePlan(plan, dryRun, label) {
|
|
6034
6034
|
if (dryRun) {
|
|
6035
6035
|
console.log(`--- DRY RUN: ${label ?? "Execution Plan"} ---`);
|
|
@@ -6182,7 +6182,7 @@ async function resolveLinux() {
|
|
|
6182
6182
|
{
|
|
6183
6183
|
id: "install-dart-prereqs",
|
|
6184
6184
|
label: "Install prerequisites",
|
|
6185
|
-
cmd: "sudo apt-get update && sudo apt-get install -y apt-transport-https wget",
|
|
6185
|
+
cmd: "(sudo apt-get update || true) && sudo apt-get install -y apt-transport-https wget",
|
|
6186
6186
|
checkCmd: "dpkg -s apt-transport-https && dpkg -s wget"
|
|
6187
6187
|
},
|
|
6188
6188
|
{
|
|
@@ -6200,7 +6200,7 @@ async function resolveLinux() {
|
|
|
6200
6200
|
{
|
|
6201
6201
|
id: "install-dart",
|
|
6202
6202
|
label: "Install Dart SDK",
|
|
6203
|
-
cmd: "sudo apt-get update && sudo apt-get install -y dart",
|
|
6203
|
+
cmd: "(sudo apt-get update || true) && sudo apt-get install -y dart",
|
|
6204
6204
|
checkCmd: "dpkg -s dart"
|
|
6205
6205
|
}
|
|
6206
6206
|
];
|
|
@@ -6276,7 +6276,7 @@ async function resolveLinux2() {
|
|
|
6276
6276
|
{
|
|
6277
6277
|
id: "install-flutter-prereqs",
|
|
6278
6278
|
label: "Install prerequisites",
|
|
6279
|
-
cmd: "sudo apt-get update && sudo apt-get install -y curl git unzip xz-utils",
|
|
6279
|
+
cmd: "(sudo apt-get update || true) && sudo apt-get install -y curl git unzip xz-utils",
|
|
6280
6280
|
checkCmd: "dpkg -s curl && dpkg -s git && dpkg -s unzip && dpkg -s xz-utils"
|
|
6281
6281
|
},
|
|
6282
6282
|
{
|
|
@@ -6348,7 +6348,7 @@ async function resolveLinux3() {
|
|
|
6348
6348
|
{
|
|
6349
6349
|
id: "install-ruby-prereqs",
|
|
6350
6350
|
label: "Install build prerequisites",
|
|
6351
|
-
cmd: "sudo apt-get update && sudo apt-get install -y build-essential",
|
|
6351
|
+
cmd: "(sudo apt-get update || true) && sudo apt-get install -y build-essential",
|
|
6352
6352
|
checkCmd: "dpkg -s build-essential"
|
|
6353
6353
|
},
|
|
6354
6354
|
{
|
|
@@ -6422,7 +6422,7 @@ async function resolveLinux4() {
|
|
|
6422
6422
|
{
|
|
6423
6423
|
id: "install-php",
|
|
6424
6424
|
label: "Install PHP",
|
|
6425
|
-
cmd: "sudo apt-get update && sudo apt-get install -y php-cli php-common php-mbstring php-xml php-curl php-zip unzip",
|
|
6425
|
+
cmd: "(sudo apt-get update || true) && sudo apt-get install -y php-cli php-common php-mbstring php-xml php-curl php-zip unzip",
|
|
6426
6426
|
checkCmd: "dpkg -s php-cli"
|
|
6427
6427
|
},
|
|
6428
6428
|
{
|
|
@@ -6464,7 +6464,7 @@ async function resolveLinux5() {
|
|
|
6464
6464
|
{
|
|
6465
6465
|
id: "install-php-sqlite",
|
|
6466
6466
|
label: "Install PHP SQLite extension",
|
|
6467
|
-
cmd: "sudo apt-get update && sudo apt-get install -y php-sqlite3",
|
|
6467
|
+
cmd: "(sudo apt-get update || true) && sudo apt-get install -y php-sqlite3",
|
|
6468
6468
|
checkCmd: "dpkg -s php-sqlite3"
|
|
6469
6469
|
}
|
|
6470
6470
|
];
|
|
@@ -6569,7 +6569,7 @@ var ollama_default = {
|
|
|
6569
6569
|
{
|
|
6570
6570
|
id: "install-zstd",
|
|
6571
6571
|
label: "Install zstd",
|
|
6572
|
-
cmd: "sudo apt-get update && sudo apt-get install -y zstd",
|
|
6572
|
+
cmd: "(sudo apt-get update || true) && sudo apt-get install -y zstd",
|
|
6573
6573
|
checkCmd: "dpkg -s zstd"
|
|
6574
6574
|
},
|
|
6575
6575
|
{
|
|
@@ -6604,7 +6604,7 @@ var ollama_default = {
|
|
|
6604
6604
|
// package.json
|
|
6605
6605
|
var package_default = {
|
|
6606
6606
|
name: "@_davideast/jules-env",
|
|
6607
|
-
version: "0.2.
|
|
6607
|
+
version: "0.2.2",
|
|
6608
6608
|
description: "Configure ephemeral development environments",
|
|
6609
6609
|
license: "Apache-2.0",
|
|
6610
6610
|
type: "module",
|