piilot-pack-sap-ui
v0.1.1
Published
SAP S/4HANA Cloud OData connector — frontend contributions (SAPConnectorView with 4 tabs: Connection / Status / Browser / Audit) for Piilot core.
Readme
piilot-pack-sap-ui
Frontend contributions for the sap Piilot plugin. Ships alongside
the backend package piilot-pack-sap on PyPI — the two share a
namespace (sap) and a per-company activation flag.
What's in here
src/index.ts— plugin entry point. Exportsregister(core)called by the host at boot.src/SAPConnectorView.tsx— React component rendered when the user opens/modules/:slugmatchingsap.connector.src/locales/{fr,en}.json— translation keys merged under thesapnamespace by the host's i18next.__tests__/— Vitest isolated tests.
Pattern
Source-only package : main/exports point at ./src/index.ts.
The consumer (the Piilot host) transforms and bundles via Vite. No
dist/ to build or ship.
Host import contract
The plugin imports back into the host via the @plugin-host/*
alias — see tsconfig.json paths. Never reach around with
../../../frontend/src/... : the alias is stable across the planned
Module Federation migration; deep paths are not.
Publish
Bump package.json version, commit, tag ui-v<version> in the
plugin repo :
git tag ui-v0.3.0
git push origin ui-v0.3.0The .github/workflows/release-ui.yml workflow publishes to npm.
See the root CLAUDE.md for token setup.
Full contract
For the complete guide (Vite 3-tier resolution, host-side consumption,
module federation roadmap) see :
docs/sdk/PLUGIN_DEVELOPMENT.md
§20 — "Frontend contributions".
