Skip to content

Commit

Permalink
fix: 🐛 esm
Browse files Browse the repository at this point in the history
  • Loading branch information
prc5 committed Dec 5, 2023
1 parent fa54387 commit 09e57e3
Show file tree
Hide file tree
Showing 6 changed files with 134 additions and 223 deletions.
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"description": "Docs generator",
"repository": "BetterTyped/docusaurus-docgen",
"type": "commonjs",
"type": "module",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -56,11 +56,6 @@
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.2",
"@docusaurus/types": "2.0.0-beta.20",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^5.0.1",
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-sucrase": "^5.0.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
Expand Down Expand Up @@ -106,10 +101,10 @@
"prettier": "^2.6.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"rollup": "^4.6.1",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-esbuild": "^4.10.1",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"semantic-release": "^19.0.5",
"size-limit": "^7.0.5",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pkg from "./package.json";
import pkg from "./package.json" assert { type: "json" };
import external from "rollup-plugin-peer-deps-external";
import del from "rollup-plugin-delete";
import dts from "rollup-plugin-dts";
Expand Down
2 changes: 1 addition & 1 deletion src/docs/pages/components/returns.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";

import { PagePropsType } from "../../../types/page.types";
import { getTag } from "../handlers/tags";
import { getTag } from "../handlers/tags.utils";
import { getTypePresentation } from "../utils/types.utils";
import { Code } from "./code";
import { getChildren } from "../utils/properties.utils";
Expand Down
2 changes: 1 addition & 1 deletion src/docs/pages/handlers/example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { JSONOutput } from "typedoc";

import { getTag } from "./tags";
import { getTag } from "./tags.utils";
import { getComment } from "./comment";

export const getExamples = (reflection: JSONOutput.SomeReflection) => {
Expand Down
File renamed without changes.
Loading

0 comments on commit 09e57e3

Please sign in to comment.