Skip to content

Commit

Permalink
meta: upgrade to Vite 4 and ESBuild 0.16 (#4243)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Dec 13, 2022
1 parent 3cc7fd9 commit 141eb24
Show file tree
Hide file tree
Showing 19 changed files with 268 additions and 241 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ VITE_UPLOADER=tus

VITE_COMPANION_URL=http://localhost:3020
# See also Transloadit.COMPANION_PATTERN
VITE_COMPANION_ALLOWED_HOSTS=/\.transloadit\.com$/
VITE_COMPANION_ALLOWED_HOSTS="/\.transloadit\.com\$/"
VITE_TUS_ENDPOINT=https://tusd.tusdemo.net/files/
VITE_XHR_ENDPOINT=https://xhr-server.herokuapp.com/upload

Expand Down
2 changes: 1 addition & 1 deletion examples/aws-companion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"express": "^4.18.1",
"express-session": "^1.17.3",
"npm-run-all": "^4.1.5",
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"private": true,
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion examples/aws-php/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"uppy": "workspace:*"
},
"devDependencies": {
"esbuild": "^0.15.1"
"esbuild": "^0.16.1"
},
"private": true,
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"express": "^4.16.2",
"express-session": "^1.15.6",
"npm-run-all": "^4.1.2",
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/digitalocean-spaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"devDependencies": {
"dotenv": "^16.0.1",
"express": "^4.16.2",
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/multiple-instances/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@uppy/golden-retriever": "workspace:*"
},
"devDependencies": {
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/node-xhr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"npm-run-all": "^4.1.3",
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/php-xhr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"npm-run-all": "^4.1.3",
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/python-xhr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"npm-run-all": "^4.1.3",
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/react-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
},
"devDependencies": {
"@vitejs/plugin-react": "^2.0.0",
"vite": "^3.0.0"
"vite": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion examples/transloadit-markdown-bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"marked": "^4.0.18"
},
"devDependencies": {
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/transloadit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"devDependencies": {
"npm-run-all": "^4.1.5",
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"dependencies": {
"@uppy/core": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"vue": "^2.6.14"
},
"devDependencies": {
"vite": "^3.0.0",
"vite": "^4.0.0",
"vite-plugin-vue2": "^2.0.1",
"vue-template-compiler": "^2.6.14"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^3.0.0",
"vite": "^3.0.0"
"vite": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion examples/xhr-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"core-js": "~3.24.0",
"cssnano": "^5.0.6",
"dotenv": "^16.0.0",
"esbuild": "^0.15.1",
"esbuild": "^0.16.1",
"esbuild-plugin-babel": "^0.2.3",
"eslint": "^8.0.0",
"eslint-config-transloadit": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion private/dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"autoprefixer": "^10.2.6",
"postcss-dir-pseudo-class": "^6.0.0",
"postcss-logical": "^5.0.0",
"vite": "^3.0.0"
"vite": "^4.0.0"
},
"private": true,
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"chalk": "2.4.2",
"cssnano": "^5.0.6",
"drag-drop": "^4.2.0",
"esbuild": "^0.15.3",
"esbuild": "^0.16.1",
"esbuild-plugin-alias": "^0.2.1",
"esbuild-plugin-babel": "^0.2.3",
"glob": "^7.2.0",
Expand Down
Loading

0 comments on commit 141eb24

Please sign in to comment.