bridgetown-stoa 0.2.0 → 0.3.0
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/CHANGELOG.md +7 -0
- data/bridgetown-stoa.gemspec +4 -7
- data/lib/bridgetown-stoa/version.rb +1 -1
- data/package.json +1 -1
- metadata +3 -3
- data/frontend/styles/bridgetown-stoa.css +0 -34
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd608896b8fe6337dd6f18ea4142689a7075fb8b083b2e818f8e7fb2581bef94
|
|
4
|
+
data.tar.gz: c701e091bf21dbcdfc797186baf25a8c091ff39b5396db1ca7a41a3dccecd5cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 921ab4bca3b8dc1559db5d8bc3837a875643519925a4eed55a257c4b2c4e10444a7d7b404f1589f1d6c06c761ba83c03a10fdf180b2378a33c4275868400585b
|
|
7
|
+
data.tar.gz: bb4431c809b2eb51eb6c432d15c5a0785a0c25ea2762cba781942c97435139d31f93d60e5e68b76f6f847e685046e7e4719c3dfeb112543da8fc388ddf6b0543
|
data/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
- ...
|
|
11
11
|
|
|
12
|
+
## [0.3.0] - 2026-05-22
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- Enabled the `yarn-add` gemspec metadata so Bridgetown sites that install the gem auto-add the `bridgetown-stoa` npm dependency. Matches the idiomatic pattern from `bridgetown-quick-search`. (`yarn-add` and `npm_add` are synonyms inside Bridgetown's plugin manager — the gemspec template's commented `npm_add` is the older name; the ecosystem has standardized on `yarn-add`.)
|
|
16
|
+
- Excluded `frontend/` from the gem's `files` glob. The Tailwind partial belongs in the npm companion only; shipping it in the gem too was duplicate distribution.
|
|
17
|
+
- Test fixture initializer now passes `require_gem: false` to `init :"bridgetown-stoa"` so Bridgetown's plugin manager doesn't run `install_npm_dependencies` during the test suite (which would inject a self-referencing dep into the gem's own `package.json`). The gem is already loaded by `test/helper.rb`, so the re-require was redundant anyway.
|
|
18
|
+
|
|
12
19
|
## [0.2.0] - 2026-05-22
|
|
13
20
|
|
|
14
21
|
### Added
|
data/bridgetown-stoa.gemspec
CHANGED
|
@@ -11,15 +11,12 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
spec.homepage = "https://github.com/Guided-Rails/bridgetown-stoa"
|
|
12
12
|
spec.license = "MIT"
|
|
13
13
|
|
|
14
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|script|spec|features)/!) }
|
|
14
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|script|spec|features|frontend)/!) }
|
|
15
15
|
spec.test_files = spec.files.grep(%r!^test/!)
|
|
16
16
|
spec.require_paths = ["lib"]
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
# spec.metadata = {
|
|
21
|
-
# "npm_add" => "bridgetown-stoa@#{BridgetownStoa::VERSION}",
|
|
22
|
-
# }
|
|
17
|
+
spec.metadata = {
|
|
18
|
+
"yarn-add" => "bridgetown-stoa@#{BridgetownStoa::VERSION}",
|
|
19
|
+
}
|
|
23
20
|
|
|
24
21
|
spec.required_ruby_version = ">= 3.2"
|
|
25
22
|
|
data/package.json
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bridgetown-stoa
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Abdullah Hashim
|
|
@@ -80,7 +80,6 @@ files:
|
|
|
80
80
|
- README.md
|
|
81
81
|
- Rakefile
|
|
82
82
|
- bridgetown-stoa.gemspec
|
|
83
|
-
- frontend/styles/bridgetown-stoa.css
|
|
84
83
|
- layouts/bridgetown-stoa/layout.serb
|
|
85
84
|
- lib/bridgetown-stoa.rb
|
|
86
85
|
- lib/bridgetown-stoa/version.rb
|
|
@@ -88,7 +87,8 @@ files:
|
|
|
88
87
|
homepage: https://github.com/Guided-Rails/bridgetown-stoa
|
|
89
88
|
licenses:
|
|
90
89
|
- MIT
|
|
91
|
-
metadata:
|
|
90
|
+
metadata:
|
|
91
|
+
yarn-add: bridgetown-stoa@0.3.0
|
|
92
92
|
rdoc_options: []
|
|
93
93
|
require_paths:
|
|
94
94
|
- lib
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* bridgetown-stoa: Tailwind v4 source partial. Import after `@import "tailwindcss"`. */
|
|
2
|
-
|
|
3
|
-
@custom-variant dark (&:where(.dark, .dark *));
|
|
4
|
-
|
|
5
|
-
@theme {
|
|
6
|
-
--color-stoa-bg: oklch(98% 0.002 264);
|
|
7
|
-
--color-stoa-surface: oklch(100% 0 0);
|
|
8
|
-
--color-stoa-fg: oklch(20% 0.012 264);
|
|
9
|
-
--color-stoa-muted: oklch(50% 0.012 264);
|
|
10
|
-
--color-stoa-border: oklch(92% 0.005 264);
|
|
11
|
-
--color-stoa-accent: oklch(55% 0.18 264);
|
|
12
|
-
--color-stoa-accent-fg: oklch(98% 0.002 264);
|
|
13
|
-
|
|
14
|
-
--font-stoa-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
15
|
-
--font-stoa-mono: ui-monospace, "SF Mono", Menlo, "Cascadia Code", monospace;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@layer base {
|
|
19
|
-
.dark {
|
|
20
|
-
--color-stoa-bg: oklch(17% 0.012 264);
|
|
21
|
-
--color-stoa-surface: oklch(22% 0.012 264);
|
|
22
|
-
--color-stoa-fg: oklch(94% 0.005 264);
|
|
23
|
-
--color-stoa-muted: oklch(65% 0.012 264);
|
|
24
|
-
--color-stoa-border: oklch(28% 0.012 264);
|
|
25
|
-
--color-stoa-accent: oklch(72% 0.16 264);
|
|
26
|
-
--color-stoa-accent-fg: oklch(15% 0.012 264);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
html {
|
|
30
|
-
background: var(--color-stoa-bg);
|
|
31
|
-
color: var(--color-stoa-fg);
|
|
32
|
-
font-family: var(--font-stoa-sans);
|
|
33
|
-
}
|
|
34
|
-
}
|