Skip to content
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

use snack-sdk 2.2.0-apkurl-v1 and add to toTranspileWithinNodeModules #27488

Merged
merged 1 commit into from Mar 13, 2019

Conversation

cpirich
Copy link
Contributor

@cpirich cpirich commented Mar 13, 2019

  • Last week, I briefly created a 2.2.0-apkurl-v2 version of the snack-sdk to work around a transpiling issue. When I had tried adding this package to toTranspileWithinNodeModules locally, it didn't fix my yarn test:unit run. But, it turns out that our tests require an apps build first - and that needed to be done with the new webpack config before the test error went away. So, now I've made the change and converted us back to the 2.2.0-apkurl-v1 version which is close to the mainline snack-sdk (it just includes the changes from Apk url expo/snack-sdk#9)

Copy link
Contributor

@islemaster islemaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good!

Did you figure out why tests require an apps build first? That seems like something we should fix.

@cpirich
Copy link
Contributor Author

cpirich commented Mar 13, 2019

Changes look good!

Did you figure out why tests require an apps build first? That seems like something we should fix.

@islemaster I believe it is because of this: https://github.com/code-dot-org/code-dot-org/blob/staging/apps/test/unit/applab/ExporterTest.js#L772

@islemaster islemaster self-requested a review March 13, 2019 17:51
@cpirich cpirich merged commit 79c085d into staging Mar 13, 2019
@cpirich cpirich deleted the fix-snack-sdk-transpile branch March 13, 2019 22:13
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.

None yet

2 participants