# Building Metis - IA Community Platform

This distribution includes the readable source and the tools required to reproduce its browser assets.

Requirements: Node.js 22.12 or later, npm, and GNU gettext (`msgcat`, `msgfmt`) on PATH.

```sh
npm ci
npm run build
npm run audit:i18n
```

The i18n build generates browser catalogs and WordPress PO/MO files from the dictionaries in src/i18n/catalogs. Vite uses classic JSX and maps React imports to the WordPress-provided React/element runtime. Both entry points enqueue wp-element. The asset publishing step copies generated chunks and the two stable stylesheet paths used by PHP into assets/.

To package, include this directory as metis/ in a ZIP, excluding node_modules/, build-assets/, test reports and temporary files. Include src/, scripts/, package.json, package-lock.json and vite.config.js so the distributed build is reproducible. Keep the plugin version, asset paths and readme stable tag aligned.

Run Plugin Check on a disposable WordPress installation before submission. Passing automated checks does not replace the WordPress.org team's review. Test on MySQL/MariaDB: Playground's SQLite adapter does not fully exercise FULLTEXT indexes and schema migrations.
