Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

chore: general clean up for publishing #907

Merged
merged 56 commits into from
Aug 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
3c50289
Make core a dep of cli
honestbonsai Feb 16, 2021
2e63ee3
Make external ganache core work in cli
honestbonsai Feb 18, 2021
ca7af3c
Export the whole name space not just default
honestbonsai Feb 18, 2021
385f5e8
Add comment
honestbonsai Feb 22, 2021
06e6cdc
Update src/packages/ganache/index.ts
honestbonsai Feb 23, 2021
62c07f6
Use path.join's relative path instead of resolve's
honestbonsai Feb 26, 2021
6810b29
Make core a dep of cli
honestbonsai Feb 16, 2021
d77ca45
Make external ganache core work in cli
honestbonsai Feb 18, 2021
29f8812
try to fix windows builds in CI
davidmurdoch May 29, 2021
3389433
.
davidmurdoch May 29, 2021
67d0205
.
davidmurdoch May 29, 2021
71025b3
mayeb this time?
davidmurdoch May 29, 2021
28f3efd
update shrinkwrap
davidmurdoch May 29, 2021
350358b
.
davidmurdoch May 29, 2021
dea36da
.
davidmurdoch May 29, 2021
6e94940
try python directly
davidmurdoch May 29, 2021
8735cfe
Start tests at node 10.13.0
davidmurdoch May 29, 2021
0ec4057
attempt to work around cbor issue
davidmurdoch May 29, 2021
e786bf1
Temp work around due to cbor package
davidmurdoch May 29, 2021
f84c241
more fixes
davidmurdoch May 29, 2021
bd4fd34
fixes and remove api-extractor
davidmurdoch May 30, 2021
de32888
include types in ganache bundle
davidmurdoch Jun 9, 2021
30d79a7
fix some forking issues
davidmurdoch Jul 7, 2021
cbcb07f
7.0.0-internal.33
davidmurdoch Jul 7, 2021
7ebee26
Merge branch 'develop' into feat/cli-bundle-slimming-with-types
davidmurdoch Jul 7, 2021
dc25bc6
move ganache deps to regular deps
davidmurdoch Jul 9, 2021
068d165
set publish to public
davidmurdoch Jul 9, 2021
872b551
use publishConfig instead
davidmurdoch Jul 9, 2021
d5616bc
publish typings too
davidmurdoch Jul 9, 2021
45461f4
temporarily ship with hand-written types for ganache
davidmurdoch Aug 2, 2021
9c44d08
clean before building for release
davidmurdoch Aug 3, 2021
0ff9c9c
use lerna's dist-tag for these early releases
davidmurdoch Aug 3, 2021
ed09781
force publish for these intial test releases
davidmurdoch Aug 3, 2021
7e80572
attempt to remove dev deps from published npm package
davidmurdoch Aug 3, 2021
5f8ce0f
update shrinkwraps
davidmurdoch Aug 3, 2021
e717362
update version
davidmurdoch Aug 3, 2021
3470c52
update shrinkwrap
davidmurdoch Aug 3, 2021
b790544
update lerna
davidmurdoch Aug 3, 2021
2b88f17
update docs
davidmurdoch Aug 3, 2021
a3923fa
udpate package.json
davidmurdoch Aug 3, 2021
fb0f55e
try things
davidmurdoch Aug 3, 2021
f3e1b8f
update docs build
davidmurdoch Aug 3, 2021
b081b13
Publish
davidmurdoch Aug 3, 2021
569b89f
add no-git-reset
davidmurdoch Aug 3, 2021
b83ce61
prevent docs changes during publish
davidmurdoch Aug 3, 2021
7f2c20d
release 0.1.1-internal.1+b83ce61d
davidmurdoch Aug 3, 2021
3658019
fix ganache version
davidmurdoch Aug 3, 2021
b8fab19
Publish
davidmurdoch Aug 3, 2021
ed917fa
lerna...
davidmurdoch Aug 3, 2021
bb7c63f
versions
davidmurdoch Aug 3, 2021
bb3106b
versions
davidmurdoch Aug 3, 2021
ed074eb
version
davidmurdoch Aug 3, 2021
10046c0
sort package.json script
davidmurdoch Aug 3, 2021
f69ab29
add typings dir to new package's `files`
davidmurdoch Aug 3, 2021
363f49d
actually build the ethereum package
davidmurdoch Aug 3, 2021
2dd9b77
undo change
davidmurdoch Aug 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 23 additions & 11 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [10.7.0, 10.x, 11.x, 12.x, 13.x, 14.x]
# We start at Node 10.18.0 because it is the first version filecoin's
# CBOR package will let us install. Once filecoin is moved out of the
# monorepo we want to use 10.7.0 (earliest version the Ethereum side
# supports) or 10.13.0 (first node 10 LTS version).
node: [10.18.0, 10.x, 11.x, 12.x, 13.x, 14.x]
os: [windows-2019, ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-11.0]

runs-on: ${{ matrix.os }}
Expand All @@ -21,32 +25,40 @@ jobs:
with:
access_token: ${{ github.token }}
- 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
# we need msbuild tools for the `bigint-buffer` module
if: startsWith(matrix.os, 'windows-')
uses: microsoft/setup-msbuild@v1.0.2
- name: Update npm for node 10.7.0
# lerna bootstrap was failing on node 10.7.0 with npm 6.1.0, updating
# to npm 6.4.1 seems to fix the problem
if: ${{ startsWith(matrix.os, 'windows-') && matrix.node == '10.7.0' }}
run: npm install npm@6.4.1 --global

- name: install node tools
# we don't need to install the windows-build-tools package, as we
# already have almost everything we need. We only need to install
# python 2.7. Also windows-build-tools@4 fails to install because some
# resources it downloads no longer exist, and windows-build-tools@5
# fails to install Python (it will wait on the python installer forever)
if: startsWith(matrix.os, 'windows-')
# windows-build-tools@5.2.2 failed to install, so we use 4.0.0
run: npm install --global --production windows-build-tools@4.0.0
uses: actions/setup-python@v2
with:
python-version: "2.7"

- name: install node-gyp
if: startsWith(matrix.os, 'windows-')
run: npm install --global node-gyp@7.1.2

- 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

- name: Set node config to set msvs_version to 2019
if: startsWith(matrix.os, 'windows-')
run: npm config set msvs_version 2015 --global
run: npm config set msvs_version 2019 --global

- run: npm ci
- run: npm run tsc
- run: npm test
Expand Down
40 changes: 28 additions & 12 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [10.7.0, 10.x, 11.x, 12.x, 13.x, 14.x]
# We start at Node 10.18.0 because it is the first version filecoin's
# CBOR package will let us install. Once filecoin is moved out of the
# monorepo we want to use 10.7.0 (earliest version the Ethereum side
# supports) or 10.13.0 (first node 10 LTS version).
node: [10.18.0, 10.x, 11.x, 12.x, 13.x, 14.x]
os: [ubuntu-20.04]

runs-on: ${{ matrix.os }}
Expand All @@ -31,7 +35,11 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [10.7.0, 10.x, 11.x, 12.x, 13.x, 14.x]
# We start at Node 10.18.0 because it is the first version filecoin's
# CBOR package will let us install. Once filecoin is moved out of the
# monorepo we want to use 10.7.0 (earliest version the Ethereum side
# supports) or 10.13.0 (first node 10 LTS version).
node: [10.18.0, 10.x, 11.x, 12.x, 13.x, 14.x]
os: [windows-2019, ubuntu-16.04, ubuntu-18.04]

runs-on: ${{ matrix.os }}
Expand All @@ -40,32 +48,40 @@ jobs:

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
# we need msbuild tools for the `bigint-buffer` module
if: startsWith(matrix.os, 'windows-')
uses: microsoft/setup-msbuild@v1.0.2
- name: Update npm for node 10.7.0
# lerna bootstrap was failing on node 10.7.0 with npm 6.1.0, updating
# to npm 6.4.1 seems to fix the problem
if: ${{ startsWith(matrix.os, 'windows-') && matrix.node == '10.7.0' }}
run: npm install npm@6.4.1 --global

- name: install node tools
# we don't need to install the windows-build-tools package, as we
# already have almost everything we need. We only need to install
# python 2.7. Also windows-build-tools@4 fails to install because some
# resources it downloads no longer exist, and windows-build-tools@5
# fails to install Python (it will wait on the python installer forever)
if: startsWith(matrix.os, 'windows-')
# windows-build-tools@5.2.2 failed to install, so we use 4.0.0
run: npm install --global --production windows-build-tools@4.0.0
uses: actions/setup-python@v2
with:
python-version: "2.7"

- name: install node-gyp
if: startsWith(matrix.os, 'windows-')
run: npm install --global node-gyp@7.1.2

- 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

- name: Set node config to set msvs_version to 2019
if: startsWith(matrix.os, 'windows-')
run: npm config set msvs_version 2015 --global
run: npm config set msvs_version 2019 --global

- run: npm ci
- run: npm run tsc
- run: npm test
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ npm-debug.log
src/**/*/lib
coverage
dist/
typings/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v10.18.0
v10.13.0
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Getting set up

- Use Node.js v10.13.0 (even though Ganache itself is compatible back to 10.7.0).
- Use Node.js v10.13.0.
- Why v10.13.0? Because this is the first version prettier supports.
- recommendation: use [nvm](https://github.com/nvm-sh/nvm) on Linux and macOS, and [nvm-windows](https://github.com/coreybutler/nvm-windows) on
Windows, to configure your node version.
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/ganache/ganache.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/js/ganache/ganache.min.js.map

Large diffs are not rendered by default.

Loading