-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb0f77f
commit 61dd2b5
Showing
9 changed files
with
47 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: CI | ||
on: | ||
- push | ||
- pull_request | ||
jobs: | ||
test: | ||
name: Node.js ${{ matrix.node-version }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: | ||
- 22 | ||
- 14 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: npm test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ node_modules | |
yarn.lock | ||
.nyc_output | ||
coverage | ||
index.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export function supportsHyperlink(stream: { | ||
isTTY?: boolean | undefined; | ||
}): boolean; | ||
|
||
export declare const stdout: boolean; | ||
export declare const stderr: boolean; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
MIT License | ||
|
||
Copyright (c) Sindre Sorhus <[email protected]> (https://sindresorhus.com) | ||
Copyright (c) James Talmage <[email protected]> (https://github.com/jamestalmage) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
{ | ||
"name": "supports-hyperlinks", | ||
"version": "3.1.0", | ||
"description": "Detect if your terminal emulator supports hyperlinks", | ||
"description": "Detect whether a terminal supports hyperlinks", | ||
"license": "MIT", | ||
"repository": "jamestalmage/supports-hyperlinks", | ||
"funding": "https://github.com/sponsors/sindresorhus", | ||
"author": { | ||
"name": "James Talmage", | ||
"email": "[email protected]", | ||
"url": "github.com/jamestalmage" | ||
}, | ||
"repository": "chalk/supports-hyperlinks", | ||
"funding": "https://github.com/chalk/supports-hyperlinks?sponsor=1", | ||
"exports": { | ||
"types": "./index.d.ts", | ||
"default": "./index.js" | ||
|
@@ -19,9 +14,8 @@ | |
"node": ">=14.18" | ||
}, | ||
"scripts": { | ||
"prepublishOnly": "npm run create-types", | ||
"test": "xo && nyc ava && tsc", | ||
"create-types": "tsc --project declaration.tsconfig.json" | ||
"//test": "xo && ava && tsc", | ||
"test": "ava" | ||
}, | ||
"files": [ | ||
"index.js", | ||
|
@@ -33,7 +27,12 @@ | |
"link", | ||
"terminal", | ||
"hyperlink", | ||
"cli" | ||
"cli", | ||
"detect", | ||
"check", | ||
"ansi", | ||
"escapes", | ||
"console" | ||
], | ||
"dependencies": { | ||
"has-flag": "^4.0.0", | ||
|
@@ -42,16 +41,9 @@ | |
"devDependencies": { | ||
"@tsconfig/node14": "^1.0.3", | ||
"@types/supports-color": "^8.1.1", | ||
"ava": "^2.2.0", | ||
"ava": "^3.2.0", | ||
"codecov": "^3.5.0", | ||
"nyc": "^15.1.0", | ||
"typescript": "^4.9.5", | ||
"xo": "^0.24.0" | ||
}, | ||
"nyc": { | ||
"reporter": [ | ||
"lcov", | ||
"text" | ||
] | ||
"xo": "^0.53.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters