-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
polish: Added scripts to package.json (#403)
To get wrangler init projects up and running with good ergonomics for deploying and development, added default scripts "start" & "deploy" with assumed TS or JS files in generated ./src/index Provide messages of how to utilize the scripts or npx wrangler based on if the scripts were generated.
- Loading branch information
1 parent
5a9bb1d
commit f9fef8f
Showing
3 changed files
with
259 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
feat: add scripts to package.json & autogenerate name value when initializing a project | ||
To get wrangler init projects up and running with good ergonomics for deploying and development, | ||
added default scripts "start" & "deploy" with assumed TS or JS files in generated ./src/index. | ||
The name property is now derived from user input on `init <name>` or parent directory if no input is provided. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters