qb 0.1.24 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/qb/version.rb +1 -1
- data/roles/qb.nrser_js/.qb-options.yml +1 -1
- data/roles/qb.nrser_js/defaults/main.yml +4 -0
- data/roles/qb.nrser_js/files/gulpfile.js +6 -2
- data/roles/qb.nrser_js/meta/qb.yml +6 -0
- data/roles/qb.nrser_js/tasks/main.yml +20 -11
- metadata +3 -3
- data/roles/qb.nrser_js/files/ughfile.js +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8eacfdedcfc6d42f8f29a3c4c0a5e4cf7e13fd50
|
4
|
+
data.tar.gz: db07c58f091593b21ce3e490d4259429f022f369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee1d4880b662945fd9f81003daffb58bf565bd0d103ab535e66fd790620ac1f640f3c49ac99c5bc7248713e58c4ceb9cf92d22bf96f8e01352c8935c000c9628
|
7
|
+
data.tar.gz: d7e20dbb0372a085c21047db8f394a3a38b83d67bd50ddd2735a58eb050a303a1c2da80b8c9293e876ce98c63a81d72870ce07e4e2bf0685ef5e6b2ffe9247e3
|
data/lib/qb/version.rb
CHANGED
@@ -38,22 +38,11 @@
|
|
38
38
|
src: .babelrc
|
39
39
|
dest: "{{ qb_dir }}/.babelrc"
|
40
40
|
|
41
|
-
- name: add ughfile.js
|
42
|
-
copy:
|
43
|
-
src: ughfile.js
|
44
|
-
dest: "{{ qb_dir }}/ughfile.js"
|
45
|
-
|
46
41
|
- name: add gulpfile.js
|
47
42
|
copy:
|
48
43
|
src: gulpfile.js
|
49
44
|
dest: "{{ qb_dir }}/gulpfile.js"
|
50
45
|
|
51
|
-
- name: flow init
|
52
|
-
command: node_modules/.bin/flow init
|
53
|
-
args:
|
54
|
-
chdir: "{{ qb_dir }}"
|
55
|
-
creates: "{{ qb_dir }}/.flowconfig"
|
56
|
-
|
57
46
|
- name: "ignore {{ item }}"
|
58
47
|
lineinfile:
|
59
48
|
line: "{{ item }}"
|
@@ -61,3 +50,23 @@
|
|
61
50
|
with_items:
|
62
51
|
- /lib
|
63
52
|
- /test/lib
|
53
|
+
|
54
|
+
- name: npm install
|
55
|
+
when: "{{ nrser_js_yarn == false }}"
|
56
|
+
command: npm install
|
57
|
+
args:
|
58
|
+
chdir: "{{ qb_dir }}"
|
59
|
+
creates: "{{ qb_dir }}/node_modules"
|
60
|
+
|
61
|
+
- name: yarn install
|
62
|
+
when: "{{ nrser_js_yarn == true}}"
|
63
|
+
command: yarn
|
64
|
+
args:
|
65
|
+
chdir: "{{ qb_dir }}"
|
66
|
+
creates: "{{ qb_dir }}/node_modules"
|
67
|
+
|
68
|
+
- name: flow init
|
69
|
+
command: ./node_modules/.bin/flow init
|
70
|
+
args:
|
71
|
+
chdir: "{{ qb_dir }}"
|
72
|
+
creates: "{{ qb_dir }}/.flowconfig"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nrser
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -480,10 +480,10 @@ files:
|
|
480
480
|
- roles/qb.npm_package/meta/qb.yml
|
481
481
|
- roles/qb.npm_package/tasks/main.yml
|
482
482
|
- roles/qb.nrser_js/.qb-options.yml
|
483
|
+
- roles/qb.nrser_js/defaults/main.yml
|
483
484
|
- roles/qb.nrser_js/files/.babelrc
|
484
485
|
- roles/qb.nrser_js/files/.gitkeep
|
485
486
|
- roles/qb.nrser_js/files/gulpfile.js
|
486
|
-
- roles/qb.nrser_js/files/ughfile.js
|
487
487
|
- roles/qb.nrser_js/meta/main.yml
|
488
488
|
- roles/qb.nrser_js/meta/qb.yml
|
489
489
|
- roles/qb.nrser_js/tasks/main.yml
|