From 7d05f8cb89790dc5d30442ce8d6dbd6c7d2edeba Mon Sep 17 00:00:00 2001 From: Samy Pesse Date: Sun, 4 Dec 2016 19:46:54 +0100 Subject: [PATCH] Update ied@2.3.6 and ad trailing newline in package.json --- packages/gitbook-plugin-copy-code/package.json | 2 +- packages/gitbook-plugin-headings/package.json | 2 +- packages/gitbook-plugin-highlight/package.json | 2 +- packages/gitbook-plugin-hints/package.json | 2 +- packages/gitbook-plugin-livereload/package.json | 2 +- packages/gitbook-plugin-lunr/package.json | 2 +- packages/gitbook-plugin-search/package.json | 3 ++- packages/gitbook-plugin-sharing/package.json | 2 +- packages/gitbook-plugin-theme-default/package.json | 2 +- packages/gitbook-plugin/package.json | 2 +- packages/gitbook/package.json | 4 ++-- scripts/bump.js | 4 +++- 12 files changed, 16 insertions(+), 13 deletions(-) diff --git a/packages/gitbook-plugin-copy-code/package.json b/packages/gitbook-plugin-copy-code/package.json index bfc9f938b..b25ca437b 100644 --- a/packages/gitbook-plugin-copy-code/package.json +++ b/packages/gitbook-plugin-copy-code/package.json @@ -26,4 +26,4 @@ "bugs": { "url": "https://github.com/GitbookIO/gitbook/issues" } -} \ No newline at end of file +} diff --git a/packages/gitbook-plugin-headings/package.json b/packages/gitbook-plugin-headings/package.json index 59802e8e2..55a06f626 100644 --- a/packages/gitbook-plugin-headings/package.json +++ b/packages/gitbook-plugin-headings/package.json @@ -35,4 +35,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/gitbook-plugin-highlight/package.json b/packages/gitbook-plugin-highlight/package.json index bd18e2616..ce8b8d6b8 100644 --- a/packages/gitbook-plugin-highlight/package.json +++ b/packages/gitbook-plugin-highlight/package.json @@ -26,4 +26,4 @@ "bugs": { "url": "https://github.com/GitbookIO/gitbook/issues" } -} \ No newline at end of file +} diff --git a/packages/gitbook-plugin-hints/package.json b/packages/gitbook-plugin-hints/package.json index c43656168..3afad4db6 100644 --- a/packages/gitbook-plugin-hints/package.json +++ b/packages/gitbook-plugin-hints/package.json @@ -26,4 +26,4 @@ "bugs": { "url": "https://github.com/GitBookIO/gitbook/issues" } -} \ No newline at end of file +} diff --git a/packages/gitbook-plugin-livereload/package.json b/packages/gitbook-plugin-livereload/package.json index d5aa912af..97df231f9 100644 --- a/packages/gitbook-plugin-livereload/package.json +++ b/packages/gitbook-plugin-livereload/package.json @@ -26,4 +26,4 @@ "bugs": { "url": "https://github.com/GitbookIO/gitbook/issues" } -} \ No newline at end of file +} diff --git a/packages/gitbook-plugin-lunr/package.json b/packages/gitbook-plugin-lunr/package.json index 9193dd9fd..6a26f2df6 100644 --- a/packages/gitbook-plugin-lunr/package.json +++ b/packages/gitbook-plugin-lunr/package.json @@ -41,4 +41,4 @@ "bugs": { "url": "https://github.com/GitBookIO/gitbook/issues" } -} \ No newline at end of file +} diff --git a/packages/gitbook-plugin-search/package.json b/packages/gitbook-plugin-search/package.json index 3914a2abd..ef4ae9ebb 100644 --- a/packages/gitbook-plugin-search/package.json +++ b/packages/gitbook-plugin-search/package.json @@ -5,7 +5,8 @@ "browser": "./_assets/theme.js", "version": "4.0.0", "dependencies": { - "gitbook-core": "4.0.0" + "gitbook-core": "4.0.0", + "react": "^15.4.1" }, "devDependencies": { "gitbook-plugin": "4.0.0", diff --git a/packages/gitbook-plugin-sharing/package.json b/packages/gitbook-plugin-sharing/package.json index 40d59231f..b0540e843 100644 --- a/packages/gitbook-plugin-sharing/package.json +++ b/packages/gitbook-plugin-sharing/package.json @@ -74,4 +74,4 @@ "url": "https://github.com/GitbookIO/gitbook/issues" }, "license": "Apache-2.0" -} \ No newline at end of file +} diff --git a/packages/gitbook-plugin-theme-default/package.json b/packages/gitbook-plugin-theme-default/package.json index 5ca08523a..6fdcfb1db 100644 --- a/packages/gitbook-plugin-theme-default/package.json +++ b/packages/gitbook-plugin-theme-default/package.json @@ -76,4 +76,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/gitbook-plugin/package.json b/packages/gitbook-plugin/package.json index 392702305..9cdc2f849 100644 --- a/packages/gitbook-plugin/package.json +++ b/packages/gitbook-plugin/package.json @@ -36,4 +36,4 @@ "bugs": { "url": "https://github.com/GitbookIO/gitbook/issues" } -} \ No newline at end of file +} diff --git a/packages/gitbook/package.json b/packages/gitbook/package.json index 53a54062b..0e8517914 100644 --- a/packages/gitbook/package.json +++ b/packages/gitbook/package.json @@ -36,7 +36,7 @@ "github-slugid": "1.0.1", "graceful-fs": "4.1.4", "i18n-t": "1.0.1", - "ied": "2.3.3", + "ied": "2.3.6", "ignore": "3.1.2", "immutable": "^3.8.1", "is": "^3.1.0", @@ -104,4 +104,4 @@ "babel-register": "^6.14.0", "mocha": "^3.0.2" } -} \ No newline at end of file +} diff --git a/scripts/bump.js b/scripts/bump.js index 0a29dbab1..2a4d59221 100755 --- a/scripts/bump.js +++ b/scripts/bump.js @@ -36,5 +36,7 @@ packages.forEach((name) => { updateDependencies(pkg.dependencies); updateDependencies(pkg.devDependencies); - fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2), 'utf-8'); + const json = JSON.stringify(pkg, null, 2); + + fs.writeFileSync(pkgPath, `${json}\n`, 'utf-8'); });