railstart 0.4.4 → 0.4.5
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 +8 -0
- data/README.md +34 -12
- data/lib/railstart/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 335bb58fb0448ef183a5dab96d9d866e212d75a09310db0ed4c017d9e27cf327
|
|
4
|
+
data.tar.gz: 42fea9cfc2d16dc6b167eb8580f108d43a940f6809de97c308cc64d467bb5056
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a7b8a26a4060fc6e1c449ab759d5dbbf8911ceba0166a8ce5b094fe81f069ee70b38c9ee88671f38e91eb4f1a6cb4f334815c8457efccc570a9fc57d94f7bf12
|
|
7
|
+
data.tar.gz: 29d65e728974f716e6d514135f574b48a7b335842c9330e6457553462bf943dcc5b9beead5e5c5bcfb4212a8c6b30301f689df342e861e2e7f83bfce345f6729
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.5] - 2026-04-30
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **Example configs**: Added copyable `examples/` YAML files for global defaults, API apps, standard PostgreSQL apps, minimal SQLite apps, Vite/Bun apps, and template post-actions
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- **Agent guidance**: Tracked `AGENTS.md` in git while excluding it from gem builds
|
|
17
|
+
|
|
10
18
|
## [0.4.4] - 2026-04-30
|
|
11
19
|
|
|
12
20
|
### Changed
|
data/README.md
CHANGED
|
@@ -147,11 +147,11 @@ Presets are powerful tools for defining opinionated Rails configurations for spe
|
|
|
147
147
|
|
|
148
148
|
### Quick Preset Creation
|
|
149
149
|
|
|
150
|
-
Create a new preset file in
|
|
150
|
+
Create a new preset file in `~/.config/railstart/presets/{name}.yaml`:
|
|
151
151
|
|
|
152
152
|
```yaml
|
|
153
153
|
---
|
|
154
|
-
# My Team Preset - PostgreSQL +
|
|
154
|
+
# My Team Preset - PostgreSQL + Tailwind + Importmap
|
|
155
155
|
|
|
156
156
|
questions:
|
|
157
157
|
- id: database
|
|
@@ -160,23 +160,21 @@ questions:
|
|
|
160
160
|
value: postgresql
|
|
161
161
|
default: true
|
|
162
162
|
|
|
163
|
-
- id:
|
|
163
|
+
- id: css
|
|
164
164
|
choices:
|
|
165
|
-
- name:
|
|
166
|
-
value:
|
|
165
|
+
- name: Tailwind
|
|
166
|
+
value: tailwind
|
|
167
167
|
default: true
|
|
168
168
|
|
|
169
|
-
- id:
|
|
169
|
+
- id: javascript
|
|
170
170
|
choices:
|
|
171
|
-
- name:
|
|
172
|
-
value:
|
|
171
|
+
- name: Importmap
|
|
172
|
+
value: importmap
|
|
173
173
|
default: true
|
|
174
|
+
rails_flag: "--javascript=importmap"
|
|
174
175
|
|
|
175
176
|
post_actions:
|
|
176
|
-
- id:
|
|
177
|
-
enabled: true
|
|
178
|
-
|
|
179
|
-
- id: setup_rspec
|
|
177
|
+
- id: init_git
|
|
180
178
|
enabled: true
|
|
181
179
|
```
|
|
182
180
|
|
|
@@ -198,6 +196,30 @@ Railstart includes several ready-to-use presets:
|
|
|
198
196
|
- **`api-only`** - Minimal Rails for JSON APIs (no views, no frontend)
|
|
199
197
|
- **`vite-bun`** - Modern SPA with Vite + Bundlebun
|
|
200
198
|
|
|
199
|
+
### Example YAML Files
|
|
200
|
+
|
|
201
|
+
This repository also includes copyable YAML examples in `examples/`:
|
|
202
|
+
|
|
203
|
+
- `examples/config.yml` - global defaults for `~/.config/railstart/config.yaml`
|
|
204
|
+
- `examples/presets/api-postgresql.yml` - JSON API service with PostgreSQL
|
|
205
|
+
- `examples/presets/standard-postgresql.yml` - full-stack PostgreSQL app
|
|
206
|
+
- `examples/presets/minimal-sqlite.yml` - lightweight local prototype app
|
|
207
|
+
- `examples/presets/vite-bun.yml` - Vite, Bun, Tailwind, and PostgreSQL
|
|
208
|
+
- `examples/presets/template-action.yml` - template post-action reference
|
|
209
|
+
|
|
210
|
+
Use a preset example directly by passing its path:
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
railstart new my_app --preset ./examples/presets/standard-postgresql.yml --default
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
Or copy one into your user presets directory:
|
|
217
|
+
|
|
218
|
+
```bash
|
|
219
|
+
cp examples/presets/standard-postgresql.yml ~/.config/railstart/presets/standard-postgresql.yml
|
|
220
|
+
railstart new my_app --preset standard-postgresql --default
|
|
221
|
+
```
|
|
222
|
+
|
|
201
223
|
## Configuration
|
|
202
224
|
|
|
203
225
|
### Initialize Configuration Files
|
data/lib/railstart/version.rb
CHANGED