Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into param-bound
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle committed May 5, 2021
2 parents 70f85c4 + afbaa08 commit f5fa7e2
Show file tree
Hide file tree
Showing 198 changed files with 5,569 additions and 591 deletions.
34 changes: 17 additions & 17 deletions .circleci/config.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ machine:
environment:
PATH: '${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin'

node10: &node10
node12: &node12
working_directory: ~/repo
docker:
- image: circleci/node:10
- image: circleci/node:12
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN
Expand Down Expand Up @@ -58,7 +58,7 @@ install_cli_from_local_registery: &install_cli_from_local_registery
jobs:
build:
<<: *node10
<<: *node12
steps:
- checkout
- run: yarn run production-build
Expand All @@ -75,15 +75,15 @@ jobs:
paths: .

test:
<<: *node10
<<: *node12
steps:
- attach_workspace:
at: ./
- restore_cache:
key: amplify-cli-yarn-deps-{{ .Branch }}-{{ checksum "yarn.lock" }}
- run:
name: Install Java
command: sudo apt-get install default-jdk
command: sudo apt-get update && sudo apt-get install default-jdk
- run:
name: Lint
command: yarn lint
Expand All @@ -95,15 +95,15 @@ jobs:
command: yarn coverage

mock_e2e_tests:
<<: *node10
<<: *node12
steps:
- attach_workspace:
at: ./
- restore_cache:
key: amplify-cli-yarn-deps-{{ .Branch }}-{{ checksum "yarn.lock" }}
- run:
name: Install Java
command: sudo apt-get install default-jdk
command: sudo apt-get update && sudo apt-get install default-jdk
- run:
name: Run Transformer end-to-end tests with mock server
command: cd packages/amplify-util-mock/ && yarn e2e
Expand All @@ -114,7 +114,7 @@ jobs:
path: packages/amplify-util-mock/

publish_to_local_registry:
<<: *node10
<<: *node12
steps:
- attach_workspace:
at: ./
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
- ~/repo/.amplify-pkg-version

build_pkg_binaries:
<<: *node10
<<: *node12
steps:
- attach_workspace:
at: ./
Expand Down Expand Up @@ -227,12 +227,12 @@ jobs:
path: ~/repo/packages/amplify-e2e-tests/amplify-e2e-reports

done_with_node_e2e_tests:
<<: *node10
<<: *node12
steps:
- run: echo 'Done with Node CLI E2E Tests'

done_with_pkg_linux_e2e_tests:
<<: *node10
<<: *node12
steps:
- run: echo 'Done with pkg CLI E2E Tests'

Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:
integration_test:
working_directory: ~/repo
docker:
- image: cypress/base:10.18.0
- image: cypress/base:12
environment:
TERM: dumb
resource_class: large
Expand Down Expand Up @@ -473,7 +473,7 @@ jobs:
echo "Skipping deploy."
fi
github_prerelease:
<<: *node10
<<: *node12
steps:
- attach_workspace:
at: ./
Expand All @@ -497,7 +497,7 @@ jobs:
yarn ts-node scripts/github-prerelease.ts $version
github_prerelease_install_sanity_check:
<<: *node10
<<: *node12
steps:
- restore_cache:
key: amplfiy-pkg-tag-{{ .Branch }}-{{ .Revision }}
Expand All @@ -512,7 +512,7 @@ jobs:
command: |
amplify version
github_release:
<<: *node10
<<: *node12
steps:
- attach_workspace:
at: ./
Expand All @@ -526,7 +526,7 @@ jobs:
version=$(cat .amplify-pkg-version)
yarn ts-node scripts/github-release.ts $version
cleanup_resources:
<<: *node10
<<: *node12
steps:
- attach_workspace:
at: ./
Expand All @@ -543,7 +543,7 @@ jobs:
working_directory: ~/repo

cleanup_resources_after_e2e_runs:
<<: *node10
<<: *node12
steps:
- attach_workspace:
at: ./
Expand Down
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ orbs:
machine:
environment:
PATH: ${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin
node10:
node12:
working_directory: ~/repo
docker: &ref_0
- image: circleci/node:10
- image: circleci/node:12
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_ACCESS_TOKEN
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
key: amplify-cli-yarn-deps-{{ .Branch }}-{{ checksum "yarn.lock" }}
- run:
name: Install Java
command: sudo apt-get install default-jdk
command: sudo apt-get update && sudo apt-get install default-jdk
- run:
name: Lint
command: yarn lint
Expand All @@ -102,7 +102,7 @@ jobs:
key: amplify-cli-yarn-deps-{{ .Branch }}-{{ checksum "yarn.lock" }}
- run:
name: Install Java
command: sudo apt-get install default-jdk
command: sudo apt-get update && sudo apt-get install default-jdk
- run:
name: Run Transformer end-to-end tests with mock server
command: cd packages/amplify-util-mock/ && yarn e2e
Expand Down Expand Up @@ -367,7 +367,7 @@ jobs:
integration_test:
working_directory: ~/repo
docker:
- image: cypress/base:10.18.0
- image: cypress/base:12
environment:
TERM: dumb
resource_class: large
Expand Down
15 changes: 7 additions & 8 deletions .github/ISSUE_TEMPLATE/1.bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ description: Create a report to help us improve Amplify CLI
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" />.
- type: markdown
attributes:
value: |
> **Note**: If your issue is regarding the AWS Amplify Console service, please log it in the [Amplify Console GitHub Issue Tracker](https://github.com/aws-amplify/amplify-console/issues).
value: |
Thanks for taking the time to fill out this bug report! Try to include as much information as you can.
For reference, the current version of the Amplify CLI is <img src="https://img.shields.io/npm/v/@aws-amplify/cli.svg" />.
**Note**: If your issue is regarding the AWS Amplify Console service, please log it in the [Amplify Console GitHub Issue Tracker](https://github.com/aws-amplify/amplify-console/issues).
- type: checkboxes
attributes:
label: |
Expand Down
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/2.feature_request.md

This file was deleted.

73 changes: 73 additions & 0 deletions .github/ISSUE_TEMPLATE/2.feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Feature request
description: Suggest an idea for the CLI
labels: feature-request

body:
- type: markdown
attributes:
value: |
Thanks for taking the time to submit a feature request! Try to include as much information as you can.
For reference, the current version of the Amplify CLI is <img src="https://img.shields.io/npm/v/@aws-amplify/cli.svg" />.
- type: dropdown
attributes:
label: Is this related to a new or existing Amplify category?
description: Which categories does this request impact?
multiple: true
options:
- auth
- storage
- function
- api
- analytics
- hosting
- notifications
- interactions
- predictions
- xr
- New category

- type: input
attributes:
label: Is this related to another service?
placeholder: e.g. DynamoDB, S3

- type: textarea
attributes:
label: Describe the feature you'd like to request
description: |
A clear and concise description of what you want to happen. Please include **any related issues**, documentation, etc.
validations:
required: true

- type: textarea
attributes:
label: Describe the solution you'd like
description: |
A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
attributes:
label: Describe alternatives you've considered
description: |
A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true

- type: textarea
attributes:
label: Additional context
description: |
Add any other use cases or context about the feature request here. Please include any prototype, workaround, reference implementation, etc.
- type: checkboxes
attributes:
label: Is this something that you'd be interested in working on?
options:
- label: 👋 I may be able to implement this feature request
- label: ⚠️ This feature might incur a breaking change


34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/4.bug_report.md

This file was deleted.

2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ module.exports = {
'<rootDir>/packages/amplify-frontend-javascript',
// '<rootDir>/packages/amplify-graphiql-explorer',
'<rootDir>/packages/amplify-graphql-docs-generator',
'<rootDir>/packages/amplify-graphql-function-transformer',
'<rootDir>/packages/amplify-graphql-http-transformer',
'<rootDir>/packages/amplify-graphql-types-generator',
'<rootDir>/packages/amplify-provider-awscloudformation',
'<rootDir>/packages/amplify-storage-simulator',
Expand Down
28 changes: 28 additions & 0 deletions packages/amplify-app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,34 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.23.5](https://github.com/aws-amplify/amplify-cli/compare/amplify-app@2.23.3...amplify-app@2.23.5) (2021-05-03)



## 4.50.1 (2021-05-03)

**Note:** Version bump only for package amplify-app





## [2.23.4](https://github.com/aws-amplify/amplify-cli/compare/amplify-app@2.23.3...amplify-app@2.23.4) (2021-05-03)

**Note:** Version bump only for package amplify-app





## [2.23.3](https://github.com/aws-amplify/amplify-cli/compare/amplify-app@2.23.2...amplify-app@2.23.3) (2021-04-27)

**Note:** Version bump only for package amplify-app





## [2.23.2](https://github.com/aws-amplify/amplify-cli/compare/amplify-app@2.23.1...amplify-app@2.23.2) (2021-04-19)

**Note:** Version bump only for package amplify-app
Expand Down
Loading

0 comments on commit f5fa7e2

Please sign in to comment.