Skip to content

Commit

Permalink
Prepare v0.7.2 for release, further increasing downstream JS compatib…
Browse files Browse the repository at this point in the history
…ility. (#96)

* Make babel config 'global' so that node_modules can get transpiled
  • Loading branch information
Shaptic committed May 25, 2023
1 parent 23ce044 commit 2db3e2f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ A breaking change should be clearly marked in this log.
## Unreleased


## v0.7.2

### Fixed
* Downstream dependencies are transpiled to target the same older JS environments as the main library ([#96](https://github.com/stellar/js-soroban-client/pull/96)).


## v0.7.1

### Fixed
Expand Down
9 changes: 2 additions & 7 deletions .babelrc → babel.config.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
{
"comments": false,
"comments": true, // for debugging & jsdocs
"presets": [
"@babel/preset-env",
"@babel/typescript"
],
"targets": {
"node": 14,
"browsers": [ "> 2%" ] // target modern browsers and ES6
},
"env": {
"development": {
"comments": true, // for debugging
"plugins": [ "istanbul" ] // for code coverage
},
"docs": {
"comments": true // for jsdocs
},
"production": {
// stricter target for final browser bundle (more compatibility)
"comments": false,
"targets": {
"node": 14,
"browsers": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "soroban-client",
"version": "0.7.1",
"version": "0.7.2",
"description": "A library for working with Stellar's Soroban RPC servers.",
"author": "Stellar Development Foundation <[email protected]>",
"homepage": "https://github.com/stellar/js-soroban-client",
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ const config = {
rules: [
{
test: /\.m?(ts|js)$/,
exclude: /node_modules/,
exclude: /node_modules\/(?!(stellar-base|js-xdr))/,
use: {
loader: "babel-loader",
options: {
cacheDirectory: true,
cacheDirectory: true
},
},
},
Expand Down

0 comments on commit 2db3e2f

Please sign in to comment.