palabra 1.12.5 → 1.12.7

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/ChangeLog CHANGED
@@ -1,3 +1,13 @@
1
+ 2026.04.10, v1.12.7
2
+
3
+ fix:
4
+ - b31355b palabra: letra: nvm: source
5
+
6
+ 2026.04.10, v1.12.6
7
+
8
+ feature:
9
+ - cfe0221 palabra: letra: nvm: url
10
+
1
11
  2026.04.09, v1.12.5
2
12
 
3
13
  feature:
package/bin/palabra.js CHANGED
@@ -46,4 +46,3 @@ const [error] = await tryToCatch(execa, cmd, {
46
46
 
47
47
  if (error)
48
48
  process.exitCode = error.exitCode;
49
-
@@ -1,13 +1,13 @@
1
1
  {
2
- "name": "nvm",
3
- "version": "0.40.4",
4
- "url": "https://raw.githubusercontent.com/nvm-sh/nvm/v{{ version }}/install.sh",
5
- "env": {
6
- "NVM_DIR": "{{ directorio }}"
7
- },
8
- "commands": [
9
- "sed -i.bak 's/nvm_die_on_prefix() {/nvm_die_on_prefix() { return;/' $NVM_DIR/nvm.sh;",
10
- "rm $NVM_DIR/nvm.sh.bak;",
11
- "source . $NVM_DIR/nvm.sh"
12
- ]
13
- }
2
+ "name": "nvm",
3
+ "version": "0.40.4",
4
+ "url": "https://raw.githubusercontent.com/nvm-sh/nvm/v{{ version }}/install.sh",
5
+ "env": {
6
+ "NVM_DIR": "{{ directorio }}"
7
+ },
8
+ "commands": [
9
+ "sed -i.bak 's/nvm_die_on_prefix() {/nvm_die_on_prefix() { return;/' $NVM_DIR/nvm.sh;",
10
+ "rm $NVM_DIR/nvm.sh.bak;",
11
+ "source \"$NVM_DIR/nvm.sh\""
12
+ ]
13
+ }
@@ -1,16 +1,15 @@
1
+ import {rendy} from 'rendy';
1
2
  import {parseEnv} from './parse-env.js';
2
3
 
3
4
  export const execute = (letra) => {
4
5
  const commands = [];
5
- const {
6
- url,
7
- confirmar,
8
- } = letra;
6
+ const {url, confirmar} = letra;
9
7
 
10
8
  const envLine = parseEnv(letra);
9
+ const renderedURL = rendy(url, letra);
11
10
 
12
11
  const arg = confirmar ? '' : ' -- -y';
13
- const curl = `bash -c "$(curl -fsSL ${url})"${arg}`;
12
+ const curl = `bash -c "$(curl -fsSL ${renderedURL})"${arg}`;
14
13
 
15
14
  commands.push(`${envLine}${curl}`);
16
15
 
@@ -86,4 +86,3 @@ function parseBin({name, hogar, bin}) {
86
86
 
87
87
  return result;
88
88
  }
89
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "palabra",
3
- "version": "1.12.5",
3
+ "version": "1.12.7",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Palabra software installer",