-
-
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.
🚚 chore: New folder structure (#621)
## Description New folder structure that better handles the growing number of packages. Previously it was pretty flat with most packages in ./package-name. Now that it's grown packages are put in a folder - ./apps for apps (currently just docs) - ./packages for node/browser packages - ./bundler for bundler related packages - ./examples (unchanged) - ./extension for evmts extensions such as ethers package ## Tasks - [x] git mv packages - [x] Update code coverage - [x] Update package.json - [x] Fix stale issues with package.json including speeding up bun all ## Testing Existing ci ## Additional Information - [x] I read the [contributing docs](../docs/contributing.md) (if this is your first contribution) Your ENS/address: --------- Co-authored-by: Will Cory <[email protected]>
- Loading branch information
1 parent
9c3355e
commit 07d12bf
Showing
6,126 changed files
with
179,880 additions
and
163,897 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,39 @@ | ||
[@evmts/bun-plugin](README.md) / Exports | ||
|
||
# @evmts/bun-plugin | ||
|
||
## Table of contents | ||
|
||
### Functions | ||
|
||
- [evmtsBunPlugin](modules.md#evmtsbunplugin) | ||
|
||
## Functions | ||
|
||
### evmtsBunPlugin | ||
|
||
▸ **evmtsBunPlugin**(): `BunPlugin` | ||
|
||
@evmts/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. | ||
|
||
#### Returns | ||
|
||
`BunPlugin` | ||
|
||
**`Example`** | ||
|
||
```ts plugin.ts | ||
import { evmtsBunPlugin } from '@evmts/esbuild-plugin' | ||
import { plugin } from 'bun' | ||
|
||
plugin(evmtsBunPlugin()) | ||
``` | ||
|
||
```ts bunfig.toml | ||
preload = ["./plugins.ts"] | ||
``` | ||
|
||
#### Defined in | ||
|
||
[plugin.js:22](https://github.com/evmts/evmts-monorepo/blob/main/bundler/bun/src/plugin.js#L22) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,47 @@ | ||
[@evmts/bundler](/reference/bundler/README.md) / [Modules](/reference/bundler/modules.md) / bundler | ||
|
||
# Module: bundler | ||
|
||
## Table of contents | ||
|
||
### Functions | ||
|
||
- [bundler](/reference/bundler/modules/bundler.md#bundler) | ||
|
||
## Functions | ||
|
||
### bundler | ||
|
||
▸ **bundler**(`config`, `logger`, `fao`, `cache?`): `Object` | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `config` | `ResolvedCompilerConfig` | | ||
| `logger` | `Logger` | | ||
| `fao` | `FileAccessObject` | | ||
| `cache?` | [`Cache`](/reference/bundler/modules/createCache.md#cache) | | ||
|
||
#### Returns | ||
|
||
`Object` | ||
|
||
| Name | Type | Description | | ||
| :------ | :------ | :------ | | ||
| `config` | `ResolvedCompilerConfig` | The configuration of the plugin. | | ||
| `exclude?` | `string`[] | - | | ||
| `include?` | `string`[] | - | | ||
| `name` | `string` | The name of the plugin. | | ||
| `resolveCjsModule` | `AsyncBundlerResult` | Resolves cjs representation of the solidity module | | ||
| `resolveCjsModuleSync` | `SyncBundlerResult` | Resolves cjs representation of the solidity module | | ||
| `resolveDts` | `AsyncBundlerResult` | Resolves .d.ts representation of the solidity module | | ||
| `resolveDtsSync` | `SyncBundlerResult` | Resolves .d.ts representation of the solidity module | | ||
| `resolveEsmModule` | `AsyncBundlerResult` | Resolves the esm representation of the solidity module | | ||
| `resolveEsmModuleSync` | `SyncBundlerResult` | Resolves the esm representation of the solidity module | | ||
| `resolveTsModule` | `AsyncBundlerResult` | Resolves typescript representation of the solidity module | | ||
| `resolveTsModuleSync` | `SyncBundlerResult` | Resolves typescript representation of the solidity module | | ||
|
||
#### Defined in | ||
|
||
[types.ts:32](https://github.com/evmts/evmts-monorepo/blob/main/bundler/bundler/src/types.ts#L32) |
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,51 @@ | ||
[@evmts/bundler](/reference/bundler/README.md) / [Modules](/reference/bundler/modules.md) / createCache | ||
|
||
# Module: createCache | ||
|
||
## Table of contents | ||
|
||
### Type Aliases | ||
|
||
- [Cache](/reference/bundler/modules/createCache.md#cache) | ||
|
||
### Functions | ||
|
||
- [createCache](/reference/bundler/modules/createCache.md#createcache) | ||
|
||
## Type Aliases | ||
|
||
### Cache | ||
|
||
Ƭ **Cache**: `Object` | ||
|
||
#### Type declaration | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `isCached` | (`entryModuleId`: `string`, `sources`: `SolcInputDescription`[``"sources"``]) => `boolean` | | ||
| `read` | (`entryModuleId`: `string`) => `SolcOutput` | | ||
| `write` | (`entryModuleId`: `string`, `compiledContracts`: `SolcOutput`) => `void` | | ||
|
||
#### Defined in | ||
|
||
[createCache.d.ts:8](https://github.com/evmts/evmts-monorepo/blob/main/bundler/bundler/src/createCache.d.ts#L8) | ||
|
||
## Functions | ||
|
||
### createCache | ||
|
||
▸ **createCache**(`logger`): [`Cache`](/reference/bundler/modules/createCache.md#cache) | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `logger` | `Logger` | | ||
|
||
#### Returns | ||
|
||
[`Cache`](/reference/bundler/modules/createCache.md#cache) | ||
|
||
#### Defined in | ||
|
||
[createCache.d.ts:17](https://github.com/evmts/evmts-monorepo/blob/main/bundler/bundler/src/createCache.d.ts#L17) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
Oops, something went wrong.