Skip to content

Commit 1016633

Browse files
committed
refactor: wip
1 parent f5c0309 commit 1016633

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export const ZOD2MD_CONFIG_FILE = 'zod2md.config.ts';
2+
export const GENERATE_DOCS_TARGET_NAME = 'generate-docs';

tools/zod2md-jsdocs/src/nx-plugin.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import type { CreateNodesV2, NxPlugin, TargetConfiguration } from '@nx/devkit';
22
import * as path from 'node:path';
3-
4-
const ZOD2MD_CONFIG_FILE = 'zod2md.config.ts';
5-
const GENERATE_DOCS_TARGET_NAME = 'generate-docs';
3+
import {
4+
GENERATE_DOCS_TARGET_NAME,
5+
ZOD2MD_CONFIG_FILE,
6+
} from './lib/constants.js';
67

78
type DocsTargetConfigParams = {
89
config: string;

0 commit comments

Comments
 (0)