-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Fix Build Command (supersedes #4848) #4861
Changes from all commits
e402865
771c2b2
cf7a047
b875b14
8147b4d
0f1eb0c
92cf679
ce80a9c
9f790fd
9779e6f
5e04fba
0f44bdd
0fd25e3
26e9cf5
27be3d7
f1f369a
28bf2cd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -23,27 +23,27 @@ | |||||
"lint": "jshint *.js packages", | ||||||
"test": "mocha -R spec --require ts-node/register --grep E2E --invert", | ||||||
"test:unit": "nyc --no-clean --silent _mocha -- -R spec --require ts-node/register --grep E2E --invert --exit", | ||||||
"test:cov": "npm run cov:clean; npm run test:unit; npm run test:e2e:clients; npm run cov:merge_reports", | ||||||
"test:cov": "npm run cov:clean && npm run test:unit && npm run test:e2e:clients && npm run cov:merge_reports", | ||||||
"dtslint": "lerna run dtslint", | ||||||
"depcheck": "lerna exec dependency-check -- --missing --verbose .", | ||||||
"bundlesize": "bundlesize || true", | ||||||
"geth": "geth-dev-assistant --accounts 5 --tag stable --gasLimit 7000000", | ||||||
"test:e2e:ganache": "./scripts/e2e.ganache.sh", | ||||||
"test:e2e:geth:auto": "./scripts/e2e.geth.automine.sh", | ||||||
"test:e2e:geth:insta": "./scripts/e2e.geth.instamine.sh", | ||||||
"test:e2e:clients": "npm run test:e2e:ganache; npm run test:e2e:geth:insta; npm run test:e2e:geth:auto", | ||||||
"test:e2e:chrome": "./scripts/e2e.chrome.sh", | ||||||
"test:e2e:firefox": "./scripts/e2e.firefox.sh", | ||||||
"test:e2e:min": "./scripts/e2e.min.sh", | ||||||
"test:e2e:cdn": "./scripts/e2e.cdn.sh", | ||||||
"test:e2e:browsers": "npm run build; npm run test:e2e:chrome; npm run test:e2e:firefox", | ||||||
"test:e2e:publish": "./scripts/e2e.npm.publish.sh", | ||||||
"test:e2e:truffle": "./scripts/e2e.truffle.sh", | ||||||
"test:e2e:mosaic": "./scripts/e2e.mosaic.sh", | ||||||
"test:e2e:ganache:core": "./scripts/e2e.ganache.core.sh", | ||||||
"test:e2e:gnosis:dex": "./scripts/e2e.gnosis.dex.sh", | ||||||
"ci": "./scripts/ci.sh", | ||||||
"cov:clean": "rm -rf .nyc_output; rm -rf coverage", | ||||||
"test:e2e:ganache": "bash ./scripts/e2e.ganache.sh", | ||||||
"test:e2e:geth:auto": "bash ./scripts/e2e.geth.automine.sh", | ||||||
"test:e2e:geth:insta": "bash ./scripts/e2e.geth.instamine.sh", | ||||||
"test:e2e:clients": "npm run test:e2e:ganache && npm run test:e2e:geth:insta && npm run test:e2e:geth:auto", | ||||||
"test:e2e:chrome": "bash ./scripts/e2e.chrome.sh", | ||||||
"test:e2e:firefox": "bash ./scripts/e2e.firefox.sh", | ||||||
"test:e2e:min": "bash ./scripts/e2e.min.sh", | ||||||
"test:e2e:cdn": "bash ./scripts/e2e.cdn.sh", | ||||||
"test:e2e:browsers": "npm run build && npm run test:e2e:chrome && npm run test:e2e:firefox", | ||||||
"test:e2e:publish": "bash ./scripts/e2e.npm.publish.sh", | ||||||
"test:e2e:truffle": "bash ./scripts/e2e.truffle.sh", | ||||||
"test:e2e:mosaic": "bash ./scripts/e2e.mosaic.sh", | ||||||
"test:e2e:ganache:core": "bash ./scripts/e2e.ganache.core.sh", | ||||||
"test:e2e:gnosis:dex": "bash ./scripts/e2e.gnosis.dex.sh", | ||||||
"ci": "bash ./scripts/ci.sh", | ||||||
"cov:clean": "rimraf .nyc_output && rimraf coverage", | ||||||
"cov:merge_reports": "nyc report --reporter=lcov --reporter=html" | ||||||
}, | ||||||
"repository": { | ||||||
|
@@ -127,6 +127,7 @@ | |||||
"mocha": "^6.2.3", | ||||||
"nyc": "^14.1.1", | ||||||
"pify": "^4.0.1", | ||||||
"rimraf": "^3.0.2", | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
"sandboxed-module": "^2.0.4", | ||||||
"ts-node": "^9.0.0", | ||||||
"typescript": "^3.9.7", | ||||||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
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.
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.
The suggested change actively reduces cross-platform compatibility. Can you explain why it's important to avoid any changes to package-lock?
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.
@wbt We include changes in package-lock files via dedicated and internally initialized PRs only.
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.
This is now formally an internally initialized PR. Going out of your way to reduce cross-platform compatibility and break the command on some platforms just doesn't seem like the right direction.
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.
Internal and also dedicated PRs for package lock changes. Thanks
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.
However, the version of this PR which does not change all the package-lock files this one does was rejected at #4848. In theory, I believe that one could be reopened and merged, but @spacesailor24 seems to prefer the version with all the additional package-lock changes while @jdevcs strongly disagrees, and meanwhile the command nominally required to be run for every PR remains broken.
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.
@wbt , we discussed this internally that @spacesailor24 will re generate package lock files in this PR, but there are errors when he tried. #4861 (comment)
Our team is occupied in 4.x so could you investigate and share it.
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.
@jdevcs can you just reopen #4848?
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.
Its already merged so couldn't reopen.
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.
Replaced with #4939.