Skip to content

Commit 70c20d7

Browse files
authored
Chore/ Dependencies updated and CI improved (#35)
1 parent 9f3aa0d commit 70c20d7

4 files changed

Lines changed: 545 additions & 487 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@ jobs:
1515
- uses: actions/checkout@v6
1616
- uses: actions/setup-node@v6
1717
with:
18-
node-version: '24'
18+
node-version: '24.x'
1919

2020
- name: Install dependencies
2121
run: |
2222
yarn install --immutable
2323
24-
- name: Install Playwright browsers
25-
run: |
26-
yarn playwright install --with-deps chromium
27-
2824
- name: Run Continuous Integration
2925
run: |
3026
yarn ci

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v6
99
- uses: actions/setup-node@v6
1010
with:
11-
node-version: '24'
11+
node-version: '24.x'
1212
- name: Install dependencies
1313
run: yarn install --immutable
1414
- name: Build project

package.json

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-phonenr-input",
3-
"version": "4.0.2",
3+
"version": "4.0.3",
44
"description": "An automated and intuitive international and national phone input field",
55
"author": "Kai Hotz",
66
"license": "MIT",
@@ -41,8 +41,10 @@
4141
"stylelint": "stylelint \"**/*.{css,scss,sass}\"",
4242
"stylelint:fix": "stylelint \"**/*.{css,scss,sass}\" --fix",
4343
"check-types": "tsc --noEmit true",
44-
"ci": "yarn lint && yarn test --watch=false",
44+
"ci": "yarn lint && yarn test:unit --watch=false",
4545
"test": "vitest --config ./vitest.config.ts",
46+
"test:unit": "vitest --config ./vitest.config.ts --project unit",
47+
"test:storybook": "vitest --config ./vitest.config.ts --project storybook",
4648
"release": "yarn ci && yarn build && npm publish",
4749
"storybook": "storybook dev -p 6006",
4850
"storybook:build": "storybook build",
@@ -53,8 +55,8 @@
5355
"react-dom": "19.2.x"
5456
},
5557
"dependencies": {
56-
"immer": "^11.0.1",
57-
"libphonenumber-js": "^1.12.33",
58+
"immer": "^11.1.3",
59+
"libphonenumber-js": "^1.12.34",
5860
"lodash.omit": "^4.5.0",
5961
"react": "^19.2.3",
6062
"react-country-flag": "^3.1.0",
@@ -63,61 +65,61 @@
6365
"devDependencies": {
6466
"@eslint/js": "^9.39.2",
6567
"@rollup/plugin-terser": "^0.4.4",
66-
"@storybook/addon-a11y": "^10.1.10",
67-
"@storybook/addon-docs": "^10.1.10",
68-
"@storybook/addon-vitest": "^10.1.10",
69-
"@storybook/react-vite": "^10.1.10",
68+
"@storybook/addon-a11y": "^10.1.11",
69+
"@storybook/addon-docs": "^10.1.11",
70+
"@storybook/addon-vitest": "^10.1.11",
71+
"@storybook/react-vite": "^10.1.11",
7072
"@testing-library/dom": "^10.4.1",
7173
"@testing-library/jest-dom": "^6.9.1",
7274
"@testing-library/react": "^16.3.1",
7375
"@testing-library/user-event": "^14.6.1",
74-
"@types/lodash": "^4.17.21",
75-
"@types/node": "^25.0.3",
76-
"@types/react": "^19.2.7",
76+
"@types/lodash": "^4.17.23",
77+
"@types/node": "^25.0.9",
78+
"@types/react": "^19.2.8",
7779
"@types/react-dom": "^19.2.3",
7880
"@vitejs/plugin-react": "^5.1.2",
7981
"@vitejs/plugin-react-swc": "^4.2.2",
80-
"@vitest/browser-playwright": "4.0.16",
81-
"@vitest/coverage-v8": "4.0.16",
82+
"@vitest/browser-playwright": "4.0.17",
83+
"@vitest/coverage-v8": "4.0.17",
8284
"clsx": "^2.1.1",
8385
"eslint": "^9.39.2",
8486
"eslint-config-prettier": "^10.1.8",
8587
"eslint-plugin-import": "^2.32.0",
8688
"eslint-plugin-jsx-a11y": "^6.10.2",
87-
"eslint-plugin-prettier": "^5.5.4",
89+
"eslint-plugin-prettier": "^5.5.5",
8890
"eslint-plugin-react": "^7.37.5",
8991
"eslint-plugin-react-hooks": "^7.0.1",
9092
"eslint-plugin-react-refresh": "^0.4.26",
91-
"eslint-plugin-storybook": "^10.1.10",
92-
"globals": "^16.5.0",
93-
"jsdom": "^27.3.0",
93+
"eslint-plugin-storybook": "^10.1.11",
94+
"globals": "^17.0.0",
95+
"jsdom": "^27.4.0",
9496
"lodash": "^4.17.21",
9597
"playwright": "^1.57.0",
9698
"postcss": "^8.5.6",
9799
"postcss-scss": "^4.0.9",
98-
"prettier": "3.7.4",
100+
"prettier": "3.8.0",
99101
"react": "^19.2.3",
100102
"react-dom": "^19.2.3",
101103
"regenerator-runtime": "^0.14.1",
102104
"rimraf": "^6.1.2",
103105
"rollup-plugin-delete": "^3.0.2",
104-
"sass": "^1.97.1",
105-
"storybook": "^10.1.10",
106-
"stylelint": "^16.26.1",
106+
"sass": "^1.97.2",
107+
"storybook": "^10.1.11",
108+
"stylelint": "^17.0.0",
107109
"stylelint-prettier": "^5.0.3",
108-
"stylelint-scss": "^6.13.0",
110+
"stylelint-scss": "^7.0.0",
109111
"ts-node": "^10.9.2",
110112
"tslib": "^2.8.1",
111113
"typescript": "~5.9.3",
112-
"typescript-eslint": "^8.50.0",
113-
"vite": "^7.3.0",
114+
"typescript-eslint": "^8.53.0",
115+
"vite": "^7.3.1",
114116
"vite-plugin-commonjs": "^0.10.4",
115117
"vite-plugin-css-injected-by-js": "^3.5.2",
116118
"vite-plugin-dts": "^4.5.4",
117119
"vite-plugin-static-copy": "^3.1.4",
118120
"vite-plugin-svgr": "^4.5.0",
119-
"vite-tsconfig-paths": "^6.0.3",
120-
"vitest": "^4.0.16"
121+
"vite-tsconfig-paths": "^6.0.4",
122+
"vitest": "^4.0.17"
121123
},
122124
"packageManager": "yarn@4.12.0"
123125
}

0 commit comments

Comments
 (0)