-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Benjamin Fischer <[email protected]>
- Loading branch information
Showing
180 changed files
with
439 additions
and
437 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Publish | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
release: | ||
types: [published] | ||
|
||
env: | ||
DENO_UNSTABLE_WORKSPACES: true | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
id-token: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Deno | ||
uses: denoland/setup-deno@v1 | ||
|
||
- name: Publish (dry run) | ||
if: github.event_name != 'release' | ||
run: deno publish --dry-run | ||
|
||
- name: Publish | ||
if: github.event_name == 'release' | ||
run: deno publish |
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import * as stdColors from "https://deno.land/[email protected]/fmt/colors.ts"; | ||
import * as stdColors from "@std/fmt/colors"; | ||
|
||
type ExcludedColorMethods = "setColorEnabled" | "getColorEnabled"; | ||
type PropertyNames = keyof typeof stdColors; | ||
|
@@ -39,15 +39,15 @@ for (const name of methodNames) { | |
* Chainable colors module. | ||
* | ||
* ```ts | ||
* import { colors } from "./mod.ts"; | ||
* import { colors } from "@cliffy/ansi/colors"; | ||
* | ||
* console.log(colors.blue.bgRed.bold('Welcome to Deno.Land!')); | ||
* ``` | ||
* | ||
* If invoked as method, a new Ansi instance will be returned. | ||
* | ||
* ```ts | ||
* import { Colors, colors } from "./mod.ts"; | ||
* import { Colors, colors } from "@cliffy/ansi/colors"; | ||
* | ||
* const myColors: Colors = colors(); | ||
* console.log(myColors.blue.bgRed.bold('Welcome to Deno.Land!')); | ||
|
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
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,11 @@ | ||
{ | ||
"name": "@cliffy/ansi", | ||
"version": "1.0.0-rc.4", | ||
"exports": { | ||
".": "./ansi.ts", | ||
"./ansi-escapes": "./ansi_escapes.ts", | ||
"./colors": "./colors.ts", | ||
"./cursor-position": "./cursor_position.ts", | ||
"./tty": "./tty.ts" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
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
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,9 +1,9 @@ | ||
import { closestString } from "https://deno.land/[email protected]/text/closest_string.ts"; | ||
import { closestString } from "@std/text/closest-string"; | ||
import { | ||
OptionType, | ||
UnexpectedArgumentAfterVariadicArgumentError, | ||
UnexpectedRequiredArgumentError, | ||
} from "../flags/_errors.ts"; | ||
import { OptionType } from "../flags/deprecated.ts"; | ||
} from "@cliffy/flags"; | ||
import type { Command } from "./command.ts"; | ||
import type { Argument } from "./types.ts"; | ||
|
||
|
Oops, something went wrong.