Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update deps for Vue 2.7 #413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
baboon-king wants to merge 21 commits into vuejs:v2 from baboon-king:v2
Closed

Update deps for Vue 2.7 #413

baboon-king wants to merge 21 commits into vuejs:v2 from baboon-king:v2

Conversation

Copy link

@baboon-king baboon-king commented Dec 27, 2023
edited
Loading

closed: #408 #185

TODO List

Output Template

Self

  • require Node 16+ on Use
  • require Node 18+ on Dev
  • npm-run-all to npm-run-all2
  • prettier to letest
  • zx to letest

Daryl0819, baboon-king, and Yordan-Ramchev reacted with thumbs up emoji
Copy link
Member

@cexbrayat cexbrayat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM so far

@@ -5,6 +5,8 @@ import HelloWorld from '../HelloWorld.vue'

describe('HelloWorld', () => {
it('renders properly', () => {
// TODO: https://github.com/vuejs/vue-test-utils/issues/2087
// @ts-ignore
Copy link
Member

@cexbrayat cexbrayat Dec 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should merge like this, so we'll have to wait for the fix (but it may take a long time as VTU v1 is not really active).

Copy link
Author

@baboon-king baboon-king Dec 28, 2023
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First of all, you're right.
Because there are still lists left to complete.


so we'll have to wait for the fix ......

For that matter, the problem actually existed before I modified this project.
I'm also wondering how he (Haoqun Jiang) avoided this problem, after all, the last version already depends on Vue 2.7.x already!

How about we ask "Haoqun Jiang" for advice?

Copy link
Member

@haoqunjiang haoqunjiang Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH I have no idea how to fix that type error...

Copy link
Member

@haoqunjiang haoqunjiang Dec 29, 2023
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A workaround was proposed in the issue I opened previously: vuejs/vue-test-utils#2026 (comment)
But I'm no expert on TypeScript, so I don't know if that's the right fix.

Copy link
Author

@baboon-king baboon-king Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH.
It would be best to have vue-test-utils aligned with "Vue 2.7.16".

But that repository is not very active.

I've also forked vue-test-utils aligned to try to fix this, which is a bit of a challenge.

A more practical solution for now is to create a corresponding Typescript shim in the output template,like vuejs/vue-test-utils#2026 (comment)

Copy link
Author

@baboon-king baboon-king Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cexbrayat Hi!
Excuse me!
Could you please review the latest submission and provide feedback on whether it is an acceptable solution?

b1bae5e

Copy link
Member

@cexbrayat cexbrayat Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fine by me. Obviously it would be better to open a PR on VTU to fix it properly and get a new release, but I'm not sure many people will generate a new Vue 2 project with create-vue, so that's probably OK.

Copy link
Author

@baboon-king baboon-king Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obviously it would be better to open a PR on VTU to fix it properly and get a new
release,

Since the VTU author is currently focusing on "Vue 3", I can follow up in the future when this issue is fixed.

Possibly (vuejs/vue-test-utils#2087 (comment)) I'll open a PR

For now. I think this solution is sufficient

Copy link
Author

baboon-king commented Jan 30, 2024
edited
Loading

(削除) waiting (削除ここまで) merged cypress-io/cypress#28818

Copy link
Author

@sodatea!
Excuse me🤗
Can you look look this vuejs/create-vue-templates#3

Copy link
Author

@cexbrayat
@sodatea

Hi everyone. Long time no see!

It looks like the master plan is complete. Would you mind reviewing it?

joaopedrodcf and baboon-king reacted with heart emoji

Copy link
Member

@cexbrayat cexbrayat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested it, but LGTM at first glance.

I think we should also deprecate this version of create-vue as Vue 2 is now EOL to discourage its usage.

Copy link
Author

I haven't tested it, but LGTM at first glance.

I have executed the test script and he passed all of it

I think we should also deprecate this version of create-vue as Vue 2 is now EOL to discourage its usage.

let's we try npm-deprecate

Copy link

@marcosdissotti marcosdissotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

baboon-king reacted with thumbs up emoji
@cexbrayat cexbrayat deleted the branch vuejs:v2 October 9, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@cexbrayat cexbrayat cexbrayat approved these changes

@haoqunjiang haoqunjiang Awaiting requested review from haoqunjiang

+1 more reviewer

@marcosdissotti marcosdissotti marcosdissotti approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /