qb 0.1.26 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8675456ebd1ee1b2841b31aa080adf50ebbc013e
4
- data.tar.gz: e35c6bcdbe03ede26202822dc580b49ef2a417da
3
+ metadata.gz: e310b0395bfa528f8ebc57692569a77566c5bc95
4
+ data.tar.gz: bcf73d444ae0817c01b85fdf7d1529d0a0785d76
5
5
  SHA512:
6
- metadata.gz: ef544a0e4c911e09717122700aaf5897f4b48ebca417179470b1db6ee827333cde151a2296093d7fcf31fa63e5e90e334a3a6c512d34f91845f74e7892509073
7
- data.tar.gz: d485ad1090d2fd3887b3ab37d6b9b077bd980833a55d10639825c67b73e6e74a3b5f7e2e3ca6014e054cea204ae9176d62b241e64b096322909c61e31da647f7
6
+ metadata.gz: 06acb9a72b2d7c4217e1cc2466987a848ed12b609dcd18ba8593feaf91e53cc157bcdb68b778c9c29925adbc558cca198c2fdc1cd717a5814513a534e97da8df
7
+ data.tar.gz: 77aabeab66ae4e69534e082de5ece128dbec629bfefab17782ca4efc741215200db969f421b6fa2ac677ede844dac2542985c9470f2aa934a428dcd9cdd9da9a
@@ -1,7 +1,7 @@
1
1
  module QB
2
2
  GEM_NAME = 'qb'
3
3
 
4
- VERSION = "0.1.26"
4
+ VERSION = "0.1.27"
5
5
 
6
6
  def self.gemspec
7
7
  Gem.loaded_specs[GEM_NAME]
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  # defaults file for qb.nrser_js
3
-
3
+ nrser_js_install: true
4
4
  nrser_js_yarn: false
@@ -0,0 +1,18 @@
1
+ [ignore]
2
+
3
+ [include]
4
+
5
+ [libs]
6
+
7
+ [options]
8
+ # support babel-plugin-transform-class-properties (in stage 2 preset)
9
+ esproposal.class_static_fields=enable
10
+
11
+ # support babel-plugin-transform-export-extensions
12
+ esproposal.export_star_as=enable
13
+
14
+ # it sucks not to able to use getters and setters... safety be damned.
15
+ unsafe.enable_getters_and_setters=true
16
+
17
+ # uncomment if you need dynamic requires
18
+ # module.ignore_non_literal_requires=true
@@ -43,9 +43,13 @@ options:
43
43
  # type: boolean # boolean (default) | string
44
44
  # short: e
45
45
 
46
+ - name: install
47
+ description: run npm or yarn install
48
+ type: boolean
49
+ short: i
50
+
46
51
  - name: yarn
47
52
  description: use yarn node package manager instead of npm
48
- required: false
49
53
  type: boolean
50
54
  short: y
51
55
 
@@ -51,22 +51,22 @@
51
51
  - /lib
52
52
  - /test/lib
53
53
 
54
+ - name: add .flowconfig
55
+ copy:
56
+ src: .flowconfig
57
+ dest: "{{ qb_dir }}/.flowconfig"
58
+
54
59
  - name: npm install
55
- when: "{{ nrser_js_yarn == false }}"
60
+ when: "{{ nrser_js_install == true and nrser_js_yarn == false }}"
56
61
  command: npm install
57
62
  args:
58
63
  chdir: "{{ qb_dir }}"
59
64
  creates: "{{ qb_dir }}/node_modules"
60
65
 
61
66
  - name: yarn install
62
- when: "{{ nrser_js_yarn == true}}"
67
+ when: "{{ nrser_js_install == true and nrser_js_yarn == true}}"
63
68
  command: yarn
64
69
  args:
65
70
  chdir: "{{ qb_dir }}"
66
71
  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"
72
+
@@ -2,22 +2,22 @@
2
2
  # vars file for nrser.js
3
3
 
4
4
  nrser_js_deps:
5
- lodash: "^3.1.0"
6
- nrser: "^0.2.1"
7
- tcomb: "^3.2.13"
5
+ lodash: "^4.16.2"
6
+ nrser: "^0.3.1"
7
+ tcomb: "^3.2.15"
8
8
 
9
9
  nrser_js_dev_deps:
10
- babel-cli: "^6.14.0"
11
- babel-core: "^6.14.0"
10
+ babel-cli: "^6.16.0"
11
+ babel-core: "^6.17.0"
12
12
  babel-plugin-metalog: "^0.1.0"
13
13
  babel-plugin-tcomb: "^0.3.13"
14
14
  babel-plugin-transform-export-extensions: "^6.8.0"
15
15
  babel-polyfill: "^6.13.0"
16
16
  babel-preset-es2015: "^6.14.0"
17
- babel-preset-react: "^6.11.1"
17
+ babel-preset-react: "^6.16.0"
18
18
  babel-preset-stage-2: "^6.17.0"
19
19
  chai: "^3.5.0"
20
- flow-bin: "^0.32.0"
20
+ flow-bin: "^0.33.0"
21
21
  gulp: "^3.9.1"
22
22
  gulp-babel: "^6.1.2"
23
23
  gulp-spawn-mocha: "^3.1.0"
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.26
4
+ version: 0.1.27
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-02 00:00:00.000000000 Z
11
+ date: 2016-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -482,6 +482,7 @@ files:
482
482
  - roles/qb.nrser_js/.qb-options.yml
483
483
  - roles/qb.nrser_js/defaults/main.yml
484
484
  - roles/qb.nrser_js/files/.babelrc
485
+ - roles/qb.nrser_js/files/.flowconfig
485
486
  - roles/qb.nrser_js/files/.gitkeep
486
487
  - roles/qb.nrser_js/files/gulpfile.js
487
488
  - roles/qb.nrser_js/meta/main.yml