palabra 1.0.1 → 1.0.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/ChangeLog +5 -0
- package/bin/palabra.js +7 -3
- package/letras/fasm.json +4 -4
- package/package.json +1 -1
- /package/lib/{palabras.js → palabra.js} +0 -0
package/ChangeLog
CHANGED
package/bin/palabra.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
import {join} from 'node:path';
|
|
2
3
|
import process from 'node:process';
|
|
3
4
|
import {execa} from 'execa';
|
|
4
5
|
import {tryToCatch} from 'try-to-catch';
|
|
5
|
-
import {create} from '../lib/
|
|
6
|
+
import {create} from '../lib/palabra.js';
|
|
6
7
|
|
|
7
8
|
const [arg] = process.argv.slice(2);
|
|
8
|
-
const name = join(process.cwd(), '.
|
|
9
|
+
const name = join(process.cwd(), '.palabra.json');
|
|
9
10
|
|
|
10
11
|
const {default: palabras} = await import(name, {
|
|
11
12
|
with: {
|
|
@@ -18,7 +19,10 @@ const cmd = await create(palabras);
|
|
|
18
19
|
if (arg !== '-q')
|
|
19
20
|
console.log(`> ${cmd}`);
|
|
20
21
|
|
|
21
|
-
const [error] = await tryToCatch(execa, cmd, {
|
|
22
|
+
const [error] = await tryToCatch(execa, cmd, {
|
|
23
|
+
shell: '/bin/bash',
|
|
24
|
+
stdio: 'inherit',
|
|
25
|
+
});
|
|
22
26
|
|
|
23
27
|
if (error)
|
|
24
28
|
process.exitCode = error.exitCode;
|
package/letras/fasm.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
"name": "fasm",
|
|
3
|
+
"version": "1.73.32",
|
|
4
|
+
"link": "https://flatassembler.net/fasm-{{ version }}.tgz",
|
|
5
|
+
"bin": "./fasm/fasm.x64"
|
|
6
6
|
}
|
package/package.json
CHANGED
|
File without changes
|