Skip to content

Commit

Permalink
Remove tsx pin
Browse files Browse the repository at this point in the history
tsx released v4.9.2 with a fix
  • Loading branch information
hoodmane committed May 6, 2024
1 parent 09fa502 commit 1c129f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
/build
/dist
/node_modules
/tests/source/docs/_build
/tests/test_build_js/source/_build
/tests/test_build_js/source/docs/_build
/tests/test_build_ts/source/docs/_build
_build
sphinx_js.egg-info/
# Python 3
*/__pycache__/*
Expand Down
4 changes: 1 addition & 3 deletions sphinx_js/typedoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ def typedoc_output(
env = os.environ.copy()
env["TYPEDOC_NODE_MODULES"] = str(Path(typedoc).parents[3].resolve())
command = Command("npx")
# tsx v4.9.1 seems to break us for some reason.
# TODO: figure out why
command.add("tsx@4.9.0")
command.add("tsx")
dir = Path(__file__).parent.resolve() / "js"
command.add("--tsconfig", str(dir / "tsconfig.json"))
command.add("--import", str(dir / "registerImportHook.mjs"))
Expand Down

0 comments on commit 1c129f4

Please sign in to comment.