Skip to content

Commit abb34ef

Browse files
authored
Merge pull request #39 from aws-samples/yarn-migration
Yarn migration and postcss update
2 parents 370a38c + 1979318 commit abb34ef

File tree

23 files changed

+26861
-112004
lines changed

23 files changed

+26861
-112004
lines changed

Infra/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,20 @@ Run the following commands in the root of the repository directory:
3333

3434
```sh
3535
cd Lambdas/Common
36-
npm install
37-
npm run build
36+
yarn
37+
yarn build
3838

3939
cd ../ChimeCallService
40-
npm install
41-
npm run build
40+
yarn
41+
yarn build
4242

4343
cd ../../Website
44-
npm install
45-
npm run build
44+
yarn
45+
yarn build
4646

4747
cd ../Infra
48-
npm install
48+
yarn
49+
yarn build
4950
cdk bootstrap \
5051
--profile account-profile \
5152
--cloudformation-execution-policies arn:aws:iam::aws:policy/AdministratorAccess \

Infra/deployStack.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ esac; shift; done
1414
echo "Using AWS profile '$CDK_PROFILE'"
1515

1616
# Build all the lambdas
17-
cd ../Lambdas/Common && npm i && npm run build
18-
cd ../ChimeCallService && npm i && npm run build
17+
cd ../Lambdas/Common && yarn && yarn build
18+
cd ../ChimeCallService && yarn && yarn build
1919
cd ..
2020

2121
# Build the website
22-
cd ../Website && npm update && npm i && npm run build
22+
cd ../Website && yarn && yarn build
2323

2424
# Build the infrastructure cdk code
25-
cd ../Infra && npm i && npm run build
25+
cd ../Infra && yarn && yarn build
2626

2727
# Synth and deploy the sandbox stack
2828
cdk --profile $CDK_PROFILE synth && cdk --profile $CDK_PROFILE deploy --all --require-approval never

0 commit comments

Comments
 (0)