Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
c1cdff8
feat: fabman actions
Md-Abed-Hossen Sep 7, 2025
323205f
chore: update logo and update functionality
Md-Abed-Hossen Sep 8, 2025
cddd55f
Merge branch 'main' into feat/fabman-action
Md-Abed-Hossen Sep 8, 2025
8cbe987
chore: update logics
Md-Abed-Hossen Sep 8, 2025
4761d43
chore: integration name set
Md-Abed-Hossen Sep 8, 2025
0d56df3
chore: update functionality
Md-Abed-Hossen Sep 8, 2025
270b5fd
Merge branch 'main' into feat/fabman-action
Md-Abed-Hossen Sep 17, 2025
9d309a1
Merge branch 'main' into feat/fabman-action
Md-Abed-Hossen Sep 21, 2025
a71c57e
chore: update member function
Md-Abed-Hossen Sep 21, 2025
e4b0bfc
chore: update member button fix
Md-Abed-Hossen Sep 21, 2025
8d68b43
Revert "chore: update member button fix"
Md-Abed-Hossen Sep 21, 2025
760a9f5
chore: update
Md-Abed-Hossen Sep 21, 2025
cbec046
chore: udpate respone
Md-Abed-Hossen Sep 22, 2025
45a9750
chore: update
Md-Abed-Hossen Sep 22, 2025
9f3728b
chore: update
Md-Abed-Hossen Sep 24, 2025
0dbf4e5
chore: formatting
Md-Abed-Hossen Sep 25, 2025
2631a51
Merge branch 'main' into feat/fabman-action
Md-Abed-Hossen Sep 25, 2025
3ee772c
feat: mailerpress doc links added
RishadAlam Dec 3, 2025
b6b4c23
chore: bit social listed in featured products
RishadAlam Dec 8, 2025
ba8f3e5
refactor: sorted trigger list
RishadAlam Dec 8, 2025
18d0c45
fix: woocommerce create customer issue fixed
RishadAlam Dec 8, 2025
898cc9b
refactor: format triggers data helpers
RishadAlam Dec 9, 2025
a41b5da
Merge branch 'main' into rishad-dev-tmp
RishadAlam Dec 13, 2025
df1c756
feat: poptics logo added
RishadAlam Dec 13, 2025
0f84fa5
refactor: webhook action config
RishadAlam Dec 13, 2025
c8f1b98
refactor: unused exports removed from functions
RishadAlam Dec 14, 2025
8c236cb
refactor: unused component removed
RishadAlam Dec 14, 2025
9305f9a
refactor: unused icons removed
RishadAlam Dec 15, 2025
da81dd5
chore: pnpm updated
RishadAlam Dec 15, 2025
70bf1df
Merge branch 'main' into rishad-dev-tmp
RishadAlam Dec 17, 2025
d3829dd
chore: pnpm updated
RishadAlam Dec 17, 2025
284d776
feat: essential addons trigger added
RishadAlam Dec 17, 2025
944f805
chore: create shell script for production zip
RishadAlam Dec 18, 2025
312f045
chore: fix changes
Md-Abed-Hossen Dec 18, 2025
41c3b58
Merge branch 'main' into feat/fabman-action
Md-Abed-Hossen Dec 18, 2025
625f0c1
feat: forminator poll and quiz triggers added
RishadAlam Dec 20, 2025
01f96e8
chore: php cs fixed executable path issue fixed
RishadAlam Dec 20, 2025
bddb958
feat: fluentCart actions initiated
RishadAlam Dec 20, 2025
faec174
refactor: fluentCart static data updated
RishadAlam Dec 20, 2025
54a536a
refactor: fluent cart actions
RishadAlam Dec 21, 2025
0a40fc5
refactor: sanitize fluent cart and mailerpress codes
RishadAlam Dec 21, 2025
07abcb5
fix: voxel multiselect field value issue
RishadAlam Dec 23, 2025
17e8fc7
feat: team for wc membership actions added
RishadAlam Dec 24, 2025
8fdbac0
refactor: team for wc membership unnecessary code removed
RishadAlam Dec 24, 2025
4ca133a
refactor: ghl v2 authorization added
RishadAlam Dec 27, 2025
59bf9f8
refactor: ghl v2 custom fields fetched
RishadAlam Dec 27, 2025
47028d9
refactor: high level action dependencies v2 api fetched
RishadAlam Dec 27, 2025
4acb936
refactor: go high level actions dependencies
RishadAlam Dec 27, 2025
6d41ebc
feat: gohighlevel v2 contact create action added
RishadAlam Dec 28, 2025
f3dc3ab
refactor: go high level version 2 actions added
RishadAlam Dec 28, 2025
9966547
refactor: goHighLevel version 2 api validation added
RishadAlam Dec 28, 2025
bba3523
feat: wpform repeater fields added
RishadAlam Dec 29, 2025
9b996bb
fix: fluentcart create order action blank page issue
RishadAlam Dec 29, 2025
44ad65a
feat: wpCafe integration added
RishadAlam Jan 7, 2026
8ba68ec
refactor: sanitize wpCafe integration code
RishadAlam Jan 7, 2026
148cbd4
fix: select action label grammer
RishadAlam Jan 7, 2026
cb59df1
feat: WPCafe added to pro trigger lists
RishadAlam Jan 7, 2026
1691264
fix: google drive action file delete utility issue fixed
RishadAlam Jan 7, 2026
05014cb
feat: wpCafe doc link added
RishadAlam Jan 7, 2026
001225d
refactor: fluentCart action note added
RishadAlam Jan 7, 2026
5e543a4
chore: bit integrations failed admin alert mail feature added
RishadAlam Jan 7, 2026
8b55360
chore: next button fix
Md-Abed-Hossen Jan 8, 2026
def8d00
Merge branch 'rishad-dev-tmp' into feat/fabman-action
Md-Abed-Hossen Jan 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .github/build
100644 → 100755
Empty file.
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"php-cs-fixer.onsave": true,
"php-cs-fixer.executablePath": "${workspaceFolder}/vendor/bin/php-cs-fixer",
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar",
"php-cs-fixer.documentFormattingProvider": true,
"php-cs-fixer.executablePathWindows": "${workspaceFolder}\\vendor\\bin\\php-cs-fixer.bat",
"php-cs-fixer.config": ".php-cs-fixer.php",
"search.useGlobalIgnoreFiles": false,
"search.useParentIgnoreFiles": false,
Expand Down
123 changes: 123 additions & 0 deletions frontend-dev/bin/prod-zip.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
#!/usr/bin/env node

/**
* Production ZIP builder for Bit Integrations
* Builds both bit-integrations (free) and bit-integrations-pro plugins
* Uses the existing .github/build scripts and creates ZIP archives
*/

const fs = require('fs')
const path = require('path')
const { execSync } = require('child_process')

// Configuration
const PLUGIN_DIR = path.resolve(__dirname, '../..')
const PLUGINS_DIR = path.join(PLUGIN_DIR, '..')
const BUILD_DIR_SLUG = 'bit-integrations'

const PLUGINS = [
{
name: 'bit-integrations',
slug: 'bit-integrations',
dir: PLUGIN_DIR
},
{
name: 'bit-integrations-pro',
slug: 'bit-integrations-pro',
dir: path.join(PLUGINS_DIR, 'bit-integrations-pro')
}
]

console.log('🚀 Starting production ZIP build for both plugins...\n')

// Build each plugin
PLUGINS.forEach((plugin, index) => {
console.log(`\n${'='.repeat(60)}`)
console.log(`📦 Building ${plugin.name} (${index + 1}/${PLUGINS.length})`)
console.log('='.repeat(60))

const buildScript = path.join(plugin.dir, '.github', 'build')
const pluginBuildDir = path.join(plugin.dir, 'build')
const buildPluginDir = path.join(pluginBuildDir, plugin.slug)
const centralBuildDir = path.join(PLUGIN_DIR, 'build')

// Step 1: Check if plugin directory exists
if (!fs.existsSync(plugin.dir)) {
console.warn(`⚠️ Plugin directory not found: ${plugin.dir}`)
console.warn(` Skipping ${plugin.name}...\n`)
return
}

// Step 2: Check if build script exists
if (!fs.existsSync(buildScript)) {
console.warn(`⚠️ Build script not found at: ${buildScript}`)
console.warn(` Skipping ${plugin.name}...\n`)
return
}

// Step 3: Make build script executable
console.log('🔧 Preparing build script...')
try {
execSync(`chmod +x "${buildScript}"`, { stdio: 'inherit' })
} catch (error) {
console.warn('⚠️ Could not make build script executable')
}

// Step 4: Run the existing build script
console.log('🔨 Running build script...')
try {
execSync(`bash "${buildScript}"`, {
cwd: plugin.dir,
stdio: 'inherit',
shell: '/bin/bash'
})
} catch (error) {
console.error(`❌ Build script failed for ${plugin.name}`)
process.exit(1)
}

// Step 5: Verify build directory exists
if (!fs.existsSync(buildPluginDir)) {
console.error(`❌ Build directory not found at: ${buildPluginDir}`)
process.exit(1)
}

// Step 6: Create central build directory if it doesn't exist
if (!fs.existsSync(centralBuildDir)) {
fs.mkdirSync(centralBuildDir, { recursive: true })
}

// Step 7: Create ZIP file
console.log('🗜️ Creating ZIP archive...')
const zipFileName = `${plugin.slug}.zip`
const zipFilePath = path.join(centralBuildDir, zipFileName)

// Remove old ZIP if exists
if (fs.existsSync(zipFilePath)) {
fs.unlinkSync(zipFilePath)
}

try {
execSync(`cd "${pluginBuildDir}" && zip -r "${zipFilePath}" "${plugin.slug}" -q`, {
stdio: 'pipe',
shell: '/bin/bash'
})
} catch (error) {
console.error(`❌ ZIP creation failed for ${plugin.name}`)
process.exit(1)
}

// Step 8: Success message for this plugin
console.log(`\n✅ ${plugin.name} ZIP created successfully!`)
console.log(`📦 Location: ${zipFilePath}`)

// Get file size
const stats = fs.statSync(zipFilePath)
const fileSizeInMB = (stats.size / (1024 * 1024)).toFixed(2)
console.log(`📊 Size: ${fileSizeInMB} MB`)
})

// Final summary
console.log('\n' + '='.repeat(60))
console.log('✅ All production ZIPs created successfully!')
console.log('='.repeat(60) + '\n')
94 changes: 26 additions & 68 deletions frontend-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,29 @@
"private": true,
"version": "1.0.0",
"dependencies": {
"@babel/traverse": "^7.27.0",
"@babel/traverse": "^7.28.5",
"@bumaga/tabs": "^0.2.0",
"@microlink/react-json-view": "^1.26.1",
"@microlink/react-json-view": "^1.27.0",
"@monaco-editor/react": "^4.7.0",
"@tinymce/tinymce-react": "^3.14.0",
"@tippyjs/react": "^4.2.6",
"@yaireo/tagify": "^4.34.0",
"ansi-html": "^0.0.9",
"braces": "^3.0.3",
"browserslist": "^4.24.4",
"@yaireo/tagify": "^4.35.6",
"classnames": "^2.5.1",
"ejs": "^3.1.10",
"immer": "^10.1.1",
"ip": "^2.0.1",
"json5": "^2.2.3",
"loader-utils": "^3.3.1",
"create-file-list": "^1.1.0",
"lodash": "^4.17.21",
"lodash.template": "^4.5.0",
"micromatch": "^4.0.8",
"minimatch": "^10.0.1",
"mutative": "^0.5.0",
"node-forge": "^1.3.1",
"node-sass": "^9.0.0",
"nth-check": "^2.1.1",
"postcss": "^8.5.3",
"prettier": "^3.5.3",
"po2json": "^0.4.5",
"prettier": "^3.7.4",
"react": "^18.3.1",
"react-accessible-treeview": "^2.11.1",
"react-accessible-treeview": "^2.11.2",
"react-content-loader": "^6.2.1",
"react-custom-scrollbars": "^4.2.1",
"react-dom": "^18.3.1",
"react-hot-toast": "^2.5.2",
"react-gettext-parser": "^1.16.0",
"react-hot-toast": "^2.6.0",
"react-icons": "^4.12.0",
"react-multiple-select-dropdown-lite": "2.0.3",
"react-router": "^6.30.0",
"react-router-dom": "^6.30.0",
"react-router": "^6.30.2",
"react-router-dom": "^6.30.2",
"react-sortablejs": "^6.1.4",
"react-table": "^7.8.0",
"react-table-sticky": "^1.1.3",
Expand All @@ -48,14 +35,10 @@
"recoil": "^0.5.2",
"recoil-nexus": "^0.5.1",
"regenerator-runtime": "^0.13.11",
"semver": "^7.7.1",
"shell-quote": "^1.8.2",
"sortablejs": "^1.15.6",
"swr": "^1.3.0",
"tinymce": "^7.8.0",
"tippy.js": "^6.3.7",
"webpack-dev-middleware": "^7.4.2",
"ws": "^8.18.1"
"wp": "^0.0.3"
},
"scripts": {
"build": "vite build",
Expand All @@ -69,18 +52,14 @@
"i18n:php": "node ./pot-to-php.js locale.pot ../languages/generatedString.php bit-integrations",
"i18n:pot": "wp i18n make-pot ../ --include=*.php --skip-js --slug=bit-integrations --headers='{\"Last-Translator\":\"developer@bitcode.pro\",\"Language-Team\":\"support@bitcode.pro\",\"PO-Revision-Date\":\"\"}'",
"clean": "rimraf node_modules yarn.lock package-lock.json pnpm-lock.yaml",
"clean-install-run": "pnpm clean && pnpm i && pnpm hot"
"clean-install-run": "pnpm clean && pnpm i && pnpm hot",
"prod-zip": "node ./bin/prod-zip.js"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"lint-staged": {
"**/*.js?(x)": [
"eslint --fix"
]
},
"browserslist": {
"browserslist": [
"last 2 Chrome versions"
Expand All @@ -103,60 +82,39 @@
]
},
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/eslint-parser": "^7.27.0",
"@babel/core": "^7.28.5",
"@babel/eslint-parser": "^7.28.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-transform-react-jsx": "^7.25.9",
"@babel/plugin-transform-regenerator": "^7.27.0",
"@babel/plugin-transform-runtime": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@babel/preset-react": "^7.26.3",
"@babel/runtime": "^7.27.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.16",
"@babel/plugin-transform-react-jsx": "^7.27.1",
"@babel/plugin-transform-regenerator": "^7.28.4",
"@babel/plugin-transform-runtime": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/preset-react": "^7.28.5",
"@babel/runtime": "^7.28.4",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^13.5.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitejs/plugin-react": "^4.7.0",
"@wordpress/babel-plugin-makepot": "^4.4.0",
"@wordpress/i18n": "^3.20.0",
"autoprefixer": "^9.8.8",
"babel-loader": "^8.4.1",
"clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "^7.1.2",
"copy-webpack-plugin": "^8.1.1",
"css-loader": "^5.2.7",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-standard": "^5.0.0",
"extract-loader": "^5.1.0",
"file-loader": "^6.2.0",
"gettext-parser": "^6.0.0",
"html-webpack-plugin": "^5.6.3",
"husky": "^6.0.0",
"lint-staged": "^11.2.6",
"mini-css-extract-plugin": "^1.6.2",
"mini-svg-data-uri": "^1.4.4",
"module-to-cdn": "^3.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.8",
"postcss-loader": "^5.3.0",
"postcss-safe-parser": "^5.0.2",
"react-refresh": "^0.14.2",
"react-scripts": "^4.0.3",
"rimraf": "^3.0.2",
"sass": "^1.86.3",
"sass-loader": "^11.1.1",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.3.14",
"url-loader": "^4.1.1",
"vite": "^4.5.13"
"sass": "^1.96.0",
"vite": "^4.5.14"
},
"main": ".eslintrc.js",
"keywords": [],
Expand Down
Loading