Skip to content

Commit 8d1496c

Browse files
committed
jsx-ast
1 parent e61b83b commit 8d1496c

File tree

9 files changed

+6
-6
lines changed

9 files changed

+6
-6
lines changed

src/generators/index.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import apiLinks from './api-links/index.mjs';
1111
import oramaDb from './orama-db/index.mjs';
1212
import astJs from './ast-js/index.mjs';
1313
import llmsTxt from './llms-txt/index.mjs';
14-
import jsx from './jsx/index.mjs';
14+
import jsxAst from './jsx-ast/index.mjs';
1515

1616
export const publicGenerators = {
1717
'json-simple': jsonSimple,
@@ -24,7 +24,7 @@ export const publicGenerators = {
2424
'api-links': apiLinks,
2525
'orama-db': oramaDb,
2626
'llms-txt': llmsTxt,
27-
jsx,
27+
'jsx-ast': jsxAst,
2828
};
2929

3030
export const allGenerators = {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import { buildSideBarDocPages } from './utils/buildBarProps.mjs';
1414
* @type {GeneratorMetadata<Input, string>}
1515
*/
1616
export default {
17-
name: 'jsx',
17+
name: 'jsx-ast',
1818
version: '1.0.0',
19-
description: 'Generates JSX from the input AST',
19+
description: 'Generates JSX AST from the input MDAST',
2020
dependsOn: 'ast',
2121

2222
/**
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/utils/remark.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import rehypeStringify from 'rehype-stringify';
1313
import recmaJsx from 'recma-jsx';
1414

1515
import syntaxHighlighter from './highlighter.mjs';
16-
import transformElements from '../generators/jsx/utils/transformer.mjs';
17-
import { AST_NODE_TYPES } from '../generators/jsx/constants.mjs';
16+
import transformElements from '../generators/jsx-ast/utils/transformer.mjs';
17+
import { AST_NODE_TYPES } from '../generators/jsx-ast/constants.mjs';
1818
import rehypeShikiji from '@node-core/rehype-shiki';
1919

2020
/**

0 commit comments

Comments
 (0)