-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New build pipeline #3160
Closed
Closed
New build pipeline #3160
Changes from 78 commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
ee074d1
basic setup of the new build pipeline
nivida 462f627
globals defined, tree shaking improvements
nivida 58ea9c1
package-locks cleaned up
nivida 28848d7
build for web3.min file optimized
nivida 22cf85b
web3.min.js size is now ~830kb and dedupe option to rollup config fun…
nivida 6447256
process.env.MINIFIED_BUNDLES config option added for rollup
nivida 4e6b41e
additional build scripts added to package.json for CI
nivida fa89c39
commands in ci.sh updated
nivida 28b4719
cjs exports config handling updated
nivida d952768
forceAllTransforms set to true
nivida 579122d
rollup config updated for minified bundles, web3 dedup configs update…
nivida 6d62ac9
export config for minified file fixed
nivida 323c994
dedupe rules to required modules applied
nivida febb094
dependencies updated for web3-eth-abi and import fixed in web3-eth-ac…
nivida 3cd3aec
e2e browser tests tested and setup updated
nivida c03a6d1
web3 package excluded from karma, dev deps updated in root package.js…
nivida 6b5fea2
RLP import in web3-eth-accounts fixed, CI scripts updated, and script…
nivida 10bf0bf
rollup.config.js function fixed
nivida e668654
code style consistency improved for all e2e related test files
nivida 4376fa8
build:web3:minified script updated, getWebsocketPort function updated
nivida 2cf94e6
jsdelivr property added to package.json
nivida f5f50e2
babel config updated for esm bundle
nivida d6376aa
rollup config updated
nivida deb285f
build:web3 script updated and CHANGELOG.md updated
nivida 4105387
test:unit script updated in package.json
nivida 8c6bf61
copy pasta issue fixed for getWebsocketPort in test.utils.js
nivida fc3cd17
code style improved in rollup.config.js and README files updated
nivida a994faa
getting-started docs updated
nivida 108e5aa
not required starting of the bundling process removed
nivida 15bd37d
Update README.md
nivida ec5a56d
any-promise re-added to promievent and ci.sh updated
nivida b9e6801
Merge branch 'issue/3155' of github.com:ethereum/web3.js into issue/3155
nivida 09b8c03
test commands updated with the usage of nyc and babel-plugin-istanbul
nivida a502549
required reporters and coverage threshold check added to .nycrc
nivida 9a47a69
eth-lib downgraded to 0.2.7 and defined as fixed version
nivida d5dc3c7
coverage threshold configured in .nycrc file
nivida ed43f97
Merge branch '1.x' into issue/3155
nivida 2cf2c8a
root README.md contribution section updated
nivida 7f59aa1
test script in root package.json updated
nivida 8c783d3
copy paste issue (unnecessary semicolon) removed in ci.sh
nivida 240053b
coverage threshold removed from nyc; we can add it again after we inc…
nivida 1e5c723
polyfill removed from karma.conf and commented added to require state…
nivida a777cc6
missing json reporter added to .nycrc
nivida ded4dd9
test:unit script updated, nyc will now be used to execute the tests f…
nivida 29393ab
coverage json report path updated for e2e.geth.automine.sh and e2e.ge…
nivida f1a52b2
not required 'nyc report' call removed
nivida 14e4a0a
Merge branch '1.x' into issue/3155
nivida 69c2749
require statement in getWeb3 function of the test.utils.js file updated
nivida 787d8a9
karma.conf.js updated for handling '../../packages/web3' in the test.…
nivida 96b3102
rollup.config.js duplicated babel configs removed
nivida ee6178d
scripts in package.json updated
nivida 310370c
constants added for targets and the default input source to rollup.co…
nivida 997830c
build step added to postinstall hook
nivida eeedd8e
any-promise removed because it will get polyfilled by babel
nivida 576eb0f
html reporter added to nycrc and istanbul handling updated
nivida a9021a7
scripts in package.json updated
nivida 9d9ecb7
duplicated comment removed in index.js of the ens module
nivida 3375590
README.md updated
nivida 5be08ab
bundle size of ens optimized from 581kb to 213kb
nivida 1a52348
logic change removed in package.json
nivida f296d07
README.md updated
nivida 3081c1b
cjs -> esm module structure. Fixes line shift in coverage and decreas…
nivida 9ff3c76
require statements removed in web3-core-requestmanager
nivida e4cd0a9
RequestManager export fixed
nivida df15fde
external parameter added to rollup config and import fixed in web3-core
nivida a71019f
ipc provider excluded from browser build
nivida df05836
imports fixed in web3-core module
nivida b5e0d2e
websocket import fixed
nivida d7e7ede
Merge branch 'issue/3155' into bundle-improvement-ens
nivida 072bd34
Merge branch 'issue/3155' of github.com:ethereum/web3.js into issue/3155
nivida 213228c
scripts folder re-structured, env vars moved to shell scripts, and sc…
nivida f31dd17
ES version updated for jshint
nivida 36bac10
execution permission updated for build scripts and jshintrc esversion…
nivida a07ea24
Merge pull request #3179 from ethereum/bundle-improvement-ens
nivida b54894c
rollup added as dev-dep to each sub-package
nivida 4a29224
input file updated for UMD min build
nivida 4210808
working global watch all added
nivida c6e5609
not required option properties removed in watch.all.js
nivida 2575323
babel browser target option updated
nivida 864e4aa
Merge branch '1.x' into issue/3155
nivida 8673bff
rollup devDep from packages removed and build scripts updated to use …
nivida e6e6d14
dedupe rules for minified browser bundles updated because of better w…
nivida b56698e
native crypto dependency removed and already used pure JS modules added
nivida File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,4 @@ dist/ | |
packages/web3/dist/ | ||
lerna-debug.log | ||
!./dist/web3.min.js | ||
.nyc_output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,6 @@ | |
"undef": true, | ||
"predef": [ | ||
"console" | ||
] | ||
], | ||
"esversion": 6 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"extends": "@istanbuljs/nyc-config-babel", | ||
"reporter": ["json", "html"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like this more detailed explanation.