0.6.2 โ€ข Published 12 months ago

@fm2/sdk v0.6.2

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

๐Ÿงต Filing-Manager SDK

SDK to develop plugins for Filing-Manager

It makes use of Webpack, ts-loader and babel under the hood.

โœ Usage

Installation:

pnpm add -D @fm2/sdk

Develop plugin for development:

fm2sdk --project ./ --target plugin --mode dev

Build plugin for production:

fm2sdk --project ./ --target plugin --mode release

๐Ÿ“œ Usage

Manifest file (package.json) should have the property mainSrc which indicates where the entry file (aka main file) is located.

Example:

{
	"name": "plugin-example",
	"type":"plugin",
	"version": "1.0.0",
	"mainSrc": "src/main.js",
	"main": "main.js",
	"license": "MIT"
}

CLI parameters:

  • --project: Path of the Plugin's folder where the manifest (package.json) is located
  • --target: Target type: plugin ( aka Dynamic or JavaScript plugin ) iconpack ( Icons pack ) * theme ( UI themes )
  • --mode: Build type (dev, release)
  • --platform: Any webpack target, it defaults to 'node'

Example:

fm2sdk --target plugin --project . --mode release

This will generate a release of the plugin you are located in.

๐Ÿค– Where is this being used?

And Filing-Manager itself.

0.5.8

1 year ago

0.5.7

1 year ago

0.5.9

1 year ago

0.6.2

12 months ago

0.6.1

12 months ago

0.6.0

12 months ago

0.5.6

2 years ago

0.5.5

2 years ago

0.5.4

2 years ago