Skip to content

Commit 4627d96

Browse files
authored
Include package.json creation in TypeScript setup q
Add command to create package.json in setup script
1 parent 1888e1a commit 4627d96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pages/typescript/index.template.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ <h2>Default tsconfig.json</h2>
214214
bash -c -e "
215215
mkdir -p ~/ts_remove_me_later
216216
cd ~/ts_remove_me_later
217+
echo "{}" > package.json
217218
asdf local nodejs 20.17.0
218219
npm install -g typescript
219220
rm -rf tsconfig.json

0 commit comments

Comments
 (0)