Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Conversation

@Shyrro
Copy link
Contributor

@Shyrro Shyrro commented Dec 14, 2022

Signed-off-by: Shyrro zsahmane@gmail.com

Add support for v-model directive

@codecov
Copy link

codecov bot commented Dec 14, 2022

Codecov Report

Merging #110 (cd661ad) into main (dd062b4) will decrease coverage by 0.34%.
The diff coverage is 99.56%.

@@             Coverage Diff             @@
##              main     #110      +/-   ##
===========================================
- Coverage   100.00%   99.65%   -0.35%     
===========================================
  Files            3       11       +8     
  Lines          145      587     +442     
  Branches        10       58      +48     
===========================================
+ Hits           145      585     +440     
- Misses           0        2       +2     
Impacted Files Coverage Δ
packages/vue/src/use-v-model.ts 96.49% <96.49%> (ø)
packages/preact/src/forwardRef.tsx 100.00% <100.00%> (ø)
packages/preact/src/index.ts 100.00% <100.00%> (ø)
packages/preact/src/polymorphic-factory.tsx 100.00% <100.00%> (ø)
packages/react/src/forwardRef.tsx 100.00% <100.00%> (ø)
packages/react/src/index.ts 100.00% <100.00%> (ø)
packages/react/src/polymorphic-factory.tsx 100.00% <100.00%> (ø)
packages/solid/src/index.ts 100.00% <100.00%> (ø)
packages/solid/src/polymorphic-factory.tsx 100.00% <100.00%> (ø)
packages/vue/src/index.ts 100.00% <100.00%> (ø)
... and 1 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@TimKolberger
Copy link
Collaborator

Thank you for working on this @Shyrro
PR looks good to me, and I am down to merge this when the typecheck is successful in the CI. Could you take a look?

@Shyrro Shyrro force-pushed the fix/vmodel branch 2 times, most recently from e54ba8a to 295b330 Compare December 18, 2022 22:20
Copy link
Collaborator

@TimKolberger TimKolberger left a comment

Choose a reason for hiding this comment

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

Awesome work @Shyrro Thanks for working on that!

To merge and release this we need a changeset file in the PR branch.
Kindly run 'pnpm changeset' in the repo root, choose vue with a minor bump and describe the changes as you would expect them in a changelog.

You can read more about the process here: https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md

Or reach out to me, and we can do it together.

"@testing-library/vue": "6.6.1",
"@types/jsdom": "20.0.1",
"@types/testing-library__jest-dom": "5.14.5",
"@vitejs/plugin-vue": "^4.0.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggestion: Let's pin the devDeps to ensure reproducible builds. We use renovate to schedule those updated automatically.
Kindly update the lock file too.

Suggested change
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue": "4.0.0",

import { screen, render, fireEvent } from '@testing-library/vue'
import PolyTest from './poly-test.vue'

describe('SFC related features', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

praise (non-blocking): love the test suite!

@Shyrro
Copy link
Contributor Author

Shyrro commented Dec 19, 2022

Awesome work @Shyrro Thanks for working on that!

To merge and release this we need a changeset file in the PR branch. Kindly run 'pnpm changeset' in the repo root, choose vue with a minor bump and describe the changes as you would expect them in a changelog.

You can read more about the process here: https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md

Or reach out to me, and we can do it together.

Thanks for your review @TimKolberger ! Will try to update to changelog today !

Shyrro and others added 3 commits December 20, 2022 11:26
Signed-off-by: Shyrro <zsahmane@gmail.com>
Signed-off-by: Shyrro <zsahmane@gmail.com>
Signed-off-by: Shyrro <zakaria.sahmane@decathlon.com>
@Shyrro
Copy link
Contributor Author

Shyrro commented Dec 20, 2022

Hi @TimKolberger !

I just updated the changelog + updated the lock file, can you please check if everything is okay ?

Thanks !

@TimKolberger TimKolberger merged commit 4ebff82 into main Dec 20, 2022
@TimKolberger TimKolberger deleted the fix/vmodel branch December 20, 2022 10:42
@github-actions github-actions bot mentioned this pull request Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants