Skip to content

Commit

Permalink
feat: Upgrade yarn (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalnagar authored Mar 13, 2024
1 parent 0e94a2d commit 5316f4c
Show file tree
Hide file tree
Showing 8 changed files with 10,222 additions and 7,088 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
**/node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}-${{ steps.node.outputs.version }}
- name: Install dependencies
run: yarn install
run: yarn install --frozen-lockfile
- name: Build
run: yarn all
- name: Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
**/node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}-${{ steps.node.outputs.version }}
- name: Install dependencies
run: yarn install
run: yarn install --frozen-lockfile
- name: Build
run: yarn all
- name: Run action
Expand Down
Binary file added .yarn/install-state.gz
Binary file not shown.
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.1.cjs
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,6 @@
"swiper": "^11.0.5",
"ts-jest": "29.1.2",
"typescript": "5.4.2"
}
},
"packageManager": "yarn@4.1.1"
}
8 changes: 2 additions & 6 deletions src/utils/adaptive-card/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ export const createContainer = (

export type Row = ColumnSet

export const createRow = (): ColumnSet => {
return new ColumnSet()
}
export const createRow = (): ColumnSet => new ColumnSet()

export const createTextBlock = (
text: string,
Expand All @@ -46,9 +44,7 @@ export const createTextBlock = (
return textBlock
}

export const createColumn = (): Column => {
return new Column()
}
export const createColumn = (): Column => new Column()

export type LinkButton = ActionSet

Expand Down
16,399 changes: 9,320 additions & 7,079 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 5316f4c

Please sign in to comment.