Skip to content

Commit 77cabc0

Browse files
committed
fix: ship podspec and config in package
1 parent b967aa1 commit 77cabc0

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

__tests__/config.test.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,14 @@ describe("react-native config", () => {
1212
const resolved = path.resolve(__dirname, "..", podspecPath);
1313
expect(fs.existsSync(resolved)).toBe(true);
1414
});
15+
16+
it("includes podspec and config in published files", () => {
17+
const pkg = require("../package.json");
18+
expect(pkg.files).toEqual(
19+
expect.arrayContaining([
20+
"react-native-contacts-last-updated.podspec",
21+
"react-native.config.js",
22+
])
23+
);
24+
});
1525
});

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-contacts-last-updated",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Access the device address book and track when contacts were last touched. This package exposes a single API surface that falls back gracefully when the new TurboModule system is unavailable.",
55
"homepage": "https://github.com/omarsdev/react-native-contacts-last-updated#readme",
66
"bugs": {
@@ -18,7 +18,9 @@
1818
"files": [
1919
"src",
2020
"android",
21-
"ios"
21+
"ios",
22+
"react-native.config.js",
23+
"react-native-contacts-last-updated.podspec"
2224
],
2325
"scripts": {
2426
"test": "jest"

0 commit comments

Comments
 (0)