Skip to content

Commit

Permalink
include sources for sourcemaps (#5956)
Browse files Browse the repository at this point in the history
* include src files when installing on npm for sourcemaps

* update changelog

* update changelog

* remove duplicate changelog

---------

Co-authored-by: Muhammad Altabba <24407834+Muhammad-Altabba@users.noreply.github.com>
Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com>
Co-authored-by: Wyatt Barnes <me@wyatt.email>
  • Loading branch information
4 people authored Mar 28, 2023
1 parent ad822b2 commit 6f3e291
Show file tree
Hide file tree
Showing 40 changed files with 77 additions and 22 deletions.
4 changes: 4 additions & 0 deletions packages/web3-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed

- `getConfig` method from `Web3Config` class, `config` is now public and accessible using `Web3Config.config` (#5950)

### Added

- Added source files (#5956)
3 changes: 2 additions & 1 deletion packages/web3-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-errors/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- `gasLimit` is no longer accepted as a parameter for `MissingGasError` and `TransactionGasMismatchError, and is also no longer included in error message (#5915)

### Added

- Added source files (#5956)
3 changes: 2 additions & 1 deletion packages/web3-errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-eth-abi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed

- Removed `formatDecodedObject` function (#5934)

### Added

- Added source files (#5956)
3 changes: 2 additions & 1 deletion packages/web3-eth-abi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-eth-accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion packages/web3-eth-accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
4 changes: 2 additions & 2 deletions packages/web3-eth-contract/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ const transactionHash = receipt.transactionHash;

### Added

- `input` is now an acceptable property for `ContractInitOptions` in place of `data` (either can be used, but `input` is used withing the `Contract` class) (#5915)
- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
- `input` is now an acceptable property for `ContractInitOptions` in place of `data` (either can be used, but `input` is used withing the
`Contract` class) (#5915)

### Changed

Expand Down
3 changes: 2 additions & 1 deletion packages/web3-eth-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-eth-ens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion packages/web3-eth-ens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-eth-iban/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion packages/web3-eth-iban/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-eth-personal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion packages/web3-eth-personal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `signTransaction` will now return `gas` instead of `gasLimit` for returned transaction object regardless of what property name the provider uses (#5915)
- `formatTransaction` will now replace `data` transaction property with `input` (#5915)
- `isTransactionCall` will now check if `value.input` `isHexStrict` if provided (#5915)

### Added

- Added source files (#5956)
3 changes: 2 additions & 1 deletion packages/web3-eth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-net/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion packages/web3-net/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-providers-http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion packages/web3-providers-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-providers-ipc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion packages/web3-providers-ipc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-providers-ws/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion packages/web3-providers-ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-rpc-methods/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion packages/web3-rpc-methods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
4 changes: 4 additions & 0 deletions packages/web3-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- `data` property in `TransactionOutput` was renamed to `input` (#5915)

### Added

- Added source files (#5956)
3 changes: 2 additions & 1 deletion packages/web3-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion packages/web3-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3-validator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
2 changes: 1 addition & 1 deletion packages/web3-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"files": [
"lib/**/*",
"dist/**/*"
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions packages/web3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ web3.currentProvider.disconnect();

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
2 changes: 1 addition & 1 deletion packages/web3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"files": [
"lib/**/*",
"dist/**/*"
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
1 change: 1 addition & 0 deletions tools/web3-packagetemplate/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added source files (#5956)
- Added hybrid build (ESM and CJS) of library (#5904)
3 changes: 2 additions & 1 deletion tools/web3-packagetemplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"npm": ">=6.12.0"
},
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down
4 changes: 4 additions & 0 deletions tools/web3-plugin-example/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated dependencies

## [Unreleased]

### Added

- Added source files (#5956)
3 changes: 2 additions & 1 deletion tools/web3-plugin-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"API"
],
"files": [
"lib/**/*"
"lib/**/*",
"src/**/*"
],
"scripts": {
"clean": "rimraf dist && rimraf lib",
Expand Down

0 comments on commit 6f3e291

Please sign in to comment.