make_it_so 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 13620dc1e25ca2ec8c8ce9287aead4d7d9163761
4
- data.tar.gz: ce95d6d68d4523f64088db6472f636f91c39a10b
3
+ metadata.gz: 4f4d7ee9af1b9999e285145d6b46472c5960065d
4
+ data.tar.gz: 326e87eeba816bf6ff56e6a69510665ae18d1d8b
5
5
  SHA512:
6
- metadata.gz: 23c4bcd4f977f73fc2b0e1504e228fa3c612403017950575bbd13669cb96138a0137e27c7fbadc20e881914813babc66f85d4f56fc954e621a70877a3fed91be
7
- data.tar.gz: ef357898432dbf513c5f569af5ad6b5cbfd244accc53b77555d8bc80747c1c70684a96d35968226508363e7ab9b886b689e05e782bdadede8bb74128131d8b3a
6
+ metadata.gz: 052fd4f209532f6bb4edbaf048c9099a70197764fc6bee543f74ac89fb37168e6aa9a07bd930a35b0988444ae2b3b119838acec56db1e94492b37d714d8d1dfa
7
+ data.tar.gz: a18eb74e846e717da8164bbf4c808017d17954586133a89edbb3a6fef17fd722552f8d16e07200d9394f5ab37869583fd9423b12a74a13ee4b30f0eccae0d8ed
@@ -38,7 +38,7 @@ module MakeItSo
38
38
  end
39
39
 
40
40
  def react
41
- self.gem 'webpacker', '~> 3.0.2'
41
+ self.gem 'webpacker', '~> 3.2'
42
42
 
43
43
  after_bundle do
44
44
  rake 'webpacker:install'
@@ -48,10 +48,13 @@ module MakeItSo
48
48
  parsed_json = JSON.parse(unparsed_json)
49
49
 
50
50
  modify_json(package_json_file) do |json|
51
- ["dependencies", "devDependencies"].each do |key|
51
+ ["dependencies"].each do |key|
52
52
  json[key] ||= {}
53
53
  json[key].merge!(parsed_json[key])
54
54
  end
55
+
56
+ json["scripts"] ||= {}
57
+ json["scripts"]["start"] = "./bin/webpack-dev-server"
55
58
  end
56
59
 
57
60
  rake 'yarn:install'
@@ -1,3 +1,3 @@
1
1
  module MakeItSo
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,12 +1,9 @@
1
1
  {
2
2
  "dependencies": {
3
- "@rails/webpacker": "~3.0.2",
3
+ "@rails/webpacker": "~3.2.0",
4
4
  "babel-preset-react": "~6.24.1",
5
5
  "prop-types": "~15.6.0",
6
6
  "react": "~15.4.2",
7
7
  "react-dom": "~15.4.2"
8
- },
9
- "devDependencies": {
10
- "webpack-dev-server": "~2.4.2"
11
8
  }
12
9
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: make_it_so
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Pickett
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-03 00:00:00.000000000 Z
11
+ date: 2018-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor