isomorfeus-asset-manager 0.14.17 → 0.14.20
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15e19c2ab4639a61a42f664e583b6f3351d7ca6325c4e44d1b4e8559c47cec00
|
4
|
+
data.tar.gz: f6b336dcfe1a43d38f05c3d54d13a2c046ba0827ff7d591e0871d01774ea003b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b58edf4ade9d3b7cbec0267aed55e3d03eddd6ddca57a0eb3855ddb3c91eb998a2498a4528fbc249ffc1b4b4722a8739fbcf50e766539e1fc5202aa6fc891894
|
7
|
+
data.tar.gz: 7f0d0c3c8684cb75e969a62752aa2bf1db34d91069d925ad55aa38115ddc9da57ab276603353e02d58feebab55b26ac38e06962844a461137a50624adc66b94a
|
@@ -78,7 +78,7 @@ module Isomorfeus
|
|
78
78
|
|
79
79
|
self.hmr_listener = nil
|
80
80
|
self.asset_manager_hmr_channel = :isomorfeus_asset_manager_module_updates
|
81
|
-
self.asset_manager_hmr_dirs = %w[channels components data locales operations policies]
|
81
|
+
self.asset_manager_hmr_dirs = %w[channels components data imports locales operations policies server]
|
82
82
|
self.hmr_websocket_path = '/_asset_manager_hmr_websocket'
|
83
83
|
self.assets_path = '/assets'
|
84
84
|
self.assets = {
|
@@ -53,7 +53,6 @@ module Isomorfeus
|
|
53
53
|
return if asset.bundled?
|
54
54
|
start = Time.now
|
55
55
|
puts "Isomorfeus Asset Manager bundling #{asset_key} ..."
|
56
|
-
asset.bundled!
|
57
56
|
asset.touch
|
58
57
|
asset_name = asset_key[0..-4]
|
59
58
|
asset.build_ruby_and_save(asset_key, asset_name, @imports_path)
|
@@ -65,6 +64,7 @@ module Isomorfeus
|
|
65
64
|
asset.bundle_css_map(asset_name, @output_path)
|
66
65
|
asset.bundle_js_map(asset_key, @output_path)
|
67
66
|
end
|
67
|
+
asset.bundled!
|
68
68
|
puts "Isomorfeus Asset Manager bundling #{asset_key} took #{Time.now - start}s"
|
69
69
|
end
|
70
70
|
end
|
@@ -87,8 +87,8 @@ module Isomorfeus
|
|
87
87
|
def handle_errors(asset_key, result)
|
88
88
|
unless result['errors'].empty?
|
89
89
|
result['errors'].each do |e|
|
90
|
-
print_message(
|
91
|
-
unless
|
90
|
+
print_message(e, 'error')
|
91
|
+
unless e['notes'].empty?
|
92
92
|
e['notes'].each do |n|
|
93
93
|
print_message(n, 'note')
|
94
94
|
end
|
@@ -176,7 +176,9 @@ module Isomorfeus
|
|
176
176
|
splitting: false,
|
177
177
|
target: '#{asset.browser? ? 'es6' : 'node16' }',
|
178
178
|
write: true
|
179
|
-
})
|
179
|
+
})
|
180
|
+
.then((result) => { global.res_meta = result.metafile; return result; }, (reason) => { return { result: { errors: [{text: reson}]}}; })
|
181
|
+
.catch((error) => { return { result: { errors: [{text: error.message}]}}; });
|
180
182
|
JAVASCRIPT
|
181
183
|
if analyze
|
182
184
|
analysis = @context.await <<~JAVASCRIPT
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-asset-manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brotli
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 3.7.
|
61
|
+
version: 3.7.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 3.7.
|
68
|
+
version: 3.7.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: oj
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
200
|
- !ruby/object:Gem::Version
|
201
201
|
version: '0'
|
202
202
|
requirements: []
|
203
|
-
rubygems_version: 3.3.
|
203
|
+
rubygems_version: 3.3.7
|
204
204
|
signing_key:
|
205
205
|
specification_version: 4
|
206
206
|
summary: Asset manager and bundler for Isomorfeus.
|