palabra 2.3.2 → 2.3.4

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.14, v2.3.4
2
+
3
+ fix:
4
+ - c4506d0 palabra: letras: mwget: executable
5
+
6
+ 2026.04.14, v2.3.3
7
+
8
+ fix:
9
+ - f34518e palabra: letras: mwget: executable
10
+
1
11
  2026.04.14, v2.3.2
2
12
 
3
13
  fix:
@@ -20,8 +20,5 @@
20
20
  "ghc --version",
21
21
  "stack --version"
22
22
  ],
23
- "commands": [
24
- "mv ~/.ghcup {{ directorio }}/ghcup",
25
- "ln -fs {{ directorio }}/ghcup/ghc/{{ version }}/lib/ghc-{{ version }}/bin/ghc {{ directorio }}/../bin/ghc"
26
- ]
27
- }
23
+ "commands": ["mv ~/.ghcup {{ directorio }}/ghcup", "ln -fs {{ directorio }}/ghcup/ghc/{{ version }}/lib/ghc-{{ version }}/bin/ghc {{ directorio }}/../bin/ghc"]
24
+ }
@@ -4,5 +4,6 @@
4
4
  "url": "https://github.com/rayylee/mwget/releases/download/v{{ version }}/mwget-linux-x64.tar.gz",
5
5
  "test": "{{ name }} --version",
6
6
  "bin": "{{ name }}",
7
- "rename": "{{ name }}-linux-x64"
7
+ "rename": "{{ name }}-linux-x64",
8
+ "executable": true
8
9
  }
@@ -46,4 +46,3 @@ export const extract = (letra) => {
46
46
 
47
47
  return commands;
48
48
  };
49
-
@@ -29,13 +29,14 @@ export const parse = (letra) => {
29
29
  const commands = [];
30
30
  const {
31
31
  url,
32
+ beforeInstall,
33
+ afterInstall,
34
+ test,
32
35
  name,
33
36
  bin = `/bin/${name}`,
34
37
  hogar = name,
35
38
  directorio,
36
- beforeInstall,
37
- afterInstall,
38
- test,
39
+ executable,
39
40
  } = letra;
40
41
 
41
42
  if (beforeInstall)
@@ -62,6 +63,7 @@ export const parse = (letra) => {
62
63
  hogar,
63
64
  name,
64
65
  bin,
66
+ executable,
65
67
  }));
66
68
 
67
69
  if (letra.rename)
@@ -81,6 +83,9 @@ export const parse = (letra) => {
81
83
  envLine,
82
84
  }));
83
85
 
86
+ if (letra.executable && isString(bin))
87
+ commands.push(`chmod +x ${rendy(join(directorio, name, bin), letra)}`);
88
+
84
89
  if (test)
85
90
  for (const testCommand of maybeArray(test)) {
86
91
  const cmd = rendy(testCommand, letra);
@@ -12,4 +12,3 @@ export const rename = (letra) => {
12
12
 
13
13
  return commands;
14
14
  };
15
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "palabra",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Palabra software installer",