Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vitejs/vite
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4198e3428457b648aa622b665035bebe2821c660
Choose a base ref
...
head repository: vitejs/vite
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 47a78db49740daee873525de90d0e44b19883771
Choose a head ref
  • 12 commits
  • 44 files changed
  • 5 contributors

Commits on Oct 26, 2022

  1. release: plugin-vue@3.2.0

    patak-dev committed Oct 26, 2022
    Copy the full SHA
    4e18e72 View commit details
  2. Copy the full SHA
    afb637f View commit details
  3. release: plugin-react@2.2.0

    patak-dev committed Oct 26, 2022
    Copy the full SHA
    972b8dd View commit details
  4. Copy the full SHA
    78d438d View commit details
  5. release: create-vite@3.2.0

    patak-dev committed Oct 26, 2022
    Copy the full SHA
    a285da8 View commit details
  6. chore: update changelog for 3.2 (#10646)

    Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
    patak-dev and bluwy authored Oct 26, 2022
    Copy the full SHA
    f787a60 View commit details

Commits on Oct 27, 2022

  1. Copy the full SHA
    675bf07 View commit details

Commits on Oct 28, 2022

  1. Copy the full SHA
    b823fd6 View commit details
  2. Copy the full SHA
    1128b4d View commit details
  3. Copy the full SHA
    e2ea6af View commit details
  4. Copy the full SHA
    b15d21c View commit details
  5. release: v3.2.1

    patak-dev committed Oct 28, 2022
    Copy the full SHA
    47a78db View commit details
Showing with 373 additions and 242 deletions.
  1. +18 −0 packages/create-vite/CHANGELOG.md
  2. +1 −1 packages/create-vite/package.json
  3. +1 −1 packages/create-vite/template-lit-ts/package.json
  4. +1 −1 packages/create-vite/template-lit/package.json
  5. +1 −1 packages/create-vite/template-preact-ts/package.json
  6. +1 −1 packages/create-vite/template-preact/package.json
  7. +2 −2 packages/create-vite/template-react-ts/package.json
  8. +2 −2 packages/create-vite/template-react/package.json
  9. +1 −1 packages/create-vite/template-svelte-ts/package.json
  10. +1 −1 packages/create-vite/template-svelte/package.json
  11. +1 −1 packages/create-vite/template-vanilla-ts/package.json
  12. +1 −1 packages/create-vite/template-vanilla/package.json
  13. +2 −2 packages/create-vite/template-vue-ts/package.json
  14. +2 −2 packages/create-vite/template-vue/package.json
  15. +8 −0 packages/plugin-legacy/CHANGELOG.md
  16. +1 −1 packages/plugin-legacy/package.json
  17. +8 −0 packages/plugin-react/CHANGELOG.md
  18. +1 −1 packages/plugin-react/package.json
  19. +6 −0 packages/plugin-vue-jsx/CHANGELOG.md
  20. +1 −1 packages/plugin-vue-jsx/package.json
  21. +9 −0 packages/plugin-vue/CHANGELOG.md
  22. +1 −1 packages/plugin-vue/package.json
  23. +96 −53 packages/vite/CHANGELOG.md
  24. +0 −82 packages/vite/LICENSE.md
  25. +1 −2 packages/vite/package.json
  26. +17 −1 packages/vite/scripts/postPatchTypes.ts
  27. +1 −1 packages/vite/scripts/util.ts
  28. +22 −8 packages/vite/src/node/__tests__/env.spec.ts
  29. +1 −0 packages/vite/src/node/__tests__/env/.env.existing
  30. +8 −2 packages/vite/src/node/build.ts
  31. +35 −21 packages/vite/src/node/config.ts
  32. +9 −11 packages/vite/src/node/env.ts
  33. +1 −0 packages/vite/src/node/optimizer/esbuildDepPlugin.ts
  34. +1 −1 packages/vite/src/node/optimizer/scan.ts
  35. +4 −5 packages/vite/src/node/plugins/asset.ts
  36. +4 −4 packages/vite/src/node/plugins/css.ts
  37. +41 −5 packages/vite/src/node/plugins/resolve.ts
  38. +3 −4 packages/vite/src/node/server/index.ts
  39. +5 −4 packages/vite/src/node/server/middlewares/base.ts
  40. +4 −2 packages/vite/src/node/server/middlewares/indexHtml.ts
  41. +5 −5 packages/vite/src/node/ssr/ssrManifestPlugin.ts
  42. +14 −1 packages/vite/src/node/utils.ts
  43. +17 −2 packages/vite/tsconfig.check.json
  44. +14 −7 pnpm-lock.yaml
18 changes: 18 additions & 0 deletions packages/create-vite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 3.2.0 (2022-10-26)

* fix(create-vite): remove baseUrl from Svelte configs (#10200) ([9c7a331](https://github.com/vitejs/vite/commit/9c7a331)), closes [#10200](https://github.com/vitejs/vite/issues/10200)
* fix(deps): update all non-major dependencies (#10077) ([caf00c8](https://github.com/vitejs/vite/commit/caf00c8)), closes [#10077](https://github.com/vitejs/vite/issues/10077)
* fix(deps): update all non-major dependencies (#10160) ([6233c83](https://github.com/vitejs/vite/commit/6233c83)), closes [#10160](https://github.com/vitejs/vite/issues/10160)
* fix(deps): update all non-major dependencies (#10316) ([a38b450](https://github.com/vitejs/vite/commit/a38b450)), closes [#10316](https://github.com/vitejs/vite/issues/10316)
* fix(deps): update all non-major dependencies (#10610) ([bb95467](https://github.com/vitejs/vite/commit/bb95467)), closes [#10610](https://github.com/vitejs/vite/issues/10610)
* fix(deps): update all non-major dependencies (#9985) ([855f2f0](https://github.com/vitejs/vite/commit/855f2f0)), closes [#9985](https://github.com/vitejs/vite/issues/9985)
* chore: remove duplicated logic in vanilla template (#10145) ([f29fef5](https://github.com/vitejs/vite/commit/f29fef5)), closes [#10145](https://github.com/vitejs/vite/issues/10145)
* chore(create-vite): remove sourcemap, move --noEmit to tsconfig (#10150) ([414d2ef](https://github.com/vitejs/vite/commit/414d2ef)), closes [#10150](https://github.com/vitejs/vite/issues/10150)
* chore(deps): update all non-major dependencies (#10393) ([f519423](https://github.com/vitejs/vite/commit/f519423)), closes [#10393](https://github.com/vitejs/vite/issues/10393)
* chore(deps): update all non-major dependencies (#10488) ([15aa827](https://github.com/vitejs/vite/commit/15aa827)), closes [#10488](https://github.com/vitejs/vite/issues/10488)
* chore(deps): update dependency vue-tsc to v1 (#10547) ([9d0e0af](https://github.com/vitejs/vite/commit/9d0e0af)), closes [#10547](https://github.com/vitejs/vite/issues/10547)
* feat: Switch to JSX runtime transform in preact-ts template (#10061) ([bf69063](https://github.com/vitejs/vite/commit/bf69063)), closes [#10061](https://github.com/vitejs/vite/issues/10061)
* feat(create-vite): support create-vite-extra (#10214) ([8116cbd](https://github.com/vitejs/vite/commit/8116cbd)), closes [#10214](https://github.com/vitejs/vite/issues/10214)



## 3.1.0 (2022-09-05)

* refactor(create-vite): migrate to TypeScript (#9941) ([85fa2c8](https://github.com/vitejs/vite/commit/85fa2c8)), closes [#9941](https://github.com/vitejs/vite/issues/9941)
2 changes: 1 addition & 1 deletion packages/create-vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-vite",
"version": "3.1.0",
"version": "3.2.0",
"type": "module",
"license": "MIT",
"author": "Evan You",
2 changes: 1 addition & 1 deletion packages/create-vite/template-lit-ts/package.json
Original file line number Diff line number Diff line change
@@ -21,6 +21,6 @@
},
"devDependencies": {
"typescript": "^4.6.4",
"vite": "^3.1.8"
"vite": "^3.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-lit/package.json
Original file line number Diff line number Diff line change
@@ -18,6 +18,6 @@
"lit": "^2.4.0"
},
"devDependencies": {
"vite": "^3.1.8"
"vite": "^3.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-preact-ts/package.json
Original file line number Diff line number Diff line change
@@ -14,6 +14,6 @@
"devDependencies": {
"@preact/preset-vite": "^2.4.0",
"typescript": "^4.6.4",
"vite": "^3.1.8"
"vite": "^3.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-preact/package.json
Original file line number Diff line number Diff line change
@@ -13,6 +13,6 @@
},
"devDependencies": {
"@preact/preset-vite": "^2.4.0",
"vite": "^3.1.8"
"vite": "^3.2.0"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-react-ts/package.json
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@
"devDependencies": {
"@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7",
"@vitejs/plugin-react": "^2.1.0",
"@vitejs/plugin-react": "^2.2.0",
"typescript": "^4.6.4",
"vite": "^3.1.8"
"vite": "^3.2.0"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-react/package.json
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
"devDependencies": {
"@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7",
"@vitejs/plugin-react": "^2.1.0",
"vite": "^3.1.8"
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte-ts/package.json
Original file line number Diff line number Diff line change
@@ -17,6 +17,6 @@
"svelte-preprocess": "^4.10.7",
"tslib": "^2.4.0",
"typescript": "^4.6.4",
"vite": "^3.1.8"
"vite": "^3.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte/package.json
Original file line number Diff line number Diff line change
@@ -11,6 +11,6 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^1.1.0",
"svelte": "^3.52.0",
"vite": "^3.1.8"
"vite": "^3.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-vanilla-ts/package.json
Original file line number Diff line number Diff line change
@@ -10,6 +10,6 @@
},
"devDependencies": {
"typescript": "^4.6.4",
"vite": "^3.1.8"
"vite": "^3.2.0"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-vanilla/package.json
Original file line number Diff line number Diff line change
@@ -9,6 +9,6 @@
"preview": "vite preview"
},
"devDependencies": {
"vite": "^3.1.8"
"vite": "^3.2.0"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-vue-ts/package.json
Original file line number Diff line number Diff line change
@@ -12,9 +12,9 @@
"vue": "^3.2.41"
},
"devDependencies": {
"@vitejs/plugin-vue": "^3.1.2",
"@vitejs/plugin-vue": "^3.2.0",
"typescript": "^4.6.4",
"vite": "^3.1.8",
"vite": "^3.2.0",
"vue-tsc": "^1.0.9"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-vue/package.json
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
"vue": "^3.2.41"
},
"devDependencies": {
"@vitejs/plugin-vue": "^3.1.2",
"vite": "^3.1.8"
"@vitejs/plugin-vue": "^3.2.0",
"vite": "^3.2.0"
}
}
8 changes: 8 additions & 0 deletions packages/plugin-legacy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2.3.0 (2022-10-26)

* fix(deps): update all non-major dependencies (#10610) ([bb95467](https://github.com/vitejs/vite/commit/bb95467)), closes [#10610](https://github.com/vitejs/vite/issues/10610)
* chore(deps): update all non-major dependencies (#10393) ([f519423](https://github.com/vitejs/vite/commit/f519423)), closes [#10393](https://github.com/vitejs/vite/issues/10393)
* chore(deps): update all non-major dependencies (#10488) ([15aa827](https://github.com/vitejs/vite/commit/15aa827)), closes [#10488](https://github.com/vitejs/vite/issues/10488)



## 2.3.0-beta.0 (2022-10-05)

* fix(deps): update all non-major dependencies (#10160) ([6233c83](https://github.com/vitejs/vite/commit/6233c83)), closes [#10160](https://github.com/vitejs/vite/issues/10160)
2 changes: 1 addition & 1 deletion packages/plugin-legacy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-legacy",
"version": "2.3.0-beta.0",
"version": "2.3.0",
"license": "MIT",
"author": "Evan You",
"files": [
8 changes: 8 additions & 0 deletions packages/plugin-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 2.2.0 (2022-10-26)

* fix(deps): update all non-major dependencies (#10610) ([bb95467](https://github.com/vitejs/vite/commit/bb95467)), closes [#10610](https://github.com/vitejs/vite/issues/10610)
* fix(plugin-react): update `package.json` (#10479) ([7f45eb5](https://github.com/vitejs/vite/commit/7f45eb5)), closes [#10479](https://github.com/vitejs/vite/issues/10479)
* chore(deps): update all non-major dependencies (#10393) ([f519423](https://github.com/vitejs/vite/commit/f519423)), closes [#10393](https://github.com/vitejs/vite/issues/10393)



## 2.2.0-beta.0 (2022-10-05)

* fix(deps): update all non-major dependencies (#10077) ([caf00c8](https://github.com/vitejs/vite/commit/caf00c8)), closes [#10077](https://github.com/vitejs/vite/issues/10077)
2 changes: 1 addition & 1 deletion packages/plugin-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-react",
"version": "2.2.0-beta.0",
"version": "2.2.0",
"license": "MIT",
"author": "Evan You",
"contributors": [
6 changes: 6 additions & 0 deletions packages/plugin-vue-jsx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.1.0 (2022-10-26)

* fix(deps): update all non-major dependencies (#10610) ([bb95467](https://github.com/vitejs/vite/commit/bb95467)), closes [#10610](https://github.com/vitejs/vite/issues/10610)



## 2.1.0-beta.0 (2022-10-05)

* fix(deps): update all non-major dependencies (#10077) ([caf00c8](https://github.com/vitejs/vite/commit/caf00c8)), closes [#10077](https://github.com/vitejs/vite/issues/10077)
2 changes: 1 addition & 1 deletion packages/plugin-vue-jsx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-vue-jsx",
"version": "2.1.0-beta.0",
"version": "2.1.0",
"license": "MIT",
"author": "Evan You",
"files": [
9 changes: 9 additions & 0 deletions packages/plugin-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 3.2.0 (2022-10-26)

* chore(deps): update all non-major dependencies (#10393) ([f519423](https://github.com/vitejs/vite/commit/f519423)), closes [#10393](https://github.com/vitejs/vite/issues/10393)
* chore(deps): update all non-major dependencies (#10488) ([15aa827](https://github.com/vitejs/vite/commit/15aa827)), closes [#10488](https://github.com/vitejs/vite/issues/10488)
* fix(plugin-vue): enable ts in template when using tsx in dev mode (#10180) ([a9f9d31](https://github.com/vitejs/vite/commit/a9f9d31)), closes [#10180](https://github.com/vitejs/vite/issues/10180)
* docs: add missing binding in asset import example (#10414) ([d7ac96d](https://github.com/vitejs/vite/commit/d7ac96d)), closes [#10414](https://github.com/vitejs/vite/issues/10414)



## 3.2.0-beta.0 (2022-10-05)

* fix(deps): update all non-major dependencies (#10077) ([caf00c8](https://github.com/vitejs/vite/commit/caf00c8)), closes [#10077](https://github.com/vitejs/vite/issues/10077)
2 changes: 1 addition & 1 deletion packages/plugin-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-vue",
"version": "3.2.0-beta.0",
"version": "3.2.0",
"license": "MIT",
"author": "Evan You",
"files": [
Loading