sincronizado 1.1.2 → 1.1.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/bin/sincronizado +9 -0
- package/package.json +4 -4
- package/dist/sincronizado.js +0 -19
package/bin/sincronizado
ADDED
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sincronizado",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Interactive TUI installer for Sincronizado development environment",
|
|
3
|
+
"version": "1.1.3",
|
|
4
|
+
"description": "Interactive TUI installer for Sincronizado development environment - REQUIRES BUN",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"sincronizado": "./
|
|
7
|
+
"sincronizado": "./bin/sincronizado"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"dev": "bun run src/index.tsx",
|
|
11
11
|
"build": "echo 'No build step required'",
|
|
12
12
|
"typecheck": "tsc --noEmit",
|
|
13
13
|
"format": "prettier --write src/",
|
|
14
|
-
"
|
|
14
|
+
"postinstall": "node -e \"console.error('ERROR: sincronizado requires Bun runtime.')\" && node -e \"console.error('Do not install with npm. Use one of these methods:')\" && node -e \"console.error('')\" && node -e \"console.error('1. One-liner: curl -fsSL https://sincronizado.micr.dev/install.sh | bash')\" && node -e \"console.error('2. With TUI: git clone https://github.com/microck/sincronizado.git && cd sincronizado/installer && bun install && bun run src/index.tsx')\" && node -e \"console.error('')\" && node -e \"console.error('See: https://sincronizado.micr.dev')\" && exit 1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@opentui/core": "0.1.60",
|
package/dist/sincronizado.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
const { execSync } = require('child_process');
|
|
3
|
-
const path = require('path');
|
|
4
|
-
|
|
5
|
-
try {
|
|
6
|
-
execSync('bun --version', { stdio: 'ignore' });
|
|
7
|
-
} catch (e) {
|
|
8
|
-
console.error('Error: sincronizado requires Bun to be installed.');
|
|
9
|
-
console.error('Install Bun: https://bun.sh');
|
|
10
|
-
console.error('Then run: bunx sincronizado');
|
|
11
|
-
process.exit(1);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const srcPath = path.join(__dirname, '..', 'src', 'index.tsx');
|
|
15
|
-
try {
|
|
16
|
-
execSync(`bun run "${srcPath}"`, { stdio: 'inherit' });
|
|
17
|
-
} catch (e) {
|
|
18
|
-
process.exit(e.status || 1);
|
|
19
|
-
}
|