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

Feature/seext 7692 babel cache issue #73

Merged
merged 5 commits into from
May 4, 2020

Conversation

aaleexiis
Copy link
Contributor

No description provided.

package.json Outdated
"lint": "eslint ./ --ignore-pattern build --ignore-pattern templates",
"test": "mocha -R spec --require fetch-everywhere --compilers js:babel-core/register \"src/**/*spec.js\"",
"shoutem": "node build/shoutem.js",
"dev": "node src/shoutem.js",
"prepublish": "dos2unix src/shoutem.js",

Choose a reason for hiding this comment

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

Add && npm run build to prepublish script

src/cli.js Outdated
return null;
}
await authorizeRequests(await getRefreshToken());
const refreshToken = await getRefreshToken();
authorizeRequests(refreshToken);

Choose a reason for hiding this comment

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

This call was awaited before. Please check if this call should still be awaited and add await if required.

Copy link

@tomislavherman tomislavherman left a comment

Choose a reason for hiding this comment

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

It's ok regarding my previous comments. @Definitely-Not-Vlad can you please see if there are some potential problems with this. Basically, few files are reverted to state before your commit on Mar 12: Reset to v0.10.11. As I can see these changes include:

  • starting cli from build folder
  • disabling dynamic babel transpilation (babel/register) if code is started from build folder
  • passing arguments to autoUpdate call

Copy link
Contributor

@Definitely-Not-Vlad Definitely-Not-Vlad left a comment

Choose a reason for hiding this comment

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

LGTM, taking into account @tomislavherman's "reverted" commits.

@aaleexiis aaleexiis merged commit 86e2d76 into develop May 4, 2020
@aaleexiis aaleexiis deleted the feature/SEEXT-7692-Babel-cache-issue branch May 4, 2020 08:23
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.

4 participants