@unocss/preset-uno
Advanced tools
Comparing version 0.5.1 to 0.6.0
@@ -5,12 +5,4 @@ import { Preset } from '@unocss/core'; | ||
interface PresetUnoOptions { | ||
/** | ||
* Enable development only rules | ||
* | ||
* @default false | ||
*/ | ||
dev?: boolean; | ||
} | ||
declare const preset: (options?: PresetUnoOptions) => Preset; | ||
declare const preset: () => Preset; | ||
export { PresetUnoOptions, preset as default, preset }; | ||
export { preset as default, preset }; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkKHFQBJ3Gjs = require('./chunk-KHFQBJ3G.js'); | ||
var _chunk4MK5R7VSjs = require('./chunk-4MK5R7VS.js'); | ||
var _chunk262SCYXBjs = require('./chunk-262SCYXB.js'); | ||
@@ -15,8 +14,5 @@ | ||
// src/index.ts | ||
var preset = (options = {}) => ({ | ||
var preset = () => ({ | ||
theme: _chunk262SCYXBjs.theme, | ||
rules: [ | ||
..._chunk4MK5R7VSjs.rules, | ||
...options.dev ? _chunk4MK5R7VSjs.devRules : [] | ||
], | ||
rules: _chunkKHFQBJ3Gjs.rules, | ||
variants: _chunkY3JRCRGSjs.variants | ||
@@ -23,0 +19,0 @@ }); |
@@ -1,2 +0,1 @@ | ||
import * as unocss from 'unocss'; | ||
import { Rule } from 'unocss'; | ||
@@ -6,4 +5,2 @@ | ||
declare const devRules: unocss.Rule<{}>[]; | ||
export { devRules, rules }; | ||
export { rules }; |
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunk4MK5R7VSjs = require('./chunk-4MK5R7VS.js'); | ||
var _chunkKHFQBJ3Gjs = require('./chunk-KHFQBJ3G.js'); | ||
require('./chunk-OFR2H3GI.js'); | ||
exports.devRules = _chunk4MK5R7VSjs.devRules; exports.rules = _chunk4MK5R7VSjs.rules; | ||
exports.rules = _chunkKHFQBJ3Gjs.rules; |
{ | ||
"name": "@unocss/preset-uno", | ||
"version": "0.5.1", | ||
"description": "", | ||
"keywords": [], | ||
"homepage": "https://github.com/antfu/unocss#readme", | ||
"version": "0.6.0", | ||
"description": "The default preset for UnoCSS", | ||
"keywords": [ | ||
"unocss", | ||
"unocss-preset" | ||
], | ||
"homepage": "https://github.com/antfu/unocss/tree/main/packages/preset-uno#readme", | ||
"bugs": { | ||
@@ -12,3 +15,4 @@ "url": "https://github.com/antfu/unocss/issues" | ||
"type": "git", | ||
"url": "git+https://github.com/antfu/unocss.git" | ||
"url": "git+https://github.com/antfu/unocss.git", | ||
"directory": "packages/preset-uno" | ||
}, | ||
@@ -45,3 +49,3 @@ "funding": "https://github.com/sponsors/antfu", | ||
"dependencies": { | ||
"@unocss/core": "0.5.1" | ||
"@unocss/core": "0.6.0" | ||
}, | ||
@@ -48,0 +52,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
131222
4388
1
+ Added@unocss/core@0.6.0(transitive)
- Removed@unocss/core@0.5.1(transitive)
Updated@unocss/core@0.6.0