Skip to content
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

Vue3: Replace vue-docgen-api with vue-component-meta #22010

Closed
wants to merge 3 commits into from

Conversation

chakAs3
Copy link
Contributor

@chakAs3 chakAs3 commented Apr 10, 2023

Closes #21606

What I did

replaceing vue-docgen-api with offical vue tools by volar ( vue-meta-component ) better type definition, more features, regular updates

How to test

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)
  • Make sure to add/update documentation regarding your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Maintainers

  • If this PR should be tested against many or all sandboxes,
    make sure to add the ci:merged or ci:daily GH label to it.
  • Make sure this PR contains one of the labels below.

["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

@chakAs3 chakAs3 added maintenance User-facing maintenance tasks vue3 labels Apr 10, 2023
@socket-security
Copy link

socket-security bot commented Apr 10, 2023

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Issue Package Version Note Source
New author json-parse-even-better-errors 3.0.0
New author which 3.0.0
New author json-stable-stringify 1.0.2
New author fs-minipass 3.0.1
New author webpack-hot-middleware 2.25.3
New author react-fast-compare 3.2.1

Next steps

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

@chakAs3 chakAs3 changed the title extract component meta with nested props+tags Vue3: extract component meta using Volar ( vue-component-meta ) Apr 20, 2023
@storybookjs storybookjs deleted a comment from github-actions bot Nov 28, 2023
@ndelangen ndelangen changed the title Vue3: extract component meta using Volar ( vue-component-meta ) Vue3: Replace vue-docgen-api with vue-component-meta Nov 28, 2023
Copy link

New and updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@types/webpack-virtual-modules 0.1.1 None +6 3.82 MB types
vite-plugin-glimmerx 0.6.6 None +18 4.1 MB lifeart
fetch-retry 5.0.4 None +0 54.9 kB jonbern
@ndelangen/get-tarball 3.0.7 None +0 587 kB ndelangen
envinfo 7.8.1 None +0 160 kB tabrindle
@vue/vue3-jest 29.2.3 filesystem +18 5.64 MB lmiller1990
@types/detect-port 1.3.2 None +0 3.81 kB types
html-tags 3.3.0 None +0 5.84 kB sindresorhus
@types/ejs 3.1.2 None +0 17.3 kB types
@types/cross-spawn 6.0.2 None +4 14.6 MB types
get-npm-tarball-url 2.0.3 None +0 4.55 kB zkochan
giget 1.1.2 network, environment +6 952 kB pi0
ws 8.13.0 None +0 137 kB lpinca
formik 2.2.9 None +0 580 kB jaredpalmer
@pmmmwh/react-refresh-webpack-plugin 0.5.10 environment +55 13.1 MB pmmmwh
webpack 5.77.0 None +224 65.9 MB thelarkinn
axe-core 4.6.3 None +0 2.15 MB npmdeque
remark 14.0.2 None +56 1.77 MB wooorm
webpack-hot-middleware 2.25.3 None +1 128 kB evilebottnawi
ember-source 3.28.11 None +96 26 MB ember-release
style-loader 3.3.2 None +58 24.3 MB evilebottnawi
html-webpack-plugin 5.5.0 None +29 12.3 MB jantimon
ts-loader 9.4.2 None +58 24.5 MB johnnyreilly
@types/babel__preset-env 7.9.2 None +0 7.55 kB types
vue-component-meta 1.9.0-alpha.3 None +24 3.99 MB johnsoncodehk
@storybook/mdx2-csf 1.0.0 None +0 26.4 MB shilman
react-inspector 6.0.1 None +0 251 kB ndelangen
mdast-util-mdx-jsx 2.1.2 None +28 908 kB wooorm
rollup 3.20.2 environment +0 2.43 MB lukastaegert
@digitak/esrun 3.2.25...3.2.23 None +0/-0 32.5 kB gin-quin
@types/util-deprecate 1.0.3...1.0.0 None +0/-0 2.69 kB types
@emotion/styled 11.11.0...11.10.6 None +13/-6 1.58 MB emotion-release-bot
@types/ip 1.1.3...1.1.0 None +1/-0 3.66 MB types
@emotion/react 11.11.1...11.10.6 None +12/-5 1.41 MB emotion-release-bot
@types/compression 1.7.5...1.7.2 None +9/-0 3.76 MB types
@types/babel__plugin-transform-runtime 7.9.5...7.9.2 None +0/-0 4.34 kB types
@types/npmlog 4.1.6...4.1.4 None +0/-0 5.25 kB types
@types/tmp 0.2.6...0.2.3 None +0/-0 10.9 kB types
@types/mock-fs 4.13.4...4.13.1 None +1/-0 3.67 MB types
@types/color-convert 2.0.3...2.0.0 None +1/-1 25 kB types
@types/prompts 2.4.9...2.4.4 None +1/-0 3.66 MB types
@types/picomatch 2.3.3...2.3.0 None +0/-0 18.4 kB types
vue-template-compiler 2.7.15...2.7.14 None +0/-0 583 kB yyx990803
@types/webpack-hot-middleware 2.25.9...2.25.6 None +30/-2 12.1 MB types
@popperjs/core 2.11.8...2.11.7 environment +0/-0 1.63 MB fezvrasta
react-textarea-autosize 8.5.3...8.4.1 environment +1/-0 306 kB react-textarea-autosize-release-bot
@preact/preset-vite 2.7.0...2.5.0 None +32/-14 9.66 MB jdecroock
web-component-analyzer 1.1.7...1.1.6 None +1/-0 747 kB runebm
vue 2.7.15...2.7.14 None +4/-4 7.18 MB yyx990803
vue-loader 15.11.1...15.10.1 None +60/-4 46.8 MB soda
@vitejs/plugin-vue 4.5.0...4.1.0 None +2/-0 940 kB vitebot
vue-docgen-api 4.75.1...4.64.1 None +48/-20 42.8 MB vue-styleguidist-bot
preact 10.19.2...10.13.2 None +0/-0 1.21 MB jdecroock

@larsrickert
Copy link
Contributor

Old duplicate of #22285

@larsrickert larsrickert deleted the chaks/vue3-meta-component branch February 23, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:normal maintenance User-facing maintenance tasks vue3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Unable to use TypeScript 4.9 satisfies operator inside vue component
4 participants