Skip to content

Commit

Permalink
chore: update of dependencies (#587)
Browse files Browse the repository at this point in the history
* chore: update dependencies

* chore: changeset

* chore: update dependencies, min node version to 18
  • Loading branch information
Klaus-Keller authored Jan 10, 2024
1 parent ec246eb commit 500d0a0
Show file tree
Hide file tree
Showing 20 changed files with 954 additions and 709 deletions.
8 changes: 8 additions & 0 deletions .changeset/good-dots-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"sap-guided-answers-extension": patch
"@sap/guided-answers-extension-webapp": patch
"@sap/guided-answers-extension-core": patch
"@sap/guided-answers-extension-types": patch
---

Update dependencies
12 changes: 6 additions & 6 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
runs-on: ${{ matrix.os }}
timeout-minutes: 15
steps:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Run unit tests
run: pnpm run test
- name: Run SonarCloud scan
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '16.x'
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18.x'
uses: sonarsource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_PAT }}
Expand Down Expand Up @@ -77,10 +77,10 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Install pnpm modules
run: pnpm install
- name: Apply changesets
Expand Down Expand Up @@ -121,10 +121,10 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Install pnpm modules
run: pnpm install
- name: Replace placeholder with instrumentation key
Expand Down
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
"private": true,
"devDependencies": {
"@changesets/cli": "2.27.1",
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"@commitlint/cli": "18.4.4",
"@commitlint/config-conventional": "18.4.4",
"@types/jest": "29.5.11",
"@types/node": "16.18.14",
"@types/node": "18.19.6",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"changelog-parser": "3.0.1",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "46.10.1",
"eslint-plugin-jsdoc": "48.0.2",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.33.2",
Expand Down Expand Up @@ -46,10 +46,13 @@
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm",
"pnpm": "8.14.0",
"node": ">=16.1.0"
"node": ">=18.x"
},
"packageManager": "[email protected]",
"pnpm": {
"overrides": {}
"overrides": {
"@babel/traverse@<7.23.2": ">=7.23.2",
"follow-redirects@<1.15.4": ">=1.15.4"
}
}
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"watch": "tsc --watch"
},
"dependencies": {
"@sap/bas-sdk": "3.6.0",
"@sap/bas-sdk": "3.7.7",
"@sap/guided-answers-extension-types": "workspace:*",
"axios": "1.5.0",
"axios": "1.6.5",
"xss": "1.0.14"
},
"files": [
Expand Down
10 changes: 5 additions & 5 deletions packages/ide-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@
"devDependencies": {
"@sap/guided-answers-extension-core": "workspace:*",
"@sap/guided-answers-extension-types": "workspace:*",
"@types/uuid": "9.0.4",
"@types/uuid": "9.0.7",
"@types/vscode": "1.74.1",
"@vscode/vsce": "2.21.0",
"applicationinsights": "2.5.0",
"esbuild": "0.19.3",
"@vscode/vsce": "2.22.0",
"applicationinsights": "2.9.2",
"esbuild": "0.19.11",
"esbuild-plugin-copy": "2.1.1",
"uuid": "9.0.1",
"vscode-uri": "3.0.7"
"vscode-uri": "3.0.8"
},
"galleryBanner": {
"color": "#00195A",
Expand Down
30 changes: 15 additions & 15 deletions packages/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@
"@reduxjs/toolkit": "1.9.5",
"@sap/guided-answers-extension-types": "workspace:*",
"@testing-library/dom": "8.20.1",
"@testing-library/jest-dom": "6.1.3",
"@testing-library/jest-dom": "6.2.0",
"@testing-library/react": "12.1.5",
"@types/react": "17.0.62",
"@types/react-copy-to-clipboard": "5.0.4",
"@types/react-copy-to-clipboard": "5.0.7",
"@types/react-dom": "17.0.20",
"@types/react-redux": "7.1.26",
"@types/redux-mock-store": "1.0.3",
"autoprefixer": "10.4.15",
"esbuild": "0.19.3",
"esbuild-css-modules-plugin": "3.0.1",
"@types/react-redux": "7.1.33",
"@types/redux-mock-store": "1.0.6",
"autoprefixer": "10.4.16",
"esbuild": "0.19.11",
"esbuild-css-modules-plugin": "3.1.0",
"esbuild-plugin-replace": "1.4.0",
"esbuild-plugin-svgr": "2.1.0",
"esbuild-sass-plugin": "2.15.0",
"esbuild-sass-plugin": "2.16.1",
"html-react-parser": "4.2.2",
"i18next": "23.5.1",
"i18next": "23.7.16",
"jest-css-modules-transform": "4.4.2",
"jest-environment-jsdom": "29.7.0",
"path": "0.12.7",
"postcss": "8.4.29",
"postcss": "8.4.33",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-i18next": "13.2.2",
Expand All @@ -48,11 +48,11 @@
"uuid": "9.0.1"
},
"dependencies": {
"@fluentui/react": "8.111.2",
"@fluentui/react-focus": "8.8.31",
"@fluentui/style-utilities": "8.9.17",
"@fluentui/utilities": "8.13.18",
"@sap-ux/ui-components": "1.11.7",
"@fluentui/react": "8.114.2",
"@fluentui/react-focus": "8.8.37",
"@fluentui/style-utilities": "8.10.1",
"@fluentui/utilities": "8.13.23",
"@sap-ux/ui-components": "1.14.1",
"react-copy-to-clipboard": "5.1.0",
"react-infinite-scroll-component": "6.1.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`Feedback Section component Should render a FeedbackSection component 1`
Please tell us if this answer was helpful
</h3>
<div
class="ms-FocusZone css-166 feedback-subcontainer"
class="ms-FocusZone css-109 feedback-subcontainer"
data-focuszone-id="FocusZone0"
role="tree"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports[`<GuidedAnswerNode /> Should render a GuidedAnswerNode component 1`] = `
class="guided-answer__node__commands"
>
<div
class="ms-FocusZone css-166"
class="ms-FocusZone css-109"
data-focuszone-id="FocusZone0"
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports[`<Middle /> Should render a Middle component 1`] = `
id="hr"
/>
<div
class="ms-FocusZone css-166"
class="ms-FocusZone css-109"
data-focuszone-id="FocusZone0"
>
<div
Expand All @@ -35,7 +35,7 @@ exports[`<Middle /> Should render a Middle component 1`] = `
</p>
</div>
<div
class="ms-FocusZone css-166"
class="ms-FocusZone css-109"
data-focuszone-id="FocusZone1"
>
<div
Expand Down Expand Up @@ -84,7 +84,7 @@ exports[`<Middle /> Should render a Middle component with FeedbackDialogBox 1`]
id="hr"
/>
<div
class="ms-FocusZone css-166"
class="ms-FocusZone css-109"
data-focuszone-id="FocusZone37"
>
<div
Expand All @@ -102,7 +102,7 @@ exports[`<Middle /> Should render a Middle component with FeedbackDialogBox 1`]
</p>
</div>
<div
class="ms-FocusZone css-166"
class="ms-FocusZone css-109"
data-focuszone-id="FocusZone38"
>
<div
Expand Down Expand Up @@ -164,7 +164,7 @@ exports[`<Middle /> Should render a Middle component with NotSolvedMessage 1`] =
class="guided-answer__node"
>
<div
class="ms-FocusZone css-166 guided-answer__node"
class="ms-FocusZone css-109 guided-answer__node"
data-focuszone-id="FocusZone36"
>
<div
Expand Down Expand Up @@ -244,7 +244,7 @@ exports[`<Middle /> Should render a Middle component with enhancedBody 1`] = `
id="hr"
/>
<div
class="ms-FocusZone css-166"
class="ms-FocusZone css-109"
data-focuszone-id="FocusZone18"
>
<span
Expand All @@ -260,7 +260,7 @@ exports[`<Middle /> Should render a Middle component with enhancedBody 1`] = `
</p>
</div>
<div
class="ms-FocusZone css-166"
class="ms-FocusZone css-109"
data-focuszone-id="FocusZone19"
>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`<Right /> Should render a Right component 1`] = `
class="guided-answer__node__commands"
>
<div
class="ms-FocusZone css-166"
class="ms-FocusZone css-109"
data-focuszone-id="FocusZone1"
>
<div
Expand All @@ -18,7 +18,7 @@ exports[`<Right /> Should render a Right component 1`] = `
>
<i
aria-hidden="true"
class="ts-icon guided-answer__node__command__header__icon root-162"
class="ts-icon guided-answer__node__command__header__icon root-105"
data-icon-name="CreateMockData"
/>
<div
Expand Down Expand Up @@ -46,7 +46,7 @@ exports[`<Right /> Should render a Right component without command 1`] = `
class="guided-answer__node__commands"
>
<div
class="ms-FocusZone css-166"
class="ms-FocusZone css-109"
data-focuszone-id="FocusZone0"
/>
</div>
Expand Down
Loading

0 comments on commit 500d0a0

Please sign in to comment.