jekyll-vite 0.0.3 → 3.0.0.beta.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09f74ae904a39710fe2f34f9ec3ff05e66be66ea18367446f90bbd0cbc8bac72'
4
- data.tar.gz: e4b55188f946f6e954875ca7d18b439f17723765514f5ae017602d8b18e498b1
3
+ metadata.gz: d0cff7e8f93d35e91fe5d772990278b84dc5b32201ea962f8305d6855f865b70
4
+ data.tar.gz: 516102e272294a1d208199a8e7cfee21844e7c6974f44262047bf29fe03ac63a
5
5
  SHA512:
6
- metadata.gz: 37cc23bee69476952fbc375f5f9af05a7de2ec3a8d673953cd10078b96a5f04f5a850edbb8c3d241ba4a2052c932271970d46bcaf09a94083ebe3d24d226fe36
7
- data.tar.gz: 40c5d905b8825b6a62b583c01cd2d2dc1fdcdee2615bc0d3c18257b783a930b8793f95b93053855d105e98252d79835ad1037448bb4e2fee5d26b454fd7e8b86
6
+ metadata.gz: 40d9530a08f591a79881cf2c033170c8be6f7119dbfdfbb088503b6c54f073929f7ad0ef364b8bdcb4b9b9da477bbdd2e5cf50ca1fbffe939bc5afcba358035f
7
+ data.tar.gz: 3d64309003f887505c24107ce3921d08743a38cf6576f8725589e03a0652a2861857aaef4b08c592abb8287b7ab70f0e480b7cf7f30776e0ab321a4bd5454d4b
data/CHANGELOG.md CHANGED
@@ -1,19 +1,31 @@
1
- ## <small>0.0.3 (2021-07-05)</small>
1
+ # [1.0.0](https://github.com/ElMassimo/jekyll-vite/compare/v0.0.3...v1.0.0) (2021-07-22)
2
2
 
3
- * docs: Add documentation site and add test coverage (#1) ([d88f4bb](https://github.com/ElMassimo/vite_ruby/commit/d88f4bb)), closes [#1](https://github.com/ElMassimo/vite_ruby/issues/1)
4
- * docs: Avoid adding netlify.toml to the final site ([63514c6](https://github.com/ElMassimo/vite_ruby/commit/63514c6))
5
- * docs: Avoid dark theme flash ([96aea65](https://github.com/ElMassimo/vite_ruby/commit/96aea65))
6
- * docs: Debug netlify cache ([ab0806e](https://github.com/ElMassimo/vite_ruby/commit/ab0806e))
7
- * docs: Deploy to netlify (#2) ([efb0683](https://github.com/ElMassimo/vite_ruby/commit/efb0683)), closes [#2](https://github.com/ElMassimo/vite_ruby/issues/2)
8
3
 
4
+ ### Features
5
+
6
+ * Watch layouts and partials by default ([004e8f1](https://github.com/ElMassimo/jekyll-vite/commit/004e8f1318fda3031a7ea8ebbd6b396e742b7642))
7
+
8
+
9
+
10
+ ## [0.0.3](https://github.com/ElMassimo/jekyll-vite/compare/v0.0.2...v0.0.3) (2021-07-05)
11
+
12
+ ### Features
13
+
14
+ - Add support for Jekyll 3.9
15
+ - Add `vite_react_refresh_tag` helper
16
+
17
+ ### Bug Fixes
18
+
19
+ - Ensure non-proxied requests are served with an HTTP status
20
+ - Ensure Ruby 3.0 support
9
21
 
10
22
 
11
- ## [0.0.2](https://github.com/ElMassimo/vite_ruby/compare/v0.0.1...v0.0.2) (2021-07-03)
23
+ ## [0.0.2](https://github.com/ElMassimo/jekyll-vite/compare/v0.0.1...v0.0.2) (2021-07-03)
12
24
 
13
25
 
14
26
  ### Bug Fixes
15
27
 
16
- * Do not serve files with custom status in local development server ([86cf47b](https://github.com/ElMassimo/vite_ruby/commit/86cf47b485520879c7b7e7a79c7245dc0ba92b16))
28
+ * Do not serve files with custom status in local development server ([86cf47b](https://github.com/ElMassimo/jekyll-vite/commit/86cf47b485520879c7b7e7a79c7245dc0ba92b16))
17
29
 
18
30
 
19
31
 
@@ -21,13 +33,13 @@
21
33
 
22
34
  ### Features
23
35
 
24
- * Build vite assets when generating site and preserve assets correctly ([0b9a138](https://github.com/ElMassimo/vite_ruby/commit/0b9a138393a00c96119e42d5a59ac71539d00912))
25
- * Ignore Vite dir when the dev server is active, add the last build ([548a47f](https://github.com/ElMassimo/vite_ruby/commit/548a47f8bbb6f22820083d22d4628d445149ba46))
26
- * Implement a WEBrick proxy servlet for Jekyll ([b5afe03](https://github.com/ElMassimo/vite_ruby/commit/b5afe03b763235c23d9eaf940086d6ddb19399dc))
27
- * Implement liquid tags to render script and stylesheet tags ([4cbb679](https://github.com/ElMassimo/vite_ruby/commit/4cbb679af2625f31954c56b7cda032c896d7e127))
28
- * Read mode from JEKYLL_ENV ([acd7181](https://github.com/ElMassimo/vite_ruby/commit/acd7181c507cd1971f056462f240dec0071acf3b))
29
- * Serve files from the cache when the Vite dev server is down ([d695718](https://github.com/ElMassimo/vite_ruby/commit/d695718b1805211aa8b63c81d140b7212d2347f5))
30
- * Track dependencies on entrypoints ([5b8c413](https://github.com/ElMassimo/vite_ruby/commit/5b8c41336085e24568750bcbc77192f498488f46))
36
+ * Build vite assets when generating site and preserve assets correctly ([0b9a138](https://github.com/ElMassimo/jekyll-vite/commit/0b9a138393a00c96119e42d5a59ac71539d00912))
37
+ * Ignore Vite dir when the dev server is active, add the last build ([548a47f](https://github.com/ElMassimo/jekyll-vite/commit/548a47f8bbb6f22820083d22d4628d445149ba46))
38
+ * Implement a WEBrick proxy servlet for Jekyll ([b5afe03](https://github.com/ElMassimo/jekyll-vite/commit/b5afe03b763235c23d9eaf940086d6ddb19399dc))
39
+ * Implement liquid tags to render script and stylesheet tags ([4cbb679](https://github.com/ElMassimo/jekyll-vite/commit/4cbb679af2625f31954c56b7cda032c896d7e127))
40
+ * Read mode from JEKYLL_ENV ([acd7181](https://github.com/ElMassimo/jekyll-vite/commit/acd7181c507cd1971f056462f240dec0071acf3b))
41
+ * Serve files from the cache when the Vite dev server is down ([d695718](https://github.com/ElMassimo/jekyll-vite/commit/d695718b1805211aa8b63c81d140b7212d2347f5))
42
+ * Track dependencies on entrypoints ([5b8c413](https://github.com/ElMassimo/jekyll-vite/commit/5b8c41336085e24568750bcbc77192f498488f46))
31
43
 
32
44
 
33
45
 
data/README.md CHANGED
@@ -12,14 +12,14 @@
12
12
  <br>
13
13
 
14
14
  <p align="center">
15
- <!-- <a href="https://github.com/ElMassimo/jekyll-vite/actions">
15
+ <a href="https://github.com/ElMassimo/jekyll-vite/actions">
16
16
  <img alt="Build Status" src="https://github.com/ElMassimo/jekyll-vite/workflows/build/badge.svg"/>
17
- </a> -->
18
- <!-- <a href="https://codeclimate.com/github/ElMassimo/jekyll-vite">
17
+ </a>
18
+ <a href="https://codeclimate.com/github/ElMassimo/jekyll-vite">
19
19
  <img alt="Maintainability" src="https://codeclimate.com/github/ElMassimo/jekyll-vite/badges/gpa.svg"/>
20
20
  </a>
21
21
  <a href="https://codeclimate.com/github/ElMassimo/jekyll-vite">
22
- <img alt="Test Coverage" src="https://codeclimate.com/github/ElMassimo/jekyll-vite/badges/coverage.svg"/> -->
22
+ <img alt="Test Coverage" src="https://codeclimate.com/github/ElMassimo/jekyll-vite/badges/coverage.svg"/>
23
23
  </a>
24
24
  <a href="https://rubygems.org/gems/jekyll-vite">
25
25
  <img alt="Gem Version" src="https://img.shields.io/gem/v/jekyll-vite.svg?colorB=e9573f"/>
@@ -30,7 +30,7 @@
30
30
  </p>
31
31
  </h1>
32
32
 
33
- [vite ruby]: https://github.com/ElMassimo/vite-ruby
33
+ [vite ruby]: https://github.com/ElMassimo/vite_ruby
34
34
  [website]: https://jekyll-vite.netlify.app/
35
35
  [jekyll]: https://jekyllrb.com/
36
36
  [configuration reference]: https://vite-ruby.netlify.app/config/
@@ -45,6 +45,7 @@
45
45
  [rollup.js]: https://rollupjs.org
46
46
  [esbuild]: https://esbuild.github.io/
47
47
  [example]: https://github.com/ElMassimo/jekyll-vite/tree/main/docs
48
+ [installation]: https://jekyll-vite.netlify.app/posts/installation/
48
49
 
49
50
  Use [Vite.js] in [Jekyll] and enjoy a modern assets pipeline! ⚡️
50
51
 
@@ -89,16 +90,7 @@ bundle install
89
90
  bundle exec vite install
90
91
  ```
91
92
 
92
- Additional installation instructions are available in the [documentation website][website].
93
-
94
- ## Getting Started 💻
95
-
96
- Run <kbd>bin/vite dev</kbd> to start the Vite development server, and then
97
- restart your Jekyll server with <kbd>bin/jekyll serve</kbd>.
98
-
99
- Visit any page and you should see a printed console output: `Vite ⚡️ Ruby`.
100
-
101
- Check the [documentation website][website] for more information.
93
+ Additional [installation instructions][installation] are available in the [documentation website][installation].
102
94
 
103
95
  ## Contact ✉️
104
96
 
@@ -19,7 +19,13 @@ module Jekyll::Vite::Installation
19
19
  # Override: Inject the vite client and sample script to the default HTML template.
20
20
  def install_sample_files
21
21
  super
22
- inject_line_after root.join('_config.yml'), 'plugins:', ' - jekyll/vite'
22
+ inject_line_after_last root.join('_config.yml'), 'plugins:', ' - jekyll/vite'
23
+ inject_line_after_last root.join('_config.yml'), 'exclude:', <<-YML.chomp("\n")
24
+ - bin
25
+ - config
26
+ - vite.config.ts
27
+ - tmp
28
+ YML
23
29
  inject_line_before root.join('_layouts/default.html'), '</head>', <<-HTML.chomp("\n")
24
30
  {% vite_client_tag %}
25
31
  {% vite_javascript_tag application %}
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Vite
5
- VERSION = '0.0.3'
5
+ VERSION = '3.0.0.beta.1'
6
6
  end
7
7
  end
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "all": {
3
3
  "sourceCodeDir": "_frontend",
4
- "watchAdditionalPaths": []
4
+ "watchAdditionalPaths": ["index.html", "_includes/**/*", "_layouts/**/*"]
5
5
  },
6
6
  "development": {
7
7
  "autoBuild": true,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-vite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 3.0.0.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Máximo Mussini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-05 00:00:00.000000000 Z
11
+ date: 2021-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -34,22 +34,16 @@ dependencies:
34
34
  name: vite_ruby
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 1.2.14
40
- - - "<"
37
+ - - "~>"
41
38
  - !ruby/object:Gem::Version
42
- version: '2'
39
+ version: 3.0.0.beta.1
43
40
  type: :runtime
44
41
  prerelease: false
45
42
  version_requirements: !ruby/object:Gem::Requirement
46
43
  requirements:
47
- - - ">="
44
+ - - "~>"
48
45
  - !ruby/object:Gem::Version
49
- version: 1.2.14
50
- - - "<"
51
- - !ruby/object:Gem::Version
52
- version: '2'
46
+ version: 3.0.0.beta.1
53
47
  - !ruby/object:Gem::Dependency
54
48
  name: pry-byebug
55
49
  requirement: !ruby/object:Gem::Requirement
@@ -142,8 +136,8 @@ homepage: https://github.com/ElMassimo/jekyll-vite
142
136
  licenses:
143
137
  - MIT
144
138
  metadata:
145
- source_code_uri: https://github.com/ElMassimo/jekyll-vite/tree/v0.0.3
146
- changelog_uri: https://github.com/ElMassimo/jekyll-vite/blob/v0.0.3/CHANGELOG.md
139
+ source_code_uri: https://github.com/ElMassimo/jekyll-vite/tree/v3.0.0.beta.1
140
+ changelog_uri: https://github.com/ElMassimo/jekyll-vite/blob/v3.0.0.beta.1/CHANGELOG.md
147
141
  post_install_message:
148
142
  rdoc_options: []
149
143
  require_paths:
@@ -155,9 +149,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
149
  version: '2.4'
156
150
  required_rubygems_version: !ruby/object:Gem::Requirement
157
151
  requirements:
158
- - - ">="
152
+ - - ">"
159
153
  - !ruby/object:Gem::Version
160
- version: '0'
154
+ version: 1.3.1
161
155
  requirements: []
162
156
  rubygems_version: 3.1.4
163
157
  signing_key: