fix, feat, doc: massive build system refactorion, bug fixes and apex documentation (#19)

This commit is contained in:
deytenit authored and GitHub committed 2026-07-12 01:57:40 +03:00
1 parent e8b42c60c2
commit 91f5245823
165 files changed
+8598 -1205

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { defineCli, env, s3SyncCommand } from '@ermnvldmr/cli';
export default defineCli({
commands: [
s3SyncCommand({
name: 'sync:static',
description: 'Sync static assets to S3',
targetPrefix: 'www',
bucket: env('COM_ERMNVLDMR_STATIC_S3_BUCKET'),
region: env('COM_ERMNVLDMR_STATIC_S3_REGION'),
endpoint: env('COM_ERMNVLDMR_STATIC_S3_ENDPOINT_URL'),
accessKeyId: env('COM_ERMNVLDMR_STATIC_AWS_ACCESS_KEY_ID'),
secretAccessKey: env('COM_ERMNVLDMR_STATIC_AWS_SECRET_ACCESS_KEY'),
hooks: {
beforeSync: 'bash ../../ci/scripts/optimize-images.sh',
},
}),
],
});