
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
@ecopages/mdx
Advanced tools
The @ecopages/mdx package adds standalone MDX support for non-React JSX runtimes such as @kitajs/html. It uses the MDX compiler through Ecopages' integration system and is intended for server-rendered .mdx routes.
bunx jsr add @ecopages/mdx
Integrating MDX into your Ecopages project is made simple. Import and apply the mdxPlugin in your Ecopages configuration as demonstrated below:
import { ConfigBuilder } from '@ecopages/core';
import { mdxPlugin } from '@ecopages/mdx';
const config = await new ConfigBuilder()
.setBaseUrl(import.meta.env.ECOPAGES_BASE_URL)
.setIntegrations([mdxPlugin()])
.build();
export default config;
By default, the standalone plugin uses:
jsxImportSource: '@kitajs/html'jsxRuntime: 'automatic'You can override MDX compiler options, but React runtimes are intentionally not supported here.
If you are using @ecopages/react with a client-side router, enable MDX directly within the React plugin instead of using this standalone plugin. This ensures unified routing, hydration, and HMR for both .tsx and .mdx pages:
import { reactPlugin } from '@ecopages/react';
import { ecoRouter } from '@ecopages/react-router';
reactPlugin({
router: ecoRouter(),
mdx: { enabled: true },
});
See the @ecopages/react documentation for details.
Standalone mdxPlugin() rejects jsxImportSource: 'react' and related React JSX runtimes. For React-backed MDX, use @ecopages/react with mdx.enabled.
FAQs
MDX plugin for Ecopages
We found that @ecopages/mdx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.