palabra 2.3.2 → 2.3.3

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,8 @@
1
+ 2026.04.14, v2.3.3
2
+
3
+ fix:
4
+ - f34518e palabra: letras: mwget: executable
5
+
1
6
  2026.04.14, v2.3.2
2
7
 
3
8
  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)
@@ -118,6 +120,9 @@ function createSymlinks(letra) {
118
120
  const binFrom = rendy(join(directorio, from), letra);
119
121
  const binTo = join(binDir, name);
120
122
 
123
+ if (letra.executable)
124
+ commands.push(`chmod +x ${binFrom}`);
125
+
121
126
  commands.push(`ln -fs ${binFrom} ${binTo}`);
122
127
  }
123
128
 
@@ -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.3",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Palabra software installer",