jekyll-tailwind-cli 0.1.0 → 1.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: 28a76f9d8fe8b29a2c6d71dd0a3b81ebe29237525e83951410f1d7707be5eb5c
4
- data.tar.gz: 736c273d0cac35717ff6b737ac03b98220593a367c6cce98ff6e564f0121a2c4
3
+ metadata.gz: 7a8125ddd56c69e2ae88e118ce5767790ba8b614709a3ec02b6e1a9026569165
4
+ data.tar.gz: bcf876c23906dff8197edc7080b1567cdd1ca4cab756d22ee4f7aa5d3b2977bb
5
5
  SHA512:
6
- metadata.gz: 075a8326f10761482124de7d321ad3fa5fd8a974d89ad2bc22010f7fb95844e465e7640165dc9875fc4d219d1a02b9ba462f521954d866149a1a7ca749f55edd
7
- data.tar.gz: b29213cb464a353c4cda08e4aa55c0e2b9f636cf205a145c12907e48fac276da3a7f1343fe8ffa42e992fddff8f3ecfd714b6f0715e70555949cdf85b9f34c6d
6
+ metadata.gz: 5b4705aaf6eed3de64788cbe2ae7f78eaecd07f0b61574a2e6dcb51be5c765293a8dfedf485c8821a771b6aed09083e158c0d10c37d17e77a1c5d2d89ce42245
7
+ data.tar.gz: cda9675c8044013528fe79a4a81ed4624f85586730461ef47f5ac9c7bd8efdf551ae376badc59892f301e51d3e81f573c06909159ae85f412299a9ea7d909588
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ ## [1.1]
2
+ - Fix naming
3
+ - Fix app.css rendering.
4
+ ## [1.0.0]
5
+
6
+ - Initial release
7
+ - Automatically download Tailwind CLI
8
+ - Allow Tailwind CLI version configuration
9
+ - Allow custom Tailwind configuration file path
data/README.md CHANGED
@@ -25,7 +25,7 @@ module.exports = {
25
25
  };
26
26
  ```
27
27
 
28
- 3. Add **assets/app.css** file with following contents
28
+ 3. Add **assets/css/app.css** file with following contents
29
29
  ```css
30
30
  @tailwind base;
31
31
  @tailwind components;
@@ -30,7 +30,8 @@ module Jekyll
30
30
 
31
31
  def build
32
32
  Jekyll.logger.info 'Tailwind:', 'Rebuilt _site/assets/css/app.css'
33
- `#{@path} --input _site/assets/css/app.css --output _site/assets/css/app.css --config #{@config_path}`
33
+ Jekyll.logger.info 'Tailwind command: #{@path} --input assets/css/app.css --output _site/assets/css/app.css --config #{@config_path}',
34
+ `#{@path} --input assets/css/app.css --output _site/assets/css/app.css --config #{@config_path}`
34
35
  end
35
36
 
36
37
  private
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  class Tailwind
5
- VERSION = "0.1.0"
5
+ VERSION = "1.1"
6
6
  end
7
7
  end
@@ -16,6 +16,6 @@ Jekyll::Hooks.register [:site], :post_read do |site|
16
16
  tailwind(site).check_install
17
17
  end
18
18
 
19
- Jekyll::Hooks.register [:site], :pre_render do |site|
19
+ Jekyll::Hooks.register [:site], :post_write do |site|
20
20
  tailwind(site).build
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-tailwind-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - skatkov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-20 00:00:00.000000000 Z
11
+ date: 2024-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -52,6 +52,7 @@ extensions: []
52
52
  extra_rdoc_files: []
53
53
  files:
54
54
  - ".standard.yml"
55
+ - CHANGELOG.md
55
56
  - LICENSE.txt
56
57
  - README.md
57
58
  - Rakefile
@@ -79,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
80
  - !ruby/object:Gem::Version
80
81
  version: '0'
81
82
  requirements: []
82
- rubygems_version: 3.5.9
83
+ rubygems_version: 3.5.11
83
84
  signing_key:
84
85
  specification_version: 4
85
86
  summary: Use Tailwind CLI with a Jekyll site