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

feat(clients): move source files to "src" folder #1645

Closed
wants to merge 17 commits into from

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Oct 30, 2020

Issue #, if available:
Fixes: #1306

Description of changes:
feat(clients): move source files to "src" folder

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

for dir in ./clients/*; do (cd "$dir" && rm -rf *.ts protocols commands models pagination); done
for dir in ./protocol_tests/*; do (cd "$dir" && rm -rf *.ts protocols commands models pagination); done
for dir in ./clients/*; do (cd "$dir" && sed -i 's/\/dist\//\/dist-cjs\/\n\/dist-es\//g' ./.gitignore); done
for dir in ./clients/*; do (cd "$dir" && sed -i 's/"outDir"/"rootDir":"src","outDir"/g' ./tsconfig.*); done
for dir in ./clients/*; do (cd "$dir" && sed -i 's/"dist\/cjs"/"dist-cjs"/g' ./tsconfig.json); done
for dir in ./clients/*; do (cd "$dir" && sed -i 's/"dist\/es"/"dist-es"/g' ./tsconfig.es.json); done
for dir in ./clients/*; do (cd "$dir" && sed -i 's/runtimeConfig\./src\/runtimeConfig./g' ./package.json); done

for dir in ./protocol_tests/*; do (cd "$dir" && sed -i 's/\/dist\//\/dist-cjs\/\n\/dist-es\//g' ./.gitignore); done
for dir in ./protocol_tests/*; do (cd "$dir" && sed -i 's/"outDir"/"rootDir":"src","outDir"/g' ./tsconfig.*); done
for dir in ./protocol_tests/*; do (cd "$dir" && sed -i 's/"dist\/cjs"/"dist-cjs"/g' ./tsconfig.json); done
for dir in ./protocol_tests/*; do (cd "$dir" && sed -i 's/"dist\/es"/"dist-es"/g' ./tsconfig.es.json); done
for dir in ./protocol_tests/*; do (cd "$dir" && sed -i 's/runtimeConfig\./src\/runtimeConfig./g' ./package.json); done
it's moved to src in codegen, and was missed in cleanup
for dir in ./clients/*; do (cd "$dir" && sed -i 's/dist\/cjs/dist-cjs/g' ./package.json); done
for dir in ./clients/*; do (cd "$dir" && sed -i 's/dist\/es/dist-es/g' ./package.json); done

for dir in ./protocol_tests/*; do (cd "$dir" && sed -i 's/dist\/cjs/dist-cjs/g' ./package.json); done
for dir in ./protocol_tests/*; do (cd "$dir" && sed -i 's/dist\/es/dist-es/g' ./package.json); done
for dir in ./packages/*; do (cd "$dir" && sed -i 's/dist\/cjs/dist-cjs/g' ./package.json); done
for dir in ./packages/*; do (cd "$dir" && sed -i 's/dist\/es/dist-es/g' ./package.json); done
for dir in ./packages/*; do (cd "$dir" && sed -i 's/dist\/cjs/dist-cjs/g' ./tsconfig.cjs.json); done
for dir in ./packages/*; do (cd "$dir" && sed -i 's/dist\/es/dist-es/g' ./tsconfig.es.json); done
for dir in ./packages/*; do (cd "$dir" && sed -i 's/\/dist\//\/dist-cjs\/\n\/dist-es\//g' ./.gitignore); done

for dir in ./lib/*; do (cd "$dir" && sed -i 's/dist\/cjs/dist-cjs/g' ./package.json); done
for dir in ./lib/*; do (cd "$dir" && sed -i 's/dist\/es/dist-es/g' ./package.json); done
for dir in ./lib/*; do (cd "$dir" && sed -i 's/dist\/cjs/dist-cjs/g' ./tsconfig.cjs.json); done
for dir in ./lib/*; do (cd "$dir" && sed -i 's/dist\/es/dist-es/g' ./tsconfig.es.json); done
for dir in ./lib/*; do (cd "$dir" && sed -i 's/\/dist\//\/dist-cjs\/\n\/dist-es\//g' ./.gitignore); done
@codecov-io
Copy link

codecov-io commented Oct 30, 2020

Codecov Report

Merging #1645 into master will decrease coverage by 0.15%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1645      +/-   ##
==========================================
- Coverage   79.77%   79.62%   -0.16%     
==========================================
  Files         325      325              
  Lines       12087    12505     +418     
  Branches     2553     2658     +105     
==========================================
+ Hits         9643     9957     +314     
- Misses       2444     2548     +104     
Impacted Files Coverage Δ
packages/middleware-logger/src/loggerMiddleware.ts 100.00% <0.00%> (ø)
protocol_tests/aws-ec2/protocols/Aws_ec2.ts
protocol_tests/aws-ec2/EC2ProtocolClient.ts
...n/commands/QueryIdempotencyTokenAutoFillCommand.ts
...sts/aws-restjson/commands/JsonTimestampsCommand.ts
...tjson/commands/NullAndEmptyHeadersClientCommand.ts
...ts/aws-restxml/commands/NoInputAndOutputCommand.ts
protocol_tests/aws-ec2/commands/XmlBlobsCommand.ts
...rotocol_tests/aws-query/commands/XmlMapsCommand.ts
...-restjson/commands/HttpRequestWithLabelsCommand.ts
... and 259 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 79f25ca...c78df26. Read the comment docs.

Base automatically changed from master to main February 22, 2021 19:46
@trivikr trivikr closed this Sep 14, 2021
@trivikr trivikr deleted the client-code-src branch September 14, 2021 15:49
@trivikr
Copy link
Member Author

trivikr commented Sep 20, 2021

This work is being tracked as part of #2797

@github-actions
Copy link

github-actions bot commented Oct 5, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2021
@aws aws unlocked this conversation Oct 12, 2021
@trivikr
Copy link
Member Author

trivikr commented Oct 12, 2021

Superceded by #2845

@aws aws locked as resolved and limited conversation to collaborators Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move source files to "src" folder in clients
2 participants