1.0.1 • Published 6 months ago

@board-game-toolbox/plugin-template v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

Board Game Toolbox Plugin Template

Plugin template for board-game-toolbox.

Altered from vite's react-ts template.

Quick Start

Upload Plugin

pnpm build
pnpm icon
npm publish --access public

After publishing, you can load https://registry.npmjs.org/${your-project-name} to see the metadata.

Main Changes

Add required files

Add icon.png.

Use relative path in index.html

board-game-toolbox use react-native-webview to load plugins, according to its file lookup logic, links in index.html should be relative path like ./xxx instead of /xxx.

Add scripts

Some useful scripts are located in scripts folder.

For example, icon-to-base64.js resize your icon.png to 64x64 and generate base64 string to package.json, then metadata will contain enough info to show the icon.

1.0.1

6 months ago

1.0.0

6 months ago

0.1.12

7 months ago

0.1.11

7 months ago

0.1.10

8 months ago

0.1.9

8 months ago

0.1.8

8 months ago

0.1.7

8 months ago

0.1.6

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago