@unocss/preset-uno 0.27.5 → 0.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +15 -14
package/README.md CHANGED
@@ -15,8 +15,8 @@ import presetUno from '@unocss/preset-uno'
15
15
 
16
16
  Unocss({
17
17
  presets: [
18
- presetUno()
19
- ]
18
+ presetUno(),
19
+ ],
20
20
  })
21
21
  ```
22
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-uno",
3
- "version": "0.27.5",
3
+ "version": "0.28.1",
4
4
  "description": "The default preset for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -11,18 +11,16 @@
11
11
  "url": "https://github.com/unocss/unocss/issues"
12
12
  },
13
13
  "license": "MIT",
14
+ "author": "Anthony Fu <anthonyfu117@hotmail.com>",
14
15
  "repository": {
15
16
  "type": "git",
16
17
  "url": "git+https://github.com/unocss/unocss.git",
17
18
  "directory": "packages/preset-uno"
18
19
  },
19
20
  "funding": "https://github.com/sponsors/antfu",
20
- "author": "Anthony Fu <anthonyfu117@hotmail.com>",
21
- "sideEffects": false,
22
- "files": [
23
- "dist",
24
- "*.css"
25
- ],
21
+ "main": "dist/index.cjs",
22
+ "module": "dist/index.mjs",
23
+ "types": "dist/index.d.ts",
26
24
  "exports": {
27
25
  ".": {
28
26
  "require": "./dist/index.cjs",
@@ -46,16 +44,19 @@
46
44
  },
47
45
  "./*": "./*"
48
46
  },
49
- "main": "dist/index.cjs",
50
- "module": "dist/index.mjs",
51
- "types": "dist/index.d.ts",
47
+ "files": [
48
+ "dist",
49
+ "*.css"
50
+ ],
51
+ "sideEffects": false,
52
52
  "dependencies": {
53
- "@unocss/core": "0.27.5",
54
- "@unocss/preset-mini": "0.27.5",
55
- "@unocss/preset-wind": "0.27.5"
53
+ "@unocss/core": "0.28.1",
54
+ "@unocss/preset-mini": "0.28.1",
55
+ "@unocss/preset-wind": "0.28.1"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "unbuild",
59
59
  "stub": "unbuild --stub"
60
- }
60
+ },
61
+ "readme": "# @unocss/preset-uno\n\nThe default preset for [UnoCSS](https://github.com/unocss/unocss).\n\n> Please note that this preset is more like a playground at the current stage to experiment with the possibility of UnoCSS and also as a reference for making a custom preset. It does NOT follow semver and subjects to changes without further notice. We don't recommend using it on serious works. Use custom rules instead to ensure a stable outcome.\n\n## Installation\n\n```bash\nnpm i -D @unocss/preset-uno\n```\n\n```ts\nimport presetUno from '@unocss/preset-uno'\n\nUnocss({\n presets: [\n presetUno(),\n ],\n})\n```\n\n## Usages\n\nThis preset is trying to provide a common superset of the popular utilities-first framework, including Tailwind CSS, Windi CSS, Bootstrap, Tachyons, etc.\n\nFor example, both `ml-3` (Tailwind), `ms-2` (Bootstrap), `ma4` (Tachyons), `mt-10px` (Windi CSS) are valid.\n\n```css\n.ma4 { margin: 1rem; }\n.ml-3 { margin-left: 0.75rem; }\n.ms-2 { margin-inline-start: 0.5rem; }\n.mt-10px { margin-top: 10px; }\n```\n\nFor more details about the default preset, you can check out our [playground](https://unocss.antfu.me/) and try out. Meanwhile, you can also check out [the implementations](https://github.com/unocss/unocss/tree/main/packages).\n\n## License\n\nMIT License © 2021-PRESENT [Anthony Fu](https://github.com/antfu)\n"
61
62
  }