This package has been deprecated

Author message:

features moved to `@just-web/commands` and `@just-web/keyboard`

@just-web/contributions
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@just-web/contributions

@just-web/contributions manages contribution metadata within a @just-web application.

The contribution concept borrows from the VS Code extension system.

It includes declarative information such as:

  • vertical capabilities of the application (e.g. keyBindings)
  • cross-component capabilities

Other modules will provide the implementation of these capabilities.

For example,

This separates the declaration and implementation into different packages.

It has the benefits of:

  • Realize on-demand loading and memory management
  • Supporting various platforms and detail implementation without modifying the logic.

Install

# npm
npm install @just-web/browser-contributions

# yarn
yarn add @just-web/browser-contributions

# pnpm
pnpm install @just-web/browser-contributions

#rush
rush add -p @just-web/browser-contributions

Usage

import { createApp } from '@just-web/app'
import contributionsPlugin from '@just-web/contributions'

const app = createApp({ name: 'your-awesome-app' })
  .extend(contributionsPlugin())

await app.start()

Readme

Keywords

none

Package Sidebar

Install

npm i @just-web/contributions

Weekly Downloads

1

Version

1.1.1

License

none

Unpacked Size

22.3 kB

Total Files

14

Last publish

Collaborators

  • unional