Skip to content

Commit

Permalink
fix(react-native): add missing expo plugin in npm pack
Browse files Browse the repository at this point in the history
  • Loading branch information
santhoshvai committed Sep 11, 2023
1 parent f551d26 commit bfeb79d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/react-native-sdk/app.plugin.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./expo-config-plugin/build');
module.exports = require('./expo-config-plugin/dist');
17 changes: 8 additions & 9 deletions packages/react-native-sdk/expo-config-plugin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"module":"CommonJS",
"outDir": "build",
"rootDir": "src",
"declaration": true
},
"include": ["./src"]
}
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["./src"],
"exclude": ["**/__mocks__/*", "**/__tests__/*"]
}
12 changes: 7 additions & 5 deletions packages/react-native-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"license": "See license in LICENSE",
"scripts": {
"postinstall": "yarn copy-version",
"clean": "rimraf dist",
"clean": "rimraf dist && rimraf expo-config-plugin/dist",
"start": "yarn copy-version && tsc --project tsconfig.json --watch",
"build:expo-plugin": "rimraf plugin/build && tsc --build expo-config-plugin",
"build:expo-plugin": "rimraf plugin/dist && tsc --project expo-config-plugin/tsconfig.json",
"build": "yarn clean && yarn copy-version && tsc --project tsconfig.json && yarn build:expo-plugin",
"test:expo-plugin": "jest expo-config-plugin --coverage",
"test": "jest --coverage && yarn test:expo-plugin",
Expand All @@ -27,9 +27,11 @@
"index.ts",
"stream-video-react-native.podspec",
"package.json",
"README.md",
"LICENSE",
"CHANGELOG.md",
"app.plugin.js",
"expo-config-plugin/README.md",
"expo-config-plugin/dist/*",
"!expo-config-plugin/src/*",
"!expo-config-plugin/fixtures/*",
"!ios/build",
"!android/build",
"!android/gradle",
Expand Down

0 comments on commit bfeb79d

Please sign in to comment.