-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #626 from serverless-heaven/fix/update-examples
Update all examples
- Loading branch information
Showing
48 changed files
with
26,886 additions
and
22,701 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 |
---|---|---|
|
@@ -12,7 +12,7 @@ install: | |
- npm --version | ||
|
||
test_script: | ||
- npm test | ||
- npm run test | ||
|
||
# Don't actually build. | ||
build: off |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
/\* | ||
## WARNING! | ||
|
||
* WARNING! | ||
* | ||
* This example is only there to show that you _can_ overtake the configuration | ||
* manually. This is _strongly discouraged_ since serverless-webpack V3 as it | ||
* does not work with individual packaging of functions and prevents you to | ||
* use optimizations like Webpack's tree shaking. | ||
\*/ | ||
This example is only there to show that you _can_ overtake the configuration | ||
manually. This is *strongly discouraged* since serverless-webpack V3 as it | ||
does not work with individual packaging of functions and prevents you to | ||
use optimizations like Webpack's tree shaking. | ||
|
||
You can also try to invoke a function locally: | ||
``` | ||
serverless invoke local --function=first --path=./event.json | ||
``` |
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.