Skip to content

Commit

Permalink
Data: Bundle TypeScript types with the data package (#43315)
Browse files Browse the repository at this point in the history
* Add TypeScript types to the built package (via "types": "build-types" in the package.json)

* Revert package-lock.json changes

* Clean up the include section of tsconfig.json
  • Loading branch information
adamziel authored Aug 23, 2022
1 parent 57a0228 commit 3a54b7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions packages/data/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Changes

– Add TypeScript types to the built package (via "types": "build-types" in the package.json)

## 6.15.0 (2022-08-10)

## 6.14.0 (2022-07-27)
Expand Down
1 change: 1 addition & 0 deletions packages/data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"types": "build-types",
"sideEffects": false,
"dependencies": {
"@babel/runtime": "^7.16.0",
Expand Down
6 changes: 1 addition & 5 deletions packages/data/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
{ "path": "../redux-routine" }
],
"include": [
"src/redux-store/metadata/**/*",
"src/promise-middleware.js",
"src/utils",
"src/*.ts",
"src/**/*.js"
"src/**/*"
]
}

0 comments on commit 3a54b7d

Please sign in to comment.