crewx 0.2.4-dev.0 → 0.2.4-dev.1

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.
Files changed (1) hide show
  1. package/package.json +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crewx",
3
- "version": "0.2.4-dev.0",
3
+ "version": "0.2.4-dev.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Bring Your Own AI(BYOA) team in Slack/IDE(MCP) with your existing subscriptions",
6
6
  "main": "dist/main.js",
@@ -36,6 +36,7 @@
36
36
  "scripts": {
37
37
  "build": "nest build",
38
38
  "postbuild": "node -e \"const fs = require('fs'); let content = fs.readFileSync('dist/main.js', 'utf8'); const lines = content.split('\\n'); if (lines[0] === '#!/usr/bin/env node' && lines[1] === '#!/usr/bin/env node') { lines.shift(); content = lines.join('\\n'); fs.writeFileSync('dist/main.js', content); console.log('✅ Removed duplicate shebang'); } else if (!content.startsWith('#!/usr/bin/env node')) { fs.writeFileSync('dist/main.js', '#!/usr/bin/env node\\n' + content); console.log('✅ Added shebang to dist/main.js'); } else { console.log('✅ Shebang already present'); }\"",
39
+ "postinstall": "node -e \"const fs = require('fs'); const path = require('path'); const binPath = path.join(__dirname, 'dist', 'main.js'); try { if (fs.existsSync(binPath)) { fs.chmodSync(binPath, 0o755); console.log('✅ Execute permission set for crewx binary'); } } catch (err) { /* Silently ignore permission errors */ }\"",
39
40
  "build:install": "npm run build && npm install -g .",
40
41
  "start": "node dist/main.js",
41
42
  "start:mcp": "node dist/main.js mcp",