@swmansion/argent 0.28.0 → 0.28.1-next.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.
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -30092,7 +30092,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
30092
30092
  var SESSION_ID2 = randomUUID5();
30093
30093
  function readCliVersion() {
30094
30094
  if (true) {
30095
- return "0.28.0";
30095
+ return "0.28.1-next.1";
30096
30096
  }
30097
30097
  return "0.0.0";
30098
30098
  }
@@ -16736,7 +16736,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
16736
16736
  var SESSION_ID = randomUUID4();
16737
16737
  function readCliVersion() {
16738
16738
  if (true) {
16739
- return "0.28.0";
16739
+ return "0.28.1-next.1";
16740
16740
  }
16741
16741
  return "0.0.0";
16742
16742
  }
@@ -20227,9 +20227,19 @@ function isNewerVersion(candidate, current) {
20227
20227
  function withNpmForce(npxArgs) {
20228
20228
  return ["--force", ...npxArgs];
20229
20229
  }
20230
+ function npxChildEnv(env = process.env) {
20231
+ const childEnv = { ...env };
20232
+ for (const key of Object.keys(childEnv)) {
20233
+ if (key.toLowerCase() === "npm_config_package") {
20234
+ delete childEnv[key];
20235
+ }
20236
+ }
20237
+ return childEnv;
20238
+ }
20230
20239
  function isSkillsCliAvailable() {
20231
20240
  try {
20232
20241
  execSync("npx --force --no-install skills --version", {
20242
+ env: npxChildEnv(),
20233
20243
  stdio: ["ignore", "ignore", "ignore"],
20234
20244
  timeout: PROBE_TIMEOUT_MS
20235
20245
  });
@@ -21967,7 +21977,11 @@ function refreshArgentSkills(projectRoot) {
21967
21977
  if (bundled.size === 0) return [];
21968
21978
  const results = [];
21969
21979
  const primarySource = buildArgentSkillsSource(getInstalledVersion());
21970
- const execOpts = { stdio: ["ignore", "pipe", "pipe"], cwd: projectRoot };
21980
+ const execOpts = {
21981
+ stdio: ["ignore", "pipe", "pipe"],
21982
+ cwd: projectRoot,
21983
+ env: npxChildEnv()
21984
+ };
21971
21985
  for (const spec of getScopeSpecs(projectRoot)) {
21972
21986
  const tracked = listArgentSkillsInLock(spec.lockPath);
21973
21987
  if (tracked.length === 0) continue;
@@ -22809,6 +22823,7 @@ function runNpxSkills(args, interactive, cwd) {
22809
22823
  return new Promise((resolve16, reject) => {
22810
22824
  const npxCmd = process.platform === "win32" ? "npx.cmd" : "npx";
22811
22825
  const child = spawn3(npxCmd, args, {
22826
+ env: npxChildEnv(),
22812
22827
  stdio: interactive ? "inherit" : ["ignore", "pipe", "pipe"],
22813
22828
  shell: process.platform === "win32",
22814
22829
  ...cwd ? { cwd } : {}
@@ -24026,8 +24041,8 @@ function removeBundledSkillInstalls(skillNames, targetDir) {
24026
24041
  for (const skillName of skillNames) {
24027
24042
  const targetPath = path25.join(targetDir, skillName);
24028
24043
  try {
24029
- if (!fs19.existsSync(targetPath)) continue;
24030
- const stats = fs19.lstatSync(targetPath);
24044
+ const stats = fs19.lstatSync(targetPath, { throwIfNoEntry: false });
24045
+ if (!stats) continue;
24031
24046
  if (stats.isDirectory() && !stats.isSymbolicLink()) {
24032
24047
  fs19.rmSync(targetPath, { recursive: true, force: true });
24033
24048
  } else {
@@ -94920,7 +94920,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
94920
94920
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
94921
94921
  function readCliVersion() {
94922
94922
  if (true) {
94923
- return "0.28.0";
94923
+ return "0.28.1-next.1";
94924
94924
  }
94925
94925
  return "0.0.0";
94926
94926
  }
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.28.0",
3
+ "version": "0.28.1-next.1",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator and Android Emulator control",
6
6
  "license": "Apache-2.0",