diggo-pkg
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

diggo-pkg

diggo-pkg is a tool for bundling and publishing Flipper plugins.

Usage

$ npm install -g diggo-pkg
$ diggo-pkg COMMAND
running command...
$ diggo-pkg (-v|--version|version)
diggo-pkg/0.4.1 darwin-x64 node-v14.4.0
$ diggo-pkg --help [COMMAND]
USAGE
  $ diggo-pkg COMMAND
...

Commands

diggo-pkg bundle [DIRECTORY]

transpiles and bundles plugin

USAGE
  $ diggo-pkg bundle [DIRECTORY]

ARGUMENTS
  DIRECTORY  [default: .] Path to plugin package directory for bundling. Defaults to the current working directory.

OPTIONS
  --production  Force env.NODE_ENV=production, enable minification and disable producing source maps.
  --watch       Watch for plugin source code and bundle it after every change.

EXAMPLE
  $ diggo-pkg bundle path/to/plugin

diggo-pkg checksum [DIRECTORY]

computes the total checksum of all the package files

USAGE
  $ diggo-pkg checksum [DIRECTORY]

ARGUMENTS
  DIRECTORY  [default: .] Path to plugin package directory. Defaults to the current working directory.

EXAMPLE
  $ diggo-pkg checksum path/to/plugin

diggo-pkg help [COMMAND]

display help for diggo-pkg

USAGE
  $ diggo-pkg help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

diggo-pkg init [DIRECTORY]

initializes a Diggo desktop plugin template in the provided directory

USAGE
  $ diggo-pkg init [DIRECTORY]

ARGUMENTS
  DIRECTORY  [default: .] Path to the directory where the plugin package template should be initialized. Defaults to the
             current working directory.

EXAMPLE
  $ diggo-pkg init path/to/plugin

diggo-pkg lint [DIRECTORY]

validates a plugin package directory

USAGE
  $ diggo-pkg lint [DIRECTORY]

ARGUMENTS
  DIRECTORY  [default: .] Path to plugin package directory for linting. Defaults to the current working directory.

EXAMPLE
  $ diggo-pkg lint path/to/plugin

diggo-pkg migrate [DIRECTORY]

migrates a Diggo desktop plugin to the latest version of specification

USAGE
  $ diggo-pkg migrate [DIRECTORY]

ARGUMENTS
  DIRECTORY  [default: .] Path to the plugin directory. Defaults to the current working directory.

OPTIONS
  --no-dependencies  Do not add or change package dependencies during migration.
  --no-scripts       Do not add or change package scripts during migration.

EXAMPLE
  $ diggo-pkg migrate path/to/plugin

diggo-pkg pack [DIRECTORY]

packs a plugin folder into a distributable archive

USAGE
  $ diggo-pkg pack [DIRECTORY]

ARGUMENTS
  DIRECTORY  [default: .] Path to plugin package directory to pack. Defaults to the current working directory.

OPTIONS
  -o, --output=output  [default: .] Where to output the package, file or directory. Defaults to the current working
                       directory.

  --production         Force env.NODE_ENV=production, enable minification and disable producing source maps.

EXAMPLE
  $ diggo-pkg pack path/to/plugin

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i diggo-pkg

Weekly Downloads

1

Version

0.4.1

License

MIT

Unpacked Size

168 kB

Total Files

50

Last publish

Collaborators

  • shixinzhang