Skip to content

Commit 3794958

Browse files
collect plugins data
1 parent 65c2d36 commit 3794958

192 files changed

Lines changed: 2868 additions & 2765 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

npm-data/links.json

Lines changed: 199 additions & 199 deletions
Large diffs are not rendered by default.

npm-data/maintained-plugins.json

Lines changed: 434 additions & 434 deletions
Large diffs are not rendered by default.

npm-data/maybe-plugins.json

Lines changed: 1295 additions & 1247 deletions
Large diffs are not rendered by default.

npm-data/plugins.json

Lines changed: 644 additions & 684 deletions
Large diffs are not rendered by default.

npm-data/plugins/@52qianduan/postcss-px-to-viewport.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,5 @@
124124
"license": "MIT",
125125
"readme": "# postcss-px-to-viewport\n[![NPM version](https://badge.fury.io/js/postcss-px-to-viewport.svg)](http://badge.fury.io/js/postcss-px-to-viewport)\n\nEnglish | [中文](README_CN.md) \n\nA plugin for [PostCSS](https://github.com/postcss/postcss) that generates viewport units (vw, vh, vmin, vmax) from pixel units.\n\n## Demo\n\nIf your project involves a fixed width, this script will help to convert pixels into viewport units.\n\n### Input\n\n```css\n.class {\n margin: -10px .5vh;\n padding: 5vmin 9.5px 1px;\n border: 3px solid black;\n border-bottom-width: 1px;\n font-size: 14px;\n line-height: 20px;\n}\n\n.class2 {\n padding-top: 10px; /* px-to-viewport-ignore */\n /* px-to-viewport-ignore-next */\n padding-bottom: 10px;\n /* Any other comment */\n border: 1px solid black;\n margin-bottom: 1px;\n font-size: 20px;\n line-height: 30px;\n}\n\n@media (min-width: 750px) {\n .class3 {\n font-size: 16px;\n line-height: 22px;\n }\n}\n```\n\n### Output\n```css\n.class {\n margin: -3.125vw .5vh;\n padding: 5vmin 2.96875vw 1px;\n border: 0.9375vw solid black;\n border-bottom-width: 1px;\n font-size: 4.375vw;\n line-height: 6.25vw;\n}\n\n.class2 {\n padding-top: 10px;\n padding-bottom: 10px;\n /* Any other comment */\n border: 1px solid black;\n margin-bottom: 1px;\n font-size: 6.25vw;\n line-height: 9.375vw;\n}\n\n@media (min-width: 750px) {\n .class3 {\n font-size: 16px;\n line-height: 22px;\n }\n}\n```\n\n## Getting Started\n\n### Installation\nAdd via npm\n```\n$ npm install postcss-px-to-viewport --save-dev\n```\nor yarn\n```\n$ yarn add -D postcss-px-to-viewport\n```\n\n### Usage\n\nDefault Options:\n```js\n{\n unitToConvert: 'px',\n viewportWidth: 320,\n unitPrecision: 5,\n propList: ['*'],\n viewportUnit: 'vw',\n fontViewportUnit: 'vw',\n selectorBlackList: [],\n minPixelValue: 1,\n mediaQuery: false,\n replace: true,\n exclude: undefined,\n include: undefined,\n landscape: false,\n landscapeUnit: 'vw',\n landscapeWidth: 568\n}\n```\n- `unitToConvert` (String) unit to convert, by default, it is px.\n- `viewportWidth` (Number) The width of the viewport.\n- `unitPrecision` (Number) The decimal numbers to allow the vw units to grow to.\n- `propList` (Array) The properties that can change from px to vw.\n - Values need to be exact matches.\n - Use wildcard * to enable all properties. Example: ['*']\n - Use * at the start or end of a word. (['*position*'] will match background-position-y)\n - Use ! to not match a property. Example: ['*', '!letter-spacing']\n - Combine the \"not\" prefix with the other prefixes. Example: ['*', '!font*']\n- `viewportUnit` (String) Expected units.\n- `fontViewportUnit` (String) Expected units for font.\n- `selectorBlackList` (Array) The selectors to ignore and leave as px.\n - If value is string, it checks to see if selector contains the string.\n - `['body']` will match `.body-class`\n - If value is regexp, it checks to see if the selector matches the regexp.\n - `[/^body$/]` will match `body` but not `.body`\n- `minPixelValue` (Number) Set the minimum pixel value to replace.\n- `mediaQuery` (Boolean) Allow px to be converted in media queries.\n- `replace` (Boolean) replaces rules containing vw instead of adding fallbacks.\n- `exclude` (Regexp or Array of Regexp) Ignore some files like 'node_modules'\n - If value is regexp, will ignore the matches files.\n - If value is array, the elements of the array are regexp.\n- `include` (Regexp or Array of Regexp) If `include` is set, only matching files will be converted,\n for example, only files under `src/mobile/` (`include: /\\/src\\/mobile\\//`)\n - If the value is regexp, the matching file will be included, otherwise it will be excluded.\n - If value is array, the elements of the array are regexp.\n- `landscape` (Boolean) Adds `@media (orientation: landscape)` with values converted via `landscapeWidth`.\n- `landscapeUnit` (String) Expected unit for `landscape` option\n- `landscapeWidth` (Number) Viewport width for landscape orientation.\n\n> `exclude` and `include` can be set together, and the intersection of the two rules will be taken.\n\n#### Ignoring\n\nYou can use special comments for ignore conversion of single lines:\n- `/* px-to-viewport-ignore-next */` — on a separate line, prevents conversion on the next line.\n- `/* px-to-viewport-ignore */` — after the property on the right, prevents conversion on the same line.\n\nExample:\n```css\n/* example input: */\n.class {\n /* px-to-viewport-ignore-next */\n width: 10px;\n padding: 10px;\n height: 10px; /* px-to-viewport-ignore */\n border: solid 2px #000; /* px-to-viewport-ignore */\n}\n\n/* example output: */\n.class {\n width: 10px;\n padding: 3.125vw;\n height: 10px;\n border: solid 2px #000;\n}\n```\n\nThere are several more reasons why your pixels may not convert, the following options may affect this:\n`propList`, `selectorBlackList`, `minPixelValue`, `mediaQuery`, `exclude`, `include`.\n\n#### Use with PostCss configuration file\n\nadd to your `postcss.config.js`\n```js\nmodule.exports = {\n plugins: {\n // ...\n 'postcss-px-to-viewport': {\n // options\n }\n }\n}\n```\n\n#### Use with gulp-postcss\n\nadd to your `gulpfile.js`:\n```js\nvar gulp = require('gulp');\nvar postcss = require('gulp-postcss');\nvar pxtoviewport = require('postcss-px-to-viewport');\n\ngulp.task('css', function () {\n\n var processors = [\n pxtoviewport({\n viewportWidth: 320,\n viewportUnit: 'vmin'\n })\n ];\n\n return gulp.src(['build/css/**/*.css'])\n .pipe(postcss(processors))\n .pipe(gulp.dest('build/css'));\n});\n```\n\n## Contributing\n\nPlease read [Code of Conduct](CODE-OF-CONDUCT.md)\nand [Contributing Guidelines](CONTRIBUTING.md) for submitting pull requests to us.\n\n## Running the tests\n\nIn order to run tests, you need to install dev-packages:\n```\n$ npm install\n```\nThen run the tests via npm script:\n```\n$ npm run test\n```\n\n## Changelog\n\nThe changelog is [here](CHANGELOG.md).\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/evrone/postcss-px-to-viewport/tags). \n\n## Authors\n\n* [Dmitry Karpunin](https://github.com/KODerFunk) - *Initial work*\n* [Ivan Bunin](https://github.com/chernobelenkiy)\n\nSee also the list of [contributors](https://github.com/evrone/postcss-px-to-viewport/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Sponsors\n\nVisit [Evrone](https://evrone.com/) website to get more information about the [projects](https://evrone.com/cases) build.\n\n<a href=\"https://evrone.com/?utm_source=postcss-px-to-viewport\">\n <img src=\"https://user-images.githubusercontent.com/417688/34437029-dbfe4ee6-ecab-11e7-9d80-2b274b4149b3.png\"\n alt=\"Sponsored by Evrone\" width=\"231\" />\n</a>\n\n## Acknowledgments\n\n* Hat tip to https://github.com/cuth/postcss-pxtorem/ for inspiring us for this project.\n",
126126
"readmeFilename": "README.md",
127-
"_downloads": 13
127+
"_downloads": 3
128128
}

npm-data/plugins/@brifui/postcss.json

Lines changed: 109 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"_id": "@brifui/postcss",
3-
"_rev": "5-a65cc383b6a418b9660418e6c5e3b7be",
3+
"_rev": "7-1bd299bed2f3debc254a0982bd46d36b",
44
"name": "@brifui/postcss",
55
"dist-tags": {
6-
"latest": "0.0.6"
6+
"latest": "0.0.7"
77
},
88
"versions": {
99
"0.0.1": {
@@ -489,6 +489,100 @@
489489
"0.0.6": {
490490
"name": "@brifui/postcss",
491491
"version": "0.0.6",
492+
"keywords": [
493+
"postcss-plugin",
494+
"PostCSS",
495+
"theming",
496+
"ui"
497+
],
498+
"author": {
499+
"name": "Thinh Trinh Duc",
500+
"email": "[email protected]"
501+
},
502+
"license": "MIT",
503+
"_id": "@brifui/[email protected]",
504+
"maintainers": [
505+
{
506+
"name": "thinhductrinh",
507+
"email": "[email protected]"
508+
}
509+
],
510+
"dist": {
511+
"shasum": "43b6f914f1edcc05a2e218e85aa98377b81db248",
512+
"tarball": "https://registry.npmjs.org/@brifui/postcss/-/postcss-0.0.6.tgz",
513+
"fileCount": 6,
514+
"integrity": "sha512-FRxW/lB+cgNtTCBrRNE4X0uQm4nYGItE2RMe0DwuS73q+ouut2h/EMeRnAuaLxCb0s4xZ6GPCwUvcCnbJl3Lwg==",
515+
"signatures": [
516+
{
517+
"sig": "MEQCIHhsCvRn0egv++YGrh4Dlm3WRdVpSN5t2KlotszaxhjoAiBjVxbeOAfj1t+xqd/AWuhzbfVqwGy4pDBwzkEu4/BIeg==",
518+
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
519+
}
520+
],
521+
"unpackedSize": 4472
522+
},
523+
"main": "dist/index.cjs",
524+
"tsup": {
525+
"clean": true,
526+
"shims": true,
527+
"format": [
528+
"cjs",
529+
"esm"
530+
],
531+
"target": "es2019"
532+
},
533+
"type": "module",
534+
"types": "dist/index.d.ts",
535+
"module": "dist/index.js",
536+
"exports": {
537+
".": {
538+
"types": "./dist/index.d.ts",
539+
"import": "./dist/index.js",
540+
"require": "./dist/index.cjs"
541+
},
542+
"./package.json": "./package.json"
543+
},
544+
"gitHead": "46165677cc749709941d924fb0bf686951a80d94",
545+
"scripts": {
546+
"dev": "tsup src --watch",
547+
"lint": "eslint .",
548+
"build": "tsup src --dts",
549+
"typecheck": "tsc --noEmit"
550+
},
551+
"_npmUser": {
552+
"name": "thinhductrinh",
553+
"email": "[email protected]"
554+
},
555+
"_npmVersion": "10.8.2",
556+
"description": "PostCSS library for Brif UI.",
557+
"directories": {},
558+
"sideEffects": false,
559+
"_nodeVersion": "20.18.3",
560+
"dependencies": {
561+
"postcss": "^8.4.49",
562+
"@pandacss/postcss": "^0.52.0"
563+
},
564+
"publishConfig": {
565+
"access": "public"
566+
},
567+
"_hasShrinkwrap": false,
568+
"devDependencies": {
569+
"eslint": "^9.15.0",
570+
"typescript": "5.5.4",
571+
"@brifui/eslint-config": "^0.0.3",
572+
"@brifui/typescript-config": "^0.0.3"
573+
},
574+
"peerDependencies": {
575+
"postcss": "^8.4.49",
576+
"@pandacss/postcss": "^0.52.0"
577+
},
578+
"_npmOperationalInternal": {
579+
"tmp": "tmp/postcss_0.0.6_1740836183466_0.3702509552152229",
580+
"host": "s3://npm-registry-packages-npm-production"
581+
}
582+
},
583+
"0.0.7": {
584+
"name": "@brifui/postcss",
585+
"version": "0.0.7",
492586
"description": "PostCSS library for Brif UI.",
493587
"sideEffects": false,
494588
"type": "module",
@@ -524,7 +618,7 @@
524618
"email": "[email protected]"
525619
},
526620
"peerDependencies": {
527-
"@pandacss/postcss": "^0.52.0",
621+
"@pandacss/postcss": "^0.53.1",
528622
"postcss": "^8.4.49"
529623
},
530624
"devDependencies": {
@@ -534,7 +628,7 @@
534628
"typescript": "5.5.4"
535629
},
536630
"dependencies": {
537-
"@pandacss/postcss": "^0.52.0",
631+
"@pandacss/postcss": "^0.53.1",
538632
"postcss": "^8.4.49"
539633
},
540634
"tsup": {
@@ -546,20 +640,20 @@
546640
],
547641
"shims": true
548642
},
549-
"_id": "@brifui/[email protected].6",
550-
"gitHead": "46165677cc749709941d924fb0bf686951a80d94",
643+
"_id": "@brifui/[email protected].7",
644+
"gitHead": "a26672557d0a9d7920a8cf9751426129dd24fc7c",
551645
"_nodeVersion": "20.18.3",
552646
"_npmVersion": "10.8.2",
553647
"dist": {
554-
"integrity": "sha512-FRxW/lB+cgNtTCBrRNE4X0uQm4nYGItE2RMe0DwuS73q+ouut2h/EMeRnAuaLxCb0s4xZ6GPCwUvcCnbJl3Lwg==",
555-
"shasum": "43b6f914f1edcc05a2e218e85aa98377b81db248",
556-
"tarball": "https://registry.npmjs.org/@brifui/postcss/-/postcss-0.0.6.tgz",
648+
"integrity": "sha512-WvluYB6K6JEFt95DFG+fan2qKF88zksoXIn4OK+4ta2ovQI8uVd30ClWPmZsgNoA8VHixA4+4Q6XMVGUdIJ6oQ==",
649+
"shasum": "5309168df3e368c3a94b2b250168c75349f5f738",
650+
"tarball": "https://registry.npmjs.org/@brifui/postcss/-/postcss-0.0.7.tgz",
557651
"fileCount": 6,
558652
"unpackedSize": 4472,
559653
"signatures": [
560654
{
561655
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
562-
"sig": "MEQCIHhsCvRn0egv++YGrh4Dlm3WRdVpSN5t2KlotszaxhjoAiBjVxbeOAfj1t+xqd/AWuhzbfVqwGy4pDBwzkEu4/BIeg=="
656+
"sig": "MEUCIGNOz1gIegSDyADrK/WeyXspNxNC1uY5H7XxJGYiJRqIAiEAswCm1QisSlACqvVvsstZVe1ToNkFgMn7Mu4f7AQepqA="
563657
}
564658
]
565659
},
@@ -576,20 +670,21 @@
576670
],
577671
"_npmOperationalInternal": {
578672
"host": "s3://npm-registry-packages-npm-production",
579-
"tmp": "tmp/postcss_0.0.6_1740836183466_0.3702509552152229"
673+
"tmp": "tmp/postcss_0.0.7_1741447658643_0.3533545961324913"
580674
},
581675
"_hasShrinkwrap": false
582676
}
583677
},
584678
"time": {
585679
"created": "2025-02-16T05:02:13.145Z",
586-
"modified": "2025-03-01T13:36:24.172Z",
680+
"modified": "2025-03-08T15:27:39.005Z",
587681
"0.0.1": "2025-02-16T05:02:13.409Z",
588682
"0.0.2": "2025-03-01T10:19:21.842Z",
589683
"0.0.3": "2025-03-01T10:31:07.411Z",
590684
"0.0.4": "2025-03-01T10:42:25.490Z",
591685
"0.0.5": "2025-03-01T12:17:42.052Z",
592-
"0.0.6": "2025-03-01T13:36:23.691Z"
686+
"0.0.6": "2025-03-01T13:36:23.691Z",
687+
"0.0.7": "2025-03-08T15:27:38.799Z"
593688
},
594689
"author": {
595690
"name": "Thinh Trinh Duc",
@@ -611,5 +706,5 @@
611706
],
612707
"readme": "ERROR: No README data found!",
613708
"readmeFilename": "",
614-
"_downloads": 59
709+
"_downloads": 1236
615710
}

npm-data/plugins/@csstools/postcss-bundler.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3608,5 +3608,5 @@
36083608
],
36093609
"readme": "# PostCSS Bundler [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][PostCSS]\n\n`npm install @csstools/postcss-bundler --save-dev`\n\n[PostCSS Bundler] bundles your CSS.\n\nThis plugin pack contains :\n- a bundler based on standard CSS `@import` statements.\n- [a rebaser that rewrites URLs in your CSS.](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-rebase-url)\n\n`examples/example.css` :\n```css\n@import url(\"imports/basic.css\");\n@import url(\"node_modules:open-props/red\");\n```\n\n`examples/imports/basic.css`:\n```css\n.foo {\n\tbackground: url('../../images/green.png');\n}\n```\n\nwhen bundled :\n```css\n/* imports/basic.css */\n.foo {\n\tbackground: url(\"../images/green.png\");\n}\n/* node_modules:open-props/red */\n:where(html){--red-0:#fff5f5;--red-1:#ffe3e3;--red-2:#ffc9c9;--red-3:#ffa8a8;--red-4:#ff8787;--red-5:#ff6b6b;--red-6:#fa5252;--red-7:#f03e3e;--red-8:#e03131;--red-9:#c92a2a;--red-10:#b02525;--red-11:#962020;--red-12:#7d1a1a}\n```\n\n## Usage\n\nAdd [PostCSS Bundler] to your project:\n\n```bash\nnpm install postcss @csstools/postcss-bundler --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssBundler = require('@csstools/postcss-bundler');\n\npostcss([\n\tpostcssBundler(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n\n\n## `postcss-import`\n\n[`postcss-import`](https://github.com/postcss/postcss-import) is also a CSS bundler and parts of [PostCSS Bundler] are based on it. \nWhile creating this plugin we also submitted patches to [`postcss-import`](https://github.com/postcss/postcss-import) where possible. \n\n[PostCSS Bundler] is tuned differently and lacks configuration options that are present in [`postcss-import`](https://github.com/postcss/postcss-import).\n\n[PostCSS Bundler] is intended to just work and to be a drop-in replacement for native CSS `@import` statements.\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/postcss-bundler\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Bundler]: https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-bundler\n",
36103610
"readmeFilename": "README.md",
3611-
"_downloads": 4197
3611+
"_downloads": 4217
36123612
}

0 commit comments

Comments
 (0)