- Added PluginMarketplaceManager to coordinate marketplace reads and manage installed plugins. - Introduced PluginMarketplaceClient for fetching marketplace metadata. - Implemented storage management for installed plugins using MemoryStorage. - Added methods for installing, uninstalling, and enabling/disabling plugins. - Created type definitions for PluginMarketplaceManager options and installed plugin records. - Added support for fetching full marketplace catalog and individual plugin metadata. - Included error handling for fetch operations and validation of plugin data. - Updated index.browser.ts to export new modules and types.
27 lines
607 B
JSON
27 lines
607 B
JSON
{
|
|
"name": "@paarrot/plugin-manager",
|
|
"version": "1.0.0",
|
|
"description": "Framework-agnostic plugin system for Paarrot applications.",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"browser": "./dist/index.browser.js",
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"prepare": "npm run build",
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"clean": "rimraf dist"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.6.0",
|
|
"rimraf": "^5.0.0",
|
|
"typescript": "^5.4.0"
|
|
}
|
|
}
|