Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
@planetscale/vtadmin
Advanced tools
Planetscale's internal version of vtadmin-web, packaged as an npm module. For use with vtadmin-api.
Readme
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:
npm run build:planetscale
to create package directory for @planetscale/vtadmin
npm modulecd planetscale-vtadmin
to navigate into the folder for module @planetscale/vtadmin
web/vtadmin/planetscale-vtadmin/package.json
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.
We found that @planetscale/vtadmin demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).