Add `bun` and `deno` to interpreters in languages.yml for `JavaScript` by oopsio · Pull Request #7878 · github-linguist/linguist · GitHub
Skip to content

Add bun and deno to interpreters in languages.yml for JavaScript#7878

Merged
lildude merged 17 commits into
github-linguist:mainfrom
oopsio:main
Jun 4, 2026
Merged

Add bun and deno to interpreters in languages.yml for JavaScript#7878
lildude merged 17 commits into
github-linguist:mainfrom
oopsio:main

Conversation

@oopsio

@oopsio oopsio commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Added the bun and deno interpreters to languages.yml.

Description

This PR adds 4 examples, each with the MIT license, and adds the deno and bun interpreters to languages.yml for the JavaScript language. The license(s) are included as comments in the code.

Checklist:

@oopsio oopsio marked this pull request as ready for review March 26, 2026 13:17
@oopsio oopsio requested a review from a team as a code owner March 26, 2026 13:17
@oopsio oopsio changed the title Add 'bun' and 'deno' to interpreters in languages.yml Add bun and deno to interpreters in languages.yml Mar 26, 2026
@oopsio oopsio changed the title Add bun and deno to interpreters in languages.yml Add bun and deno to interpreters in languages.yml for JavaScript Mar 26, 2026
Comment thread test/test_language.rb Outdated
…th the `TypeScript` language.

Removed JavaScript entries from interpreter test.

@lildude lildude left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Along with my inline comment, you've got test failures due to the extensionless test/fixtures/TypeScript/main test file. I've searched GitHub and there are only 2 other users of this that are not Linguist and it's forks.

With that in mind, please:

  • remove that file
  • add real-world samples for both JavaScript and TypeScript which have bun and deno shebangs into their respective samples/ directories.

@oopsio oopsio requested a review from lildude March 27, 2026 15:27

@lildude lildude left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the PR body to use the "I am adding a new extension to a language." part of the template and fill it in as if you're adding an extension.

The important part is we need real-world samples with their original filenames, and a link to the original source location and the license for legal reasons.

Please also add equivalent samples for TypeScript too.

@Alhadis

Alhadis commented Mar 28, 2026

Copy link
Copy Markdown
Collaborator

oopsio and others added 8 commits March 28, 2026 09:37
This file demonstrates OOP in Deno using TypeScript with a User class that encapsulates user data and provides methods to display and update user information.
This script demonstrates OOP principles in TypeScript using Bun, including abstraction, encapsulation, inheritance, and polymorphism.
Added a software license notice to the deno.ts file.
Added author, copyright, and license information to the file.
Added author, copyright, and license comments to deno.js
@lildude

lildude commented Mar 28, 2026

Copy link
Copy Markdown
Member

@lildude lildude added this pull request to the merge queue Jun 4, 2026
Merged via the queue into github-linguist:main with commit 1b0eab3 Jun 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants