Skip to content

Commit 6c7aa31

Browse files
committed
Merge remote-tracking branch 'util/monorepo' into monorepo-add-util
2 parents 892d332 + 2380047 commit 6c7aa31

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+6854
-0
lines changed

packages/util/.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: '@ethereumjs/eslint-config-defaults'
3+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Contributing
2+
3+
Great that you want to contribute to the `EthereumJS` [ecosystem](https://ethereumjs.readthedocs.io/en/latest/introduction.html). `EthereumJS` is managed by the Ethereum Foundation and largely driven by the wider community. Everyone is welcome to join the effort and help to improve on the libraries (see our [Code of Conduct](https://ethereumjs.readthedocs.io/en/latest/code_of_conduct.html) 🌷).
4+
5+
We have written up some [Contribution Guidelines](https://ethereumjs.readthedocs.io/en/latest/contributing.html#how-to-start) to help you getting started.
6+
7+
These include information on how we work with **Git** and how our **general workflow** and **technical setup** looks like (stuff like language, tooling, code quality and style).
8+
9+
Happy Coding! 👾 😀 💻
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
pull_request:
9+
types: [opened, reopened, synchronize]
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version: [10.x, 12.x, 13.x, 14.x]
16+
17+
steps:
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
23+
- uses: actions/checkout@v2
24+
- run: npm install
25+
26+
- run: npm run lint
27+
- run: npm run coverage
28+
29+
- uses: codecov/codecov-action@v1
30+
if: matrix.node-version == '12.x'
31+
with:
32+
file: ./coverage/lcov.info

packages/util/.gitignore

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
.idea/
2+
3+
### App ###
4+
5+
.cachedb
6+
7+
8+
# Created by https://www.gitignore.io/api/osx,node
9+
10+
### OSX ###
11+
.DS_Store
12+
.AppleDouble
13+
.LSOverride
14+
15+
# Icon must end with two \r
16+
Icon
17+
18+
19+
# Thumbnails
20+
._*
21+
22+
# Files that might appear in the root of a volume
23+
.DocumentRevisions-V100
24+
.fseventsd
25+
.Spotlight-V100
26+
.TemporaryItems
27+
.Trashes
28+
.VolumeIcon.icns
29+
30+
# Directories potentially created on remote AFP share
31+
.AppleDB
32+
.AppleDesktop
33+
Network Trash Folder
34+
Temporary Items
35+
.apdisk
36+
37+
38+
### Node ###
39+
# Logs
40+
logs
41+
*.log
42+
npm-debug.log*
43+
44+
# Runtime data
45+
pids
46+
*.pid
47+
*.seed
48+
49+
# Directory for instrumented libs generated by jscoverage/JSCover
50+
lib-cov
51+
52+
# Coverage directory used by tools like istanbul
53+
coverage
54+
.nyc_output
55+
56+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
57+
.grunt
58+
59+
# node-waf configuration
60+
.lock-wscript
61+
62+
# Compiled binary addons (http://nodejs.org/api/addons.html)
63+
build/Release
64+
65+
# Dependency directory
66+
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
67+
node_modules
68+
package-lock.json
69+
70+
# Build folder
71+
dist
72+

packages/util/.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
.vscode
3+
package.json
4+
dist
5+
.nyc_output
6+
test/testdata
7+
docs

0 commit comments

Comments
 (0)