Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
8069761
chore: upgrade vite to alpha
danielroe Jun 10, 2022
45700fa
test: update vitest config
danielroe Jun 10, 2022
e63cd93
fix(vite): use replace for `typeof` replacements
danielroe Jun 10, 2022
d24879b
fix: use `externalVue` for now
danielroe Jun 13, 2022
d2d8175
fix: add `#internal/nitro/utils` explicitly to externals
danielroe Jun 13, 2022
f885c2a
chore: alpha 13 and new jiti
danielroe Jun 20, 2022
596f047
fix: use custom appType
danielroe Jun 20, 2022
f4d2cb3
fix: do not alias any vue deps - and don't convert to file urls
danielroe Jun 20, 2022
5149f4b
fix: only create ws server for client build
danielroe Jun 20, 2022
e15f8ce
ci: force cache refresh
danielroe Jun 20, 2022
aaf3c8d
ci: remove cache
danielroe Jun 20, 2022
5bc2768
chore: force jiti 1.14.0
danielroe Jun 20, 2022
d923b26
chore: revert port change
danielroe Jun 20, 2022
ce0a5d2
fix: use legacy commonjs transform plugin
danielroe Jun 20, 2022
76c4df1
fix: don't need cjs transform in dev either
danielroe Jun 20, 2022
facab42
fix: use `buildAssets` dir and relative base for client
danielroe Jun 20, 2022
8d690e1
feat: use new advanced build urls to replace custom plugin
danielroe Jun 20, 2022
ddf51f6
chore: upgrade vite to latest alpha
danielroe Jun 20, 2022
7af2fff
fix: remove unused import
danielroe Jun 20, 2022
19331ea
chore: bump vite to beta
danielroe Jun 21, 2022
b90a426
chore: revert jiti resolution
danielroe Jun 22, 2022
8e8f2c2
chore: use caret version of vite packages
danielroe Jun 22, 2022
41b378e
chore: bump to beta 1
danielroe Jun 22, 2022
c29dab6
refactor: use new `renderBuiltUrl` API
danielroe Jun 28, 2022
7070281
fix: only enable `buildRollupPluginCommonjs` for vite server
danielroe Jun 30, 2022
b546037
chore: upgrade to beta 6
danielroe Jul 4, 2022
b06694c
chore: bump to beta 7
danielroe Jul 6, 2022
6c6e14f
chore: upgrade to beta 8 (reverting to use commonjs plugin by default)
danielroe Jul 8, 2022
d052426
feat: use `optimizeDeps` at build-time
danielroe Jul 8, 2022
8c83444
chore: update lockfile
danielroe Jul 8, 2022
dffbddc
fix: disable `optimizeDeps` at build-time (testing windows ci)
danielroe Jul 8, 2022
c94533f
fix: try normalizing specifier
danielroe Jul 8, 2022
c685283
fix: hotfix hashing chunk code rather than id
danielroe Jul 8, 2022
6c56217
fix: include id in hash
danielroe Jul 8, 2022
de7e8fe
fix: exclude relative paths from new approach
danielroe Jul 8, 2022
c16a56a
fix: hash manifest as well
danielroe Jul 8, 2022
b91ff93
chore: upgrade to beta 9
danielroe Jul 8, 2022
b37cfb4
chore: bump vite to beta 10
danielroe Jul 12, 2022
8c36c27
fix: revert unneeded changes
danielroe Jul 12, 2022
7a5fa22
docs: add link to source
danielroe Jul 12, 2022
bdca0b7
fix: don't alias vue deps in dev mode
danielroe Jul 12, 2022
bdde1fd
chore: use released vite 3 packages
danielroe Jul 13, 2022
bf4a51e
Merge remote-tracking branch 'origin/main' into chore/vite-3
danielroe Jul 13, 2022
0da80d5
Merge remote-tracking branch 'origin/main' into chore/vite-3
danielroe Jul 13, 2022
f4bdd62
Update packages/vite/src/client.ts
danielroe Jul 13, 2022
c740bd2
Update packages/vite/src/server.ts
danielroe Jul 13, 2022
f46330b
Update packages/vite/src/server.ts
danielroe Jul 13, 2022
6d4aaeb
Merge branch 'main' into chore/vite-3
pi0 Jul 14, 2022
f4ebe8b
Merge remote-tracking branch 'origin/main' into chore/vite-3
danielroe Jul 18, 2022
c4f451b
fix(components): transform `<script setup>` blocks with new vite vue …
danielroe Jul 18, 2022
582d3a5
Merge remote-tracking branch 'origin/main' into chore/vite-3
danielroe Jul 18, 2022
616ab1e
fix: type error
danielroe Jul 18, 2022
ab4dd6e
Merge remote-tracking branch 'origin/main' into chore/vite-3
danielroe Jul 21, 2022
376b87e
fix: remove debugging code
danielroe Jul 21, 2022
b23d738
fix: revert change from define -> replace
danielroe Jul 21, 2022
28ccf68
Merge branch 'main' into chore/vite-3
pi0 Jul 21, 2022
d0a3bab
refactor: use simple if
pi0 Jul 21, 2022
b832953
refactor webpack plugin
pi0 Jul 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: bump vite to beta
  • Loading branch information
danielroe committed Jul 13, 2022
commit 19331ea52f9af881fbfd116ae4490fb79e8414f7
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@
"nuxi": "link:./packages/nuxi",
"nuxt": "link:./packages/nuxt",
"nuxt3": "link:./packages/nuxt",
"vite": "^3.0.0-alpha.14",
"@vitejs/plugin-vue": "^3.0.0-alpha.2",
"vite": "^3.0.0-beta.0",
"@vitejs/plugin-vue": "^3.0.0-beta.0",
"@vitejs/plugin-vue-jsx": "^2.0.0-beta.0",
"unbuild": "^0.7.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/lodash.template": "^4",
"@types/semver": "^7",
"unbuild": "latest",
"vite": "^2.9.14"
"vite": "^3.0.0-beta.0"
},
"dependencies": {
"c12": "^0.2.8",
Expand Down
6 changes: 3 additions & 3 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"dependencies": {
"@nuxt/kit": "^3.0.0-rc.4",
"@rollup/plugin-replace": "^4.0.0",
"@vitejs/plugin-vue": "^3.0.0-alpha.2",
"@vitejs/plugin-vue-jsx": "^2.0.0-alpha.1",
"@vitejs/plugin-vue": "^3.0.0-beta.0",
"@vitejs/plugin-vue-jsx": "^2.0.0-beta.0",
"autoprefixer": "^10.4.7",
"chokidar": "^3.5.3",
"cssnano": "^5.1.12",
Expand All @@ -47,7 +47,7 @@
"rollup-plugin-visualizer": "^5.6.0",
"ufo": "^0.8.5",
"unplugin": "^0.7.2",
"vite": "^3.0.0-alpha.14",
"vite": "^3.0.0-beta.0",
"vite-node": "^0.18.0",
"vite-plugin-checker": "^0.4.9"
},
Expand Down
66 changes: 39 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ __metadata:
languageName: node
linkType: hard

"@babel/core@npm:^7.17.10, @babel/core@npm:^7.17.7, @babel/core@npm:^7.18.5":
version: 7.18.5
resolution: "@babel/core@npm:7.18.5"
"@babel/core@npm:^7.17.7, @babel/core@npm:^7.17.9, @babel/core@npm:^7.18.6":
version: 7.18.6
resolution: "@babel/core@npm:7.18.6"
dependencies:
"@ampproject/remapping": ^2.1.0
"@babel/code-frame": ^7.18.6
Expand All @@ -68,9 +68,9 @@ __metadata:
languageName: node
linkType: hard

"@babel/core@npm:^7.17.7, @babel/core@npm:^7.17.9, @babel/core@npm:^7.18.6":
version: 7.18.6
resolution: "@babel/core@npm:7.18.6"
"@babel/core@npm:^7.17.7, @babel/core@npm:^7.18.5":
version: 7.18.5
resolution: "@babel/core@npm:7.18.5"
dependencies:
"@ampproject/remapping": ^2.1.0
"@babel/code-frame": ^7.18.6
Expand Down Expand Up @@ -340,6 +340,19 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-transform-typescript@npm:^7.18.4":
version: 7.18.4
resolution: "@babel/plugin-transform-typescript@npm:7.18.4"
dependencies:
"@babel/helper-create-class-features-plugin": ^7.18.6
"@babel/helper-plugin-utils": ^7.18.6
"@babel/plugin-syntax-typescript": ^7.18.6
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 9dc070304688dd183b2abb6bdac6f4b1939df7cc8caf32c57327bf90de26abce2130c5d807e82e25287d3a3e23f7532c9f7afd44a2e7bb815cae92015d352925
languageName: node
linkType: hard

"@babel/standalone@npm:^7.17.7":
version: 7.18.8
resolution: "@babel/standalone@npm:7.18.8"
Expand Down Expand Up @@ -1695,8 +1708,8 @@ __metadata:
std-env: ^3.1.1
ufo: ^0.8.5
unbuild: latest
unimport: ^0.4.4
vite: ^2.9.14
unimport: ^0.3.0
vite: ^3.0.0-beta.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -1787,8 +1800,8 @@ __metadata:
"@nuxt/schema": ^3.0.0-rc.4
"@rollup/plugin-replace": ^4.0.0
"@types/cssnano": ^5
"@vitejs/plugin-vue": ^3.0.0-alpha.2
"@vitejs/plugin-vue-jsx": ^2.0.0-alpha.1
"@vitejs/plugin-vue": ^3.0.0-beta.0
"@vitejs/plugin-vue-jsx": ^2.0.0-beta.0
autoprefixer: ^10.4.7
chokidar: ^3.5.3
cssnano: ^5.1.12
Expand All @@ -1814,8 +1827,8 @@ __metadata:
ufo: ^0.8.5
unbuild: latest
unplugin: ^0.7.0
vite: ^3.0.0-alpha.14
vite-node: ^0.15.1
vite: ^3.0.0-beta.0
vite-node: ^0.15.2
vite-plugin-checker: ^0.4.6
vue: 3.2.37
peerDependencies:
Expand Down Expand Up @@ -3090,29 +3103,28 @@ __metadata:
languageName: node
linkType: hard

"@vitejs/plugin-vue-jsx@npm:^2.0.0-alpha.1":
version: 2.0.0-alpha.1
resolution: "@vitejs/plugin-vue-jsx@npm:2.0.0-alpha.1"
"@vitejs/plugin-vue-jsx@npm:^2.0.0-beta.0":
version: 2.0.0-beta.0
resolution: "@vitejs/plugin-vue-jsx@npm:2.0.0-beta.0"
dependencies:
"@babel/core": ^7.17.10
"@babel/core": ^7.18.5
"@babel/plugin-syntax-import-meta": ^7.10.4
"@babel/plugin-transform-typescript": ^7.16.8
"@rollup/pluginutils": ^4.2.1
"@babel/plugin-transform-typescript": ^7.18.4
"@vue/babel-plugin-jsx": ^1.1.1
peerDependencies:
vite: ^3.0.0-alpha
vue: ^3.0.0
checksum: 8b92f50ba16bbcad88c7a6870f615d2d79523499a5a105733822b2110849f633b512ac25fed0fa0784d8de7daec0621c76bfae13fe2b041ac76c6fde6079aec1
checksum: eda947b9447f56779b0835eed3c6d2741d1de6fa9eeb25995c20d28d39885fc7e41761018cff7eb69a641f29e16070111e45d90044114e9287ec61da146c5452
languageName: node
linkType: hard

"@vitejs/plugin-vue@npm:^3.0.0-alpha.2":
version: 3.0.0-alpha.2
resolution: "@vitejs/plugin-vue@npm:3.0.0-alpha.2"
"@vitejs/plugin-vue@npm:^3.0.0-beta.0":
version: 3.0.0-beta.0
resolution: "@vitejs/plugin-vue@npm:3.0.0-beta.0"
peerDependencies:
vite: ^3.0.0-alpha
vue: ^3.2.25
checksum: f8f7c6e4ce6016a5b8cc7ab2c499cd1e6872eeebb5da4ab4b99a94e2b78b8f24c244acab7400bf82ea6edcc1c88a9f4eb04a42f0586f4aba92921ab11d560017
checksum: bee67c397cd2b618385c59c85ce07557af68200215708b5809e2c4255edeeffd73ca17ebc158eb01adbaa941ab2a6dea3f202b050a713b1e39ff3dd1587e2f97
languageName: node
linkType: hard

Expand Down Expand Up @@ -14398,9 +14410,9 @@ __metadata:
languageName: node
linkType: hard

"vite@npm:^3.0.0-alpha.14":
version: 3.0.0-alpha.14
resolution: "vite@npm:3.0.0-alpha.14"
"vite@npm:^3.0.0-beta.0":
version: 3.0.0-beta.0
resolution: "vite@npm:3.0.0-beta.0"
dependencies:
esbuild: ^0.14.43
fsevents: ~2.3.2
Expand All @@ -14426,7 +14438,7 @@ __metadata:
optional: true
bin:
vite: bin/vite.js
checksum: 55f7867d73b31b72522533253e1d77ef1f429bbc257ed9f5d48da89c4c5fd2ee460c27c1276adce7b82e39984984e35a91cb93af870ffdda8caf6c3914be0f31
checksum: 83fe4d96cbe747e689bcbe8c2d0e6bd72c3598553bff36b7dad12e6a60a22083d37fe8556dc76d6a280c3505f2d31df2d1915948ed72a55bb98b0caeab692715
languageName: node
linkType: hard

Expand Down