Skip to content

Commit

Permalink
style: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilch committed Aug 19, 2024
1 parent 8a44440 commit a8b5477
Show file tree
Hide file tree
Showing 301 changed files with 8,705 additions and 8,596 deletions.
2 changes: 1 addition & 1 deletion .codebuild/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ phases:
- source ./shared-scripts.sh && _buildLinux
artifacts:
files:
- 'shared-scripts.sh'
- 'shared-scripts.sh'
4 changes: 2 additions & 2 deletions .codebuild/cleanup_e2e_resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ env:
variables:
CI: true
CODEBUILD: true

phases:
build:
commands:
- source ./shared-scripts.sh && _cleanupE2EResources
artifacts:
files:
- '**/*'
base-directory: $CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/amplify-e2e-reports
base-directory: $CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/amplify-e2e-reports
4 changes: 2 additions & 2 deletions .codebuild/cleanup_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ env:
variables:
CI: true
CODEBUILD: true

phases:
build:
commands:
Expand All @@ -13,4 +13,4 @@ phases:
artifacts:
files:
- '**/*'
base-directory: $CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/amplify-e2e-reports
base-directory: $CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/amplify-e2e-reports
2 changes: 1 addition & 1 deletion .codebuild/pr_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ batch:
env:
compute-type: BUILD_GENERAL1_MEDIUM
depend-on:
- build_linux
- build_linux
2 changes: 1 addition & 1 deletion .codebuild/publish_to_local_registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ phases:

artifacts:
files:
- 'shared-scripts.sh'
- 'shared-scripts.sh'
2 changes: 1 addition & 1 deletion .codebuild/run_e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ phases:
artifacts:
files:
- '**/*'
base-directory: $CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/amplify-e2e-reports
base-directory: $CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/amplify-e2e-reports
2 changes: 1 addition & 1 deletion .codebuild/run_ios_modelgen_e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ phases:
artifacts:
files:
- '**/*'
base-directory: $CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/amplify-e2e-reports
base-directory: $CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/amplify-e2e-reports
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
*/
export const ARTIFACT_STORAGE_PATH_ALLOW_LIST_CODEBUILD = [
'$CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/',
'$CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/amplify-e2e-reports'
];
'$CODEBUILD_SRC_DIR/packages/amplify-codegen-e2e-tests/amplify-e2e-reports',
];
2 changes: 1 addition & 1 deletion .codebuild/scripts/scan_artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ const main = () => {
}
};

main();
main();
2 changes: 1 addition & 1 deletion .codebuild/verify_api_extract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ env:
phases:
build:
commands:
- source ./shared-scripts.sh && _verifyAPIExtract
- source ./shared-scripts.sh && _verifyAPIExtract
2 changes: 1 addition & 1 deletion .codebuild/verify_dependency_licenses_extract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ env:
phases:
build:
commands:
- source ./shared-scripts.sh && _verifyDependencyLicensesExtract
- source ./shared-scripts.sh && _verifyDependencyLicensesExtract
266 changes: 133 additions & 133 deletions .github/ISSUE_TEMPLATE/2.gen1_bug_report.yaml
Original file line number Diff line number Diff line change
@@ -1,144 +1,144 @@
name: Gen 1 Bug report
description: Create a report to help us improve Gen 1 CLI Amplify Codegen
description: Create a report to help us improve Gen 1 CLI Amplify Codegen
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this bug report! Try to include as much information as you can.
- type: markdown
attributes:
value: For reference, the current version of the Amplify CLI is <img src="https://img.shields.io/npm/v/@aws-amplify/cli.svg" /> and Amplify Codegen is <img src="https://img.shields.io/npm/v/amplify-codegen.svg" />.
- type: markdown
attributes:
value: |
> **Note**: If your bug does not result from running `amplify codegen <sub-command>`, please log it in the [Amplify CLI GitHub Issue Tracker](https://github.com/aws-amplify/amplify-cli/issues).
- type: checkboxes
attributes:
label: |
Before opening, please confirm:
options:
- label: I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
required: true
- label: I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-codegen/issues?q=is%3Aissue+).
required: true
- label: I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-codegen/blob/main/CONTRIBUTING.md#bugs).
required: true
- label: I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
required: true
- type: markdown
attributes:
value: |
## Environment
- type: input
attributes:
label: How did you install the Amplify CLI?
description: "For example: npm, yarn, curl, etc."
- type: input
attributes:
label: If applicable, what version of Node.js are you using?
description: You can use `node -v` to check the node version on your system.
- type: input
attributes:
label: Amplify CLI Version
placeholder: Run `amplify version` to get the Amplify CLI version
validations:
required: true
- type: input
attributes:
label: What operating system are you using?
description: "For example: Mac, Windows, Ubuntu."
validations:
required: true
- type: markdown
attributes:
value: |
## Details
- type: dropdown
attributes:
label: Amplify Codegen Command
description: If applicable, what Amplify CLI commands (`amplify ...`) are surfacing the issue?
multiple: true
options:
- codegen add
- codegen configure
- codegen remove
- codegen
- codegen statements
- codegen types
- codegen models
- other `codegen <subcommand>` (please mention in the issue)
- Not applicable
validations:
required: true
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Reproduction steps
description: |
How do you trigger this bug? Please walk us through it step by step.
Screenshots can be provided in the text area below.
placeholder: |
1.
2.
3.
...
validations:
required: true
- type: textarea
attributes:
label: GraphQL schema(s)
description: |
If applicable, please include your GraphQL schema(s).
- type: markdown
attributes:
value: Thanks for taking the time to fill out this bug report! Try to include as much information as you can.
- type: markdown
attributes:
value: For reference, the current version of the Amplify CLI is <img src="https://img.shields.io/npm/v/@aws-amplify/cli.svg" /> and Amplify Codegen is <img src="https://img.shields.io/npm/v/amplify-codegen.svg" />.
- type: markdown
attributes:
value: |
> **Note**: If your bug does not result from running `amplify codegen <sub-command>`, please log it in the [Amplify CLI GitHub Issue Tracker](https://github.com/aws-amplify/amplify-cli/issues).
- type: checkboxes
attributes:
label: |
Before opening, please confirm:
options:
- label: I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
required: true
- label: I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-codegen/issues?q=is%3Aissue+).
required: true
- label: I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-codegen/blob/main/CONTRIBUTING.md#bugs).
required: true
- label: I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
required: true
- type: markdown
attributes:
value: |
## Environment
- type: input
attributes:
label: How did you install the Amplify CLI?
description: 'For example: npm, yarn, curl, etc.'
- type: input
attributes:
label: If applicable, what version of Node.js are you using?
description: You can use `node -v` to check the node version on your system.
- type: input
attributes:
label: Amplify CLI Version
placeholder: Run `amplify version` to get the Amplify CLI version
validations:
required: true
- type: input
attributes:
label: What operating system are you using?
description: 'For example: Mac, Windows, Ubuntu.'
validations:
required: true
- type: markdown
attributes:
value: |
## Details
- type: dropdown
attributes:
label: Amplify Codegen Command
description: If applicable, what Amplify CLI commands (`amplify ...`) are surfacing the issue?
multiple: true
options:
- codegen add
- codegen configure
- codegen remove
- codegen
- codegen statements
- codegen types
- codegen models
- other `codegen <subcommand>` (please mention in the issue)
- Not applicable
validations:
required: true
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Reproduction steps
description: |
How do you trigger this bug? Please walk us through it step by step.
Screenshots can be provided in the text area below.
placeholder: |
1.
2.
3.
...
validations:
required: true
- type: textarea
attributes:
label: GraphQL schema(s)
description: |
If applicable, please include your GraphQL schema(s).
**Be sure to remove any sensitive data.**
value: |
<details>
```graphql
# Put schemas below this line
**Be sure to remove any sensitive data.**
value: |
<details>
```graphql
# Put schemas below this line
```
</details>
- type: textarea
attributes:
label: Log output
description: |
For example, error messages, or stack traces.
```
Include any relevant log output under:
```
~/.amplify/logs/amplify-cli-<issue-date>.log
```
</details>
- type: textarea
attributes:
label: Log output
description: |
For example, error messages, or stack traces.
**Be sure to remove any sensitive data.**
value: |
<details>
```
# Put your logs below this line
Include any relevant log output under:
```
~/.amplify/logs/amplify-cli-<issue-date>.log
```
```
**Be sure to remove any sensitive data.**
</details>
- type: textarea
attributes:
label: Additional information
description: |
If you have any additional information, workarounds, etc. for us, use the field below.
Please note, you can attach screenshots or screen recordings here, by
dragging and dropping files in the field below.
value: |
<details>
```
# Put your logs below this line
```
</details>
- type: textarea
attributes:
label: Additional information
description: |
If you have any additional information, workarounds, etc. for us, use the field below.
Please note, you can attach screenshots or screen recordings here, by
dragging and dropping files in the field below.
Loading

0 comments on commit a8b5477

Please sign in to comment.