-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add CONTRIBUTING document * add issue annd PR templates * rework documentation in README, add example setups
- Loading branch information
1 parent
1374a13
commit aac2ec2
Showing
9 changed files
with
215 additions
and
18 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
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,30 @@ | ||
# Contributing | ||
|
||
When contributing to this repository, please first open an issue so that the community of contributors to this repository can discuss the suggestion before a change is made. | ||
|
||
## Pull Request Process | ||
|
||
Once you have finished making your changes: | ||
|
||
1. Make sure that your code satisfies the standards laid out in the [testing](#testing) and [coding style](#coding-style) section of this document. | ||
2. Update README.md with details on any changes to the interface or behavior of the plugin. | ||
3. Submit your PR, using the PR template provided to describe the details of your changes. | ||
|
||
Then, | ||
|
||
4. For substantial changes to the plugin, we will try to get at least two community sign-offs and some discussion of the PR before merging. | ||
* For non-controversial or minor PRs (e.g. phrasing updates in the documentation, minor refactoring of constants), one approval will be sufficient to move forward. | ||
5. A contributor with push access to the repo will merge the PR after all tests and fixes have occured. | ||
6. A new release will be published (if appropriate). | ||
|
||
### Testing | ||
|
||
At the time of the writing of this document, we are in the process of developing a full testing plan, but it will likely include unit and integration tests run locally and by our CI tool as well as more manual end-to-end tests. Please refer to issues 33-35 for the discussion. This document will be updated as the process becomes more concrete. | ||
|
||
### Coding Style | ||
|
||
This repository uses [prettier](https://prettier.io/) to enforce a uniform coding style. You may install an editor plugin for prettier, but code will also be auto-formatted via a git hook whenever you commit code. | ||
|
||
### Code of Conduct | ||
|
||
Please be polite and respectful in all your communication and actions towards others in the serverless-finch community. |
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,32 @@ | ||
This is a: | ||
|
||
* [] Feature request or change | ||
* [] Bug report | ||
|
||
--- | ||
|
||
For bug reports: | ||
|
||
### Expected behavior | ||
|
||
### Actual behavior | ||
|
||
### Steps to reproduce | ||
|
||
* **Operating system:** | ||
* **serverless-finch version:** | ||
* `serverless.yml` **that produces bug:** | ||
* **Command that produces bug:** | ||
* **Other details:** | ||
|
||
--- | ||
|
||
For feature requests or changes: | ||
|
||
### Current behavior (if any) | ||
|
||
### Proposed behavior | ||
|
||
### Proposed implementation deatils (optional) | ||
|
||
### Justification |
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,11 @@ | ||
### Background | ||
|
||
[reference to original issue or other discussion] | ||
|
||
### Proposed changes | ||
|
||
[list of features added and/or changed] | ||
|
||
### Proposed reviewers (optional) | ||
|
||
[@ mentions of other contributors] |
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,11 @@ | ||
<html> | ||
<head> | ||
<title>My SPA</title> | ||
</head> | ||
|
||
<body> | ||
<h1>My SPA</h1> | ||
|
||
<script src="my-spa-bundle.js"></script> | ||
</body> | ||
</html> |
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,21 @@ | ||
service: example-SPA-site | ||
|
||
frameworkVersion: "=1.26.0" | ||
|
||
provider: | ||
name: aws | ||
runtime: nodejs6.10 | ||
stage: dev | ||
region: us-east-1 | ||
profile: serverless-admin | ||
|
||
plugins: | ||
- serverless-finch | ||
|
||
custom: | ||
client: | ||
bucketName: my-spa-bucket | ||
distributionFolder: client/dist | ||
indexDocument: index.html | ||
errorDocument: index.html | ||
|
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 @@ | ||
ERROR |
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 @@ | ||
Go Serverless! |
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,18 @@ | ||
service: example-site | ||
|
||
frameworkVersion: "=1.26.0" | ||
|
||
provider: | ||
name: aws | ||
runtime: nodejs6.10 | ||
stage: dev | ||
region: us-east-1 | ||
profile: serverless-admin | ||
|
||
plugins: | ||
- serverless-finch | ||
|
||
custom: | ||
client: | ||
bucketName: my-website-bucket | ||
|