Skip to content

Commit

Permalink
fix: try to fix crayon auto import
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Beast committed Aug 26, 2024
1 parent aa26c22 commit fa29617
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@crayon/crayon",
"version": "4.0.0-alpha.3",
"version": "4.0.0-alpha.4",

"imports": {
// tests
Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Copyright 2024 Im-Beast. All rights reserved. MIT license.
export * from "./src/crayon.ts";
export { default } from "./src/base.ts";
export { default as crayon } from "./src/base.ts";
1 change: 1 addition & 0 deletions src/crayon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const NO_COLOR = "Deno" in globalThis
? Deno.noColor
: "process" in globalThis
// @ts-expect-error Node specific code
// deno-lint-ignore no-node-globals
? process.env["NO_COLOR"]
: undefined;

Expand Down

0 comments on commit fa29617

Please sign in to comment.