Security News
Highlights from the 2024 Rails Community Survey
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
@planetscale/vtadmin
Advanced tools
Planetscale's internal version of vtadmin-web, packaged as an npm module. For use with vtadmin-api.
VTAdmin Web is a user interface that allows Vitess users to easily manage and view state of their Vitess components. VTAdmin Web should be used with VTAdmin API (shipped within the Vitess monorepo).
You can directly import the .js files and .css files necessary to use in a Rails-Webpacker asset pipeline, like so:
import "@planetscale/vtadmin"
Then in your .erb file, import the styles and js as a pack:
<%= javascript_pack_tag "vtadmin", "data-turbolinks-track": "reload" %>
<%= stylesheet_pack_tag "vtadmin", media: "all", "data-turbolinks-track": "reload" %>
File structure
- vtadmin
- planetscale-vtadmin-template
- index.ts // Index file that is copied into package directory as the entrypoint of npm package
- README.md // README for @planetscale/vtadmin npm package
- package.json // Base package.json for @planetscale/vtadmin npm package
- scripts
- verify-pscale-build.ts // Script to copy vtadmin's package.json and build folder into package folder
- build-pscale-vtadmin.ts // Webpacker stuff
- planetscale-vtadmin // Directory containing npm module @planetscale/vtadmin
web/vtadmin/package.json
includes a build script run by npm run build:planetscale-vtadmin
that:
web/vtadmin/planetscale-vtadmin-template
to a new directory web/vtadmin/planetscale-vtadmin
To release new versions of the vtadmin npm package:
web/vtadmin/package.json
npm run build:planetscale
to create package directory for @planetscale/vtadmin
npm modulecd planetscale-vtadmin
to navigate into the folder for module @planetscale/vtadmin
npm publish --access public
to publish new version to npmFAQs
Planetscale's internal version of vtadmin-web, packaged as an npm module. For use with vtadmin-api.
The npm package @planetscale/vtadmin receives a total of 141 weekly downloads. As such, @planetscale/vtadmin popularity was classified as not popular.
We found that @planetscale/vtadmin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.