Skip to content

Commit

Permalink
WIP ESM migration
Browse files Browse the repository at this point in the history
TypeDoc cannot yet migrate to ESM due to a lack of support for
transpilers supporting JS decorators, and due to not wanting to deal
with warnings from trying to use ts-node on esm.
  • Loading branch information
Gerrit0 committed Apr 28, 2024
1 parent 2e4eed3 commit 27b03c5
Show file tree
Hide file tree
Showing 208 changed files with 2,064 additions and 1,482 deletions.
1 change: 1 addition & 0 deletions .config/.prettierignore
Expand Up @@ -14,4 +14,5 @@
**/.vs

# Remove once Prettier has support
../src/lib/internationalization/locale-utils.cts
../src/test/converter2/behavior/resolutionMode.ts
6 changes: 3 additions & 3 deletions .config/mocha.fast.json
@@ -1,9 +1,9 @@
{
"$schema": "https://json.schemastore.org/mocharc.json",
"exclude": ["src/test/packages/**", "src/test/slow/**"],
"extension": ["ts", "tsx"],
"require": ["ts-node/register"],
"extension": ["ts", "cts", "mts", "tsx"],
"spec": ["src/test/**/*.test.ts", "src/test/**/*.test.tsx"],
"timeout": 5000,
"watch-files": ["src/**/*.ts", "src/**/*.tsx"]
"watch-files": ["src/**/*.ts", "src/**/*.tsx"],
"node-option": ["import=tsx"]
}
3 changes: 3 additions & 0 deletions bin/package.json
@@ -0,0 +1,3 @@
{
"type": "commonjs"
}
2 changes: 1 addition & 1 deletion bin/typedoc
Expand Up @@ -2,4 +2,4 @@
//@ts-check

/* eslint-disable @typescript-eslint/no-var-requires */
require("../dist/lib/cli");
import("../dist/lib/cli.js");

0 comments on commit 27b03c5

Please sign in to comment.