-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Will Cory
authored and
Will Cory
committed
Jan 19, 2024
1 parent
b4e8766
commit 5d3ffb8
Showing
1,685 changed files
with
44,993 additions
and
28,055 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 |
---|---|---|
|
@@ -17,6 +17,5 @@ | |
"sharp": "^0.33.2", | ||
"typescript": "^5.3.3" | ||
}, | ||
"devDependencies": { | ||
} | ||
"devDependencies": {} | ||
} |
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,14 @@ | ||
**@tevm/base** ∙ [README](README.md) ∙ [API](API.md) | ||
|
||
*** | ||
|
||
# API | ||
|
||
## Exports | ||
|
||
### Functions | ||
|
||
- [bundler](functions/bundler.md) | ||
|
||
*** | ||
Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/) |
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,99 @@ | ||
**@tevm/base** ∙ [README](../README.md) ∙ [API](../API.md) | ||
|
||
*** | ||
|
||
[API](../API.md) > bundler | ||
|
||
# Function: bundler() | ||
|
||
> **bundler**(`config`, `logger`, `fao`, `solc`, `cache`): `object` | ||
## Parameters | ||
|
||
▪ **config**: `ResolvedCompilerConfig$1` | ||
|
||
▪ **logger**: `Logger` | ||
|
||
▪ **fao**: `FileAccessObject` | ||
|
||
▪ **solc**: `any` | ||
|
||
▪ **cache**: `Cache$1` | ||
|
||
## Returns | ||
|
||
> ### config | ||
> | ||
> > **config**: `ResolvedCompilerConfig$1` | ||
> | ||
> The configuration of the plugin. | ||
> | ||
> ### exclude | ||
> | ||
> > **exclude**?: `string`[] | ||
> | ||
> ### include | ||
> | ||
> > **include**?: `string`[] | ||
> | ||
> ### name | ||
> | ||
> > **name**: `string` | ||
> | ||
> The name of the plugin. | ||
> | ||
> ### resolveCjsModule | ||
> | ||
> > **resolveCjsModule**: `AsyncBundlerResult` | ||
> | ||
> Resolves cjs representation of the solidity module | ||
> | ||
> ### resolveCjsModuleSync | ||
> | ||
> > **resolveCjsModuleSync**: `SyncBundlerResult` | ||
> | ||
> Resolves cjs representation of the solidity module | ||
> | ||
> ### resolveDts | ||
> | ||
> > **resolveDts**: `AsyncBundlerResult` | ||
> | ||
> Resolves .d.ts representation of the solidity module | ||
> | ||
> ### resolveDtsSync | ||
> | ||
> > **resolveDtsSync**: `SyncBundlerResult` | ||
> | ||
> Resolves .d.ts representation of the solidity module | ||
> | ||
> ### resolveEsmModule | ||
> | ||
> > **resolveEsmModule**: `AsyncBundlerResult` | ||
> | ||
> Resolves the esm representation of the solidity module | ||
> | ||
> ### resolveEsmModuleSync | ||
> | ||
> > **resolveEsmModuleSync**: `SyncBundlerResult` | ||
> | ||
> Resolves the esm representation of the solidity module | ||
> | ||
> ### resolveTsModule | ||
> | ||
> > **resolveTsModule**: `AsyncBundlerResult` | ||
> | ||
> Resolves typescript representation of the solidity module | ||
> | ||
> ### resolveTsModuleSync | ||
> | ||
> > **resolveTsModuleSync**: `SyncBundlerResult` | ||
> | ||
> Resolves typescript representation of the solidity module | ||
> | ||
## Source | ||
|
||
[types.ts:48](https://github.com/evmts/tevm-monorepo/blob/main/bundler/base/src/types.ts#L48) | ||
|
||
*** | ||
Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/) |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
**@tevm/bun-plugin** ∙ [README](README.md) ∙ [API](API.md) | ||
|
||
*** | ||
|
||
# API | ||
|
||
## Exports | ||
|
||
### Functions | ||
|
||
- [tevmBunPlugin](functions/tevmBunPlugin.md) | ||
|
||
*** | ||
Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/) |
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,40 @@ | ||
**@tevm/bun-plugin** ∙ [README](../README.md) ∙ [API](../API.md) | ||
|
||
*** | ||
|
||
[API](../API.md) > tevmBunPlugin | ||
|
||
# Function: tevmBunPlugin() | ||
|
||
> **tevmBunPlugin**(`SolcVersions`): `BunPlugin` | ||
@tevm/bun-plugin is a bun plugin that allows you to import solidity files into your typescript files | ||
and have them compiled to typescript on the fly. | ||
|
||
## Parameters | ||
|
||
▪ **SolcVersions**: `object` | ||
|
||
▪ **SolcVersions.solc?**: `SolcVersions$1` | ||
|
||
## Returns | ||
|
||
## Example | ||
|
||
```ts plugin.ts | ||
import { tevmBunPlugin } from '@tevm/esbuild-plugin' | ||
import { plugin } from 'bun' | ||
|
||
plugin(tevmBunPlugin()) | ||
``` | ||
|
||
```ts bunfig.toml | ||
preload = ["./plugins.ts"] | ||
``` | ||
|
||
## Source | ||
|
||
[plugin.js:27](https://github.com/evmts/tevm-monorepo/blob/main/bundler/bun/src/plugin.js#L27) | ||
|
||
*** | ||
Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.