diff options
author | Artur <artur@vaadin.com> | 2018-03-08 23:17:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-08 23:17:03 +0200 |
commit | 176ef059811ca4cbf3a7e3120ddce21363a72561 (patch) | |
tree | c2d36ddc825eb226d947d23b2a339c067b6db31a /update-core-version.js | |
parent | eb45a14c4695504787c27ab4b4283132c18b832a (diff) | |
download | vaadin-176ef059811ca4cbf3a7e3120ddce21363a72561.tar.gz vaadin-176ef059811ca4cbf3a7e3120ddce21363a72561.zip |
Update core dependency when updating version (#19)
Diffstat (limited to 'update-core-version.js')
-rw-r--r-- | update-core-version.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/update-core-version.js b/update-core-version.js new file mode 100644 index 0000000..a284e4e --- /dev/null +++ b/update-core-version.js @@ -0,0 +1,8 @@ +var fs = require('fs'); +const fileName = './bower.json'; +var bowerjson = require(fileName); + +const version = require('./package.json').version; +bowerjson.dependencies["vaadin-core"] = version; + +fs.writeFileSync(fileName, JSON.stringify(bowerjson, null, 2)); |