Update Vite and Vitest across packages (#524)

* Update Vite and Vitest across packages

* Add changeset
This commit is contained in:
Lukasz Ostrowski 2023-06-01 10:36:20 +02:00 committed by GitHub
parent 8af0f022e3
commit 0c2fc65ac6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 1393 additions and 1039 deletions

View file

@ -0,0 +1,17 @@
---
"@saleor/react-hook-form-macaw": patch
"saleor-app-emails-and-messages": patch
"saleor-app-data-importer": patch
"saleor-app-products-feed": patch
"saleor-app-monitoring": patch
"@saleor/apps-shared": patch
"saleor-app-invoices": patch
"saleor-app-klaviyo": patch
"saleor-app-search": patch
"saleor-app-slack": patch
"saleor-app-taxes": patch
"saleor-app-cms": patch
"saleor-app-crm": patch
---
Update dev dependencies - Vite and Vitest. These changes will not affect runtime Apps, but can affect tests and builds

View file

@ -39,7 +39,7 @@
"urql": "^3.0.3", "urql": "^3.0.3",
"usehooks-ts": "^2.9.1", "usehooks-ts": "^2.9.1",
"uuid": "^9.0.0", "uuid": "^9.0.0",
"vite": "^4.3.1", "vite": "4.3.9",
"zod": "^3.19.1" "zod": "^3.19.1"
}, },
"devDependencies": { "devDependencies": {
@ -56,13 +56,13 @@
"@types/react": "^18.0.21", "@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"@types/uuid": "^8.3.4", "@types/uuid": "^8.3.4",
"@vitejs/plugin-react": "^3.1.0", "@vitejs/plugin-react": "4.0.0",
"eslint": "8.25.0", "eslint": "8.25.0",
"eslint-config-next": "12.3.1", "eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"jsdom": "^20.0.3", "jsdom": "^20.0.3",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"typescript": "5.0.4", "typescript": "5.0.4",
"vitest": "^0.30.1" "vitest": "0.31.3"
} }
} }

View file

@ -27,7 +27,7 @@
"@trpc/react-query": "^10.18.0", "@trpc/react-query": "^10.18.0",
"@trpc/server": "^10.18.0", "@trpc/server": "^10.18.0",
"@urql/exchange-auth": "^1.0.0", "@urql/exchange-auth": "^1.0.0",
"@vitejs/plugin-react": "^3.0.1", "@vitejs/plugin-react": "4.0.0",
"clsx": "^1.2.1", "clsx": "^1.2.1",
"graphql": "^16.6.0", "graphql": "^16.6.0",
"graphql-tag": "^2.12.6", "graphql-tag": "^2.12.6",
@ -42,8 +42,8 @@
"react-is": "^18.2.0", "react-is": "^18.2.0",
"urql": "^3.0.3", "urql": "^3.0.3",
"usehooks-ts": "^2.9.1", "usehooks-ts": "^2.9.1",
"vite": "^4.3.1", "vite": "4.3.9",
"vitest": "^0.30.1", "vitest": "0.31.3",
"zod": "^3.20.2" "zod": "^3.20.2"
}, },
"devDependencies": { "devDependencies": {

View file

@ -24,7 +24,7 @@
"@saleor/macaw-ui": "^0.7.2", "@saleor/macaw-ui": "^0.7.2",
"@sentry/nextjs": "^7.39.0", "@sentry/nextjs": "^7.39.0",
"@urql/exchange-auth": "^1.0.0", "@urql/exchange-auth": "^1.0.0",
"@vitejs/plugin-react": "^3.1.0", "@vitejs/plugin-react": "4.0.0",
"clsx": "^1.2.1", "clsx": "^1.2.1",
"dot-object": "^2.1.4", "dot-object": "^2.1.4",
"graphql": "^16.6.0", "graphql": "^16.6.0",
@ -39,8 +39,8 @@
"react-dom": "18.2.0", "react-dom": "18.2.0",
"urql": "^3.0.3", "urql": "^3.0.3",
"usehooks-ts": "^2.9.1", "usehooks-ts": "^2.9.1",
"vite": "^4.3.1", "vite": "4.3.9",
"vitest": "^0.30.1", "vitest": "0.31.3",
"zod": "^3.20.2" "zod": "^3.20.2"
}, },
"devDependencies": { "devDependencies": {

View file

@ -21,8 +21,8 @@
"@saleor/app-sdk": "0.39.1", "@saleor/app-sdk": "0.39.1",
"@saleor/apps-shared": "workspace:*", "@saleor/apps-shared": "workspace:*",
"@saleor/apps-ui": "workspace:*", "@saleor/apps-ui": "workspace:*",
"@saleor/react-hook-form-macaw": "workspace:*",
"@saleor/macaw-ui": "0.8.0-pre.84", "@saleor/macaw-ui": "0.8.0-pre.84",
"@saleor/react-hook-form-macaw": "workspace:*",
"@sendgrid/client": "^7.7.0", "@sendgrid/client": "^7.7.0",
"@sendgrid/mail": "^7.7.0", "@sendgrid/mail": "^7.7.0",
"@sentry/nextjs": "^7.52.1", "@sentry/nextjs": "^7.52.1",
@ -32,7 +32,7 @@
"@trpc/react-query": "^10.13.0", "@trpc/react-query": "^10.13.0",
"@trpc/server": "^10.13.0", "@trpc/server": "^10.13.0",
"@urql/exchange-auth": "^1.0.0", "@urql/exchange-auth": "^1.0.0",
"@vitejs/plugin-react": "^4.0.0", "@vitejs/plugin-react": "4.0.0",
"clsx": "^1.2.1", "clsx": "^1.2.1",
"graphql": "^16.6.0", "graphql": "^16.6.0",
"graphql-tag": "^2.12.6", "graphql-tag": "^2.12.6",
@ -52,8 +52,8 @@
"react-query": "^3.39.3", "react-query": "^3.39.3",
"urql": "^3.0.3", "urql": "^3.0.3",
"usehooks-ts": "^2.9.1", "usehooks-ts": "^2.9.1",
"vite": "^4.3.8", "vite": "4.3.9",
"vitest": "^0.31.1", "vitest": "0.31.3",
"zod": "^3.20.2" "zod": "^3.20.2"
}, },
"devDependencies": { "devDependencies": {

View file

@ -58,14 +58,14 @@
"@types/react": "^18.0.27", "@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10", "@types/react-dom": "^18.0.10",
"@types/rimraf": "^3.0.2", "@types/rimraf": "^3.0.2",
"@vitejs/plugin-react": "^3.0.0", "@vitejs/plugin-react": "4.0.0",
"@vitest/coverage-c8": "^0.28.4", "@vitest/coverage-c8": "^0.28.4",
"dotenv": "^16.0.3", "dotenv": "^16.0.3",
"eslint-config-saleor": "workspace:*", "eslint-config-saleor": "workspace:*",
"jsdom": "^20.0.3", "jsdom": "^20.0.3",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"typescript": "4.9.5", "typescript": "4.9.5",
"vite": "^4.3.1", "vite": "4.3.9",
"vitest": "^0.30.1" "vitest": "0.31.3"
} }
} }

View file

@ -34,8 +34,8 @@
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-helmet": "^6.1.0", "react-helmet": "^6.1.0",
"urql": "^3.0.3", "urql": "^3.0.3",
"vite": "4.3.1", "vite": "4.3.9",
"vitest": "0.30.1" "vitest": "0.31.3"
}, },
"devDependencies": { "devDependencies": {
"@graphql-codegen/cli": "3.2.2", "@graphql-codegen/cli": "3.2.2",

View file

@ -22,7 +22,7 @@
"@saleor/apps-shared": "workspace:*", "@saleor/apps-shared": "workspace:*",
"@saleor/macaw-ui": "^0.7.2", "@saleor/macaw-ui": "^0.7.2",
"@urql/exchange-auth": "^1.0.0", "@urql/exchange-auth": "^1.0.0",
"@vitejs/plugin-react": "^3.0.1", "@vitejs/plugin-react": "4.0.0",
"clsx": "^1.2.1", "clsx": "^1.2.1",
"graphql": "^16.6.0", "graphql": "^16.6.0",
"graphql-tag": "^2.12.6", "graphql-tag": "^2.12.6",
@ -34,8 +34,8 @@
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-hook-form": "^7.42.1", "react-hook-form": "^7.42.1",
"urql": "^3.0.3", "urql": "^3.0.3",
"vite": "^4.3.1", "vite": "4.3.9",
"vitest": "^0.30.1" "vitest": "0.31.3"
}, },
"devDependencies": { "devDependencies": {
"@graphql-codegen/cli": "3.2.2", "@graphql-codegen/cli": "3.2.2",

View file

@ -1,4 +1,4 @@
query FetchProductDataForFeed($first:Int!, $after: String, $channel: String!, $language: String!){ query FetchProductDataForFeed($first:Int!, $after: String, $channel: String!){
productVariants(first:$first, after: $after, channel: $channel){ productVariants(first:$first, after: $after, channel: $channel){
pageInfo{ pageInfo{
hasNextPage hasNextPage

View file

@ -31,7 +31,7 @@
"@trpc/react-query": "^10.9.0", "@trpc/react-query": "^10.9.0",
"@trpc/server": "^10.9.0", "@trpc/server": "^10.9.0",
"@urql/exchange-auth": "^1.0.0", "@urql/exchange-auth": "^1.0.0",
"@vitejs/plugin-react": "^3.0.1", "@vitejs/plugin-react": "4.0.0",
"clsx": "^1.2.1", "clsx": "^1.2.1",
"fast-xml-parser": "^4.0.15", "fast-xml-parser": "^4.0.15",
"graphql": "^16.6.0", "graphql": "^16.6.0",
@ -47,8 +47,8 @@
"react-is": "^18.2.0", "react-is": "^18.2.0",
"urql": "^3.0.3", "urql": "^3.0.3",
"usehooks-ts": "^2.9.1", "usehooks-ts": "^2.9.1",
"vite": "^4.3.1", "vite": "4.3.9",
"vitest": "^0.30.1", "vitest": "0.31.3",
"zod": "^3.20.2" "zod": "^3.20.2"
}, },
"devDependencies": { "devDependencies": {

View file

@ -55,7 +55,7 @@
"@types/node": "^18.11.9", "@types/node": "^18.11.9",
"@types/react": "~18.0.38", "@types/react": "~18.0.38",
"@types/react-dom": "^18.0.8", "@types/react-dom": "^18.0.8",
"@vitejs/plugin-react": "^4.0.0", "@vitejs/plugin-react": "4.0.0",
"eslint": "8.27.0", "eslint": "8.27.0",
"eslint-config-next": "13.0.2", "eslint-config-next": "13.0.2",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
@ -63,7 +63,7 @@
"node-mocks-http": "^1.12.2", "node-mocks-http": "^1.12.2",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"typescript": "4.8.4", "typescript": "4.8.4",
"vite": "^4.3.1", "vite": "4.3.9",
"vitest": "^0.30.1" "vitest": "0.31.3"
} }
} }

View file

@ -35,8 +35,8 @@
"react-helmet": "^6.1.0", "react-helmet": "^6.1.0",
"urql": "^3.0.3", "urql": "^3.0.3",
"usehooks-ts": "^2.9.1", "usehooks-ts": "^2.9.1",
"vite": "4.3.1", "vite": "4.3.9",
"vitest": "0.30.1" "vitest": "0.31.3"
}, },
"devDependencies": { "devDependencies": {
"@graphql-codegen/cli": "3.2.2", "@graphql-codegen/cli": "3.2.2",

View file

@ -47,8 +47,8 @@
"taxjar": "^4.0.1", "taxjar": "^4.0.1",
"urql": "^3.0.3", "urql": "^3.0.3",
"usehooks-ts": "^2.9.1", "usehooks-ts": "^2.9.1",
"vite": "^4.3.1", "vite": "4.3.9",
"vitest": "^0.30.1", "vitest": "0.31.3",
"zod": "^3.20.2" "zod": "^3.20.2"
}, },
"devDependencies": { "devDependencies": {
@ -66,7 +66,7 @@
"@types/node": "^18.8.1", "@types/node": "^18.8.1",
"@types/react": "^18.0.21", "@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^3.1.0", "@vitejs/plugin-react": "4.0.0",
"eslint": "8.25.0", "eslint": "8.25.0",
"eslint-config-next": "12.3.1", "eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",

View file

@ -21,7 +21,7 @@
"react-hook-form": "^7.43.9", "react-hook-form": "^7.43.9",
"storybook": "^7.0.12", "storybook": "^7.0.12",
"typescript": "^5.0.4", "typescript": "^5.0.4",
"vite": "^4.3.6", "vite": "4.3.9",
"webpack": "^5.82.1" "webpack": "^5.82.1"
}, },
"peerDependencies": { "peerDependencies": {

View file

@ -20,16 +20,16 @@
"next": "^13.3.0", "next": "^13.3.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"vite": "^4.3.1", "vite": "4.3.9",
"vitest": "^0.30.1" "vitest": "0.31.3"
}, },
"peerDependencies": { "peerDependencies": {
"@saleor/app-sdk": "0.39.1",
"next": "^13.3.0", "next": "^13.3.0",
"pino": "^8.14.1", "pino": "^8.14.1",
"pino-pretty": "^10.0.0", "pino-pretty": "^10.0.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0"
"@saleor/app-sdk": "0.39.1"
}, },
"scripts": { "scripts": {
"lint:fix": "eslint --fix ." "lint:fix": "eslint --fix ."

File diff suppressed because it is too large Load diff