Skip to content

Commit df0b7cd

Browse files
committed
add core dependencies
1 parent ceb8e7f commit df0b7cd

49 files changed

Lines changed: 2034 additions & 246 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.annotaterb.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
:position: before
3+
:position_in_additional_file_patterns: before
4+
:position_in_class: before
5+
:position_in_factory: before
6+
:position_in_fixture: before
7+
:position_in_routes: before
8+
:position_in_serializer: before
9+
:position_in_test: before
10+
:classified_sort: true
11+
:exclude_controllers: true
12+
:exclude_factories: false
13+
:exclude_fixtures: false
14+
:exclude_helpers: true
15+
:exclude_scaffolds: true
16+
:exclude_serializers: false
17+
:exclude_sti_subclasses: false
18+
:exclude_tests: false
19+
:force: false
20+
:format_markdown: false
21+
:format_rdoc: false
22+
:format_yard: false
23+
:frozen: false
24+
:grouped_polymorphic: false
25+
:ignore_model_sub_dir: false
26+
:ignore_unknown_models: false
27+
:include_version: false
28+
:show_check_constraints: false
29+
:show_complete_foreign_keys: false
30+
:show_foreign_keys: true
31+
:show_indexes: true
32+
:show_indexes_include: false
33+
:simple_indexes: false
34+
:sort: false
35+
:timestamp: false
36+
:trace: false
37+
:with_comment: true
38+
:with_column_comments: true
39+
:with_table_comments: true
40+
:position_of_column_comment: :with_name
41+
:active_admin: false
42+
:command:
43+
:debug: false
44+
:hide_default_column_types: ''
45+
:hide_limit_column_types: ''
46+
:timestamp_columns:
47+
- created_at
48+
- updated_at
49+
:ignore_columns:
50+
:ignore_routes:
51+
:models: true
52+
:routes: false
53+
:skip_on_db_migrate: false
54+
:target_action: :do_annotations
55+
:wrapper:
56+
:wrapper_close:
57+
:wrapper_open:
58+
:classes_default_to_s: []
59+
:additional_file_patterns: []
60+
:model_dir:
61+
- app/models
62+
:require: []
63+
:root_dir:
64+
- ''

.database_consistency.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Database Consistency configuration
2+
# See: https://github.com/djezzzl/database_consistency
3+
4+
# Enable all checks by default
5+
enabled: true
6+
7+
# Ignore specific checks
8+
# ColumnPresenceChecker:
9+
# enabled: false
10+
11+
# Ignore specific models or columns
12+
# ignore:
13+
# - User.email
14+
15+
# Log settings
16+
log_level: :warn

.vscode/launch.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "ruby_lsp",
6+
"name": "Debug Rails Server",
7+
"request": "launch",
8+
"program": "bin/rails server -p 3100"
9+
},
10+
{
11+
"type": "ruby_lsp",
12+
"name": "Debug Rails Test (Current File)",
13+
"request": "launch",
14+
"program": "bin/rails test ${relativeFile}"
15+
},
16+
{
17+
"type": "ruby_lsp",
18+
"name": "Debug Current Ruby File",
19+
"request": "launch",
20+
"program": "ruby ${file}"
21+
},
22+
{
23+
"type": "ruby_lsp",
24+
"name": "Attach to Existing Server",
25+
"request": "attach"
26+
},
27+
{
28+
"type": "chrome",
29+
"name": "Debug React (Chrome)",
30+
"request": "launch",
31+
"url": "http://localhost:3100",
32+
"webRoot": "${workspaceFolder}/app/frontend",
33+
"sourceMaps": true
34+
}
35+
]
36+
}

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"[markdown]": {
3+
"editor.inlineSuggest.enabled": false
4+
},
5+
"[mdx]": {
6+
"editor.inlineSuggest.enabled": false
7+
}
8+
}

Gemfile

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@ group :development, :test do
4545

4646
# Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/]
4747
gem "rubocop-rails-omakase", require: false
48+
49+
# Environment variables
50+
gem "dotenv-rails", "~> 3.1"
51+
52+
# Model annotations
53+
gem "annotaterb", "~> 4.20"
54+
55+
# i18n management
56+
gem "i18n-tasks", "~> 1.0"
57+
58+
# Database validations
59+
gem "database_validations", "~> 1.1"
60+
61+
# Database consistency checks
62+
gem "database_consistency", "~> 2.1", require: false
4863
end
4964

5065
group :development do
@@ -53,6 +68,16 @@ group :development do
5368

5469
# Git hooks manager
5570
gem "lefthook", require: false
71+
72+
# Better error pages
73+
gem "better_errors", "~> 2.10"
74+
gem "binding_of_caller", "~> 1.0"
75+
76+
# Performance profiling
77+
gem "rack-mini-profiler", "~> 4.0"
78+
79+
# N+1 query detection
80+
gem "bullet", "~> 8.1"
5681
end
5782

5883
group :test do
@@ -77,3 +102,25 @@ gem "types_from_serializers"
77102

78103
# Frontend routes
79104
gem "js-routes"
105+
106+
# Authorization
107+
gem "action_policy", "~> 0.7"
108+
109+
# Audit trail / versioning
110+
gem "paper_trail", "~> 17.0"
111+
112+
# Pagination
113+
gem "pagy", "~> 9.3"
114+
115+
# Soft deletes
116+
gem "discard", "~> 1.4"
117+
118+
# JSON store enhancements
119+
gem "store_attribute", "~> 2.0"
120+
gem "store_model", "~> 4.4"
121+
122+
# Solid Queue web UI
123+
gem "mission_control-jobs", "~> 1.1"
124+
125+
# S3-compatible storage (for Cloudflare R2)
126+
gem "aws-sdk-s3", "~> 1.180", require: false

0 commit comments

Comments
 (0)