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.

Potentially problematic release.


This version of sincronizado might be problematic. Click here for more details.

@@ -0,0 +1,9 @@
1
+ #!/bin/sh
2
+ if ! command -v bun >/dev/null 2>&1; then
3
+ echo "Error: sincronizado requires Bun to be installed."
4
+ echo "Install Bun: https://bun.sh"
5
+ exit 1
6
+ fi
7
+
8
+ SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
9
+ bun run "$SCRIPT_DIR/../src/index.tsx"
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "sincronizado",
3
- "version": "1.1.2",
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": "./dist/sincronizado.js"
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
- "prepublishOnly": "echo 'Ready to publish'"
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",
@@ -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
- }