Skip to content

Commit 83d93c3

Browse files
postcss-sort-media-queries-6.1.0 (#2730)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8ce0611 commit 83d93c3

1 file changed

Lines changed: 41 additions & 71 deletions

File tree

Lines changed: 41 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"name": "postcss-sort-media-queries",
3-
"version": "5.2.0",
43
"description": "PostCSS plugin for sorting and combining CSS media queries with mobile first / **desktop first methodologies",
4+
"version": "6.1.0",
5+
"engines": {
6+
"node": ">=22.0.0"
7+
},
58
"keywords": [
69
"postcss",
710
"postcss-plugin",
@@ -32,83 +35,50 @@
3235
"url": "https://github.com/yunusga/postcss-sort-media-queries/issues"
3336
},
3437
"homepage": "https://github.com/yunusga/postcss-sort-media-queries",
35-
"scripts": {
36-
"test": "jest-ci --coverage && eslint",
37-
"refresh-deps": "rm -rf node_modules && rm package-lock.json && npm i"
38-
},
39-
"engines": {
40-
"node": ">=14.0.0"
38+
"type": "module",
39+
"main": "src/index.js",
40+
"module": "src/index.js",
41+
"exports": {
42+
".": {
43+
"require": "./build/wrapper.cjs",
44+
"import": "./src/index.js",
45+
"default": "./src/index.js"
46+
}
4147
},
42-
"dependencies": {
43-
"sort-css-media-queries": "2.2.0"
48+
"scripts": {
49+
"test": "vitest run",
50+
"test:watch": "vitest --watch",
51+
"coverage": "vitest --coverage",
52+
"build": "npm run build:cjs",
53+
"build:cjs": "esbuild src/index.js --outfile=build/index.cjs --format=cjs --bundle --platform=node --external:postcss"
4454
},
4555
"devDependencies": {
46-
"autoprefixer": "^10.4.0",
47-
"eslint": "^8.3.0",
48-
"eslint-ci": "^1.0.0",
49-
"eslint-plugin-jest": "^25.3.0",
50-
"husky": "^7.0.4",
51-
"jest": "^27.3.1",
52-
"jest-ci": "^0.1.1",
53-
"jest-cli": "^27.3.1",
54-
"lint-staged": "^13.2.1",
55-
"postcss": "^8.4.23",
56-
"postcss-flexbugs-fixes": "^5.0.2",
57-
"postcss-media-minmax": "^5.0.0",
58-
"postcss-nested": "^5.0.6"
56+
"@vitest/coverage-v8": "^4.0.18",
57+
"esbuild": "^0.27.3",
58+
"postcss": "^8.5.6",
59+
"prettier": "3.8.1",
60+
"vitest": "^4.0.18"
5961
},
6062
"peerDependencies": {
61-
"postcss": "^8.4.23"
63+
"postcss": "^8.5.6"
6264
},
63-
"husky": {
64-
"hooks": {
65-
"pre-commit": "lint-staged"
66-
}
67-
},
68-
"lint-staged": {
69-
"*.js": "eslint --fix"
70-
},
71-
"eslintConfig": {
72-
"parserOptions": {
73-
"ecmaVersion": 2017
74-
},
75-
"env": {
76-
"node": true,
77-
"es6": true
78-
},
79-
"extends": [
80-
"eslint:recommended",
81-
"plugin:jest/recommended"
82-
],
83-
"rules": {
84-
"jest/expect-expect": "off"
85-
}
86-
},
87-
"jest": {
88-
"testEnvironment": "node",
89-
"coverageThreshold": {
90-
"global": {
91-
"statements": 100
92-
}
93-
}
94-
},
95-
"sortCssMQ": {
96-
"unitlessMqAlwaysFirst": false
65+
"dependencies": {
66+
"sort-css-media-queries": "^3.0.1"
9767
},
98-
"gitHead": "a1867e632018c716921580a360e6b90354b2fcc3",
99-
"_id": "postcss-sort-media-queries@5.2.0",
100-
"_nodeVersion": "18.16.0",
101-
"_npmVersion": "9.5.1",
68+
"gitHead": "6d60fe3ef35d6de45b1918927ee922937fbc55bd",
69+
"_id": "postcss-sort-media-queries@6.1.0",
70+
"_nodeVersion": "24.13.1",
71+
"_npmVersion": "11.11.0",
10272
"dist": {
103-
"integrity": "sha512-AZ5fDMLD8SldlAYlvi8NIqo0+Z8xnXU2ia0jxmuhxAU+Lqt9K+AlmLNJ/zWEnE9x+Zx3qL3+1K20ATgNOr3fAA==",
104-
"shasum": "4556b3f982ef27d3bac526b99b6c0d3359a6cf97",
105-
"tarball": "https://registry.npmjs.org/postcss-sort-media-queries/-/postcss-sort-media-queries-5.2.0.tgz",
106-
"fileCount": 5,
107-
"unpackedSize": 12970,
73+
"integrity": "sha512-kxMvbeXdSrXK7bFOPUb5n1lu9m4OhwK9oKfQO0nzUWAyw7671gt2RPNI5GKJG69MT+eLyav4MVjmgnBfzBJLww==",
74+
"shasum": "91113ec1169e3b47829adcdf1699dfe13dbf8f11",
75+
"tarball": "https://registry.npmjs.org/postcss-sort-media-queries/-/postcss-sort-media-queries-6.1.0.tgz",
76+
"fileCount": 6,
77+
"unpackedSize": 22415,
10878
"signatures": [
10979
{
110-
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
111-
"sig": "MEUCICQAlrr1dj2FJNdhJnMyvkYgzTiq4SUy+q/a36ccUh+DAiEAn/kSsQO/w8662nw8Uj8R8w9D55otaBGAXCgGLMvL5so="
80+
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
81+
"sig": "MEUCIHWiYKUabGLlXGlGfTB2BP9ebsnhx2haM+XuwUcuo8uhAiEAo03IRCDAvhxq5grwXuvH/cPKYqaT5JEMXt0Y302L2yc="
11282
}
11383
]
11484
},
@@ -124,9 +94,9 @@
12494
}
12595
],
12696
"_npmOperationalInternal": {
127-
"host": "s3://npm-registry-packages",
128-
"tmp": "tmp/postcss-sort-media-queries_5.2.0_1685453504083_0.35177351174953286"
97+
"host": "s3://npm-registry-packages-npm-production",
98+
"tmp": "tmp/postcss-sort-media-queries_6.1.0_1772900298706_0.3977728556993987"
12999
},
130100
"_hasShrinkwrap": false,
131-
"_time": "2023-05-30T13:31:44.282Z"
101+
"_time": "2026-03-07T16:18:18.848Z"
132102
}

0 commit comments

Comments
 (0)