Skip to content

Commit c0385c4

Browse files
author
Michael Hladky
committed
refactor: wip
1 parent 9068301 commit c0385c4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

nx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
"releaseTagPattern": "v{version}"
338338
},
339339
"plugins": [
340-
"./tools/zod2md-jsdocs/src/nx-plugin.js",
340+
"./tools/zod2md-jsdocs/src/nx-plugin.cjs",
341341
{
342342
"plugin": "@push-based/nx-verdaccio",
343343
"options": {
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import path from 'node:path';
1+
const path = require('node:path');
22

3-
export const createNodesV2 = [
3+
const createNodesV2 = [
44
`**/zod2md.config.ts`,
55
async (zod2MdConfigurationFiles, createNodesOptions) => {
66
const options = createNodesOptions ?? {};
@@ -50,4 +50,5 @@ const nxPlugin = {
5050
createNodesV2,
5151
};
5252

53-
export default nxPlugin;
53+
module.exports = nxPlugin;
54+
module.exports.createNodesV2 = createNodesV2;

0 commit comments

Comments
 (0)