jekyll-vite 3.0.1 → 3.0.2
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 +4 -4
- data/lib/jekyll/vite/installation.rb +10 -1
- data/lib/jekyll/vite/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ed9ebef8d09568a45a48b58c5c014e772a982a7e0f40c1f2c0be287534c5ea1
|
|
4
|
+
data.tar.gz: 8ab180969518c5a1c1f4cb8617047ab252f9990ae0734d9fc1e53e472b3b1385
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a040da2e2fe8b234a5cd0e07fad55dc69e7e57dabd6f5333204102dd55636ef7ddfd139e36f5bf154dda6400a39807f3b964aa8b40c13413fd1d8dc6c923fba
|
|
7
|
+
data.tar.gz: df3b0e91b365aab5afe58ae8d3c6866a3ee744ba0dd3cec103544291e0cd00bebc61ca5fcb30fc51f8dd4d6cc2db06e599bee1f7aca69510f50b63753d732628
|
|
@@ -24,6 +24,7 @@ module Jekyll::Vite::Installation
|
|
|
24
24
|
def install_sample_files
|
|
25
25
|
super
|
|
26
26
|
inject_line_after_last root.join('_config.yml'), 'plugins:', ' - jekyll/vite'
|
|
27
|
+
replace_first_line root.join('_config.yml'), '# exclude:', 'exclude:'
|
|
27
28
|
inject_line_after_last root.join('_config.yml'), 'exclude:', <<-YML.chomp("\n")
|
|
28
29
|
- bin
|
|
29
30
|
- config
|
|
@@ -31,7 +32,15 @@ module Jekyll::Vite::Installation
|
|
|
31
32
|
- tmp
|
|
32
33
|
- Procfile.dev
|
|
33
34
|
YML
|
|
34
|
-
|
|
35
|
+
if root.join('Gemfile').read.include?('minima')
|
|
36
|
+
append root.join('_includes/custom-head.html'), helper_tags
|
|
37
|
+
else
|
|
38
|
+
inject_line_before root.join('_layouts/default.html'), '</head>', helper_tags
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def helper_tags
|
|
43
|
+
<<-HTML.chomp("\n")
|
|
35
44
|
{% vite_client_tag %}
|
|
36
45
|
{% vite_javascript_tag application %}
|
|
37
46
|
HTML
|
data/lib/jekyll/vite/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-vite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Máximo Mussini
|
|
@@ -139,8 +139,8 @@ homepage: https://github.com/ElMassimo/jekyll-vite
|
|
|
139
139
|
licenses:
|
|
140
140
|
- MIT
|
|
141
141
|
metadata:
|
|
142
|
-
source_code_uri: https://github.com/ElMassimo/jekyll-vite/tree/v3.0.
|
|
143
|
-
changelog_uri: https://github.com/ElMassimo/jekyll-vite/blob/v3.0.
|
|
142
|
+
source_code_uri: https://github.com/ElMassimo/jekyll-vite/tree/v3.0.2
|
|
143
|
+
changelog_uri: https://github.com/ElMassimo/jekyll-vite/blob/v3.0.2/CHANGELOG.md
|
|
144
144
|
post_install_message:
|
|
145
145
|
rdoc_options: []
|
|
146
146
|
require_paths:
|