Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: privatenumber/tsx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.12.7
Choose a base ref
...
head repository: privatenumber/tsx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.12.8
Choose a head ref

Commits on May 26, 2023

  1. Copy the full SHA
    2a83619 View commit details

Commits on Jul 15, 2023

  1. docs: add sponsors

    privatenumber authored Jul 15, 2023
    Copy the full SHA
    cc74af1 View commit details

Commits on Jul 23, 2023

  1. docs: promote pkgroll

    privatenumber authored Jul 23, 2023
    Copy the full SHA
    9acf1c0 View commit details

Commits on Jul 29, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c40637c View commit details
  2. Copy the full SHA
    27e8f51 View commit details
  3. docs: tsx sponsorship

    privatenumber authored Jul 29, 2023
    Copy the full SHA
    7aae6d1 View commit details

Commits on Jul 30, 2023

  1. Copy the full SHA
    b1a4104 View commit details

Commits on Aug 4, 2023

  1. Copy the full SHA
    25f917b View commit details

Commits on Aug 8, 2023

  1. Copy the full SHA
    4a88962 View commit details
  2. Copy the full SHA
    92d825f View commit details

Commits on Aug 10, 2023

  1. ci: pnpm v8 (#284)

    privatenumber authored Aug 10, 2023
    Copy the full SHA
    ae65033 View commit details

Commits on Aug 11, 2023

  1. Copy the full SHA
    266d761 View commit details
  2. Copy the full SHA
    6b70199 View commit details

Commits on Aug 12, 2023

  1. Copy the full SHA
    7ee14ab View commit details
  2. Copy the full SHA
    ac8b170 View commit details
  3. Copy the full SHA
    d05199c View commit details
  4. Copy the full SHA
    bda8e59 View commit details
  5. Copy the full SHA
    a0aeac9 View commit details

Commits on Aug 31, 2023

  1. Copy the full SHA
    a4bd761 View commit details

Commits on Sep 1, 2023

  1. Copy the full SHA
    247bbc0 View commit details
  2. Copy the full SHA
    a4cb800 View commit details
  3. Copy the full SHA
    e9116f9 View commit details
32 changes: 32 additions & 0 deletions .github/DISCUSSION_TEMPLATE/q-a.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
body:
- type: markdown
attributes:
value: |
## 💬 What's your question?
<details>
<summary><em>Need some pointers on crafting your question?</em></summary>
<br>
1. **Start succinctly:** Jump to the point with a concise question.
2. **Conciseness matters:** Keep it brief yet specific; avoid lengthy explanations.
3. **Include code:** Attach relevant code snippets, configurations, and errors.
4. **Add screenshots:** If applicable, provide screenshots.
</details>
- type: textarea
id: improvements
attributes:
label: Question
validations:
required: true

- type: markdown
attributes:
value: |
<br>
> **🚀 Try _Priority Support_!**
>
> If you're in a pinch, don't hesitate to take advantage of my [_Priority Support_ service](https://github.com/sponsors/privatenumber) where you can ask me questions in an exclusive forum. I'm well equppied to assist you with this project and would be happy to help you out! 🙂
173 changes: 124 additions & 49 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
@@ -1,71 +1,146 @@
name: Bug report
description: File a bug report
name: 🐛 Bug report
description: Run into a bug? File a report and get the help you need!
labels: [bug, pending triage]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to file this bug report.
> 💁‍♂️ Keep in mind this is a collaborative effort. Please do your best to debug, communicate, and demonstrate the problem.
## 👀 Tell us about the bug
A _clear and concise_ description of what the bug is.
- type: textarea
attributes:
label: Problem
description: Please refrain from describing anything other than the problem.
placeholder: |
What's the problem?
Do you have an error stack trace?
Do you have screenshots?
validations:
required: true

- type: textarea
attributes:
label: Bug description
description: A clear and concise description of the bug.
label: Expected behavior
placeholder: |
What did you expect to happen?
validations:
required: true

- type: markdown
attributes:
value: |
<!--
What did you do? (Provide reproduction code in next section)
## 📋 Minimal reproduction
> ⚠️ If a **minimal** reproduction is not provided, **the issue will be closed.**
The minimal reproduction proves a bug exists in this project, allows others to debug it for you, and streamlines resolution.
What did you expect to happen?
<details>
<summary><strong>How do I create a minimal reproduction?</strong></summary>
What happened instead?
1. Delete all unnecessary files and data. Keep it under 10 files.
Do you have an error stack-trace or screenshots?
-->
Delete irrelevant files (e.g. `LICENSE`, `.npmrc`, `.github`).
Do you have unnecessary dependencies, scripts, properties in `package.json`?
2. Delete all unnecessary code. Reduce the scope.
Try to narrow the scope of the reproduction as much as possible.
Is it a frontend or backend problem? Delete the other.
Is it a TypeScript problem? Try converting to JavaScript to see if it still exists.
Ideally, the code is reduced to a few lines of code in a single file.
3. Set the `start` script in `package.json` to the command that demonstrates the bug.
4. Verify the reproduction.
Try running it yourself, and check:
- Is the problem immediately reproducible?
- Are dependencies properly declared?
- Could I find more files or code that isn't necessary?
5. Upload the reproduction to [StackBlitz](https://stackblitz.com), or a new GitHub repository, so it can be opened in the browser.
</details>
Starter template: [fork this template on StackBlitz](https://stackblitz.com/edit/node-huzszn?file=index.ts)
The _smaller_ the reproduction, the _faster_ others can help you.
- type: input
attributes:
label: Minimal reproduction URL
placeholder: https://stackblitz.com/edit/...
validations:
required: true
- type: textarea

- type: markdown
attributes:
label: Reproduction
description: |
Provide a minimal reproduction in one of the following forms:
1. Small code-snippet (no more than one) we can copy-paste. **No dependencies allowed.**
2. Link to a repository containing minimal reproduction. **Dependencies allowed.**
- No more than 5 files. Delete irrelevant files (e.g. `LICENSE`, `.npmrc`, `.github`).
- Set the command to run in the `package.json` script `start`
- For a starter template, [fork this template on StackBlitz](https://stackblitz.com/edit/node-huzszn?file=index.ts)
- 👉 **Tip:** The _smaller_ the reproduction, the _faster_ we can debug and resolve your issue
- Remove all unnecessary files, code, & dependencies. This is the first step of debugging so doing this will save us work.
- If possible, convert TypeScript to plain JavaScript to eliminate the possibility of it being a TS bug
⚠️ If a _minimal_ reproduction is not provided, the issue will be closed
placeholder: 👆 Your issue will be CLOSED if it doesn't follow the instructions above.
value: |
> **🙋 Need help?**
>
> Get personalized help through my [_Priority Support_ service](https://github.com/sponsors/privatenumber).
> From minimal reproduction creation to debugging, I'm happy to assist you!
- type: markdown
attributes:
value: "## 🌍 Environment"

- type: input
attributes:
label: Version
placeholder: v0.0.0
validations:
required: true
- type: textarea

- type: input
attributes:
label: Environment
description: |
Run and paste the output of:
```
npx envinfo --system --npmPackages tsx --binaries
```
This information is used to for reproduction and debugging.
placeholder: |
System:
OS:
CPU:
Shell:
Binaries:
Node:
npm:
npmPackages:
tsx:
render: shell
label: Node.js version
placeholder: v0.0.0
validations:
required: true

- type: dropdown
id: package-manager
attributes:
label: Package manager
options:
- npm
- yarn
- pnpm
- bun
- N/A
validations:
required: true

- type: dropdown
attributes:
label: Operating system
options:
- macOS
- Windows
- Linux
validations:
required: true

- type: markdown
attributes:
value: |
## 🛠️ Contribute
It would be amazing if you can contribute to the project! This project is open source, free to use, and maintained by volunteers. This could be a great opportunity to give back and improve the project for everyone, including yourself.
- type: checkboxes
attributes:
label: Can you work on a fix?
description: We would love for you to contribute!
label: Contributions
options:
- label: I’m interested in opening a pull request to address this issue.
- label: I plan to open a pull request for this issue
- label: I plan to make a financial contribution to this project

- type: markdown
attributes:
value: |
## 🚀 Need immediate attention?
Escalate this issue by becoming a [_Priority Patron_ sponsor](https://github.com/sponsors/privatenumber)! As a _Priority Patron_, your concern will receive prompt attention, ensuring faster and more efficient resolution.
[👉 Become a _Priority Patron_ now!](https://github.com/sponsors/privatenumber)
62 changes: 46 additions & 16 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,73 @@
name: Feature request
description: Suggest an idea for this project
name: 🌟 Feature request
description: Have a great idea for this project? Tell us more!
labels: [enhancement, pending triage]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to file this feature request.
> 💁‍♂️ Please remember others are volunteering to help you for free, and put in your best effort to follow this form.
## 👀 Tell us about your idea
- type: textarea
attributes:
label: Feature request
description: A description of the feature you would like.
description: A clear and concise description of the feature.
placeholder: |
I would love to be able to...
validations:
required: true

- type: textarea
attributes:
label: Why?
label: Motivations
description: |
Describe the problem you’re tackling with this feature request.
value: |
<!--
What’s the motivation behind this issue?
eg. “I’m frustrated when...”
-->
placeholder: |
How did you come across this idea?
validations:
required: true

- type: textarea
attributes:
label: Alternatives
description: |
Have you considered alternative solutions? Is there a workaround?
value: |
<!--
Do you have alternative proposals?
placeholder: |
Do you have alternative proposals?
Are there workarounds?
Do you have a workaround?
-->
- type: textarea
attributes:
label: Additional context
description: |
Anything else to share? Screenshots? Links?
- type: markdown
attributes:
value: |
> **🙋 Experiencing a challenging problem and need expert assistance?**
>
> Get personalized help through my [_Priority Support_ service](https://github.com/sponsors/privatenumber). From debugging to implementation, I'm here to assist you!
- type: markdown
attributes:
value: |
## 🛠️ Contribute
It would be amazing if you can contribute to the project! This project is open source, free to use, and maintained by volunteers. This could be a great opportunity to give back and improve the project for everyone, including yourself.
- type: checkboxes
attributes:
label: Contributions
options:
- label: I plan to open a pull request for this issue
- label: I plan to make a financial contribution to this project

- type: markdown
attributes:
value: |
## 🚀 Need immediate attention?
Escalate this issue by becoming a [_Priority Patron_ sponsor](https://github.com/sponsors/privatenumber)! As a _Priority Patron_, your concern will receive prompt attention, ensuring faster and more efficient resolution.
[👉 Become a _Priority Patron_ now!](https://github.com/sponsors/privatenumber)
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
blank_issues_enabled: false
contact_links:
- name: Help / Questions / Discussions
- name: 💬 Help / Questions / Discussions
url: https://github.com/esbuild-kit/tsx/discussions
about: Use GitHub Discussions for anything else

- name: 🚀 Priority Support
url: https://github.com/sponsors/privatenumber/
about: Need help? Get prioritized help for all your questions and issues
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -20,9 +20,9 @@ jobs:
node-version-file: '.nvmrc'

- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v2
with:
version: 7
version: 8
run_install: true

- name: Lint
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -23,9 +23,9 @@ jobs:
node-version-file: '.nvmrc'

- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v2
with:
version: 7
version: 8
run_install: true

- name: Test
Loading