Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
npm run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v5
with:
path: 'docs-site/build'

Expand Down
2 changes: 1 addition & 1 deletion docs-site/scripts/generate-hero-images-free.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,4 @@ async function main() {
main().catch(error => {
console.error('❌ Fatal error:', error);
process.exit(1);
});
});
2 changes: 1 addition & 1 deletion docs-site/scripts/generate-hero-images.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,4 @@ async function main() {
main().catch(error => {
console.error('❌ Fatal error:', error);
process.exit(1);
});
});
2 changes: 1 addition & 1 deletion docs-site/scripts/generate-trading-only.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ async function generateImage() {
generateImage().catch(error => {
console.error('❌ Fatal error:', error);
process.exit(1);
});
});
4 changes: 3 additions & 1 deletion scripts/build/auto-changelog.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion scripts/build/copy-adapters.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Copies .md, .json, and other non-compiled files that adapters need at runtime
*/

import { createRequire } from 'module';
const require = createRequire(import.meta.url);
import { cpSync, existsSync, readdirSync, statSync, mkdirSync } from 'fs';
import { dirname, join, extname } from 'path';
import { fileURLToPath } from 'url';
Expand Down Expand Up @@ -64,4 +66,4 @@ try {
console.warn(' This is non-fatal - continuing build...');
// Exit with 0 so it doesn't break the build
process.exit(0);
}
};
4 changes: 3 additions & 1 deletion scripts/build/copy-hook-dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// - Marketplace-compatible (no build step required)
// - Simple build process (just copy files)

import { createRequire } from 'module';
const require = createRequire(import.meta.url);
import { existsSync, mkdirSync, readFileSync, writeFileSync, copyFileSync, rmSync, promises as fsPromises } from 'fs';
import path from 'path';
import { fileURLToPath } from 'url';
Expand Down Expand Up @@ -166,4 +168,4 @@ async function main() {
}
}

main();
main();
4 changes: 3 additions & 1 deletion scripts/build/copy-locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Replaces Unix commands (mkdir -p, cp -r) with Node.js fs operations
*/

import { createRequire } from 'module';
const require = createRequire(import.meta.url);
import { mkdirSync, cpSync, existsSync } from 'fs';
import { dirname, join } from 'path';
import { fileURLToPath } from 'url';
Expand All @@ -29,4 +31,4 @@ try {
} catch (error) {
console.error('✗ Failed to copy locales:', error.message);
process.exit(1);
}
};
4 changes: 3 additions & 1 deletion scripts/build/copy-plugin-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* them in-place with minimal type checking.
*/

import { createRequire } from 'module';
const require = createRequire(import.meta.url);
import { execSync } from 'child_process';
import { readFileSync, writeFileSync, existsSync, statSync } from 'fs';
import path from 'path';
Expand Down Expand Up @@ -67,4 +69,4 @@ async function transpilePlugins() {
transpilePlugins().catch(err => {
console.error('❌ Error transpiling plugin files:', err);
process.exit(1);
});
});
Loading
Loading