Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:esbuild-kit/tsx into 221-watch-i…
Browse files Browse the repository at this point in the history
…gnore-fix
  • Loading branch information
privatenumber committed Sep 21, 2023
2 parents f73ca4d + 7c1ace7 commit c43c0b0
Show file tree
Hide file tree
Showing 10 changed files with 323 additions and 300 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
timeout-minutes: 10

steps:
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tsx <a href="https://npm.im/tsx"><img src="https://badgen.net/npm/v/tsx"></a> <a href="https://npm.im/tsx"><img src="https://badgen.net/npm/dm/tsx"></a> <a href="https://packagephobia.now.sh/result?p=tsx"><img src="https://packagephobia.now.sh/badge?p=tsx"></a>

> _TypeScript Execute (`tsx`)_: Node.js enhanced with [esbuild](https://esbuild.github.io/) to run TypeScript & ESM files
> _TypeScript Execute (`tsx`)_: Node.js enhanced to run TypeScript & ESM files
### Features
- Blazing fast on-demand TypeScript & ESM compilation
Expand All @@ -10,7 +10,7 @@
- Hides experimental feature warnings
- TypeScript REPL
- Resolves `tsconfig.json` [`paths`](https://www.typescriptlang.org/tsconfig#paths)
- Tested on Linux & Windows with Node.js v12~18
- Tested on Linux & Windows with Node.js v12~20

> **💡 Protip: Looking to bundle your TypeScript project?**
>
Expand Down Expand Up @@ -41,6 +41,11 @@ npx tsx ./script.ts

How does it compare to [ts-node](https://github.com/TypeStrong/ts-node)? Checkout the [comparison](https://github.com/privatenumber/ts-runtime-comparison).

### Mission
tsx strives to:
1. Enhance Node.js with TypeScript compatibility
2. Improve ESM <-> CJS interoperability
3. Support the latest major version of Node.js v12 and up _(likely to change in the future)_

## Install

Expand Down Expand Up @@ -284,10 +289,6 @@ If the dependencies are out of the specified range, it indicates a potential bre

## Sponsors

[**Holocron**](https://holocron.so#github-privatenumber)

[![Holocron](https://holocron.so/banners/github.png)](https://holocron.so#github-privatenumber)

<p align="center">
<a href="https://privatenumber-sponsors.vercel.app/api/sponsor?tier=silver1">
<picture>
Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,40 +45,40 @@
"*.{js,ts,mjs,mts,cjs,cts,json}": "pnpm lint"
},
"dependencies": {
"@esbuild-kit/cjs-loader": "^2.4.2",
"@esbuild-kit/core-utils": "^3.3.0",
"@esbuild-kit/esm-loader": "^2.6.3",
"@esbuild-kit/cjs-loader": "^2.4.4",
"@esbuild-kit/core-utils": "^3.3.2",
"@esbuild-kit/esm-loader": "^2.6.5",
"micromatch": "^4.0.5"
},
"optionalDependencies": {
"fsevents": "~2.3.2"
"fsevents": "~2.3.3"
},
"devDependencies": {
"@pvtnbr/eslint-config": "^0.36.0",
"@types/cross-spawn": "^6.0.2",
"@pvtnbr/eslint-config": "^0.37.0",
"@types/cross-spawn": "^6.0.3",
"@types/micromatch": "^4.0.2",
"@types/node": "^18.11.18",
"@types/react": "^18.0.26",
"@types/semver": "^7.3.13",
"@types/node": "^20.6.0",
"@types/react": "^18.2.21",
"@types/semver": "^7.5.1",
"chokidar": "^3.5.3",
"clean-pkg-json": "^1.2.0",
"cleye": "^1.3.1",
"cleye": "^1.3.2",
"cross-spawn": "^7.0.3",
"eslint": "^8.48.0",
"execa": "^6.1.0",
"eslint": "^8.49.0",
"execa": "^8.0.1",
"fs-fixture": "^1.2.0",
"get-node": "^13.5.0",
"kolorist": "^1.6.0",
"lint-staged": "^13.1.0",
"get-node": "^14.2.1",
"kolorist": "^1.8.0",
"lint-staged": "^14.0.1",
"manten": "^1.1.0",
"node-pty": "^1.0.0",
"outdent": "^0.8.0",
"pkgroll": "^1.8.0",
"semver": "^7.3.8",
"simple-git-hooks": "^2.8.1",
"strip-ansi": "^7.0.1",
"pkgroll": "^1.11.0",
"semver": "^7.5.4",
"simple-git-hooks": "^2.9.0",
"strip-ansi": "^7.1.0",
"type-flag": "^3.0.0",
"typescript": "^4.9.4"
"typescript": "^5.2.2"
},
"eslintConfig": {
"extends": "@pvtnbr",
Expand Down
Loading

0 comments on commit c43c0b0

Please sign in to comment.