Skip to content

Conversation

@libondev
Copy link
Member

No description provided.

@netlify
Copy link

netlify bot commented Mar 30, 2025

Deploy Preview for vue-vine ready!

Name Link
🔨 Latest commit cd38815
🔍 Latest deploy log https://app.netlify.com/sites/vue-vine/deploys/67e8e702c4e7ce00085a0080
😎 Deploy Preview https://deploy-preview-227--vue-vine.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 30, 2025

Open in Stackblitz

@vue-vine/compiler

npm i https://pkg.pr.new/vue-vine/vue-vine/@vue-vine/compiler@227

create-vue-vine

npm i https://pkg.pr.new/vue-vine/vue-vine/create-vue-vine@227

@vue-vine/eslint-parser

npm i https://pkg.pr.new/vue-vine/vue-vine/@vue-vine/eslint-parser@227

@vue-vine/eslint-config

npm i https://pkg.pr.new/vue-vine/vue-vine/@vue-vine/eslint-config@227

@vue-vine/eslint-plugin

npm i https://pkg.pr.new/vue-vine/vue-vine/@vue-vine/eslint-plugin@227

@vue-vine/language-server

npm i https://pkg.pr.new/vue-vine/vue-vine/@vue-vine/language-server@227

@vue-vine/language-service

npm i https://pkg.pr.new/vue-vine/vue-vine/@vue-vine/language-service@227

@vue-vine/nuxt

npm i https://pkg.pr.new/vue-vine/vue-vine/@vue-vine/nuxt@227

vue-vine-tsc

npm i https://pkg.pr.new/vue-vine/vue-vine/vue-vine-tsc@227

@vue-vine/vite-plugin

npm i https://pkg.pr.new/vue-vine/vue-vine/@vue-vine/vite-plugin@227

vue-vine

npm i https://pkg.pr.new/vue-vine/vue-vine@227

commit: cd38815

@ShenQingchuan
Copy link
Member

其实我觉得是不是可以在 create-vue-vine 的 prepublish 里加上这个脚本,以便我们每次发布出去的 template 都保证是新的

@libondev
Copy link
Member Author

其实我觉得是不是可以在 create-vue-vine 的 prepublish 里加上这个脚本,以便我们每次发布出去的 template 都保证是新的

有的有的,我在根目录加了一个upgrade-deps的命令来主动更新版本,但这样修改了版本以后依然会需要发布一次create-vue-vine的包,所以内部还做了一次自动查询最新版本的操作,这样即便create-vue-vine没有任何修改的时候,也能使用最新的版本

@libondev
Copy link
Member Author

之前我还在纠结是否需要加上一个缓存功能,但思考再三还是决定放弃了,因为新建项目的操作还是很低频的,如果长时间没有使用的话,花个最多3s的时间用来查询最新版本似乎代价也不是那么大?

@ShenQingchuan
Copy link
Member

之前我还在纠结是否需要加上一个缓存功能,但思考再三还是决定放弃了,因为新建项目的操作还是很低频的,如果长时间没有使用的话,花个最多3s的时间用来查询最新版本似乎代价也不是那么大?

我觉得非常正确,我认同这个权衡的结果。

@ShenQingchuan ShenQingchuan merged commit f6c9967 into vue-vine:main Apr 1, 2025
9 of 10 checks passed
@libondev libondev deleted the optimize/upgrade-script branch April 1, 2025 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants