-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project import generated by Copybara.
GitOrigin-RevId: 1d4d3f79c144a4ca7a97521ff2e1a8545a07799c
- Loading branch information
1 parent
c126ce0
commit cc22907
Showing
15 changed files
with
153 additions
and
39 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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "browser", | ||
default: false, | ||
node: false, | ||
browser: true, | ||
bun: false, | ||
deno: false, | ||
workerd: false, | ||
reactNative: false, | ||
}; |
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,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "bun", | ||
default: false, | ||
node: false, | ||
browser: false, | ||
bun: true, | ||
deno: false, | ||
workerd: false, | ||
reactNative: false, | ||
}; |
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,10 @@ | ||
export type Conditions = { | ||
name: string; | ||
default: boolean; | ||
node: boolean; | ||
browser: boolean; | ||
bun: boolean; | ||
deno: boolean; | ||
workerd: boolean; | ||
reactNative: 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "default", | ||
default: true, | ||
node: false, | ||
browser: false, | ||
bun: false, | ||
deno: false, | ||
workerd: false, | ||
reactNative: false, | ||
}; |
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,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "deno", | ||
default: false, | ||
node: false, | ||
browser: false, | ||
bun: false, | ||
deno: true, | ||
workerd: false, | ||
reactNative: false, | ||
}; |
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,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "node", | ||
default: false, | ||
node: true, | ||
browser: false, | ||
bun: false, | ||
deno: false, | ||
workerd: false, | ||
reactNative: false, | ||
}; |
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,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "react-native", | ||
default: false, | ||
node: false, | ||
browser: false, | ||
bun: false, | ||
deno: false, | ||
workerd: false, | ||
reactNative: true, | ||
}; |
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,12 @@ | ||
import { Conditions } from "./conditions"; | ||
|
||
export const conditions: Conditions = { | ||
name: "workerd", | ||
default: false, | ||
node: false, | ||
browser: false, | ||
bun: false, | ||
deno: false, | ||
workerd: true, | ||
reactNative: false, | ||
}; |
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