Skip to content

Commit 685b706

Browse files
css-vars-docs-1.2.1 (#1988)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 63d5588 commit 685b706

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

directory/css-vars-docs.json

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "css-vars-docs",
3-
"version": "1.1.1",
3+
"version": "1.2.1",
44
"description": "Generates a comment block with all CSS variables from the specified file to improve readability and provide documentation. The block is added at the beginning of the file, or in the first <style> block for non-CSS files, if available.",
55
"main": "dist/cli.cjs",
66
"bin": {
@@ -10,14 +10,20 @@
1010
},
1111
"exports": {
1212
".": "./dist/cli.cjs",
13-
"./postcss-plugin": "./dist/postcss.cjs",
13+
"./postcss-plugin": "./dist/postcss-plugin.cjs",
14+
"./vite-plugin": {
15+
"require": "./dist/vite-plugin.cjs",
16+
"default": "./dist/vite-plugin.cjs",
17+
"types": "./dist/vite-plugin.d.ts"
18+
},
19+
"./css-vars-docs": "./dist/css-vars-docs.cjs",
1420
"./cli": "./dist/cli.cjs"
1521
},
1622
"scripts": {
1723
"dev": "chokidar 'lib/*' -c 'npm run build'",
18-
"build": "npm run build:clear && npm run build:uglify",
24+
"build": "npm run build:clear && npm run build:uglify && copyfiles -u 1 lib/*.d.ts dist/",
1925
"build:clear": "rimraf dist",
20-
"build:uglify": "mkdir -p dist && uglifyjs lib/css-vars-docs.cjs -o dist/css-vars-docs.cjs --mangle --compress && uglifyjs lib/cli.cjs -o dist/cli.cjs --mangle --compress && uglifyjs lib/postcss.cjs -o dist/postcss.cjs --mangle --compress",
26+
"build:uglify": "mkdir -p dist && uglifyjs lib/css-vars-docs.cjs -o dist/css-vars-docs.cjs --mangle --compress && uglifyjs lib/cli.cjs -o dist/cli.cjs --mangle --compress && uglifyjs lib/postcss-plugin.cjs -o dist/postcss-plugin.cjs --mangle --compress && uglifyjs lib/vite-plugin.cjs -o dist/vite-plugin.cjs --mangle --compress",
2127
"test": "jest",
2228
"format": "prettier --write .",
2329
"format:check": "prettier --check .",
@@ -65,20 +71,20 @@
6571
"url": "https://github.com/timo-schlotmann/css-vars-docs/issues"
6672
},
6773
"homepage": "https://github.com/timo-schlotmann/css-vars-docs#readme",
68-
"_id": "css-vars-docs@1.1.1",
69-
"gitHead": "1ab29e8033e41449b0ffaaccc19caddc4eafa8fa",
74+
"_id": "css-vars-docs@1.2.1",
75+
"gitHead": "8e571be10a4155d8c522b4e0970be21561e7be0b",
7076
"_nodeVersion": "20.8.1",
7177
"_npmVersion": "10.9.0",
7278
"dist": {
73-
"integrity": "sha512-OCP1urwy5eF7RrJvEivzVkdcriYIDHiULx0gcrvVPKKZclZS3yhfX2u2TpKRbOayzvJSw/qjbVfNLb5McEbjGw==",
74-
"shasum": "8a8b0a88fa54e988dcf88581658d2787a44ae282",
75-
"tarball": "https://registry.npmjs.org/css-vars-docs/-/css-vars-docs-1.1.1.tgz",
76-
"fileCount": 7,
77-
"unpackedSize": 17044,
79+
"integrity": "sha512-eh4NZk4YKIPC0k91G6v2mxSh+rwmDw6XUNbOGb5aXXr/fXfvEG4QRQxI+c5HLDm0Rc/b47ZoqckuURfXTio0SQ==",
80+
"shasum": "ce6d2a52c05775d2def1023617125303bb566004",
81+
"tarball": "https://registry.npmjs.org/css-vars-docs/-/css-vars-docs-1.2.1.tgz",
82+
"fileCount": 9,
83+
"unpackedSize": 19140,
7884
"signatures": [
7985
{
8086
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
81-
"sig": "MEQCIB7p8529LldvYrXHBiYcwj4OwgD/t2RMv7pwXQtS/VwlAiBhutpRV9NEPgo5UEGTZBN8isiWLly7+CpkQ8ebVmoHSw=="
87+
"sig": "MEUCIFTE2/2FAXZJMiI68Wtx+RJJZc3dkYV2IGE5nnS1D7WeAiEA6T3m6WhUalK2eoZe8lWIUQlc062AafPwe6LcZHZ1iC8="
8288
}
8389
]
8490
},
@@ -94,9 +100,9 @@
94100
}
95101
],
96102
"_npmOperationalInternal": {
97-
"host": "s3://npm-registry-packages",
98-
"tmp": "tmp/css-vars-docs_1.1.1_1731568435891_0.8232967550744463"
103+
"host": "s3://npm-registry-packages-npm-production",
104+
"tmp": "tmp/css-vars-docs_1.2.1_1734363066186_0.7732075996589554"
99105
},
100106
"_hasShrinkwrap": false,
101-
"_time": "2024-11-14T07:13:56.112Z"
107+
"_time": "2024-12-16T15:31:06.377Z"
102108
}

0 commit comments

Comments
 (0)