isomorfeus-installer 1.0.0.delta5 → 1.0.0.delta6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/installer/templates/Gemfile.erb +3 -3
- data/lib/isomorfeus/installer/templates/application.js.erb +1 -1
- data/lib/isomorfeus/installer/templates/application_ssr.js.erb +1 -1
- data/lib/isomorfeus/installer/templates/my_app.rb.erb +1 -1
- data/lib/isomorfeus/installer/templates/package.json.erb +16 -16
- data/lib/isomorfeus/installer/templates/spec_helper.rb.erb +1 -1
- data/lib/isomorfeus/installer/version.rb +1 -1
- data/lib/isomorfeus/installer.rb +0 -1
- metadata +4 -5
- data/lib/isomorfeus/installer/templates/application_debug.js.erb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94b21b92089fa246ecb9c6781b0be126cd02e5f7c9b1b38bfe7c57744368788c
|
4
|
+
data.tar.gz: 8fa5982cd3e3d929b8d7d5efd9d9d667dfa295e7476b4105db13b7b31ce1f186
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f01bf9346b9c163f68138cac2de3b0ce7972ed9ced96ebc1c1442fec7108efb85f888dc07066ada2f9c782c3347622fd7e33f23d63132a9ff9cfaaff877e507
|
7
|
+
data.tar.gz: 5543ec01e5664027e4d58616332a64a4eaa2e10c0ec510de52511c244ba611e19db28b557879003aeb6e84a12c25e6481d46b57cb4509d2b3c440be5b3c23c4e
|
@@ -8,11 +8,11 @@ gem 'roda', '~> 3.19.0'
|
|
8
8
|
|
9
9
|
gem 'opal', github: 'janbiedermann/opal', branch: 'es6_modules_1_1'
|
10
10
|
gem 'opal-activesupport', github: 'janbiedermann/opal-activesupport', branch: 'relax'
|
11
|
-
gem 'opal-webpack-loader', '
|
11
|
+
gem 'opal-webpack-loader', '>= 0.9.2'
|
12
12
|
|
13
13
|
gem 'opal-autoloader', '~> 0.0.3'
|
14
|
-
gem 'isomorfeus-redux', '~> 4.0.
|
15
|
-
gem 'isomorfeus-react', '~> 16.
|
14
|
+
gem 'isomorfeus-redux', '~> 4.0.7'
|
15
|
+
gem 'isomorfeus-react', '~> 16.8.3'
|
16
16
|
#<%= transport_gems %>
|
17
17
|
#<%= database_gems %>
|
18
18
|
#<%= policy_gems %>
|
@@ -7,7 +7,7 @@ import ReactDOM from 'react-dom';
|
|
7
7
|
global.ReactDOM = ReactDOM;
|
8
8
|
import { BrowserRouter, Link, NavLink, Route, Switch } from 'react-router-dom';
|
9
9
|
// global.History = History;
|
10
|
-
global.
|
10
|
+
global.Router = BrowserRouter;
|
11
11
|
global.Link = Link;
|
12
12
|
global.NavLink = NavLink;
|
13
13
|
global.Route = Route;
|
@@ -5,7 +5,7 @@ import ReactDOMServer from 'react-dom/server';
|
|
5
5
|
global.ReactDOMServer = ReactDOMServer;
|
6
6
|
import { StaticRouter, Link, NavLink, Route, Switch } from 'react-router-dom';
|
7
7
|
// global.History = History;
|
8
|
-
global.
|
8
|
+
global.Router = StaticRouter;
|
9
9
|
global.Link = Link;
|
10
10
|
global.NavLink = NavLink;
|
11
11
|
global.Route = Route;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class <%= app_class %> < LucidApp::Base
|
2
2
|
render do
|
3
|
-
|
3
|
+
Router(location: props.location) do
|
4
4
|
Switch do
|
5
5
|
Route(path: '/', exact: true, component: HelloComponent.JS[:react_component])
|
6
6
|
Route(path: '/welcome', exact: true, component: WelcomeComponent.JS[:react_component])
|
@@ -2,11 +2,11 @@
|
|
2
2
|
"name": "<%= application_name %>",
|
3
3
|
"private": true,
|
4
4
|
"dependencies": {
|
5
|
-
"opal-webpack-loader": "^0.
|
6
|
-
"react": "16.6",
|
7
|
-
"react-dom": "16.6",
|
8
|
-
"react-router": "^
|
9
|
-
"react-router-dom": "^
|
5
|
+
"opal-webpack-loader": "^0.9.0",
|
6
|
+
"react": "16.8.6",
|
7
|
+
"react-dom": "16.8.6",
|
8
|
+
"react-router": "^5.0.0",
|
9
|
+
"react-router-dom": "^5.0.0",
|
10
10
|
"redux": "^4.0.1"
|
11
11
|
},
|
12
12
|
"scripts": {
|
@@ -15,21 +15,21 @@
|
|
15
15
|
"production_build": "webpack --config=webpack/production.js"
|
16
16
|
},
|
17
17
|
"devDependencies": {
|
18
|
-
"cache-loader": "^
|
19
|
-
"chokidar": "^
|
20
|
-
"compression-webpack-plugin": "^
|
21
|
-
"css-loader": "^
|
18
|
+
"cache-loader": "^4.0.0",
|
19
|
+
"chokidar": "^3.0.1",
|
20
|
+
"compression-webpack-plugin": "^3.0.0",
|
21
|
+
"css-loader": "^3.0.0",
|
22
22
|
"extra-watch-webpack-plugin": "^1.0.3",
|
23
|
-
"file-loader": "^
|
24
|
-
"jsdom": "
|
23
|
+
"file-loader": "^4.0.0",
|
24
|
+
"jsdom": "15.1.1",
|
25
25
|
"node-sass": "^4.12.0",
|
26
|
-
"puppeteer": "1.
|
26
|
+
"puppeteer": "1.17.0",
|
27
27
|
"sass-loader": "^7.1.0",
|
28
28
|
"style-loader": "^0.23.1",
|
29
|
-
"terser-webpack-plugin": "^1.
|
30
|
-
"webpack": "^4.
|
29
|
+
"terser-webpack-plugin": "^1.3.0",
|
30
|
+
"webpack": "^4.33.0",
|
31
31
|
"webpack-assets-manifest": "^3.1.1",
|
32
|
-
"webpack-cli": "^3.3.
|
33
|
-
"webpack-dev-server": "^3.
|
32
|
+
"webpack-cli": "^3.3.4",
|
33
|
+
"webpack-dev-server": "^3.7.1"
|
34
34
|
}
|
35
35
|
}
|
@@ -6,7 +6,7 @@ require 'rspec/expectations'
|
|
6
6
|
require 'isomorfeus-puppetmaster'
|
7
7
|
require_relative '../<%= app_require %>'
|
8
8
|
|
9
|
-
ASSETS_COMPILED ||=
|
9
|
+
ASSETS_COMPILED ||= system('yarn run production_build')
|
10
10
|
|
11
11
|
Isomorfeus::Puppetmaster.download_path = File.join(Dir.pwd, 'download_path_tmp')
|
12
12
|
Isomorfeus::Puppetmaster.driver = :chromium
|
data/lib/isomorfeus/installer.rb
CHANGED
@@ -225,7 +225,6 @@ module Isomorfeus
|
|
225
225
|
transport_global: (use_transport_import? ? transport.js_global : nil) }
|
226
226
|
create_file_from_template('application.js.erb', entrypoint_path('application.js'), data_hash)
|
227
227
|
create_file_from_template('application_common.js.erb', entrypoint_path('application_common.js'), data_hash)
|
228
|
-
create_file_from_template('application_debug.js.erb', entrypoint_path('application_debug.js'), data_hash)
|
229
228
|
create_file_from_template('application_ssr.js.erb', entrypoint_path('application_ssr.js'), data_hash)
|
230
229
|
create_file_from_template('application_web_worker.js.erb', entrypoint_path('application_web_worker.js'), data_hash)
|
231
230
|
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.
|
4
|
+
version: 1.0.0.delta6
|
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-
|
11
|
+
date: 2019-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.9.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.9.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: thor
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,7 +154,6 @@ files:
|
|
154
154
|
- lib/isomorfeus/installer/templates/application.css.erb
|
155
155
|
- lib/isomorfeus/installer/templates/application.js.erb
|
156
156
|
- lib/isomorfeus/installer/templates/application_common.js.erb
|
157
|
-
- lib/isomorfeus/installer/templates/application_debug.js.erb
|
158
157
|
- lib/isomorfeus/installer/templates/application_ssr.js.erb
|
159
158
|
- lib/isomorfeus/installer/templates/application_web_worker.js.erb
|
160
159
|
- lib/isomorfeus/installer/templates/config.ru.erb
|