Skip to content

Commit

Permalink
build(release): v0.1.4
Browse files Browse the repository at this point in the history
Signed-off-by: sam bacha <sam@manifoldfinance.com>
  • Loading branch information
sambacha committed Sep 15, 2021
1 parent fc2fecb commit 0292847
Show file tree
Hide file tree
Showing 23 changed files with 1,220 additions and 844 deletions.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Generic EditorConfig

# top-most EditorConfig file
Expand Down
5 changes: 2 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"extends": "@ts-engine/eslint-config",
"rules": {
}
}
"rules": {}
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ package-lock.json merge=npm-merge-driver
*.sh eol=lf
*.bash eol=lf
LICENSE* text
/CHANGELOG* merge=union
10 changes: 5 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "weekly"
interval: 'weekly'
labels:
- "dependencies"
- 'dependencies'
# Add default Kodiak `merge.automerge_label`
- "automerge"
- 'automerge'
12 changes: 6 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: nodejs
on:
push:
paths:
- "**/**"
- "!**/*.md/**"
paths:
- '**/**'
- '!**/*.md/**'

defaults:
run:
shell: bash

env:
CI: true
FORCE_COLOR: 2
Expand All @@ -35,5 +35,5 @@ jobs:

- name: Install npm dependencies
run: |
npm install
echo "::set-output name=install::nodejs"
npm install
echo "::set-output name=install::nodejs"
45 changes: 45 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Release

on:
push:
branches:
- trunk

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@main
with:
fetch-depth: 0

- name: Setup Node.js 14.x
uses: actions/setup-node@main
with:
node-version: 14.x

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
id: yarn-cache
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn

- name: 'Create Pull Request or Publish to npm'
uses: changesets/action@master
with:
publish: yarn release --otp=1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
16 changes: 16 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "http://json.schemastore.org/prettierrc",
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 80,
"proseWrap": "always",
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"endOfLine": "lf",
"useTabs": false
}
15 changes: 10 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
### Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.
All notable changes to this project will be documented in this file. Dates are
displayed in UTC.

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v0.0.2](https://github.com/manifoldfinance/openmev-sdk/compare/v0.0.1...v0.0.2)

> 11 September 2021
- feat(rpc): connection configuration [`d9600f0`](https://github.com/manifoldfinance/openmev-sdk/commit/d9600f093316e058ac3b2303f58f106a4023dcd0)
- feat(rpc): connection configuration
[`d9600f0`](https://github.com/manifoldfinance/openmev-sdk/commit/d9600f093316e058ac3b2303f58f106a4023dcd0)

#### v0.0.1

> 10 September 2021
- feat(sdk): v0.0.1 [`296f4c5`](https://github.com/manifoldfinance/openmev-sdk/commit/296f4c54f58ac125d7923bf4524fdbc1ecee389c)
- docs(typedoc): generate [`fce4d12`](https://github.com/manifoldfinance/openmev-sdk/commit/fce4d121ae99f0693f5095f1824fd7317c3116c8)
- feat(sdk): v0.0.1 [`e40523f`](https://github.com/manifoldfinance/openmev-sdk/commit/e40523f2581ffcf0a1927623b3726b203f0ca246)
- feat(sdk): v0.0.1
[`296f4c5`](https://github.com/manifoldfinance/openmev-sdk/commit/296f4c54f58ac125d7923bf4524fdbc1ecee389c)
- docs(typedoc): generate
[`fce4d12`](https://github.com/manifoldfinance/openmev-sdk/commit/fce4d121ae99f0693f5095f1824fd7317c3116c8)
- feat(sdk): v0.0.1
[`e40523f`](https://github.com/manifoldfinance/openmev-sdk/commit/e40523f2581ffcf0a1927623b3726b203f0ca246)
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# @openmev/sdk

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c4566fcdc50a49eba6e07264443bd5c0)](https://www.codacy.com/gh/manifoldfinance/openmev-sdk/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=manifoldfinance/openmev-sdk&amp;utm_campaign=Badge_Grade)

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c4566fcdc50a49eba6e07264443bd5c0)](https://www.codacy.com/gh/manifoldfinance/openmev-sdk/dashboard?utm_source=github.com&utm_medium=referral&utm_content=manifoldfinance/openmev-sdk&utm_campaign=Badge_Grade)

> [docs.openmev.org](https://docs.openmev.org)

## Overview

> TODO
Expand Down
19 changes: 19 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
presets: [
['@babel/preset-env', {
targets: {
esmodules: true
},
bugfixes: true,
loose: true,
exclude: [
'@babel/plugin-transform-async-to-generator',
'@babel/plugin-transform-regenerator'
]
}],
'@babel/preset-typescript'
],
plugins: [
['@babel/plugin-proposal-class-properties', { loose: true }]
]
}
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "openmev-manifold",
"name": "@openmev/openmev",
"private": true,
"scripts": {
"build": "npx obo bootstrap",
"build": "npx oao bootstrap",
"check": "npx oao status",
"lint": "npx prettier --config .prettierrc.json --write . "
},
Expand All @@ -14,6 +14,14 @@
"author": "sam bacha <sam@manifoldfinance.com>",
"license": "MIT",
"devDependencies": {
"oao": "^2.0.2"
"@babel/core": "^7.13.15",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/preset-env": "^7.13.15",
"@babel/preset-typescript": "^7.13.0",
"@babel/runtime": "^7.13.10",
"oao": "^2.0.2",
"ts-node-dev": "^1.1.8",
"typescript": "^4.2.4",
"webpack": "^5.52.1"
}
}
4 changes: 2 additions & 2 deletions packages/protobufs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"compilerOptions": {
"compilerOptions": {
"lib": ["es2019", "es2020.promise", "es2020.bigint", "es2020.string"],
"module": "commonjs",
"target": "es2019",
Expand All @@ -11,4 +11,4 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
}
}
}
9 changes: 8 additions & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@
"lint": "npx tse lint .",
"test": "npx tse test --coverage"
},
"keywords": ["ethereum", "defi", "solidity", "sdk", "mev", "blockchain"],
"keywords": [
"ethereum",
"defi",
"solidity",
"sdk",
"mev",
"blockchain"
],
"author": "Manifold Finance, Inc <janitor@manifoldfinance.com>",
"license": "SEE LICENSE IN LICENSE",
"repository": {
Expand Down
Loading

0 comments on commit 0292847

Please sign in to comment.