https://github.com/webosbrew/webos-packager-plugin
Create IPK file from emitted files. Targeted to webOS devices.
https://github.com/webosbrew/webos-packager-plugin
Last synced: about 1 year ago
JSON representation
Create IPK file from emitted files. Targeted to webOS devices.
- Host: GitHub
- URL: https://github.com/webosbrew/webos-packager-plugin
- Owner: webosbrew
- License: mit
- Created: 2023-04-10T00:00:05.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-25T17:17:37.000Z (over 2 years ago)
- Last Synced: 2025-04-20T00:49:55.671Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 104 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# @webosbrew/webos-packager-plugin
Pack applications to IPK on the fly.
### Example
##### HOC
```typescript
import { hoc } from '@webosbrew/webos-packager-plugin';
export default hoc({
id: 'org.acme.product',
version: '1.0.0',
options: {
// if you want to publish app in homebrew channel repo
emitManifest: true,
manifest: {
title: 'ACME Goods',
description: '',
iconUrl: '',
sourceUrl: '',
},
},
app: {
id: 'org.acme.product',
// ... webpack configuation
},
services: [
{
id: 'org.acme.product.service',
// ... webpack configuation
},
// ... extra services
],
});
```
##### Plugin
```typescript
import { WebOSPackagerPlugin } from '@webosbrew/webos-packager-plugin';
export default {
// ... webpack configuation
plugins: [
new WebOSPackagerPlugin({
id: 'com.example.app',
version: '1.0.0',
}),
],
};
```