Skip to content

Fixing package.json dependencies #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 7, 2017
Merged

Conversation

chuwik
Copy link
Member

@chuwik chuwik commented Apr 7, 2017

react-native and react-native-windows were specified as devDependencies, but they are actually required at runtime not just to build reactxp. This was causing an issue also in the sample app, since npm run start wouldn't work because react-native wouldn't exist in node_modules. An alternative is to specify react-native and react-native-windows as peerDependencies, if we want users to be able to choose a range, and include them as dependencies in the sample app. But if we want to lock down what versions they use, having a direct dependency is probably fine.

Also the sample app had a bunch of packages in its dependencies section which didn't need to, since they're already direct dependencies of reactxp and so they're already pulled on npm install

@msftclas
Copy link

msftclas commented Apr 7, 2017

@chuwik,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.

It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@erictraut erictraut merged commit 80d0981 into microsoft:master Apr 7, 2017
@erictraut erictraut mentioned this pull request Jun 30, 2017
deregtd added a commit that referenced this pull request Sep 19, 2017
…nitions (#280)

* Rename #1 for ViewBase to fix caps

* Rename #2 to fix ViewBase.  Enabling forceConsistentCasingInFileNames.

* Enabling noImplicitReturns, fixing a bug in native-common/Linking.ts

* Enabling noImplicitThis

* Enabling noUnusedLocals and fixing some bugs it found

* Enabling strict null checks on reactxp

* Addressing PR feedback

* Fixing a bunch of type exporting/checking issues

* Fixed a bunch of base interfaces and made everything inherit from them.  Made the exported reactxp.ts files per-platform export types from the base classes instead of their specific implementation.  This brought a bunch of interface holes to the surface.
@erictraut erictraut mentioned this pull request Sep 20, 2017
berickson1 pushed a commit to berickson1/reactxp that referenced this pull request Oct 22, 2018
…nitions (microsoft#280)

* Rename microsoft#1 for ViewBase to fix caps

* Rename microsoft#2 to fix ViewBase.  Enabling forceConsistentCasingInFileNames.

* Enabling noImplicitReturns, fixing a bug in native-common/Linking.ts

* Enabling noImplicitThis

* Enabling noUnusedLocals and fixing some bugs it found

* Enabling strict null checks on reactxp

* Addressing PR feedback

* Fixing a bunch of type exporting/checking issues

* Fixed a bunch of base interfaces and made everything inherit from them.  Made the exported reactxp.ts files per-platform export types from the base classes instead of their specific implementation.  This brought a bunch of interface holes to the surface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants