Skip to content

Commit

Permalink
feat: Node.js v12 (#387)
Browse files Browse the repository at this point in the history
Node.js v12
  • Loading branch information
Thomas Parisot committed May 8, 2019
2 parents 8a2f3c6 + b1433f5 commit 6a206ff
Show file tree
Hide file tree
Showing 20 changed files with 272 additions and 204 deletions.
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
dist: trusty
sudo: false

dist: xenial
language: node_js
cache: npm

Expand All @@ -10,7 +8,7 @@ addons:
packages:
- libxml2-utils

node_js: v10
node_js: v12
env:
- npm_version=6
DEBUG=tape-spawn
Expand Down Expand Up @@ -83,9 +81,18 @@ deploy:
- provider: npm
tag: next
skip-cleanup: true
tag: latest
on:
tags: true
all-branches: true
condition: $TRAVIS_BRANCH =~ ^v2.
email: "hi@oncletom.io"
api-key: "$NPM_TOKEN"
- provider: npm
skip-cleanup: true
tag: next
on:
tags: true
branch: v2
email: "hi@oncletom.io"
api-key: "$NPM_TOKEN"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ des *outils en ligne de commande*.
>
> Plus de 500 exemples pour apprendre en pratiquant.
**Versions couvertes** • `node v10``npm v6`.<br>
**Versions couvertes** • `node v12``npm v6`.<br>
📖 **Journal de bord d'écriture**[2018][journal-2018] • [2017][journal-2017].<br>
🔎 **Lire l'ouvrage**[sur papier](#sur-papier)[sur liseuse numérique](#sur-liseuse-numérique)[sur le web](#sur-le-web) • [sur npm](#avec-nodejs).

Expand Down
2 changes: 1 addition & 1 deletion appendix-a/index.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:appendix-number: A
:chapterId: appendix-a
:sectnums:
:nodeCurrentVersion: v10
:nodeCurrentVersion: v12
:npmCurrentVersion: v6
:revdate: {docdate}
:sourceDir: ./examples
Expand Down
51 changes: 24 additions & 27 deletions appendix-a/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion appendix-a/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"restify-errors": "^6.1.1",
"sanitize-filename": "^1.6.1",
"sinon": "^1.10.3",
"sqlite3": "^4.0.6",
"sqlite3": "^4.0.7",
"tape": "^4.10.1",
"tcomb": "^3.2.29"
}
Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ image: Visual Studio 2017

environment:
matrix:
- nodejs_version: '10'
- nodejs_version: '12'
PLATFORM: 'x64'
npm_version: '6'
DEBUG: 'tape-spawn'
SHARP_IGNORE_GLOBAL_LIBVIPS: '1'

install:
- ps: Install-Product node $env:nodejs_version x64
# - ps: npm install -g "npm@${env:npm_version}"
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:PLATFORM
- npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"
- npm config set prefer-offline true
- npm install
Expand Down
6 changes: 3 additions & 3 deletions chapter-01/index.adoc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
:chapter-number: 1
:chapterId: chapter-01
:sourceDir: ./examples
:nodeCurrentVersion: v10
:nodeCurrentVersion: v12
:npmCurrentVersion: v6
:npmModulesCount: 782{nbsp}000
:nodeContributorsCount: 2{nbsp}000
:npmModulesCount: 967{nbsp}000
:nodeContributorsCount: 2{nbsp}400
:sectnums:
:revdate: {docdate}
:imagesdir: {indir}
Expand Down
12 changes: 6 additions & 6 deletions chapter-02/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
:chapterId: chapter-02
:sourceDir: ./examples
:npmCurrentVersion: v6
:nodeCurrentVersion: v10
:nodePrevVersion: v9
:nodeV: 10.9.0
:vNext: 11
:v: 10
:nvmVersion: v0.33.11
:nodeCurrentVersion: v12
:nodePrevVersion: v11
:nodeV: 12.0.0
:vNext: 13
:v: 12
:nvmVersion: v0.34.0
:sectnums:
:revdate: {docdate}
:imagesdir: {indir}
Expand Down
2 changes: 1 addition & 1 deletion chapter-03/index.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:chapter-number: 3
:chapterId: chapter-03
:sourceDir: ./examples
:nodeCurrentVersion: v10
:nodeCurrentVersion: v12
:npmCurrentVersion: v6
:sectnums:
:revdate: {docdate}
Expand Down
6 changes: 3 additions & 3 deletions chapter-04/index.adoc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
:chapter-number: 4
:chapterId: chapter-04
:sourceDir: ./examples
:nodeCurrentVersion: v10
:nodeV: 10.9.0
:nodeCurrentVersion: v12
:nodeV: 12.0.0
:npmCurrentVersion: v6
:npmV: 6.4.0
:npmV: 6.9.0
:sectnums:
:revdate: {docdate}
:imagesdir: {indir}
Expand Down
4 changes: 2 additions & 2 deletions chapter-05/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
:chapterId: chapter-05
:sourceDir: ./examples
:httpRoot: http://localhost:3000
:nodeCurrentVersion: v10
:nodeCurrentVersion: v12
:npmCurrentVersion: v6
:cowsayVersion: 1.3.1
:lodashVersion: 4.17.11
:mochaVersion: 5.2.0
:serveVersion: 10.0.0
:microVersion: 9.3.3
:npmvX: 6.4.0
:npmvX: 6.9.0
:cross: &#x2718;
:tick: &#x2714;
:maybe: &#x2248;
Expand Down
6 changes: 3 additions & 3 deletions chapter-06/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
:chapterId: chapter-06
:sourceDir: ./examples
:httpRoot: http://localhost:8000
:nodeCurrentVersion: v10
:v: 10
:nodeNextVersion: v11
:nodeCurrentVersion: v12
:v: 12
:nodeNextVersion: v13
:npmCurrentVersion: v6
:sectnums:
:revdate: {docdate}
Expand Down
13 changes: 0 additions & 13 deletions chapter-07/examples/upload/send.js

This file was deleted.

2 changes: 1 addition & 1 deletion chapter-07/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:chapterId: chapter-07
:sourceDir: ./examples
:serverUrl: http://localhost:4000
:nodeCurrentVersion: v10
:nodeCurrentVersion: v12
:npmCurrentVersion: v6
:sectnums:
:revdate: {docdate}
Expand Down
Loading

0 comments on commit 6a206ff

Please sign in to comment.