@bunred/sync-plugins
one-click to sync(install/update) the plugins, you can use git repository to store the plugins' information.
Last updated 18 days ago by bunred .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @bunred/sync-plugins 
SYNC missed versions from official npm registry.

Build Status codecov

How to use

One-click to sync(install/update) the plugins, you can use git repository to store the plugins' information.

yarn add @bunred/sync-plugins -D

create a new file plugins-update.js

const path = require("path")

const savePath = path.resolve(__dirname, "plugins-info.json")
const pluginsPath = path.resolve(__dirname, "./plugins")

const pluginsPrefixUrl =
  "https://raw.githubusercontent.com/bunred/bunadmin-plugins/master/navigation"
const pluginsInfoArr = require("./plugins-info.json") || []

const { syncPlugins } = require("@bunred/sync-plugins")

syncPlugins({ savePath, pluginsPath, pluginsPrefixUrl, pluginsInfoArr })
node plugins-update.js

See more on bunadmin | bunadmin-plugins

Current Tags

  • 1.0.4                                ...           latest (18 days ago)

4 Versions

  • 1.0.4                                ...           18 days ago
  • 1.0.3                                ...           19 days ago
  • 1.0.2                                ...           19 days ago
  • 1.0.1                                ...           19 days ago
Maintainers (1)
Downloads
Today 0
This Week 4
This Month 4
Last Day 0
Last Week 0
Last Month 42
Dependencies (5)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |