Skip to content

Commit

Permalink
Update beta
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnorton committed May 8, 2024
1 parent e9e6949 commit 26bfda5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .admin/naming.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ for dir in $(find ./../ -mindepth 3 -maxdepth 3 -type d ! -path "./../.git*"); d
# Update the "name" and "description" properties in the package.json file
jq --arg projectName "$projectName" --arg description "$description" '.name = $projectName | .description = $description' $dir/package.json > $dir/package.temp.json && mv $dir/package.temp.json $dir/package.json

# Update first line of every README.md file
sed -i "1s|.*|# Sample for $fullProjectName|" $dir/README.md

# COPY the README.md file from the .admin folder to the project folder
# cp ./../.admin/README.md $dir/README.md

# Update first line of every README.md file
sed -i "1s|.*|# Sample for $fullProjectName|" $dir/README.md

# Update the sampleInfo file
if [ $language == "ts" ]; then
echo "export const sampleInfo = { id: '$projectName', name: '$fullProjectName' };" > $dir/src/projectInfo.ts
Expand Down

0 comments on commit 26bfda5

Please sign in to comment.