isomorfeus-installer 1.0.0.zeta2 → 1.0.0.zeta3

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
  SHA256:
3
- metadata.gz: 4b555a5eec9649910e03f17dd1085a40253315b2ab4b12032b44bfd9d2268b68
4
- data.tar.gz: bcf6a6657006e4a6b39396062278f69b4d8a2921fea8b7ffc8838592892a4a0c
3
+ metadata.gz: 2db526f1f4d9cf3b30a464477042099b1fbe05ed204daf364638560a3869911f
4
+ data.tar.gz: 82fc9ee5f643eb0288a7d15fdd02b2a9f933815fac23068718f20cef81921b29
5
5
  SHA512:
6
- metadata.gz: 01257b8568aa5c6ad48db759ad3b5d9845b89e9c3b6c2207e9a91ced3c358c9584e6c123326b8a7bc492037b627000cc8091b1d9ad97510ed70cc20c04f996f8
7
- data.tar.gz: 4449d06d420551dc3b6631fccbb96bf2b1886e279d9ee009941512f5896c6e44c9083de9d49c66c6955cac29d6946faf26787cf3f47830912b0fbc3be6462160
6
+ metadata.gz: a8a9259d00fcf254e483a85020c4e8f9d6fcf679213944ffece3666563778be7a35ac41f7899f987888391852947fbe4675e240c77a2ad742f3b87fef1694e69
7
+ data.tar.gz: 749d2a660584ad4bbbc519451819b7b50bae91845a2cbf3480901ecf113a3257e90060895600f1a94c7bdce7320fb1ff9b87ecf637654b56f3f5a93905c12218
@@ -10,8 +10,8 @@ gem 'opal', github: 'janbiedermann/opal', branch: 'es6_modules_1_1'
10
10
  gem 'opal-activesupport', '~> 0.3.3'
11
11
  gem 'opal-webpack-loader', '>= 0.9.5'
12
12
 
13
- gem 'isomorfeus-redux', '~> 4.0.11'
14
- gem 'isomorfeus-react', '>= 16.9.13'
13
+ gem 'isomorfeus-redux', '~> 4.0.12'
14
+ gem 'isomorfeus-react', '>= 16.9.17'
15
15
  gem 'isomorfeus-policy', <%= isomorfeus_policy %>
16
16
  gem 'isomorfeus-transport', <%= isomorfeus_transport %>
17
17
  gem 'isomorfeus-i18n', <%= isomorfeus_i18n %>
@@ -15,14 +15,16 @@ class <%= app_class %> < Roda
15
15
  locale = env.http_accept_language.preferred_language_from(Isomorfeus.available_locales)
16
16
  locale = env.http_accept_language.compatible_language_from(Isomorfeus.available_locales) unless locale
17
17
  locale = Isomorfeus.locale unless locale
18
+ rendered_tree = mount_component('<%= app_class %>', location_host: env['HTTP_HOST'], location: location, locale: locale)
18
19
  <<~HTML
19
20
  <html>
20
21
  <head>
21
22
  <title>Welcome to <%= app_class %></title>
23
+ <style id="jss-server-side" type="text/css">#{ssr_styles}</style>
22
24
  #{owl_script_tag 'application.js'}
23
25
  </head>
24
26
  <body>
25
- #{mount_component('<%= app_class %>', location_host: env['HTTP_HOST'], location: location, locale: locale)}
27
+ #{rendered_tree}
26
28
  </body>
27
29
  </html>
28
30
  HTML
@@ -7,5 +7,7 @@ import * as ReactRouter from 'react-router';
7
7
  import * as ReactRouterDOM from 'react-router-dom';
8
8
  global.ReactRouter = ReactRouter;
9
9
  global.ReactRouterDOM = ReactRouterDOM;
10
+ import * as ReactJSS from 'react-jss';
11
+ global.ReactJSS = ReactJSS;
10
12
 
11
13
  if (module.hot) { module.hot.accept(); }
@@ -43,7 +43,7 @@ const common_config = {
43
43
  rules: [
44
44
  {
45
45
  test: /.scss$/,
46
- use: [ "cache-loader", "style-loader",
46
+ use: [ "style-loader",
47
47
  {
48
48
  loader: "css-loader",
49
49
  options: { sourceMap: true }
@@ -59,7 +59,7 @@ const common_config = {
59
59
  },
60
60
  {
61
61
  test: /.css$/,
62
- use: [ "cache-loader", "style-loader",
62
+ use: [ "style-loader",
63
63
  {
64
64
  loader: "css-loader",
65
65
  options: { sourceMap: true }
@@ -68,11 +68,11 @@ const common_config = {
68
68
  },
69
69
  {
70
70
  test: /.(png|svg|jpg|gif|woff|woff2|eot|ttf|otf)$/,
71
- use: [ "cache-loader", "file-loader" ]
71
+ use: [ "file-loader" ]
72
72
  },
73
73
  {
74
74
  test: /.(rb|js.rb)$/,
75
- use: [ "cache-loader",
75
+ use: [
76
76
  {
77
77
  loader: 'opal-webpack-loader', // opal-webpack-loader will compile and include ruby files in the pack
78
78
  options: {
@@ -33,7 +33,7 @@ const common_config = {
33
33
  rules: [
34
34
  {
35
35
  test: /.scss$/,
36
- use: [ "cache-loader", "style-loader" , "css-loader",
36
+ use: [ "style-loader" , "css-loader",
37
37
  {
38
38
  loader: "sass-loader",
39
39
  options: {
@@ -45,15 +45,15 @@ const common_config = {
45
45
  },
46
46
  {
47
47
  test: /.css$/,
48
- use: ["cache-loader", "style-loader", "css-loader"]
48
+ use: ["style-loader", "css-loader"]
49
49
  },
50
50
  {
51
51
  test: /.(png|svg|jpg|gif|woff|woff2|eot|ttf|otf)$/,
52
- use: ["cache-loader", "file-loader"]
52
+ use: ["file-loader"]
53
53
  },
54
54
  {
55
55
  test: /.(rb|js.rb)$/,
56
- use: ["cache-loader",
56
+ use: [
57
57
  {
58
58
  loader: 'opal-webpack-loader', // opal-webpack-loader will compile and include ruby files in the pack
59
59
  options: {
@@ -5,6 +5,7 @@
5
5
  "opal-webpack-loader": "^0.9.5",
6
6
  "react": "^16.9.0",
7
7
  "react-dom": "^16.9.0",
8
+ "react-jss": "^10.0.0-alpha.24",
8
9
  "react-router": "^5.0.1",
9
10
  "react-router-dom": "^5.0.1",
10
11
  "redux": "^4.0.4",
@@ -16,7 +17,6 @@
16
17
  "production_build": "parallel-webpack --config=webpack/production.js"
17
18
  },
18
19
  "devDependencies": {
19
- "cache-loader": "^4.1.0",
20
20
  "compression-webpack-plugin": "^3.0.0",
21
21
  "css-loader": "^3.2.0",
22
22
  "extra-watch-webpack-plugin": "^1.0.3",
@@ -25,7 +25,7 @@ const common_config = {
25
25
  rules: [
26
26
  {
27
27
  test: /.scss$/,
28
- use: ["cache-loader", "style-loader", "css-loader",
28
+ use: ["style-loader", "css-loader",
29
29
  {
30
30
  loader: "sass-loader",
31
31
  options: {
@@ -37,15 +37,15 @@ const common_config = {
37
37
  },
38
38
  {
39
39
  test: /.css$/,
40
- use: ["cache-loader", "style-loader", "css-loader"]
40
+ use: ["style-loader", "css-loader"]
41
41
  },
42
42
  {
43
43
  test: /.(png|svg|jpg|gif|woff|woff2|eot|ttf|otf)$/,
44
- use: ["cache-loader", "file-loader"]
44
+ use: ["file-loader"]
45
45
  },
46
46
  {
47
47
  test: /.(rb|js.rb)$/,
48
- use: ["cache-loader",
48
+ use: [
49
49
  {
50
50
  loader: 'opal-webpack-loader', // opal-webpack-loader will compile and include ruby files in the pack
51
51
  options: { sourceMap: false, hmr: false }
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Installer
3
- VERSION = '1.0.0.zeta2'
3
+ VERSION = '1.0.0.zeta3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-installer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.zeta2
4
+ version: 1.0.0.zeta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-25 00:00:00.000000000 Z
11
+ date: 2019-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport