This repository has been archived on 2026-05-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
self 664ed5222f
CI / Test (push) Failing after 1m10s
feat: harden plugin template scaffolding
Add AGENTS.md with usage_rules-generated guidance, host-aware smoke checks, TypeScript asset defaults, and plugin contract docs.

Split Tribes path dependencies for dev/test so templates compile entry-module beams for host loading while preserving runtime-backed tests, and update rename.sh for bridge modules and TS assets.
2026-05-01 23:40:06 +02:00

18 lines
423 B
TypeScript

// Plugin TypeScript entry point.
//
// This file is compiled to /priv/static/my_plugin.js, served by the host at
// /plugins-assets/my_plugin/my_plugin.js, and included when declared in
// manifest.json assets.global_js.
declare global {
interface Window {
TribesPluginHooks?: Record<string, unknown>;
}
}
window.TribesPluginHooks = window.TribesPluginHooks ?? {};
console.info("my_plugin loaded");
export {};