-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
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", |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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.
There was a problem hiding this 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
There was a problem hiding this 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.
No description provided.