Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prep release #2939

Merged
merged 15 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ packages/amplify-graphql-api-construct/README.md
packages/amplify-graphql-api-construct/tsconfig.json
packages/amplify-graphql-conversation-transformer/src/__tests__/schemas/*.graphql
packages/amplify-graphql-conversation-transformer/src/resolvers/*.template.js
packages/amplify-graphql-generation-transformer/src/resolvers/*.template.js
packages/amplify-data-construct/README.md
packages/amplify-data-construct/tsconfig.json
packages/amplify-graphql-model-transformer/publish-notification-lambda/lib/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ export class AmplifyCLI {
console.log(`Using CLI path '${cliPath}'`);
console.log(`Project root: '${this.projectRoot}'`);
const chain = spawn(cliPath, cliArgs, { cwd: this.projectRoot, env, disableCIDetection: s.disableCIDetection })
.wait('Do you want to continue with Amplify Gen 1?')
.sendConfirmYes()
.wait('Why would you like to use Amplify Gen 1?')
.sendCarriageReturn()
.wait('Enter a name for the project')
.sendLine(s.name)
.wait('Initialize the project with the above configuration?')
Expand Down
2 changes: 2 additions & 0 deletions codebuild_specs/build_linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
version: 0.2
env:
shell: bash
variables:
NODE_OPTIONS: --max-old-space-size=8096
phases:
build:
commands:
Expand Down
9 changes: 8 additions & 1 deletion codebuild_specs/build_windows.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
version: 0.2
env:
shell: powershell.exe
variables:
NODE_OPTIONS: --max-old-space-size=8096
phases:
pre_build:
commands:
- choco install -fy nodejs-lts --version=18.20.4
- |
$nodeVersion = node -v
Write-Host "Node version: $nodeVersion"
build:
commands:
- yarn run production-build
- yarn build-tests

artifacts:
files:
- 'shared-scripts.sh'
Loading
Loading