Skip to content

Commit 241912a

Browse files
authored
Merge pull request #100 from vizzuhq/update
Changed: update development dependencies
2 parents 467fd94 + 214b43a commit 241912a

File tree

24 files changed

+3460
-2224
lines changed

24 files changed

+3460
-2224
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ jobs:
99
publish:
1010
if: ${{ (github.event_name == 'release' && github.event.action == 'published') }}
1111

12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313

1414
steps:
1515
- name: Checkout repo
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 1
1919

2020
- name: Cache node modules
21-
uses: actions/cache@v3
21+
uses: actions/cache@v4
2222
with:
2323
path: node_modules
24-
key: node_modules_ubuntu22_${{ hashFiles('package-lock.json') }}
24+
key: node_modules_ubuntu24_${{ hashFiles('package-lock.json') }}
2525

2626
- name: Get workflow ID
2727
id: workflow_id
@@ -44,7 +44,7 @@ jobs:
4444
echo "run_id=${run_id}" >> $GITHUB_OUTPUT
4545
4646
- name: Cache package
47-
uses: actions/cache@v3
47+
uses: actions/cache@v4
4848
with:
4949
path: |
5050
README.md

.github/workflows/ci.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ on:
55

66
jobs:
77
check_src:
8-
runs-on: ubuntu-22.04
8+
runs-on: ubuntu-24.04
99

1010
env:
1111
PUPPETEER_CACHE_DIR: ${{ github.workspace }}/node_modules/.chromium
1212

1313
steps:
1414
- name: Checkout repo
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 1
1818

1919
- name: Cache node modules
20-
uses: actions/cache@v3
20+
uses: actions/cache@v4
2121
with:
2222
path: node_modules
23-
key: node_modules_ubuntu22_${{ hashFiles('package-lock.json') }}
23+
key: node_modules_ubuntu24_${{ hashFiles('package-lock.json') }}
2424

2525
- name: Format
2626
run: |
@@ -39,25 +39,25 @@ jobs:
3939
npm test
4040
4141
check_docs:
42-
runs-on: ubuntu-22.04
42+
runs-on: ubuntu-24.04
4343

4444
steps:
4545
- name: Checkout repo
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747
with:
4848
fetch-depth: 1
4949

5050
- name: Cache node modules
51-
uses: actions/cache@v3
51+
uses: actions/cache@v4
5252
with:
5353
path: node_modules
54-
key: node_modules_ubuntu22_${{ hashFiles('package-lock.json') }}
54+
key: node_modules_ubuntu24_${{ hashFiles('package-lock.json') }}
5555

5656
- name: Cache venv
57-
uses: actions/cache@v3
57+
uses: actions/cache@v4
5858
with:
5959
path: .venv
60-
key: venv_ubuntu22_${{ hashFiles('pdm.lock') }}
60+
key: venv_ubuntu24_${{ hashFiles('pdm.lock') }}
6161

6262
- name: Format
6363
run: |
@@ -70,25 +70,25 @@ jobs:
7070
npm run lint:docs
7171
7272
check_tools:
73-
runs-on: ubuntu-22.04
73+
runs-on: ubuntu-24.04
7474

7575
steps:
7676
- name: Checkout repo
77-
uses: actions/checkout@v3
77+
uses: actions/checkout@v4
7878
with:
7979
fetch-depth: 1
8080

8181
- name: Cache node modules
82-
uses: actions/cache@v3
82+
uses: actions/cache@v4
8383
with:
8484
path: node_modules
85-
key: node_modules_ubuntu22_${{ hashFiles('package-lock.json') }}
85+
key: node_modules_ubuntu24_${{ hashFiles('package-lock.json') }}
8686

8787
- name: Cache venv
88-
uses: actions/cache@v3
88+
uses: actions/cache@v4
8989
with:
9090
path: .venv
91-
key: venv_ubuntu22_${{ hashFiles('pdm.lock') }}
91+
key: venv_ubuntu24_${{ hashFiles('pdm.lock') }}
9292

9393
- name: Format
9494
run: |

.github/workflows/doc.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ jobs:
1010
build:
1111
if: ${{ !((github.event_name == 'release' && github.event.action == 'published') || github.event_name == 'workflow_dispatch') }}
1212

13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414

1515
steps:
1616
- name: Checkout repo
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 1
2020

2121
- name: Cache node modules
22-
uses: actions/cache@v3
22+
uses: actions/cache@v4
2323
with:
2424
path: node_modules
25-
key: node_modules_ubuntu22_${{ hashFiles('package-lock.json') }}
25+
key: node_modules_ubuntu24_${{ hashFiles('package-lock.json') }}
2626

2727
- name: Cache venv
28-
uses: actions/cache@v3
28+
uses: actions/cache@v4
2929
with:
3030
path: .venv
31-
key: venv_ubuntu22_${{ hashFiles('pdm.lock') }}
31+
key: venv_ubuntu24_${{ hashFiles('pdm.lock') }}
3232

3333
- name: Build documentation
3434
run: |
@@ -38,25 +38,25 @@ jobs:
3838
deploy:
3939
if: ${{ ((github.event_name == 'release' && github.event.action == 'published') || github.event_name == 'workflow_dispatch') }}
4040

41-
runs-on: ubuntu-22.04
41+
runs-on: ubuntu-24.04
4242

4343
steps:
4444
- name: Checkout repo
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646
with:
4747
fetch-depth: 1
4848

4949
- name: Cache node modules
50-
uses: actions/cache@v3
50+
uses: actions/cache@v4
5151
with:
5252
path: node_modules
53-
key: node_modules_ubuntu22_${{ hashFiles('package-lock.json') }}
53+
key: node_modules_ubuntu24_${{ hashFiles('package-lock.json') }}
5454

5555
- name: Cache venv
56-
uses: actions/cache@v3
56+
uses: actions/cache@v4
5757
with:
5858
path: .venv
59-
key: venv_ubuntu22_${{ hashFiles('pdm.lock') }}
59+
key: venv_ubuntu24_${{ hashFiles('pdm.lock') }}
6060

6161
- name: Configure Git
6262
run: |

.github/workflows/init.yml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,43 +4,49 @@ on:
44
workflow_call:
55

66
jobs:
7-
init_ubuntu22:
8-
runs-on: ubuntu-22.04
7+
init_ubuntu24:
8+
runs-on: ubuntu-24.04
99

1010
env:
1111
PUPPETEER_CACHE_DIR: ${{ github.workspace }}/node_modules/.chromium
1212

1313
steps:
1414
- name: Checkout repo
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 1
1818

1919
- name: Cache node modules
20-
id: node_modules_ubuntu22
21-
uses: actions/cache@v3
20+
id: node_modules_ubuntu24
21+
uses: actions/cache@v4
2222
with:
2323
path: node_modules
24-
key: node_modules_ubuntu22_${{ hashFiles('package-lock.json') }}
24+
key: node_modules_ubuntu24_${{ hashFiles('package-lock.json') }}
2525

2626
- name: Set up node modules
27-
if: steps.node_modules_ubuntu22.outputs.cache-hit != 'true'
27+
if: steps.node_modules_ubuntu24.outputs.cache-hit != 'true'
2828
run: |
29+
node -v
2930
npm install
3031
32+
- name: Set up Python
33+
uses: actions/setup-python@v5
34+
with:
35+
python-version: '3.13'
36+
3137
- name: Cache venv
32-
id: venv_ubuntu22
33-
uses: actions/cache@v3
38+
id: venv_ubuntu24
39+
uses: actions/cache@v4
3440
with:
3541
path: .venv
36-
key: venv_ubuntu22_${{ hashFiles('pdm.lock') }}
42+
key: venv_ubuntu24_${{ hashFiles('pdm.lock') }}
3743

3844
- name: Set up venv
39-
if: steps.venv_ubuntu22.outputs.cache-hit != 'true'
45+
if: steps.venv_ubuntu24.outputs.cache-hit != 'true'
4046
run: |
41-
python3.10 -m venv ".venv"
47+
python3.13 -m venv ".venv"
4248
source .venv/bin/activate
43-
pip install pdm==2.8.0
49+
pip install pdm==2.22.3
4450
pdm install
4551
4652
- name: Build package
@@ -49,7 +55,7 @@ jobs:
4955
npm run build
5056
5157
- name: Cache package
52-
uses: actions/cache@v3
58+
uses: actions/cache@v4
5359
with:
5460
path: |
5561
README.md

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ mind, that's awesome and we are very interested in hearing about it.
2222

2323
### Development environment
2424

25-
For contributing to the project, it is recommended to use `Node.js` `18`.
25+
For contributing to the project, it is recommended to use `Node.js` `20`.
2626
However, for the documentation we are also using `Python`. If you plan to
2727
contribute to this part of the project, you will need `Python`, preferably
28-
version `3.10`.
28+
version `3.13`.
2929

3030
The following steps demonstrate how to set up the development environment on an
31-
`Ubuntu` `22.04` operating system. However, the process can be adapted for other
31+
`Ubuntu` `24.04` operating system. However, the process can be adapted for other
3232
operating systems as well.
3333

3434
To start using the `Vizzu-Story` development environment, you need to install
@@ -42,9 +42,9 @@ If you want to work with the documantation too, you need to set up the `Python`
4242
development environment.
4343

4444
```sh
45-
python3.10 -m venv ".venv"
45+
python3.13 -m venv ".venv"
4646
source .venv/bin/activate
47-
pip install pdm==2.8.0
47+
pip install pdm==2.22.3
4848
pdm install
4949
```
5050

@@ -64,7 +64,7 @@ npx husky install
6464
```
6565

6666
**Note:** The provided `pre-commit` and `pre-push` hook configuration file is
67-
tailored for `Ubuntu` `22.04`. If you intend to use another operating system,
67+
tailored for `Ubuntu` `24.04`. If you intend to use another operating system,
6868
you may need to create a custom configuration file suitable for that
6969
environment.
7070

@@ -151,10 +151,10 @@ administrator to release the project.
151151
To release `Vizzu-Story`, follow the steps below:
152152

153153
- You should increase the version number in `package.json`. The version bump
154-
should be in a separated commit.
154+
should be in a separated commit.
155155

156156
- Generate the release notes and publish the new release on
157-
[Releases](https://github.com/vizzuhq/vizzu-story-js/releases).
157+
[Releases](https://github.com/vizzuhq/vizzu-story-js/releases).
158158

159159
**Note:** Publishing a new release will automatically trigger the `cd` workflow
160160
which builds and uploads the `Vizzu-Story` package to

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,17 @@ further info.
154154
## Contact
155155

156156
- Join our Slack:
157-
[vizzu-community.slack.com](https://join.slack.com/t/vizzu-community/shared_invite/zt-w2nqhq44-2CCWL4o7qn2Ns1EFSf9kEg)
157+
[vizzu-community.slack.com](https://join.slack.com/t/vizzu-community/shared_invite/zt-w2nqhq44-2CCWL4o7qn2Ns1EFSf9kEg)
158+
159+
158160
- Drop us a line at hello@vizzuhq.com
161+
159162
- Follow us on Twitter:
160-
[https://twitter.com/VizzuHQ](https://twitter.com/VizzuHQ)
163+
[https://twitter.com/VizzuHQ](https://twitter.com/VizzuHQ)
161164

162165
## License
163166

164-
Copyright © 2022-2023 [Vizzu Inc.](https://vizzuhq.com)
167+
Copyright © 2022-2025 [Vizzu Inc.](https://vizzuhq.com)
165168

166169
Released under the
167170
[Apache 2.0 License](https://vizzu-story.vizzuhq.com/latest/LICENSE/).

docs/examples/linkedinpoll.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ In a script module element:
2121
```
2222

2323
- [Group 1](https://www.linkedin.com/groups/1859449/): AI & ML - Analytics ,
24-
Data Science . SAP BI/ Analytics Cloud /Tableau /Power BI /Birst
24+
Data Science . SAP BI/ Analytics Cloud /Tableau /Power BI /Birst
2525

2626
- [Group 2](https://www.linkedin.com/groups/4376214/): Artificial Intelligence,
27-
Digital Transformation Data Science, Automation, Machine Learning Analytics
27+
Digital Transformation Data Science, Automation, Machine Learning Analytics
2828

2929
- [Group 3](https://www.linkedin.com/groups/6773411/): Data Scientist, Data
30-
Analyst and Data Engineer
30+
Analyst and Data Engineer
3131

3232
- [Group 4](https://www.linkedin.com/groups/25827/): Python Developers Community
33-
(moderated)
33+
(moderated)
3434

3535
- [Group 5](https://www.linkedin.com/groups/2064830/): Data Analytics, Data
36-
Science, Business Analytics, Business Intelligence, Data Scientist & Analyst
36+
Science, Business Analytics, Business Intelligence, Data Scientist & Analyst

docs/installation.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Installation
22

33
!!! info
4+
45
`Vizzu-Story` requires and downloads the
56
[Vizzu](https://github.com/vizzuhq/vizzu-lib) `JavaScript`/`C++`
6-
[library](https://www.jsdelivr.com/package/npm/vizzu) from `jsDelivr CDN`,
7-
but you can also use a different or self-hosted version of it. Check
7+
[library](https://www.jsdelivr.com/package/npm/vizzu) from `jsDelivr CDN`, but
8+
you can also use a different or self-hosted version of it. Check
89
[Initialization chapter](./tutorial/initialization.md#vizzu-url) for more
910
details.
1011

docs/reference.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ The main entry point of the library is the
1515
is the [slides](./classes/VizzuPlayer.md#slides) accessor.
1616

1717
- [VizzuPlayer](./classes/VizzuPlayer.md) class
18-
- [constructor()](./classes/VizzuPlayer.md#constructor)
19-
- [slides](./classes/VizzuPlayer.md#slides) ([Story](./interfaces/Story.md)) :
20-
`void`
18+
- [constructor()](./classes/VizzuPlayer.md#constructor)
19+
- [slides](./classes/VizzuPlayer.md#slides) ([Story](./interfaces/Story.md)) :
20+
`void`
2121

2222
## Details
2323

2424
You can find all interface declarations and types under these namespaces.
2525

2626
- [Story](./interfaces/Story.md) - Contains slides, underlying data and chart's
27-
style settings
27+
style settings
2828
- [Phase](./interfaces/Phase.md) - A single step of a slide

0 commit comments

Comments
 (0)