Skip to content

Commit

Permalink
chore: Version packages 🔖 (#461)
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @evmts/[email protected]

### Minor Changes

- [#460](#460)
[`1f80589`](1f80589)
Thanks [@roninjin10](https://github.com/roninjin10)! - Added bun support
with the new @evmts/bun-plugin package. This enables solidity files to
be imported into bun

    ### Installation

    Install build dependencies

    ```typescript
bun install -D bun-types @evmts/bun-plugin @evmts/ts-plugin @evmts/core
solc
    ```

    ### Setup

    first create a `plugins.ts` file

    ```typescript
    import { evmtsBunPlugin } from "@evmts/bun-plugin";
    import { plugin } from "bun";

    plugin(evmtsBunPlugin());
    ```

    Next load your `plugin.ts` file in your `bunfig.toml`

    ```toml
    preload = ["./plugins.ts"]

    # add to [test] to use plugin in bun test too
    [test]
    preload = ["./plugins.ts"]
    ```

    ### Usage

Once set up you can import solidity files directly from node modules
such as `openzepplin/contracts` or your source code. You can use with
viem ethersjs or any other library.

    ```typescript
    import { http, createPublicClient } from "viem";
    import { optimismGoerli } from "viem/chains";
    import { ExampleContract } from "./ExampleContract.sol";

    export const publicClient = createPublicClient({
      chain: optimismGoerli,
      transport: http("https://goerli.optimism.io"),
    });

    const owner = "0x8f0ebdaa1cf7106be861753b0f9f5c0250fe0819";

    publicClient
      .readContract(
ExampleContract.read({ chainId: optimismGoerli.id }).balanceOf(owner)
      )
      .then(console.log);
    ```

    #### Examples

A bun example exists in [examples/bun](/examples/bun). This example is
very minimal and uses bun with viem in both `bun watch` and `bun test`
Source code for `@evmts/bun-plugin` with 100% test coverage exists in
[bundlers/bun](/bundlers/bun)

### Patch Changes

- Updated dependencies
\[[`1f80589`](1f80589)]:
    -   @evmts/[email protected]
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

- Updated dependencies
\[[`1f80589`](1f80589)]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

-   Updated dependencies \[]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

-   Updated dependencies \[]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

-   Updated dependencies \[]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

-   Updated dependencies \[]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

-   Updated dependencies \[]:
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

- Updated dependencies
\[[`1f80589`](1f80589)]:
    -   @evmts/[email protected]
    -   @evmts/[email protected]

## @evmts/[email protected]

### Patch Changes

- [#460](#460)
[`1f80589`](1f80589)
Thanks [@roninjin10](https://github.com/roninjin10)! - Fixed bug with
solc not being correctly listed as a peer dependency

## @evmts/[email protected]

### Patch Changes

-   Updated dependencies \[]:
    -   @evmts/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Sep 8, 2023
1 parent 1f80589 commit 29869f6
Show file tree
Hide file tree
Showing 24 changed files with 159 additions and 257 deletions.
5 changes: 0 additions & 5 deletions .changeset/long-cheetahs-act.md

This file was deleted.

61 changes: 0 additions & 61 deletions .changeset/real-days-obey.md

This file was deleted.

70 changes: 70 additions & 0 deletions bundlers/bun/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# @evmts/bun-plugin

## 0.9.0

### Minor Changes

- [#460](https://github.com/evmts/evmts-monorepo/pull/460) [`1f80589`](https://github.com/evmts/evmts-monorepo/commit/1f8058969e2b0290f5032166928f76cfc74e9d74) Thanks [@roninjin10](https://github.com/roninjin10)! - Added bun support with the new @evmts/bun-plugin package. This enables solidity files to be imported into bun

### Installation

Install build dependencies

```typescript
bun install -D bun-types @evmts/bun-plugin @evmts/ts-plugin @evmts/core solc
```

### Setup

first create a `plugins.ts` file

```typescript
import { evmtsBunPlugin } from "@evmts/bun-plugin";
import { plugin } from "bun";
plugin(evmtsBunPlugin());
```

Next load your `plugin.ts` file in your `bunfig.toml`

```toml
preload = ["./plugins.ts"]
# add to [test] to use plugin in bun test too
[test]
preload = ["./plugins.ts"]
```

### Usage

Once set up you can import solidity files directly from node modules such as `openzepplin/contracts` or your source code. You can use with viem ethersjs or any other library.

```typescript
import { http, createPublicClient } from "viem";
import { optimismGoerli } from "viem/chains";
import { ExampleContract } from "./ExampleContract.sol";
export const publicClient = createPublicClient({
chain: optimismGoerli,
transport: http("https://goerli.optimism.io"),
});
const owner = "0x8f0ebdaa1cf7106be861753b0f9f5c0250fe0819";
publicClient
.readContract(
ExampleContract.read({ chainId: optimismGoerli.id }).balanceOf(owner)
)
.then(console.log);
```

#### Examples

A bun example exists in [examples/bun](/examples/bun). This example is very minimal and uses bun with viem in both `bun watch` and `bun test`
Source code for `@evmts/bun-plugin` with 100% test coverage exists in [bundlers/bun](/bundlers/bun)

### Patch Changes

- Updated dependencies [[`1f80589`](https://github.com/evmts/evmts-monorepo/commit/1f8058969e2b0290f5032166928f76cfc74e9d74)]:
- @evmts/config@0.9.0
- @evmts/bundler@0.9.0
4 changes: 2 additions & 2 deletions bundlers/bun/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evmts/bun-plugin",
"version": "0.8.0",
"version": "0.9.0",
"private": false,
"description": "A bun plugin for evmts",
"contributors": [
Expand Down Expand Up @@ -45,7 +45,7 @@
},
"dependencies": {
"@evmts/bundler": "workspace:^",
"@evmts/config": "^0.8.1"
"@evmts/config": "^0.9.0"
},
"devDependencies": {
"@evmts/core": "workspace:^",
Expand Down
7 changes: 7 additions & 0 deletions bundlers/bundler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @evmts/core

## 0.9.0

### Patch Changes

- Updated dependencies [[`1f80589`](https://github.com/evmts/evmts-monorepo/commit/1f8058969e2b0290f5032166928f76cfc74e9d74)]:
- @evmts/config@0.9.0

## 0.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion bundlers/bundler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evmts/bundler",
"version": "0.8.1",
"version": "0.9.0",
"private": false,
"description": "Internal bundler for Evmts",
"keywords": [
Expand Down
7 changes: 7 additions & 0 deletions bundlers/esbuild/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @evmts/plugin

## 0.9.0

### Patch Changes

- Updated dependencies []:
- @evmts/bundler@0.9.0

## 0.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion bundlers/esbuild/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evmts/esbuild-plugin",
"version": "0.8.1",
"version": "0.9.0",
"contributors": [
"Will Cory <[email protected]>"
],
Expand Down
7 changes: 7 additions & 0 deletions bundlers/rollup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @evmts/plugin

## 0.9.0

### Patch Changes

- Updated dependencies []:
- @evmts/bundler@0.9.0

## 0.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion bundlers/rollup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evmts/rollup-plugin",
"version": "0.8.1",
"version": "0.9.0",
"contributors": [
"Will Cory <[email protected]>"
],
Expand Down
7 changes: 7 additions & 0 deletions bundlers/rspack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @evmts/plugin

## 0.9.0

### Patch Changes

- Updated dependencies []:
- @evmts/bundler@0.9.0

## 0.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion bundlers/rspack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evmts/rspack-plugin",
"version": "0.8.1",
"version": "0.9.0",
"private": false,
"contributors": [
"Will Cory <[email protected]>"
Expand Down
7 changes: 7 additions & 0 deletions bundlers/vite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @evmts/plugin

## 0.9.0

### Patch Changes

- Updated dependencies []:
- @evmts/bundler@0.9.0

## 0.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion bundlers/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evmts/vite-plugin",
"version": "0.8.1",
"version": "0.9.0",
"private": false,
"contributors": [
"Will Cory <[email protected]>"
Expand Down
7 changes: 7 additions & 0 deletions bundlers/webpack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @evmts/plugin

## 0.9.0

### Patch Changes

- Updated dependencies []:
- @evmts/bundler@0.9.0

## 0.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion bundlers/webpack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evmts/webpack-plugin",
"version": "0.8.1",
"version": "0.9.0",
"private": false,
"description": "A webpack plugin for evmts",
"contributors": [
Expand Down
8 changes: 8 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @evmts/cli

## 0.9.0

### Patch Changes

- Updated dependencies [[`1f80589`](https://github.com/evmts/evmts-monorepo/commit/1f8058969e2b0290f5032166928f76cfc74e9d74)]:
- @evmts/config@0.9.0
- @evmts/bundler@0.9.0

## 0.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evmts/cli",
"version": "0.8.1",
"version": "0.9.0",
"private": false,
"description": "Cli commands for Evmts",
"keywords": [
Expand Down
6 changes: 6 additions & 0 deletions config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @evmts/core

## 0.9.0

### Patch Changes

- [#460](https://github.com/evmts/evmts-monorepo/pull/460) [`1f80589`](https://github.com/evmts/evmts-monorepo/commit/1f8058969e2b0290f5032166928f76cfc74e9d74) Thanks [@roninjin10](https://github.com/roninjin10)! - Fixed bug with solc not being correctly listed as a peer dependency

## 0.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evmts/config",
"version": "0.8.1",
"version": "0.9.0",
"private": false,
"description": "Manages config for evmts",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"wagmi": "~1.3.8"
},
"devDependencies": {
"@evmts/config": "^0.8.1",
"@evmts/ts-plugin": "^0.8.1",
"@evmts/webpack-plugin": "^0.8.1",
"@evmts/config": "^0.9.0",
"@evmts/ts-plugin": "^0.9.0",
"@evmts/webpack-plugin": "^0.9.0",
"@openzeppelin/contracts": "^4.9.2",
"@types/node": "^20.4.1",
"@types/react": "^18.2.14",
Expand Down
Loading

1 comment on commit 29869f6

@vercel
Copy link

@vercel vercel bot commented on 29869f6 Sep 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

evmts-docs – ./

evmts-docs-evmts.vercel.app
evmts-docs-git-main-evmts.vercel.app
evmts.dev

Please sign in to comment.