Skip to content

Commit

Permalink
fix(serverless-component): don't overwrite the cloudfront default.for…
Browse files Browse the repository at this point in the history
…ward config (#460)
  • Loading branch information
lone-cloud authored Jun 23, 2020
1 parent e37c725 commit 12da1de
Show file tree
Hide file tree
Showing 142 changed files with 4,914 additions and 3,261 deletions.
22 changes: 22 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = {
root: true,
extends: ["plugin:prettier/recommended"],
parserOptions: {
ecmaVersion: 2018
},
overrides: [
{
parser: "@typescript-eslint/parser",
files: ["*.ts", "*.tsx"],
plugins: ["@typescript-eslint"],
extends: [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
rules: {
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-comment": "off"
}
}
]
};
21 changes: 0 additions & 21 deletions .eslintrc.json

This file was deleted.

13 changes: 7 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,8 +24,9 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**Is your feature request related to a problem? Please describe.**
Expand Down
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"trailingComma": "none"
"trailingComma": "none",
"endOfLine": "auto"
}
26 changes: 13 additions & 13 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ The exhaustive list of AWS actions required for a deployment:
"iam:PassRole",
"lambda:CreateFunction",
"lambda:EnableReplication",
"lambda:DeleteFunction", // only for custom domains
"lambda:GetFunction",
"lambda:GetFunctionConfiguration",
"lambda:PublishVersion",
Expand Down
2 changes: 1 addition & 1 deletion integration/__tests__/local-deploy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe.skip("Local Deployment Tests (via serverless-offline)", () => {

beforeAll(() => {
process.chdir(path.join(__dirname, "../app-with-serverless-offline"));
return serverlessOfflineStart().then(serverlessOffline => {
return serverlessOfflineStart().then((serverlessOffline) => {
slsOffline = serverlessOffline;
});
});
Expand Down
14 changes: 4 additions & 10 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,13 @@
"npmClient": "npm",
"command": {
"publish": {
"ignoreChanges": [
"*.md"
],
"ignoreChanges": ["*.md"],
"message": "chore(release): publish"
},
"bootstrap": {
"ignore": "component-*",
"npmClientArgs": [
"--no-package-lock"
]
"npmClientArgs": ["--no-package-lock"]
}
},
"packages": [
"packages/*"
]
}
"packages": ["packages/*"]
}
Loading

0 comments on commit 12da1de

Please sign in to comment.