palabra 1.0.0 → 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 +9 -0
- package/README.md +0 -2
- package/bin/{palabras.js → palabra.js} +7 -3
- package/letras/fasm.json +4 -4
- package/package.json +4 -1
- /package/lib/{palabras.js → palabra.js} +0 -0
package/ChangeLog
ADDED
package/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# 民 Palabra [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]
|
|
2
2
|
|
|
3
|
-

|
|
4
|
-
|
|
5
3
|
[NPMURL]: https://npmjs.org/package/palabra "npm"
|
|
6
4
|
[NPMIMGURL]: https://img.shields.io/npm/v/palabra.svg?style=flat
|
|
7
5
|
[BuildStatusURL]: https://github.com/coderaiser/palabra/actions?query=workflow%3A%22Node+CI%22 "Build Status"
|
|
@@ -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
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "palabra",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "Palabra software installer",
|
|
7
7
|
"homepage": "https://github.com/coderaiser/palabra#readme",
|
|
8
8
|
"main": "",
|
|
9
|
+
"bin": {
|
|
10
|
+
"palabra": "bin/palabra.js"
|
|
11
|
+
},
|
|
9
12
|
"repository": {
|
|
10
13
|
"type": "git",
|
|
11
14
|
"url": "git+https://github.com/coderaiser/palabra.git"
|
|
File without changes
|