1.1.2 • Published 8 months ago

@warp-ds/preset-migrate v1.1.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

Warp DS Migrate plugin - a UnoCSS preset

This plugin can be useful when migrating from Fabric to Warp Design System. It will detect all deprecated CSS utility classes and print warnings with useful hints in the terminal.

Use in the application

Install the plugin

This UnoCSS preset is available via NPM.

npm install -D @warp-ds/preset-migrate

Add the plugin to your Uno config

import { defineConfig } from 'unocss';
import { presetWarp } from '@warp-ds/uno';
import { presetMigrate } from '@warp-ds/preset-migrate';

export default defineConfig({
  presets: [
    presetMigrate(),
    presetWarp()
  ]
});

Use through command line

You can also check if a CSS utility class is deprecated using the pnpm dev (or node index.js) command in your terminal.

Example

pnpm dev focus-ring

This example prints the following output:

[REPLACED] focus-ring -> focusable ->

Releases

This project uses Semantic Release to automate package publishing when pushing changes to the master branch.

Follow conventional commits when making changes. The version published will depend on your commit message structure. You can use commitizen to help follow this structure:

npm install -g commitizen

When installed, you should be able to type cz or git cz in your terminal to commit your changes (replacing git commit).

Add and commit with Commitizen

1.1.1

9 months ago

1.1.0

9 months ago

1.1.2

8 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago