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(deps): update all non-major dependencies #2429

Merged
merged 3 commits into from
Jan 4, 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
19 changes: 2 additions & 17 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,12 @@ jobs:

- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main
with:
use_cache: false

- name: Cache cypress
uses: actions/cache@v3
with:
path: /home/runner/.cache/Cypress
key: ${{ runner.os }}-cypress-${{ hashFiles('./pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-cypress-

- name: Install dependencies
run: pnpm install

- name: Install server
run: pnpm -g add http-server

- name: Build documentation & dependencies
run: pnpm --filter design-system-documentation... build
run: pnpm bootstrap

- name: Cypress info
run: pnpm --filter design-system-documentation exec cypress info

- name: Run tests
run: pnpm exec start-server-and-test 'http-server packages/documentation/storybook-static --silent --port 9001' 9001 'pnpm --filter "...[origin/main]" --workspace-concurrency=1 e2e'
run: pnpm --filter "...[origin/main]" e2e
6 changes: 3 additions & 3 deletions packages/components-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"@swisspost/design-system-components": "workspace:1.6.3"
},
"devDependencies": {
"@types/node": "18.19.3",
"@types/react": "18.2.45",
"@types/node": "18.19.4",
"@types/react": "18.2.46",
"@types/react-dom": "18.2.18",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "8.56.0",
"eslint-config-standard-with-typescript": "42.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "16.5.0",
"eslint-plugin-n": "16.6.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-react": "7.33.2",
"react": "18.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"long-press-event": "2.4.6"
},
"devDependencies": {
"@percy/cli": "1.27.4",
"@percy/cli": "1.27.6",
"@percy/cypress": "3.1.2",
"@stencil-community/eslint-plugin": "0.7.1",
"@stencil/core": "4.9.0",
Expand All @@ -54,7 +54,7 @@
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"bootstrap": "5.3.2",
"cypress": "13.6.1",
"cypress": "13.6.2",
"cypress-storybook": "0.5.1",
"eslint": "8.56.0",
"eslint-plugin-react": "7.33.2",
Expand All @@ -63,7 +63,7 @@
"jest-environment-jsdom": "29.7.0",
"npm-run-all": "4.1.5",
"rimraf": "5.0.5",
"sass": "1.69.5",
"sass": "1.69.7",
"ts-jest": "29.1.1",
"typescript": "4.9.5"
}
Expand Down
6 changes: 6 additions & 0 deletions packages/components/src/components/post-accordion/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ Type: `Promise<void>`

Toggles the `post-collapsible` children with the given id.

#### Parameters

| Name | Type | Description |
| ---- | -------- | ----------- |
| `id` | `string` | |

#### Returns

Type: `Promise<void>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ Triggers the collapse programmatically.

If there is a collapsing transition running already, it will be reversed.

#### Parameters

| Name | Type | Description |
| ------ | --------- | ----------- |
| `open` | `boolean` | |

#### Returns

Type: `Promise<boolean>`
Expand Down
13 changes: 13 additions & 0 deletions packages/components/src/components/post-popover/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ Type: `Promise<void>`

Programmatically display the popover

#### Parameters

| Name | Type | Description |
| -------- | ------------- | ---------------------------------------------------------------------------- |
| `target` | `HTMLElement` | An element with [data-popover-target="id"] where the popover should be shown |

#### Returns

Type: `Promise<void>`
Expand All @@ -40,6 +46,13 @@ Type: `Promise<void>`

Toggle popover display

#### Parameters

| Name | Type | Description |
| -------- | ------------- | ---------------------------------------------------------------------------------- |
| `target` | `HTMLElement` | An element with [data-popover-target="id"] where the popover should be anchored to |
| `force` | `boolean` | Pass true to always show or false to always hide |

#### Returns

Type: `Promise<void>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ Type: `Promise<void>`

Programmatically display the tooltip

#### Parameters

| Name | Type | Description |
| -------- | ------------- | ---------------------------------------------------------------------------- |
| `target` | `HTMLElement` | An element with [data-tooltip-target="id"] where the tooltip should be shown |

#### Returns

Type: `Promise<void>`
Expand All @@ -46,6 +52,13 @@ Type: `Promise<void>`

Toggle tooltip display

#### Parameters

| Name | Type | Description |
| -------- | ------------- | ---------------------------------------------------------------------------- |
| `target` | `HTMLElement` | An element with [data-tooltip-target="id"] where the tooltip should be shown |
| `force` | `boolean` | Pass true to always show or false to always hide |

#### Returns

Type: `Promise<boolean>`
Expand Down
6 changes: 6 additions & 0 deletions packages/components/src/components/post-tabs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
Shows the panel with the given name and selects its associated tab.
Any other panel that was previously shown becomes hidden and its associated tab is unselected.

#### Parameters

| Name | Type | Description |
| ----------- | -------- | ----------- |
| `panelName` | `string` | |

#### Returns

Type: `Promise<void>`
Expand Down
13 changes: 13 additions & 0 deletions packages/components/src/components/post-tooltip/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ Type: `Promise<void>`

Programmatically display the tooltip

#### Parameters

| Name | Type | Description |
| -------- | ------------- | ---------------------------------------------------------------------------- |
| `target` | `HTMLElement` | An element with [data-tooltip-target="id"] where the tooltip should be shown |

#### Returns

Type: `Promise<void>`
Expand All @@ -38,6 +44,13 @@ Type: `Promise<void>`

Toggle tooltip display

#### Parameters

| Name | Type | Description |
| -------- | ------------- | ---------------------------------------------------------------------------- |
| `target` | `HTMLElement` | An element with [data-tooltip-target="id"] where the tooltip should be shown |
| `force` | `boolean` | Pass true to always show or false to always hide |

#### Returns

Type: `Promise<void>`
Expand Down
8 changes: 4 additions & 4 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@swisspost/design-system-intranet-header": "workspace:5.0.5",
"@swisspost/design-system-styles": "workspace:6.5.0",
"bootstrap": "5.3.2",
"core-js": "3.34.0",
"core-js": "3.35.0",
"highlight.js": "11.9.0",
"ngx-highlightjs": "10.0.0",
"ngx-toastr": "18.0.0",
Expand All @@ -51,8 +51,8 @@
"@types/jasmine": "5.1.4",
"@types/jasminewd2": "2.0.13",
"@types/node": "18.17.19",
"@typescript-eslint/eslint-plugin": "6.15.0",
"@typescript-eslint/parser": "6.15.0",
"@typescript-eslint/eslint-plugin": "6.17.0",
"@typescript-eslint/parser": "6.17.0",
"eslint": "8.56.0",
"jasmine-core": "5.1.1",
"jasmine-marbles": "0.9.2",
Expand All @@ -65,7 +65,7 @@
"karma-jasmine-html-reporter": "2.1.0",
"raw-loader": "4.0.2",
"rimraf": "5.0.5",
"sass": "1.69.5",
"sass": "1.69.7",
"sockjs": "0.3.24",
"ts-node": "10.9.2",
"typescript": "5.1.6",
Expand Down
32 changes: 16 additions & 16 deletions packages/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,36 +35,36 @@
"devDependencies": {
"@geometricpanda/storybook-addon-badges": "2.0.0",
"@open-wc/lit-helpers": "0.6.0",
"@percy/cli": "1.27.4",
"@percy/cli": "1.27.6",
"@percy/cypress": "3.1.2",
"@pxtrn/storybook-addon-docs-stencil": "6.4.1",
"@storybook/addon-designs": "7.0.7",
"@storybook/addon-essentials": "7.6.6",
"@storybook/addon-links": "7.6.6",
"@storybook/addons": "7.6.6",
"@storybook/blocks": "7.6.6",
"@storybook/components": "7.6.6",
"@storybook/core-events": "7.6.6",
"@storybook/manager-api": "7.6.6",
"@storybook/preview-api": "7.6.6",
"@storybook/addon-essentials": "7.6.7",
"@storybook/addon-links": "7.6.7",
"@storybook/addons": "7.6.7",
"@storybook/blocks": "7.6.7",
"@storybook/components": "7.6.7",
"@storybook/core-events": "7.6.7",
"@storybook/manager-api": "7.6.7",
"@storybook/preview-api": "7.6.7",
"@storybook/testing-library": "0.2.2",
"@storybook/theming": "7.6.6",
"@storybook/web-components": "7.6.6",
"@storybook/web-components-vite": "7.6.6",
"@storybook/theming": "7.6.7",
"@storybook/web-components": "7.6.7",
"@storybook/web-components-vite": "7.6.7",
"@types/css-modules": "1.0.5",
"@types/mdx": "2.0.10",
"@types/react": "18.2.45",
"@types/react": "18.2.46",
"@types/react-syntax-highlighter": "15.5.11",
"cypress": "13.6.1",
"cypress": "13.6.2",
"lit": "3.1.0",
"lit-html": "3.1.0",
"prettier": "2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-syntax-highlighter": "15.5.0",
"rimraf": "5.0.5",
"sass": "1.69.5",
"storybook": "7.6.6",
"sass": "1.69.7",
"storybook": "7.6.7",
"typescript": "5.1.6"
}
}
6 changes: 3 additions & 3 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
"@tsconfig/node18": "18.2.2",
"@types/jest": "29.5.11",
"@types/mock-fs": "4.13.4",
"@types/node": "18.19.3",
"@types/node-fetch": "2.6.9",
"@types/node": "18.19.4",
"@types/node-fetch": "2.6.10",
"dotenv": "16.3.1",
"http-server": "14.1.1",
"https-proxy-agent": "7.0.2",
"jest": "29.7.0",
"mock-fs": "5.2.0",
"node-fetch": "2.7.0",
"svgo": "3.1.0",
"svgo": "3.2.0",
"ts-jest": "29.1.1",
"ts-node": "10.9.2",
"typescript": "5.2.2"
Expand Down
12 changes: 6 additions & 6 deletions packages/internet-header/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"url-polyfill": "1.1.12"
},
"devDependencies": {
"@babel/core": "7.23.6",
"@percy/cli": "1.27.4",
"@babel/core": "7.23.7",
"@percy/cli": "1.27.6",
"@percy/cypress": "3.1.2",
"@stencil-community/eslint-plugin": "0.7.1",
"@stencil/core": "4.9.0",
Expand All @@ -61,11 +61,11 @@
"@types/iframe-resizer": "3.5.13",
"@types/jest": "27.5.2",
"@types/jquery": "3.5.29",
"@types/node": "18.19.3",
"@types/node": "18.19.4",
"@types/throttle-debounce": "5.0.2",
"babel-loader": "9.1.3",
"bootstrap": "5.3.2",
"cypress": "13.6.1",
"cypress": "13.6.2",
"cypress-each": "1.13.3",
"cypress-storybook": "0.5.1",
"eslint-plugin-react": "7.33.2",
Expand All @@ -75,8 +75,8 @@
"rimraf": "5.0.5",
"rollup-plugin-node-polyfills": "0.2.1",
"rollup-plugin-scss": "4.0.0",
"rollup-plugin-visualizer": "5.11.0",
"sass": "1.69.5",
"rollup-plugin-visualizer": "5.12.0",
"sass": "1.69.7",
"start-server-and-test": "2.0.3",
"ts-jest": "29.1.1",
"typescript": "4.9.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@

Toggle an overlay associated with a button.

#### Parameters

| Name | Type | Description |
| ----------- | -------- | ----------- |
| `overlayId` | `string` | |

#### Returns

Type: `Promise<void>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@

Open or close the language switch programatically

#### Parameters

| Name | Type | Description |
| ------- | ---------------------- | ------------------------ |
| `force` | `boolean \| undefined` | Boolean to force a state |

#### Returns

Type: `Promise<boolean>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@

Open a specific flyout

#### Parameters

| Name | Type | Description |
| ---- | ---------------- | ----------- |
| `id` | `string \| null` | Flyout ID |

#### Returns

Type: `Promise<void>`
Expand All @@ -39,6 +45,12 @@ Type: `Promise<void>`

Toggle the main navigation (only visible on mobile)

#### Parameters

| Name | Type | Description |
| ------- | ---------------------- | ------------- |
| `force` | `boolean \| undefined` | Force a state |

#### Returns

Type: `Promise<boolean>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ Type: `Promise<void>`

Toggle the dropdown and optionally force an open/closed state

#### Parameters

| Name | Type | Description |
| ------- | --------- | ---------------------------------- |
| `force` | `unknown` | Boolean to force open/closed state |

#### Returns

Type: `Promise<boolean>`
Expand Down
Loading
Loading