Skip to content

Commit

Permalink
refactor: rewrite into a TypeScript monorepo, partial (trufflesuite#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch authored and sam committed Apr 15, 2021
1 parent 956f19e commit 6c3dd90
Show file tree
Hide file tree
Showing 452 changed files with 28,504 additions and 14,679 deletions.
2 changes: 0 additions & 2 deletions .dockerignore

This file was deleted.

3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docs/launch.json linguist-language=JSON5
.nycrc linguist-language=JSON
.prettierrc linguist-language=JSON
1 change: 1 addition & 0 deletions .github/ganache-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .github/truffle-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI

on: [push, pull_request]

jobs:
build:
strategy:
fail-fast: false
matrix:
node: [10.7.0, 10.x, 11.x, 12.x, 13.x, 14.x]
os:
[
windows-2016,
windows-2019,
ubuntu-16.04,
ubuntu-18.04,
ubuntu-20.04,
macos-11.0,
]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
# we need build tools for the `bigint-buffer` module
- name: Add msbuild to PATH
if: startsWith(matrix.os, 'windows-')
uses: microsoft/[email protected]
- name: install node tools
if: startsWith(matrix.os, 'windows-')
# [email protected] failed to install, so we use 4.0.0
run: npm install --global --production [email protected]
- name: install node-gyp
if: startsWith(matrix.os, 'windows-')
run: npm install --global node-gyp@latest
- name: Set node config to use python2.7
if: startsWith(matrix.os, 'windows-')
run: npm config set python python2.7
- name: Set node config to set msvs_version to 2015
if: startsWith(matrix.os, 'windows-')
run: npm config set msvs_version 2015
- run: npm ci
- run: npm test
env:
FORCE_COLOR: 1
15 changes: 6 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
node_modules
TODO
*.log
.eslintrc.js
.tern-project
.DS_Store
.tern-port
.vscode
build
npm-shrinkwrap.json.bak
test/testdb
.nyc_output/
.nyc_output
lerna-debug.log
npm-debug.log
src/**/*/lib
coverage
dist/
14 changes: 0 additions & 14 deletions .npmignore

This file was deleted.

6 changes: 6 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
engine-strict=true
save-exact=true
sign-git-commit=true
sign-git-tag=true
loglevel=error
fund=false
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v10.7.0
3 changes: 3 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "@istanbuljs/nyc-config-typescript"
}
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_Store
.vscode
.nyc_output
lerna-debug.log
npm-debug.log
src/**/*/lib
coverage
npm-shrinkwrap.json
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"arrowParens": "avoid",
"trailingComma": "none"
}
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 6c3dd90

Please sign in to comment.