New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

pkg-typescript-plugin-mantine

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkg-typescript-plugin-mantine

[![npm version](https://badge.fury.io/js/pkg-typescriptt-plugin-mantine.svg)](https://badge.fury.io/js/pkg-typescript-plugin-mantine) [![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC) [![TypeScript](

latest
npmnpm
Version
0.2.2-0
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Mantine plugin for pkg-typescript

npm version License: ISC TypeScript

A pkg-typescript plugin that automatically adds Mantine UI library dependencies to your TypeScript projects.

Overview

This plugin simplifies the setup of Mantine UI components in your TypeScript projects by automatically managing the core Mantine dependencies. When applied, it adds the essential Mantine packages with version constraints to ensure compatibility.

What it does

The plugin automatically adds the following Mantine dependencies to your project:

  • @mantine/core - Core components and utilities
  • @mantine/dates - Date picker and calendar components
  • @mantine/form - Form management utilities
  • @mantine/hooks - Collection of useful React hooks
  • @mantine/modals - Modal management system
  • @mantine/notifications - Notification system

All dependencies are pinned to version ^8.1.3 to ensure compatibility.

Installation

This plugin is designed to work with the pkg-typescript ecosystem. Install it as a dev dependency:

npx pkg-ts add-plugin mantine

Usage

Configure the plugin in your pkg-typescript configuration:

export default {
  plugins: ['mantine'],
}

The plugin accepts an empty configuration object {} and will automatically configure the Mantine dependencies for your project.

Plugin Implementation

import { PluginFunction } from 'pkg-typescript'
import { PluginConfig, PluginExtra } from './PluginConfig'

const pluginFunction: PluginFunction<PluginConfig, PluginExtra> = ({}) => ({
  dependencies: {
    '@mantine/core': [8, 1, 3],
    '@mantine/dates': [8, 1, 3],
    '@mantine/form': [8, 1, 3],
    '@mantine/hooks': [8, 1, 3],
    '@mantine/modals': [8, 1, 3],
    '@mantine/notifications': [8, 1, 3],
  },
})

export default pluginFunction
export type { PluginConfig }

Development

To build the plugin:

npm run pkg:build

To publish a new version:

npm version patch  # or minor/major

The postversion script will automatically publish, commit, and push the changes.

License

ISC

FAQs

Package last updated on 25 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts