Add Activepieces integration for workflow automation
- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
34
activepieces-fork/tools/setup-dev.js
Normal file
34
activepieces-fork/tools/setup-dev.js
Normal file
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const { execSync } = require('child_process');
|
||||
const fs = require('fs');
|
||||
|
||||
// Check Node.js version
|
||||
const nodeVersion = execSync('node --version').toString().trim();
|
||||
const requiredVersions = ['v18','v20'];
|
||||
|
||||
// Check operating system
|
||||
const os = process.platform;
|
||||
console.log(`Running on ${os} operating system.`)
|
||||
|
||||
if (requiredVersions.some(version=>nodeVersion.startsWith(version))) {
|
||||
console.log(`Node.js version is compatible ${nodeVersion}.`);
|
||||
} else {
|
||||
console.log(`Node.js version is not compatible. Required version: ${requiredVersions.toString()}`);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
// Proceed with your commands
|
||||
if (os === 'win32') {
|
||||
if (fs.existsSync('node_modules')) {
|
||||
execSync('rmdir node_modules /s /q');
|
||||
}
|
||||
}
|
||||
else {
|
||||
execSync('rm -rf node_modules');
|
||||
}
|
||||
execSync('bun install', { stdio: 'inherit' });
|
||||
execSync('npx pnpm store add \
|
||||
@tsconfig/node18@1.0.0 \
|
||||
@types/node@18.17.1 \
|
||||
typescript@4.8.4', { stdio: 'inherit' });
|
||||
Reference in New Issue
Block a user