New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@svrx/create-plugin

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svrx/create-plugin - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [0.0.11](https://github.com/svrxjs/svrx-create-plugin/compare/v0.0.10...v0.0.11) (2019-10-09)
### [0.0.10](https://github.com/svrxjs/svrx-create-plugin/compare/v0.0.9...v0.0.10) (2019-09-27)

@@ -7,0 +9,0 @@

2

package.json
{
"name": "@svrx/create-plugin",
"version": "0.0.10",
"version": "0.0.11",
"description": "Initialize a svrx plugin by running one command.",

@@ -5,0 +5,0 @@ "bin": "./bin/index.js",

@@ -17,10 +17,6 @@ # @svrx/create-plugin

npm init @svrx/plugin
# Publish npm package with scope
# npm init @svrx/plugin --scope=<scope-name>
```
Publish as scoped npm package:
```bash
npm init @svrx/plugin --scope=<scope-name>
```
- yarn

@@ -30,10 +26,6 @@

yarn create @svrx/plugin
# Publish npm package with scope
# yarn create @svrx/plugin --scope=<scope-name>
```
Publish as scoped npm package:
```bash
yarn create @svrx/plugin --scope=<scope-name>
```
#### Test with plugin

@@ -40,0 +32,0 @@

/* globals svrx */
// Ref: https://docs.svrx.io/en/contribute/plugin.html#client
// Ref: https://docs.svrx.io/en/plugin/contribution.html#client
const { io, events, config } = svrx;
// TODO
module.exports = {
// Ref: https://docs.svrx.io/en/contribute/plugin.html#schema
// Ref: https://docs.svrx.io/en/plugin/contribution.html#schema
configSchema: {},<% if (pluginType !== 'server') { %>

@@ -13,3 +13,3 @@

hooks: {
// Ref: https://docs.svrx.io/en/contribute/plugin.html#server
// Ref: https://docs.svrx.io/en/plugin/contribution.html#server
async onCreate({ middleware, injector, events, router, config, logger, io }) {

@@ -16,0 +16,0 @@ // TODO

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc