Zendesk to Release Node Publisher

Node publisher is designed to help developers to build Node package properly
07 December 2018   111

Zendesk developed node publisher, a tool for building Node.js packages with one command.

Often when building a package, developers forget one step or another, test the wrong version, or forget to run tests at all. As a result, packs with errors are added to the Node.js repository. It is noted that node-publisher will build packages automatically, without missing a single step. This allows, among other things, correct dependency management.

Site-publisher combines five consecutive steps:

  1. Preparation: check against the working tree and the current version N.
  2. Testing: running a code analyzer and tests.
  3. Build (optional): code verification with Babel.
  4. Publication.
  5. Post publication: creating a change log.

node-publisher works with several project elements. In particular, it uses a specific git workflow, checks for the presence of a .nvmrc file, and specifies the script names in package.json. When launched, a .release.yml file is created in the project root folder. In this case, the tool will perform only those steps and commands that are present in the configuration file:

rollback: true

prepare:
  - git diff-index --quiet HEAD --
  - git checkout master
  - git pull --rebase
  - '[[ -f .nvmrc ]] && ./node_modules/.bin/check-node-version --node $(cat .nvmrc)'
  - yarn install

test:
  - yarn travis

build:
  - yarn build
  - git diff --staged --quiet || git commit -am "Update build file"

after_publish:
  - git push --follow-tags origin master:master

changelog:
  - ./node_modules/.bin/offline-github-changelog > CHANGELOG.md
  - git add CHANGELOG.md
  - git commit --allow-empty -m "Update changelog"
  - git push origin master:master

 

Microsoft to Use Chromium for Edge Browser

The company has already placed the repository on GitHub to attract new members to the development of the browser
07 December 2018   123

Microsoft Vice President Joe Belfiore said that from December 6, 2018, the company will use the Chromium engine in the Microsoft Edge browser. According to him, Microsoft also plans to develop browsers for smartphones and other devices.

The company has already placed the repository on GitHub to attract new members to the development of the browser. Microsoft expects that the transition to the new engine will be a big step in the development of Microsoft Edge. For example, the browser will finally be adapted for macOS.

According to Belfiore, the company plans to improve the project in three areas:

  • Users will get hardware integration, improved browser compatibility with sites and reduced power consumption of devices when using it.
  • Web developers will appreciate the reduced fragmentation of a web platform for testing sites.
  • The corporate IT sector will get the compatibility of old and new Windows applications that run in the browser.

He noted that during the year the company would work “under the hood” of Microsoft Edge, and named several key stages of this process. For example, the transition to a platform compatible with the Chromium engine for developing a desktop version of the browser. It is also planned that most platforms and all versions of Windows will support Microsoft Edge.