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

Add common @truffle/supplier #4224

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d52234e
Add supplier/* branches to GHA
Aug 5, 2021
ae27ad6
Move normalizeSolcVersion out of VersionRange
Jul 27, 2021
e8bd833
Separate LoadingStrategy cache into own class
Jul 28, 2021
7c4afa5
Extract listener cleanup into function
Jul 28, 2021
322a3c4
Remove supplier.downloadAndCacheSolc
Jul 28, 2021
50a36f3
Get rid of LoadingStrategy.prototype.errors()
Jul 29, 2021
cd734fb
Remove LoadingStrategy base class
Jul 29, 2021
aa1318a
Move public methods above private ones
Jul 30, 2021
424eaf2
Eliminate wonky dual-load in CompilerSupplier
Jul 31, 2021
8833642
Normalize supplier.list()
Jul 31, 2021
317a12d
Rename Cache methods
Aug 12, 2021
615e5a7
Add suggested comments
Aug 12, 2021
cb8decd
Remove extra method in Local strategy
Aug 12, 2021
2a51b86
Rethrow caught errors instead of making new ones
Aug 12, 2021
1d1b6c6
Remove weird JSON.stringify rename
Aug 12, 2021
e1752da
Clarify method name for getting+caching
Aug 13, 2021
1411d3b
Remove unused getSolcByCommit()
Aug 13, 2021
fb87890
Fix leaked use of non-listing loading strategies
Aug 13, 2021
707dc15
Setup TypeScript with allowJs
Aug 3, 2021
2fdcfff
Convert compilerSupplier to TS
Aug 3, 2021
9c8eefe
Type CompilerSupplier instance variables better
Aug 13, 2021
fb9bacb
Fix weird boolean casting
Aug 13, 2021
f28cda9
Note where `events: any` comes from
Aug 13, 2021
e9e5f68
Add type annotations to exported functions
Aug 13, 2021
1bef7c8
Merge pull request #4222 from trufflesuite/supplier/refactor-js
gnidan Aug 13, 2021
54df06c
Use a manky type coercion, not ts-expect-error
Aug 13, 2021
dbe93a4
Add missing types
Aug 13, 2021
e7863eb
Merge pull request #4223 from trufflesuite/supplier/typescript
gnidan Aug 13, 2021
10e4820
Add CompilerSupplier support in compile-common
Aug 3, 2021
a59cef2
Make dedicated @truffle/supplier package
Aug 11, 2021
08e19b6
Merge pull request #4248 from trufflesuite/supplier/package
gnidan Aug 16, 2021
5499b2e
Ensure all types get docstrings
Aug 18, 2021
bdd85cc
Extract load/list interfaces
Aug 19, 2021
25e7457
Allow optional N in Supplier.Options<S, N>
Aug 20, 2021
78e36ea
Fix dependencies
Aug 20, 2021
379ffee
Explain Supplier<S, N> generic params
Aug 20, 2021
bdb8ec0
Clean up generics a bit
Aug 20, 2021
710afa7
Add mixin-free usage example to README
Aug 20, 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
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- master
- develop
- next
- supplier/*

pull_request:
branches:
Expand Down
1 change: 1 addition & 0 deletions packages/compile-solidity/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
node_modules
yarn.lock
package-lock.json
132 changes: 0 additions & 132 deletions packages/compile-solidity/compilerSupplier/index.js

This file was deleted.

106 changes: 0 additions & 106 deletions packages/compile-solidity/compilerSupplier/loadingStrategies/Docker.js

This file was deleted.

This file was deleted.

This file was deleted.

Loading