Skip to content

Commit fd46cb4

Browse files
committedNov 18, 2024
Build dist before committing
1 parent 6738dc9 commit fd46cb4

File tree

5 files changed

+64
-57
lines changed

5 files changed

+64
-57
lines changed
 

‎.husky/pre-commit

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
npm run build
2+
git add dist

‎dist/index.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/index.min.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"license": "SEE LICENSE IN LICENSE",
55
"repository": "https://github.com/zigurous/css-styles",
66
"devDependencies": {
7+
"husky": "^9.1.6",
78
"lightningcss-cli": "^1.27.0"
89
},
910
"scripts": {
1011
"build": "mkdir dist & lightningcss --minify --bundle --sourcemap --targets \"> 0.5%, last 2 versions, Firefox ESR, not dead\" src/index.css -o dist/index.min.css",
11-
"predeploy": "yarn build",
12-
"prepare": "yarn build"
12+
"prepare": "husky"
1313
},
1414
"publishConfig": {
1515
"registry": "https://npm.pkg.github.com"

‎yarn.lock

+58-53
Original file line numberDiff line numberDiff line change
@@ -7,70 +7,75 @@ detect-libc@^1.0.3:
77
resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
88
integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==
99

10-
lightningcss-cli-darwin-arm64@1.27.0:
11-
version "1.27.0"
12-
resolved "https://registry.yarnpkg.com/lightningcss-cli-darwin-arm64/-/lightningcss-cli-darwin-arm64-1.27.0.tgz#6e3d608d7e284d94f281bb18fca9ac4d6a62d7dc"
13-
integrity sha512-5vXCakJA/m2WSVmCUSpeEjsGy+LB/N2YCy/PjoZturH7doAXW8IP/p5X1fbuyX4AwynpzCWGiVjmFFymPOTBUg==
10+
husky@^9.1.6:
11+
version "9.1.6"
12+
resolved "https://registry.yarnpkg.com/husky/-/husky-9.1.6.tgz#e23aa996b6203ab33534bdc82306b0cf2cb07d6c"
13+
integrity sha512-sqbjZKK7kf44hfdE94EoX8MZNk0n7HeW37O4YrVGCF4wzgQjp+akPAkfUK5LZ6KuR/6sqeAVuXHji+RzQgOn5A==
1414

15-
lightningcss-cli-darwin-x64@1.27.0:
16-
version "1.27.0"
17-
resolved "https://registry.yarnpkg.com/lightningcss-cli-darwin-x64/-/lightningcss-cli-darwin-x64-1.27.0.tgz#594eed7aae8a3d60adb69bc07127f7a96e8d1416"
18-
integrity sha512-xCMimAAgbhCdJjTvwxulMzR/Im4Sp3jh6nQjMqzUXFdhV6vkA9sAJeUeFgZfuPu3cTRI8w74DllLvbK77e76nw==
15+
lightningcss-cli-darwin-arm64@1.28.1:
16+
version "1.28.1"
17+
resolved "https://registry.yarnpkg.com/lightningcss-cli-darwin-arm64/-/lightningcss-cli-darwin-arm64-1.28.1.tgz#0294ffdc15e07502456d2f497de6ce2012d3fe5c"
18+
integrity sha512-qPA7fgtt6spmhqqZY9Gji6TCfV51sUu2n52KLTVydaAf0QVD/iFMF92iwLMhF37Rzn8dB6BHYFew9Jq/kkM9sQ==
1919

20-
lightningcss-cli-freebsd-x64@1.27.0:
21-
version "1.27.0"
22-
resolved "https://registry.yarnpkg.com/lightningcss-cli-freebsd-x64/-/lightningcss-cli-freebsd-x64-1.27.0.tgz#7a23da06dee95657d05b54452f9de3a0e832a0b4"
23-
integrity sha512-hsIu9VSQNUccZUWiUYvUXB7zq6w+xbjT52VZcWxd6SvHiBTXGUox5BFxYJ3tKc2HGB8jcbYMH7HVfbEM9kuszg==
20+
lightningcss-cli-darwin-x64@1.28.1:
21+
version "1.28.1"
22+
resolved "https://registry.yarnpkg.com/lightningcss-cli-darwin-x64/-/lightningcss-cli-darwin-x64-1.28.1.tgz#b6a0d954f5fb2aec3360120d1859959ba4bed7ca"
23+
integrity sha512-MjVnQJTZgozVIi2PdyOmYojfgzaUxZ1LBoWvFEDhYy0z7u6sBOf9Of4I0N7mfWEBtdg8dvAnPd11h+/NN4sUFg==
2424

25-
lightningcss-cli-linux-arm-gnueabihf@1.27.0:
26-
version "1.27.0"
27-
resolved "https://registry.yarnpkg.com/lightningcss-cli-linux-arm-gnueabihf/-/lightningcss-cli-linux-arm-gnueabihf-1.27.0.tgz#e55aa93417ae0ad33f4c507d6d23bc30bf7c5437"
28-
integrity sha512-Io1ZjfNx3UN1fnk4ojOM+x1njtVUo1pBpdrsKeR7EpLfdzbeuZ2VyZ1dQpc2OY45uwwpBO/BaQFid/GAy1j8jg==
25+
lightningcss-cli-freebsd-x64@1.28.1:
26+
version "1.28.1"
27+
resolved "https://registry.yarnpkg.com/lightningcss-cli-freebsd-x64/-/lightningcss-cli-freebsd-x64-1.28.1.tgz#5eb1516ee64bb9a552e2bde60d86af436d33671f"
28+
integrity sha512-BQvQPc6FTb2531zaYww6F/gIU+61+PV13sPWP+DofZUuo8biO7KT74WFuggrqVoVtFRJPnMD2WfLGc8rUGdjwA==
2929

30-
lightningcss-cli-linux-arm64-gnu@1.27.0:
31-
version "1.27.0"
32-
resolved "https://registry.yarnpkg.com/lightningcss-cli-linux-arm64-gnu/-/lightningcss-cli-linux-arm64-gnu-1.27.0.tgz#a1033ed0b60cf27326ad4600a2304df8f60599b8"
33-
integrity sha512-TfVnMGDWcCGRwPBb7asEdWYE+kTVceMob+Lm2abfEepPPgDMSc/wYMeP5saofDvYsGINluJO6bZiPpFJCGDr7w==
30+
lightningcss-cli-linux-arm-gnueabihf@1.28.1:
31+
version "1.28.1"
32+
resolved "https://registry.yarnpkg.com/lightningcss-cli-linux-arm-gnueabihf/-/lightningcss-cli-linux-arm-gnueabihf-1.28.1.tgz#cd7d8cf8a006881114bb046a9647d09e3220e074"
33+
integrity sha512-rEJ5ZqEK2iXZhGTeBgNHHfSqSny1wi1zYWKnbanW1IaJ/4JFhxWkgz/bqZi0+kfhzJDs5JrXKu+G4TL35E0U0Q==
3434

35-
lightningcss-cli-linux-arm64-musl@1.27.0:
36-
version "1.27.0"
37-
resolved "https://registry.yarnpkg.com/lightningcss-cli-linux-arm64-musl/-/lightningcss-cli-linux-arm64-musl-1.27.0.tgz#0f7c86d23f2a8ed61155c434fc30eb094703992d"
38-
integrity sha512-yWOUarFdgSjBINUt58ijEGEPpCSIu8ZQF6HaI18szGHG9GbkLM0etEMTv1udpd6cmDkymxk1lXHbPkD+DWty7A==
35+
lightningcss-cli-linux-arm64-gnu@1.28.1:
36+
version "1.28.1"
37+
resolved "https://registry.yarnpkg.com/lightningcss-cli-linux-arm64-gnu/-/lightningcss-cli-linux-arm64-gnu-1.28.1.tgz#21fb3c751a40847ba0928a824a9589447be82a8b"
38+
integrity sha512-+NGCcOCF7HK2fKqHN2gQ0a9AQ4HYvQ5IsqvRQQzgHwD+sjv+kzV8+NTQxs9cCKf2ST1fqD1j36r/YInzs4QDJw==
3939

40-
lightningcss-cli-linux-x64-gnu@1.27.0:
41-
version "1.27.0"
42-
resolved "https://registry.yarnpkg.com/lightningcss-cli-linux-x64-gnu/-/lightningcss-cli-linux-x64-gnu-1.27.0.tgz#73bad65d4a69235aa95f96d2edb8166140128e9c"
43-
integrity sha512-b8ouWePiwhQdKD9vBu7ywLwDXJ+Y3MHWY7hLbnwxp1+HWQ/Q9fLNEpfR4ZoFXrw1BwMDBp5T68c1hPBlGhDgqg==
40+
lightningcss-cli-linux-arm64-musl@1.28.1:
41+
version "1.28.1"
42+
resolved "https://registry.yarnpkg.com/lightningcss-cli-linux-arm64-musl/-/lightningcss-cli-linux-arm64-musl-1.28.1.tgz#843900ce61cf600ea1755607c375f9617e0f2623"
43+
integrity sha512-aZOt7bcJjjE9hFsqmG93z26kvl+Ffq/065ibEgNJ8etHnHWOwhiLH3j9ANd1YBXwRunMU583n0UzXVSx6ip6pQ==
4444

45-
lightningcss-cli-linux-x64-musl@1.27.0:
46-
version "1.27.0"
47-
resolved "https://registry.yarnpkg.com/lightningcss-cli-linux-x64-musl/-/lightningcss-cli-linux-x64-musl-1.27.0.tgz#ee4a742ef44647eb1714bdd3a49fdbaa6e78e56b"
48-
integrity sha512-Cnh4KtkSXT30jzjgh5ImHIpBptqmemTxPyWHC7O4l5RgkPjnyytfOjgWJFjiSfeCHfNEmNy0evDH38l5TXf5Eg==
45+
lightningcss-cli-linux-x64-gnu@1.28.1:
46+
version "1.28.1"
47+
resolved "https://registry.yarnpkg.com/lightningcss-cli-linux-x64-gnu/-/lightningcss-cli-linux-x64-gnu-1.28.1.tgz#1d77468b88e9fe235a19f9f33feb3ac739bc77ba"
48+
integrity sha512-5zwczYYPJqAYv7Moealc5qRwjFwWzTydX/eReOZdZecn3VJg1yhkR3T5DYSmiDIPrRWliNVk0p64xovntPL01w==
4949

50-
lightningcss-cli-win32-arm64-msvc@1.27.0:
51-
version "1.27.0"
52-
resolved "https://registry.yarnpkg.com/lightningcss-cli-win32-arm64-msvc/-/lightningcss-cli-win32-arm64-msvc-1.27.0.tgz#bf2b0fb847980d1af922298c23dd5ccb1bc0fd91"
53-
integrity sha512-HWX6aY0CHft7QkxhC6NhAAD0Qm9yrAH8JKTfNRDxvyL+q6E+JQDO/vG33x4YVRQoIL3Evh9CULyHDyHCNy0IdQ==
50+
lightningcss-cli-linux-x64-musl@1.28.1:
51+
version "1.28.1"
52+
resolved "https://registry.yarnpkg.com/lightningcss-cli-linux-x64-musl/-/lightningcss-cli-linux-x64-musl-1.28.1.tgz#48f1dff86da05381d7a2012558b829bdddfc9e04"
53+
integrity sha512-bCpq4VdvRlnTl3ZMazEmwSDmQJb54JgNDa0WCI8hreWywYaPNsrtWXFB/W5MGypEQGKIzquoTyy/Z3/oYM0tUg==
5454

55-
lightningcss-cli-win32-x64-msvc@1.27.0:
56-
version "1.27.0"
57-
resolved "https://registry.yarnpkg.com/lightningcss-cli-win32-x64-msvc/-/lightningcss-cli-win32-x64-msvc-1.27.0.tgz#e06183277509ff98ab9caeafa41d15609e26e373"
58-
integrity sha512-CkurSCmj5iDJ5Jgcg+XibVo3GSEo6W6WbVeKuzU4bfeh3lRLcMHUG/F3+L66JJedUUKUq8eMQgbLOPmtgwqxJA==
55+
lightningcss-cli-win32-arm64-msvc@1.28.1:
56+
version "1.28.1"
57+
resolved "https://registry.yarnpkg.com/lightningcss-cli-win32-arm64-msvc/-/lightningcss-cli-win32-arm64-msvc-1.28.1.tgz#98f683617010a21167f5d7aa67231a881d9c7180"
58+
integrity sha512-lyxajMp7bChXqy0TqD+AYyxykZ6oV6GKNMVOi6XLRkm84Y2EhD44ExMmW9pu/0AFw8l9zJilCIa7aKKfNu8Atg==
59+
60+
lightningcss-cli-win32-x64-msvc@1.28.1:
61+
version "1.28.1"
62+
resolved "https://registry.yarnpkg.com/lightningcss-cli-win32-x64-msvc/-/lightningcss-cli-win32-x64-msvc-1.28.1.tgz#21cefb8018114dd2330b4aa1134fd25a45b4c3ff"
63+
integrity sha512-Kkp1uy9CoBx7lCSeoNLvNBKxpksz3ySoBdvKbId3QFW1I9BomN3hoZdg1/SQvEsTKC2IeW7ctX+98o0IoDRkvA==
5964

6065
lightningcss-cli@^1.27.0:
61-
version "1.27.0"
62-
resolved "https://registry.yarnpkg.com/lightningcss-cli/-/lightningcss-cli-1.27.0.tgz#e5ff41c7b19d2e154e6f21a19e12a78d039c9d25"
63-
integrity sha512-wR6VRIY7JoLm7zRerqoGZ89Yyv149XllizcVh0iWVYfDR8per+IbcTyd+c7MPF1E+HaDCxRd9GCst1eeYAssiQ==
66+
version "1.28.1"
67+
resolved "https://registry.yarnpkg.com/lightningcss-cli/-/lightningcss-cli-1.28.1.tgz#a135ec85ddf33594a5ebdb2bfaa50dcb3ef06f6d"
68+
integrity sha512-+9EIi1Sg+6Pzivx3k+x/SJVk/8hep8JDWmu5xn972rtbugHlanN9kVeEHyJY8PtGTGE4WRZVkm4nyGCivI8KvA==
6469
dependencies:
6570
detect-libc "^1.0.3"
6671
optionalDependencies:
67-
lightningcss-cli-darwin-arm64 "1.27.0"
68-
lightningcss-cli-darwin-x64 "1.27.0"
69-
lightningcss-cli-freebsd-x64 "1.27.0"
70-
lightningcss-cli-linux-arm-gnueabihf "1.27.0"
71-
lightningcss-cli-linux-arm64-gnu "1.27.0"
72-
lightningcss-cli-linux-arm64-musl "1.27.0"
73-
lightningcss-cli-linux-x64-gnu "1.27.0"
74-
lightningcss-cli-linux-x64-musl "1.27.0"
75-
lightningcss-cli-win32-arm64-msvc "1.27.0"
76-
lightningcss-cli-win32-x64-msvc "1.27.0"
72+
lightningcss-cli-darwin-arm64 "1.28.1"
73+
lightningcss-cli-darwin-x64 "1.28.1"
74+
lightningcss-cli-freebsd-x64 "1.28.1"
75+
lightningcss-cli-linux-arm-gnueabihf "1.28.1"
76+
lightningcss-cli-linux-arm64-gnu "1.28.1"
77+
lightningcss-cli-linux-arm64-musl "1.28.1"
78+
lightningcss-cli-linux-x64-gnu "1.28.1"
79+
lightningcss-cli-linux-x64-musl "1.28.1"
80+
lightningcss-cli-win32-arm64-msvc "1.28.1"
81+
lightningcss-cli-win32-x64-msvc "1.28.1"

0 commit comments

Comments
 (0)