Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ All notable changes to this project are documented in this file.

## Unreleased

### Fixed

- **Installing the package no longer runs `tsc` in your project.** 0.0.17 and earlier shipped a
`postinstall` script (`tsc || exit 0`). The package does not include its own `tsconfig.json`, so
`tsc` picked up the app's `tsconfig.json` and type-checked the whole app on every install; with a
config that emits, it also wrote `.js` files next to the app's sources. The published package now
has no install scripts. The contributor build of `lib/` moved to the private monorepo root, so
`bun install` in this repository still builds it.

## 0.0.17 — 2026-09-16

### Fixed
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
"example",
"docs"
],
"trustedDependencies": [
"react-native-pay"
],
"version": "1.0.0",
"scripts": {
"postinstall": "cd package && tsc || exit 0",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"android": "expo run:android",
"ios": "expo run:ios",
"docs:start": "cd docs && bun run start",
Expand Down
1 change: 0 additions & 1 deletion package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
"scripts": {
"prepack": "rm -rf lib tsconfig.tsbuildinfo && tsc && cp ../README.md ./README.md",
"postpack": "rm ./README.md",
"postinstall": "tsc || exit 0;",
"typecheck": "tsc --noEmit",
"test": "jest",
"test:watch": "jest --watch",
Expand Down
Loading