Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
====================================
Sign in to like and favorite skills
This repo contains the JavaScript/TypeScript SDK and CLI for Fluxomail. Goals:
src/core/types.ts and src/index.ts.node --test).npm test (builds first).tests/helpers/server.mjs.FLUXOMAIL_OPENAPI is configured as an Actions Variable.scripts/generate-openapi-types.mjs.FLUXOMAIL_OPENAPI is set (file path or URL), types are generated; otherwise a stub is written to src/gen/openapi-types.ts.npm run ci:codegen-check compares the generated file on main.We support three clean paths to publish to npm with provenance:
Auto-publish (default)
package.json.version in the PR you plan to merge.main, .github/workflows/auto-publish-on-merge.yml runs build/tests/pack and publishes the new version with provenance. It also tags vX.Y.Z if missing. If the version already exists on npm the job exits early.Tag-driven (manual)
main.package.json to the release version.vX.Y.Z and push: npm run release:tag && npm run release:tag:push..github/workflows/release.yml runs tests and publishes with NPM_TOKEN (environment: npm-publish).Branch-named release (fast path)
v), e.g. 0.7.0 or v1.0.6.package.json.version matches the branch name (without the v)..github/workflows/release-from-branch.yml will create tag vX.Y.Z for you and push it. The tag triggers the normal publish workflow.Notes:
NPM_TOKEN as an npm “Automation” token on the npm-publish environment.CI / build-and-test (18.x) (pull_request)CI / build-and-test (20.x) (pull_request)Commitlint / commitlint (pull_request)Update Branch Protection (manual) workflow with a GH_ADMIN_TOKEN repository secret (token must have repo:admin:branch permissions). This sets the above checks on the specified branch (default main).Release workflow’s manual dispatch to validate without publishing:
ref (e.g., refs/heads/release/0.4.0), dry_run: true.npm publish.../mintlify-docs.api-reference/sdks.mdx (SDK usage, per‑request overrides, SSE callbacks, templates, webhooks).api-reference/fluxomail/cli.mdx (CLI commands and flags, .fluxomailrc, scaffolds).api-reference/fluxomail/templates.mdx, api-reference/fluxomail/webhook-verification.mdx.docs/sdk-X.Y.Z and push; open a PR in the docs repo.apiKey in the browser; short‑lived tokens only.src/webhooks/.whoami validates auth quickly.init next, init next-app, init worker scaffold examples (creates directories)..fluxomailrc centralizes defaults (apiKey, base, version, tokenCmd).infra/** automatically open a PR to main via .github/workflows/auto-open-pr.yml.Auto‑publish: Merges to main now bump + tag + publish inline to npm. \nMinor note: trigger publish.