-
Notifications
You must be signed in to change notification settings - Fork 18
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
[IWJ-17] Migrate to vue-cli3 #9
Conversation
eade82e
to
89263dc
Compare
in reference to package.json which is created by vue-cli with "with sass" option
because electron-builder tries to rebuild native module, while iroha-lib doesn't have a corresponding binary yet.
in order to load iroha-util.js as is. According to the comment below, transform-runtime adds `import` to each file and makes it unable to use `module.exports`. webpack/webpack#4039 (comment)
bba435b
to
9f6e64d
Compare
@@ -1,24 +1,20 @@ | |||
import Vue from 'vue' | |||
import axios from 'axios' | |||
import '@babel/polyfill' |
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.
In order to use Promise.prototype.finally
. This will be replaced with individual requires by Babel. https://github.com/babel/babel/tree/master/packages/babel-preset-env#usebuiltins-entry
public/index.html
Outdated
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but myproject3 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> |
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.
myproject3 ;)
package.json
Outdated
@@ -10,99 +10,95 @@ | |||
"license": null, |
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.
(wrong line, but)
"productName": "Iroha Wallet" ?
this way it will have a correct name in window title/applications folder.
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.
Also, maybe its time to set version to 0.1.0 :D
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.
Change those small things and we are green to go :)
package.json
Outdated
@@ -10,99 +10,95 @@ | |||
"license": null, |
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.
Also, maybe its time to set version to 0.1.0 :D
package.json
Outdated
"webpack-merge": "^4.1.0" | ||
"@babel/polyfill": "^7.0.0-beta.48", | ||
"@babel/preset-env": "^7.0.0-beta.47", | ||
"@vue/cli-plugin-babel": "^3.0.0-beta.10", |
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.
maybe its time to update all of them to beta.15? :3
LICENSE
Outdated
same "printed page" as the copyright notice for easier | ||
identification within third-party archives. | ||
|
||
Copyright [yyyy] [name of copyright owner] |
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.
I guess we should keep License :) (And fill those blanks with actual year and company name).
This reverts commit 84e8764.
Ticket
https://soramitsu.atlassian.net/browse/IWJ-17
Description
How to check
yarn
to install new dependencies.yarn rebuild
to rebuild native modulesyarn serve:electron
yarn build:electron
Screenshot
I tested it with mac, node v10.3.0

For debuggability, "Version" menu shows a commit hash which the app was built from.
