@rokmohar/medusa-plugin-pushover
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Pushover plugin for Medusa V2

Installation

Run the following command to install the plugin with npm:

npm install --save @rokmohar/medusa-plugin-pushover

Or with yarn:

yarn add @rokmohar/medusa-plugin-pushover

Configuration

Add the plugin to your medusa-config.ts file:

import { loadEnv, defineConfig } from '@medusajs/framework/utils'

loadEnv(process.env.NODE_ENV || 'development', process.cwd())

module.exports = defineConfig({
  // ... other config
  plugins: [
    // ... other plugins
    {
      resolve: '@rokmohar/medusa-plugin-pushover',
      options: {
        config: {
          userKey: process.env.PUSHOVER_USER_KEY ?? '',
          apiToken: process.env.PUSHOVER_TOKEN ?? '',
        },
      },
    },
  ],
})

ENV variables

Add the environment variables to your .env and .env.template file:

# ... others vars
PUSHOVER_USER_KEY=
PUSHOVER_API_TOKEN=

Package Sidebar

Install

npm i @rokmohar/medusa-plugin-pushover

Version

0.1.2

License

MIT

Unpacked Size

13.8 kB

Total Files

20

Last publish

Collaborators

  • rokmohar