We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5c0309 commit 1016633Copy full SHA for 1016633
tools/zod2md-jsdocs/src/lib/constants.ts
@@ -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
@@ -1,8 +1,9 @@
import type { CreateNodesV2, NxPlugin, TargetConfiguration } from '@nx/devkit';
import * as path from 'node:path';
3
-
4
-const ZOD2MD_CONFIG_FILE = 'zod2md.config.ts';
5
-const GENERATE_DOCS_TARGET_NAME = 'generate-docs';
+import {
+ GENERATE_DOCS_TARGET_NAME,
+ ZOD2MD_CONFIG_FILE,
6
+} from './lib/constants.js';
7
8
type DocsTargetConfigParams = {
9
config: string;
0 commit comments