Skip to content

Commit 1dc550a

Browse files
committed
fix(apply): correct react references to reactjs in comments and variables
1 parent 3fd4310 commit 1dc550a

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

scripts/apply.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ set -euo pipefail
1818
# all=true # Include all technology-specific files
1919
# python=true # Include Python instruction and enforcement prompt
2020
# typescript=true # Include TypeScript instruction and enforcement prompt
21-
# react=true # Include React instruction and enforcement prompt
21+
# reactjs=true # Include ReactJS instruction and enforcement prompt
2222
# rust=true # Include Rust instruction and enforcement prompt
2323
# terraform=true # Include Terraform instruction and enforcement prompt
24-
# tauri=true # Include Tauri instruction and enforcement prompt (auto-enables rust, typescript, react)
24+
# tauri=true # Include Tauri instruction and enforcement prompt (auto-enables rust, typescript, reactjs)
2525
# playwright=true # Include Playwright instruction and prompt (requires python or typescript)
2626
# django=true # Include Django skill (auto-enables python)
2727
# fastapi=true # Include FastAPI skill (auto-enables python)
@@ -88,7 +88,7 @@ DEFAULT_TEMPLATES=("Makefile.template" "Dockerfile.template" "compose.yaml.templ
8888
DEFAULT_SKILLS=("repository-template")
8989

9090
# All technology switches (for iteration)
91-
ALL_TECHS=("python" "typescript" "react" "rust" "terraform" "tauri" "playwright" "django" "fastapi")
91+
ALL_TECHS=("python" "typescript" "reactjs" "rust" "terraform" "tauri" "playwright" "django" "fastapi")
9292

9393
# ==============================================================================
9494

@@ -101,7 +101,7 @@ function get-tech-instruction() {
101101
case "$1" in
102102
python) echo "python" ;;
103103
typescript) echo "typescript" ;;
104-
react) echo "reactjs" ;;
104+
reactjs) echo "reactjs" ;;
105105
rust) echo "rust" ;;
106106
terraform) echo "terraform" ;;
107107
tauri) echo "tauri" ;;
@@ -130,7 +130,7 @@ function get-tech-prompt() {
130130
case "$1" in
131131
python) echo "enforce.python" ;;
132132
typescript) echo "enforce.typescript" ;;
133-
react) echo "enforce.reactjs" ;;
133+
reactjs) echo "enforce.reactjs" ;;
134134
rust) echo "enforce.rust" ;;
135135
terraform) echo "enforce.terraform" ;;
136136
tauri) echo "enforce.tauri" ;;
@@ -183,11 +183,11 @@ function main() {
183183
exit 1
184184
fi
185185

186-
# Auto-enable rust, typescript, and react if tauri is specified
186+
# Auto-enable rust, typescript, and reactjs if tauri is specified
187187
if is-arg-true "${tauri:-false}"; then
188188
rust=true
189189
typescript=true
190-
react=true
190+
reactjs=true
191191
fi
192192

193193
# Auto-enable python if django or fastapi is specified
@@ -628,10 +628,10 @@ Technology switches (set to 'true' to include):
628628
all=true Include all technology-specific files
629629
python=true Python instruction and prompt
630630
typescript=true TypeScript instruction and prompt
631-
react=true React instruction and prompt
631+
reactjs=true ReactJS instruction and prompt
632632
rust=true Rust instruction and prompt
633633
terraform=true Terraform instruction and prompt
634-
tauri=true Tauri instruction and prompt (auto-enables rust, typescript, react)
634+
tauri=true Tauri instruction and prompt (auto-enables rust, typescript, reactjs)
635635
playwright=true Playwright instruction and prompt (requires python or typescript)
636636
django=true Django skill (auto-enables python)
637637
fastapi=true FastAPI skill (auto-enables python)

0 commit comments

Comments
 (0)