From 58c7b9ce54548907b8ea76813d3b713e9fbb4338 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 11 Oct 2018 13:38:43 +0200 Subject: [PATCH 1/2] update lerna / add gulp --- gulpfile.js | 10 ++++++++++ lerna.json | 11 ++++++++++- package.json | 16 +++++++++------- 3 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 gulpfile.js diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000000..232d580250 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,10 @@ +#!/usr/bin/env node + +'use strict'; +var gulp = require('gulp'); + +var lernaJSON = require('./lerna.json'); + +gulp.task('publishTag', function () { + exec("git tag v"+ lernaJSON.version +"; git push --tags"); +}); diff --git a/lerna.json b/lerna.json index c28bf231ed..541838e744 100644 --- a/lerna.json +++ b/lerna.json @@ -8,5 +8,14 @@ "remix-tests", "remix-simulator" ], - "version": "independent" + "command": { + "init": { + "exact": true + }, + "publish": { + "exact": true, + "skipGit": true + } + }, + "version": "0.0.1" } diff --git a/package.json b/package.json index 6caf32cecb..1e1ce5eab7 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,11 @@ { - "devDependencies": { - "lerna": "^2.10.2" - }, - "scripts": { - "bootstrap": "lerna bootstrap", - "publish": "lerna publish" - } + "devDependencies": { + "gulp": "^3.9.1", + "lerna": "^2.10.2" + }, + "scripts": { + "bootstrap": "lerna bootstrap", + "publish": "lerna publish", + "release": "lerna bootstrap; lerna publish; gulp; gulp publishTag;" + } } From eb13ffe1e8a9f04258090f90439f15379fbcde2c Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 16 Oct 2018 16:00:03 +0200 Subject: [PATCH 2/2] change initial version --- lerna.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index 541838e744..184e829ecc 100644 --- a/lerna.json +++ b/lerna.json @@ -17,5 +17,5 @@ "skipGit": true } }, - "version": "0.0.1" + "version": "0.1.0" }