@vxrn/mdx 2.17.3 → 2.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vxrn/mdx",
3
- "version": "2.17.3",
3
+ "version": "2.18.1",
4
4
  "type": "commonjs",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
@@ -59,13 +59,13 @@
59
59
  "unist-util-visit": "^2.0.3"
60
60
  },
61
61
  "devDependencies": {
62
- "@tamagui/build": "3.3.2",
62
+ "@tamagui/build": "3.3.3",
63
63
  "vitest": "^4.1.0"
64
64
  },
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "releaseSourceCommit": "343c80556d459192c3b4e09d89d534061820b9f5",
68
+ "releaseSourceCommit": "e396bf155a7146feef14b61804cdf181c5786dd7",
69
69
  "repository": {
70
70
  "type": "git",
71
71
  "url": "git+https://github.com/onejs/one.git",
@@ -1,3 +1,3 @@
1
- import type { Frontmatter } from './types';
1
+ import type { Frontmatter } from './types.js';
2
2
  export declare const getAllFrontmatter: (fromPath: string) => Frontmatter[];
3
3
  //# sourceMappingURL=getAllFrontmatter.d.ts.map
package/types/getMDX.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Frontmatter, UnifiedPlugin } from './types';
1
+ import type { Frontmatter, UnifiedPlugin } from './types.js';
2
2
  export type GetMDXOptions = {
3
3
  extraPlugins?: UnifiedPlugin;
4
4
  /** Public directory for resolving image paths starting with / (default: ./public) */
@@ -1,4 +1,4 @@
1
- import type { Frontmatter, UnifiedPlugin } from './types';
1
+ import type { Frontmatter, UnifiedPlugin } from './types.js';
2
2
  export declare const getMDXBySlug: (basePath: string, slug: string, extraPlugins?: UnifiedPlugin) => Promise<{
3
3
  frontmatter: Frontmatter;
4
4
  code: string;
package/types/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export { getAllFrontmatter } from './getAllFrontmatter';
2
- export { getMDX, type GetMDXOptions } from './getMDX';
3
- export { getAllVersionsFromPath, getMDXBySlug } from './getMDXBySlug';
4
- export { createCodeHighlighter } from './highlightCode';
5
- export { rehypeHeroTemplate } from './rehypeHeroTemplate';
6
- export { remarkSmartypantsFixed } from './remarkSmartypantsFixed';
7
- export { notifyFileRead } from './watchFile';
8
- export type { Frontmatter, ImageMeta, UnifiedPlugin } from './types';
9
- export type { RehypeHeroTemplateOptions } from './rehypeHeroTemplate';
1
+ export { getAllFrontmatter } from './getAllFrontmatter.js';
2
+ export { getMDX, type GetMDXOptions } from './getMDX.js';
3
+ export { getAllVersionsFromPath, getMDXBySlug } from './getMDXBySlug.js';
4
+ export { createCodeHighlighter } from './highlightCode.js';
5
+ export { rehypeHeroTemplate } from './rehypeHeroTemplate.js';
6
+ export { remarkSmartypantsFixed } from './remarkSmartypantsFixed.js';
7
+ export { notifyFileRead } from './watchFile.js';
8
+ export type { Frontmatter, ImageMeta, UnifiedPlugin } from './types.js';
9
+ export type { RehypeHeroTemplateOptions } from './rehypeHeroTemplate.js';
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ImageMeta } from './types';
1
+ import type { ImageMeta } from './types.js';
2
2
  /**
3
3
  * Process an image file and return its metadata.
4
4
  * Returns null if sharp is not installed or processing fails.