Skip to content

Commit

Permalink
feat: upgrade dependencies (#307)
Browse files Browse the repository at this point in the history
* feat: upgrade dependencies

* fix: update github actions
  • Loading branch information
pablo-abc authored Oct 29, 2024
1 parent 1349976 commit 7c3dffc
Show file tree
Hide file tree
Showing 50 changed files with 10,520 additions and 8,465 deletions.
6 changes: 6 additions & 0 deletions .changeset/giant-starfishes-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@felte/reporter-svelte": minor
"felte": minor
---

Update peer dependencies to support Svelte 5
25 changes: 25 additions & 0 deletions .changeset/sixty-chicken-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
"@felte/validator-superstruct": patch
"@felte/extender-persist": patch
"@felte/reporter-element": patch
"@felte/reporter-preact": patch
"@felte/reporter-svelte": patch
"@felte/reporter-cvapi": patch
"@felte/reporter-react": patch
"@felte/reporter-tippy": patch
"@felte/validator-vest": patch
"@felte/validator-yup": patch
"@felte/validator-zod": patch
"@felte/reporter-dom": patch
"@felte/element": patch
"@felte/vanilla": patch
"@felte/common": patch
"@felte/preact": patch
"felte": patch
"@felte/react": patch
"@felte/solid": patch
"@felte/core": patch
"@felte/vue": patch
---

Fix typescript issues
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpx commitlint --edit $1
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"devDependencies": {
"@babel/core": "^7.16.5",
"@changesets/changelog-git": "^0.1.14",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
Expand All @@ -31,7 +31,7 @@
"@testing-library/user-event": "^13.1.3",
"@types/chai": "^4.3.0",
"@types/jsdom-global": "^3.0.2",
"@types/node": "^18.11.9",
"@types/node": "^22.8.2",
"@types/sinon": "^10.0.10",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.9.1",
Expand All @@ -46,12 +46,12 @@
"eslint-plugin-svelte3": "^3.2.0",
"eslint-plugin-testing-library": "^4.0.1",
"front-matter": "^4.0.2",
"husky": "^7.0.4",
"husky": "^9.1.6",
"jsdom": "^20.0.3",
"mdsvex": "^0.9.0",
"pnpm": "^8.7.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.9.6",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-rename-node-modules": "^1.3.1",
Expand All @@ -65,15 +65,15 @@
"tippy.js": "^6.0.0",
"tslib": "^2.3.1",
"typedoc": "^0.23.21",
"typescript": "^4.9.3",
"typescript": "^5.6.3",
"vest": "^4.0.1",
"vite-plugin-solid": "^2.7.0",
"vitest": "^0.34.3",
"yup": "^1.2.0",
"zod": "^1.11.13"
},
"volta": {
"node": "18.17.1"
"node": "22.10.0"
},
"dependencies": {
"@babel/plugin-syntax-jsx": "^7.14.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import renameNodeModules from 'rollup-plugin-rename-node-modules';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

const prod = process.env.NODE_ENV === 'production';

Expand Down
1 change: 0 additions & 1 deletion packages/common/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"moduleResolution": "node",
"target": "es2017",
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
"strict": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/core/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import renameNodeModules from 'rollup-plugin-rename-node-modules';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

const prod = process.env.NODE_ENV === 'production';

Expand All @@ -27,7 +27,7 @@ export default {
plugins: [
replace({
'process.env.NODE_ENV': JSON.stringify(
prod ? 'production' : 'development'
prod ? 'production' : 'development',
),
preventAssignment: true,
}),
Expand Down
1 change: 0 additions & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"moduleResolution": "node",
"target": "es2017",
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"strict": true,
"esModuleInterop": true,
Expand Down
1 change: 0 additions & 1 deletion packages/element/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"module": "ES2015",
"lib": ["ES2019", "dom"],
"useDefineForClassFields": false,
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"strict": true,
"esModuleInterop": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/extender-persist/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import bundleSize from 'rollup-plugin-bundle-size';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

const prod = process.env.NODE_ENV === 'production';
const name = pkg.name
Expand Down Expand Up @@ -32,7 +32,7 @@ export default {
plugins: [
replace({
'process.env.NODE_ENV': JSON.stringify(
prod ? 'production' : 'development'
prod ? 'production' : 'development',
),
preventAssignment: true,
}),
Expand Down
1 change: 0 additions & 1 deletion packages/extender-persist/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"moduleResolution": "node",
"target": "es2017",
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"strict": true,
"esModuleInterop": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/felte/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import renameNodeModules from 'rollup-plugin-rename-node-modules';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

const prod = process.env.NODE_ENV === 'production';

Expand All @@ -28,7 +28,7 @@ export default {
plugins: [
replace({
'process.env.NODE_ENV': JSON.stringify(
prod ? 'production' : 'development'
prod ? 'production' : 'development',
),
preventAssignment: true,
}),
Expand Down
1 change: 0 additions & 1 deletion packages/felte/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"moduleResolution": "node",
"target": "es2017",
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"strict": true,
"esModuleInterop": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/preact/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import renameNodeModules from 'rollup-plugin-rename-node-modules';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

const prod = process.env.NODE_ENV === 'production';

Expand All @@ -28,7 +28,7 @@ export default {
plugins: [
replace({
'process.env.NODE_ENV': JSON.stringify(
prod ? 'production' : 'development'
prod ? 'production' : 'development',
),
preventAssignment: true,
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/react/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import renameNodeModules from 'rollup-plugin-rename-node-modules';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

const prod = process.env.NODE_ENV === 'production';

Expand Down
1 change: 0 additions & 1 deletion packages/react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"moduleResolution": "node",
"target": "es2017",
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"strict": true,
"esModuleInterop": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/reporter-cvapi/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import bundleSize from 'rollup-plugin-bundle-size';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

const prod = process.env.NODE_ENV === 'production';
const name = pkg.name
Expand All @@ -27,7 +27,7 @@ export default {
plugins: [
replace({
'process.env.NODE_ENV': JSON.stringify(
prod ? 'production' : 'development'
prod ? 'production' : 'development',
),
preventAssignment: true,
}),
Expand Down
1 change: 0 additions & 1 deletion packages/reporter-cvapi/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"moduleResolution": "node",
"target": "es2017",
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"strict": true,
"esModuleInterop": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/reporter-dom/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import bundleSize from 'rollup-plugin-bundle-size';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

const prod = process.env.NODE_ENV === 'production';
const name = pkg.name
Expand All @@ -27,7 +27,7 @@ export default {
plugins: [
replace({
'process.env.NODE_ENV': JSON.stringify(
prod ? 'production' : 'development'
prod ? 'production' : 'development',
),
preventAssignment: true,
}),
Expand Down
1 change: 0 additions & 1 deletion packages/reporter-dom/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"moduleResolution": "node",
"target": "es2017",
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"strict": true,
"esModuleInterop": true,
Expand Down
1 change: 0 additions & 1 deletion packages/reporter-element/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"module": "ES2015",
"lib": ["ES2019", "dom"],
"useDefineForClassFields": false,
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"strict": true,
"esModuleInterop": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/reporter-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"babel-jest": "^26.6.3",
"preact": "^10.11.3",
"tsc-watch": "^4.4.0",
"typescript": "~4.9.3"
"typescript": "^5.6.3"
},
"peerDependencies": {
"preact": "^10.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/reporter-preact/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import typescript from '@rollup/plugin-typescript';
import babel from '@rollup/plugin-babel';
import nodeResolve from '@rollup/plugin-node-resolve';
import renameNodeModules from 'rollup-plugin-rename-node-modules';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

const prod = process.env.NODE_ENV === 'production';

Expand Down
2 changes: 1 addition & 1 deletion packages/reporter-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"tsc-watch": "^4.4.0",
"typescript": "~4.9.3"
"typescript": "^5.6.3"
},
"peerDependencies": {
"react": "^16.8.0 || >=17.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/reporter-react/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import typescript from '@rollup/plugin-typescript';
import babel from '@rollup/plugin-babel';
import nodeResolve from '@rollup/plugin-node-resolve';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

export default {
input: 'src/index.tsx',
Expand Down
2 changes: 1 addition & 1 deletion packages/reporter-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"vite": "^4.3.9"
},
"peerDependencies": {
"svelte": "^3.31.0 || ^4.0.0 || ^5.0.0"
"svelte": "^3.31.0 || ^4.0.0 || ^5.0.0"
},
"exports": {
".": {
Expand Down
4 changes: 2 additions & 2 deletions packages/reporter-svelte/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import replace from '@rollup/plugin-replace';
import bundleSize from 'rollup-plugin-bundle-size';
import pkg from './package.json' assert { type: 'json' };
import pkg from './package.json' with { type: 'json' };

const prod = process.env.NODE_ENV === 'production';
const name = pkg.name
Expand All @@ -22,7 +22,7 @@ export default {
plugins: [
replace({
'process.env.NODE_ENV': JSON.stringify(
prod ? 'production' : 'development'
prod ? 'production' : 'development',
),
preventAssignment: true,
}),
Expand Down
Loading

0 comments on commit 7c3dffc

Please sign in to comment.