Skip to content

Commit 6b67400

Browse files
committed
temp type fix and fixed scripts
1 parent 184fc43 commit 6b67400

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

.changeset/cute-cities-march.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@react-native-node-api/ferric-example": patch
3+
"cmake-rn": patch
4+
"ferric-cli": patch
5+
"@react-native-node-api/test-app": patch
6+
"react-native-node-api": patch
7+
---
8+
9+
Migrated package manager to pnpm

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"clean": "tsc --build --clean",
1010
"dev": "tsc --build --watch",
1111
"lint": "eslint .",
12-
"test": "pnpm test --workspace react-native-node-api --workspace cmake-rn --workspace gyp-to-cmake --workspace node-addon-examples",
13-
"bootstrap": "pnpm build && pnpm bootstrap --workspaces --if-present",
14-
"prerelease": "pnpm build && pnpm prerelease --workspaces --if-present",
12+
"test": "pnpm --filter react-native-node-api --filter cmake-rn --filter gyp-to-cmake --filter node-addon-examples test",
13+
"bootstrap": "pnpm --recursive --if-present build",
14+
"prerelease": "pnpm --recursive --if-present prerelease",
1515
"release": "changeset publish"
1616
},
1717
"author": {

packages/host/src/node/babel-plugin/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function replaceWithRequireNodeAddon(
4848
t.identifier("requireNodeAddon")
4949
),
5050
[t.stringLiteral(requireCallArgument)]
51-
)
51+
) as any
5252
);
5353
}
5454

0 commit comments

Comments
 (0)