Skip to content

Commit 8285817

Browse files
authored
Merge pull request #848 from aws-amplify/main
chore: release codegen packages
2 parents cbbb1d3 + 45c26d9 commit 8285817

26 files changed

+666
-41
lines changed

.codebuild/deprecate.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 0.2
2+
env:
3+
shell: bash
4+
git-credential-helper: yes
5+
phases:
6+
build:
7+
commands:
8+
- source ./shared-scripts.sh && _deprecate

.codebuild/deprecate_workflow.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 0.2
2+
env:
3+
shell: bash
4+
compute-type: BUILD_GENERAL1_SMALL
5+
6+
batch:
7+
fast-fail: false
8+
build-graph:
9+
- identifier: install_linux
10+
buildspec: .codebuild/install_linux.yml
11+
- identifier: deprecate
12+
buildspec: .codebuild/deprecate.yml
13+
depend-on:
14+
- install_linux

.codebuild/install_linux.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 0.2
2+
env:
3+
shell: bash
4+
phases:
5+
build:
6+
commands:
7+
- source ./shared-scripts.sh && _installLinux
8+
artifacts:
9+
files:
10+
- 'shared-scripts.sh'

.codebuild/scripts/local_publish_helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
custom_registry_url=http://localhost:4873
4-
default_verdaccio_package=verdaccio@4.5.1
4+
55

66
function startLocalRegistry {
77
# Start local registry
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Gen 2 Bug Report
2+
description: Create a report to help us improve Amplify Gen 2 Codegen
3+
labels: ['pending-triage']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
- type: textarea
10+
id: env
11+
attributes:
12+
label: Environment information
13+
description: |
14+
Please copy and paste output of the following command. This will be automatically formatted into code, so no need for backticks.
15+
```bash
16+
npx ampx info
17+
```
18+
render: plain text
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: env
23+
attributes:
24+
label: Codegen packages
25+
description: |
26+
Please copy and paste output of the following command. This will be automatically formatted into code, so no need for backticks.
27+
```bash
28+
npm list @aws-amplify/graphql-generator
29+
```
30+
render: plain text
31+
validations:
32+
required: true
33+
- type: textarea
34+
id: description
35+
attributes:
36+
label: Description
37+
description: |
38+
Describe the bug
39+
How can this bug be reproduced?
40+
Please include any code snippets or screenshots that you think would be helpful!
41+
validations:
42+
required: true

.github/ISSUE_TEMPLATE/2.feature_request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/1.bug_report.yaml renamed to .github/ISSUE_TEMPLATE/2.gen1_bug_report.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: Bug report
2-
description: Create a report to help us improve Amplify Codegen
1+
name: Gen 1 Bug report
2+
description: Create a report to help us improve Gen 1 CLI Amplify Codegen
33
body:
44
- type: markdown
55
attributes:
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Feature request
2+
description: Suggest an idea for the Amplify Codegen
3+
labels: ['pending-triage']
4+
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to submit a feature request! Try to include as much information as you can.
10+
11+
- For **Amplify Backend** issues, please visit [amplify-backend](https://github.com/aws-amplify/amplify-backend/issues/new/choose)
12+
- For **Amplify Hosting** issues, visit [amplify-hosting](https://github.com/aws-amplify/amplify-hosting/issues/new/choose)
13+
- For **Amplify Codegen** issues, visit [amplify-codegen](https://github.com/aws-amplify/amplify-codegen/issues/new/choose)
14+
- type: textarea
15+
attributes:
16+
label: Describe the feature you'd like to request
17+
description: |
18+
A clear and concise description of what you want to happen. Please include **any related issues**, documentation, etc.
19+
validations:
20+
required: true
21+
- type: textarea
22+
attributes:
23+
label: Describe the solution you'd like
24+
description: |
25+
A clear and concise description of what you want to happen.
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: Describe alternatives you've considered
31+
description: |
32+
A clear and concise description of any alternative solutions or features you've considered.
33+
validations:
34+
required: true
35+
- type: textarea
36+
attributes:
37+
label: Additional context
38+
description: |
39+
Add any other use cases or context about the feature request here. Please include any prototype, workaround, reference implementation, etc.
40+
- type: checkboxes
41+
attributes:
42+
label: Is this something that you'd be interested in working on?
43+
options:
44+
- label: 👋 I may be able to implement this feature request
45+
- type: checkboxes
46+
attributes:
47+
label: Would this feature include a breaking change?
48+
options:
49+
- label: ⚠️ This feature might incur a breaking change

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: I want help writing my Amplify application
4+
url: https://discord.com/invite/amplify
5+
about: Check out the `*-help` channels on Amplify's community Discord to ask your questions about building applications with the CLI or other Amplify libraries.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ package-lock.json
2929
.idea
3030
scripts/.env
3131
.codebuild/debug_workflow.yml
32+
.npmrc
33+
verdaccio-logs.txt
34+
scripts/components/private_packages.ts

0 commit comments

Comments
 (0)