terrazzo 0.7.2 → 0.7.3
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/README.md +32 -5
- data/lib/terrazzo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c052bdf0156ea6f274c81bd8e8ac10d2a0519149cf7cdc3f4a2e6ba7fad07457
|
|
4
|
+
data.tar.gz: 52cc71522126bba003d340eb190dafda5c4f74e33c2be6605f3cecc1cadb793b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b891e22f66ddccc7792b9096c250c727057161291d20eee0d0854bf5545bad6317512b32d9dd99a33619d93641178b53006682128f48ec7bb9d825440f17d6ef
|
|
7
|
+
data.tar.gz: 7bf82c9b3eae347aacc43cb6dc0e521904363069dd802ec51a904f3dc9c53bebc316dc61609dd2565c877e0b0985a78f89fa1158325415db9dde9c8c9fd91d61
|
data/README.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
A drop-in admin panel for Rails apps. Uses the [Administrate](https://github.com/thoughtbot/administrate) dashboard DSL with a React SPA frontend powered by [Superglue](https://github.com/thoughtbot/superglue).
|
|
4
4
|
|
|
5
|
+
[](https://github.com/gohypelab/terrazzo/actions/workflows/ci.yml)
|
|
6
|
+
[](https://github.com/gohypelab/terrazzo/actions/workflows/release.yml)
|
|
7
|
+
|
|
5
8
|
- **Familiar DSL** — same `ATTRIBUTE_TYPES`, `COLLECTION_ATTRIBUTES`, `FORM_ATTRIBUTES` you already know
|
|
6
9
|
- **React SPA** — search, sort, and paginate without full page reloads, no separate API needed
|
|
7
10
|
- **shadcn/ui + Tailwind** — polished defaults with supported ejection when you want app-owned source
|
|
@@ -23,11 +26,13 @@ bundle exec vite install
|
|
|
23
26
|
|
|
24
27
|
# Add the npm package and frontend dependencies
|
|
25
28
|
npm install terrazzo
|
|
26
|
-
npm install @radix-ui/react-avatar @radix-ui/react-dialog
|
|
27
|
-
@radix-ui/react-
|
|
28
|
-
@radix-ui/react-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
npm install @radix-ui/react-avatar@1.1.11 @radix-ui/react-dialog@1.1.15 \
|
|
30
|
+
@radix-ui/react-dropdown-menu@2.1.16 @radix-ui/react-label@2.1.8 \
|
|
31
|
+
@radix-ui/react-popover@1.1.15 @radix-ui/react-select@2.2.6 \
|
|
32
|
+
@radix-ui/react-separator@1.1.8 @radix-ui/react-slot@1.2.4 \
|
|
33
|
+
@radix-ui/react-tooltip@1.2.8 class-variance-authority@0.7.1 \
|
|
34
|
+
lucide-react@0.344.0 tailwindcss@4.2.1
|
|
35
|
+
npm install --save-dev @tailwindcss/cli@4.2.1 # if your app does not already compile Tailwind
|
|
31
36
|
|
|
32
37
|
# Install Terrazzo — generates admin namespace, app barrels,
|
|
33
38
|
# shadcn metadata/path aliases, and dashboards.
|
|
@@ -58,6 +63,28 @@ Full docs at **[gohypelab.github.io/terrazzo](https://gohypelab.github.io/terraz
|
|
|
58
63
|
- Node.js 18+
|
|
59
64
|
- A JS bundler (Vite recommended, esbuild also supported)
|
|
60
65
|
|
|
66
|
+
## Development and releases
|
|
67
|
+
|
|
68
|
+
Pull requests and pushes to `main` run the Ruby unit specs, npm package checks,
|
|
69
|
+
documentation build, and example app system specs through GitHub Actions.
|
|
70
|
+
|
|
71
|
+
Repository npm projects pin direct dependencies and use a seven-day minimum
|
|
72
|
+
release age when resolving updates. The published package and documentation
|
|
73
|
+
projects also commit their lockfiles. Use npm 11.10 or newer when changing
|
|
74
|
+
dependencies; project `.npmrc` files save new dependencies with exact versions
|
|
75
|
+
automatically.
|
|
76
|
+
|
|
77
|
+
Terrazzo releases the Ruby gem and npm package from the same version tag. After
|
|
78
|
+
updating `lib/terrazzo/version.rb` and `npm/package.json` to matching versions,
|
|
79
|
+
push an annotated `v*` tag. The release workflow validates both packages,
|
|
80
|
+
publishes missing versions to RubyGems and npm through OIDC trusted publishing,
|
|
81
|
+
and creates a GitHub Release with generated notes. Existing registry versions
|
|
82
|
+
are skipped, so a partially completed or manually published release can be
|
|
83
|
+
retried safely.
|
|
84
|
+
|
|
85
|
+
See [RELEASING.md](RELEASING.md) for trusted publisher setup, release commands,
|
|
86
|
+
and retry instructions.
|
|
87
|
+
|
|
61
88
|
## Customizing Per-Row Actions
|
|
62
89
|
|
|
63
90
|
Terrazzo generates Show, Edit, and Destroy action buttons for each row on index pages and has_many tables on show pages.
|
data/lib/terrazzo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: terrazzo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Terrazzo Contributors
|
|
@@ -339,7 +339,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
339
339
|
- !ruby/object:Gem::Version
|
|
340
340
|
version: '0'
|
|
341
341
|
requirements: []
|
|
342
|
-
rubygems_version:
|
|
342
|
+
rubygems_version: 3.6.9
|
|
343
343
|
specification_version: 4
|
|
344
344
|
summary: A Rails admin framework powered by Superglue and React
|
|
345
345
|
test_files: []
|