Skip to content

Commit

Permalink
Merge pull request #34 from regen-network/marie/33-tsconfig
Browse files Browse the repository at this point in the history
Update regen-js ts config to not build api as an ES6 module
  • Loading branch information
blushi authored Mar 15, 2022
2 parents 714e96d + ad0b02f commit f23a409
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 8 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.2.2](https://github.com/regen-network/regen-js/compare/v0.2.1...v0.2.2) (2022-03-14)


### Changed

* **api:** Update tsconfig to not build @regen-network/api as an ES6 module.






## [0.2.1](https://github.com/regen-network/regen-js/compare/v0.2.0...v0.2.1) (2022-03-08)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.2.1"
"version": "0.2.2"
}
13 changes: 13 additions & 0 deletions packages/api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.2.2](https://github.com/regen-network/regen-js/compare/v0.2.1...v0.2.2) (2022-03-14)


### Changed

* **api:** Update tsconfig to not build @regen-network/api as an ES6 module.







## [0.2.1](https://github.com/regen-network/regen-js/compare/v0.2.0...v0.2.1) (2022-03-08)


Expand Down
4 changes: 2 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@regen-network/api",
"version": "0.2.1",
"version": "0.2.2",
"author": "admin@regen.network",
"description": "A client library for the Regen Ledger",
"license": "Apache-2.0",
Expand All @@ -13,7 +13,7 @@
"@cosmjs/stargate": "^0.27.0"
},
"scripts": {
"build": "rimraf lib && tsc --downlevelIteration",
"build": "rimraf lib && tsc",
"gen": "rimraf src/generated && mkdir src/generated && ./scripts/protocgen.sh",
"test": "jest"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"declaration": true,
"esModuleInterop": true, // Somehow protobuf.js doesn't work when this is set to true.
"esModuleInterop": true,
"outDir": "lib"
},
"extends": "../../tsconfig",
Expand Down
10 changes: 10 additions & 0 deletions packages/demo-app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.2.2](https://github.com/regen-network/regen-js/compare/v0.2.1...v0.2.2) (2022-03-14)

**Note:** Version bump only for package @regen-network/demo-app







## [0.2.1](https://github.com/regen-network/regen-js/compare/v0.2.0...v0.2.1) (2022-03-08)

**Note:** Version bump only for package @regen-network/demo-app
Expand Down
4 changes: 2 additions & 2 deletions packages/demo-app/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@regen-network/demo-app",
"version": "0.2.1",
"version": "0.2.2",
"author": "admin@regen.network",
"description": "Demo web application using @regen-network/api",
"license": "Apache-2.0",
"private": true,
"repository": "https://github.com/regen-network/regen-js",
"dependencies": {
"@regen-network/api": "^0.2.1",
"@regen-network/api": "^0.2.2",
"@testing-library/jest-dom": "^5.11.8",
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^12.6.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/demo-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"target": "es6",
"sourceMap": true,
},
"extends": "../../tsconfig",
"include": [
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
"noUnusedParameters": false,
"pretty": true,
"removeComments": false,
"sourceMap": true,
"skipLibCheck": true,
"strict": true,
"target": "es6",
"downlevelIteration": true,
"typeRoots": ["./node_modules/@types"]
},
"exclude": ["**/lib/**/*"],
Expand Down

0 comments on commit f23a409

Please sign in to comment.