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

Refactor dev and fix bugs #27

Merged
merged 6 commits into from
Sep 26, 2018
Merged

Refactor dev and fix bugs #27

merged 6 commits into from
Sep 26, 2018

Conversation

ahlumin
Copy link
Contributor

@ahlumin ahlumin commented Sep 25, 2018

  • bugs fixed

    1. fixed command that ignores add and remove in ‘kaizen plugin’
    2. fixed file path issued in 'kaizen build, init, publish'
  • compatibility

    1. refactor
    2. used babel to compile code base, which will also allow users with old version nodejs to use Kaizen

@ahlumin ahlumin changed the title Refactor dev Refactor dev and fix bugs Sep 25, 2018
@ahlumin ahlumin closed this Sep 26, 2018
@ahlumin ahlumin reopened this Sep 26, 2018
@ahlumin ahlumin requested a review from PhyrexTsai September 26, 2018 08:51
var _ref = _asyncToGenerator(
/*#__PURE__*/
regeneratorRuntime.mark(function _callee(yargs, targetPath) {
var kaizenConfig, ipfs, files, hashes, hash, iphsUrl;
Copy link
Contributor

Choose a reason for hiding this comment

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

iphsUrl typo, please change to ipfsUrl

case 8:
hashes = _context.sent;
hash = hashes[hashes.length - 1].hash;
iphsUrl = "https://ipfs.infura.io/ipfs/".concat(hash);
Copy link
Contributor

Choose a reason for hiding this comment

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

iphsUrl typo, please change to ipfsUrl

hashes = _context.sent;
hash = hashes[hashes.length - 1].hash;
iphsUrl = "https://ipfs.infura.io/ipfs/".concat(hash);
openBrowser(iphsUrl);
Copy link
Contributor

Choose a reason for hiding this comment

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

iphsUrl typo, please change to ipfsUrl

hash = hashes[hashes.length - 1].hash;
iphsUrl = "https://ipfs.infura.io/ipfs/".concat(hash);
openBrowser(iphsUrl);
Log.SuccessLog("ipfs url => ".concat(iphsUrl));
Copy link
Contributor

Choose a reason for hiding this comment

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

iphsUrl typo, please change to ipfsUrl

break;

case 'bluzelle':
removeBluzelle(configPath, kaizenConfig, ['pn-vue-bluzelle', 'pn-react-bluzelle', 'pn-vue-bluzelle']);
Copy link
Contributor

Choose a reason for hiding this comment

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

Have two 'pn-vue-bluzelle'

removeNOIA(configPath, kaizenConfig, ['NOIA']);
break;
case 'bluzelle':
removeBluzelle(configPath, kaizenConfig, ['pn-vue-bluzelle', 'pn-react-bluzelle', 'pn-vue-bluzelle']);
Copy link
Contributor

Choose a reason for hiding this comment

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

Duplicate 'pn-vue-bluzelle'

@PhyrexTsai PhyrexTsai merged commit 60db3c3 into dev Sep 26, 2018
@ahlumin ahlumin deleted the refactor-dev branch September 26, 2018 09:38
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.

2 participants