1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00

move version banner

This commit is contained in:
Jenil G 2023-03-21 21:44:47 -04:00
parent 95bca83063
commit cdf9d1e663
6 changed files with 30 additions and 4 deletions

4
dist/chota.css vendored
View File

@ -1,4 +1,6 @@
/*! chota.css v0.8.1 | MIT License | github.com/jenil/chota */ /*!
* chota.css v0.8.1 | MIT License | github.com/jenil/chota
*/
:root { :root {
--bg-color: #fff; --bg-color: #fff;
--bg-secondary-color: #f3f3f6; --bg-secondary-color: #f3f3f6;

4
dist/chota.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,7 @@
"postcss": "postcss ./src/chota.css -d dist/", "postcss": "postcss ./src/chota.css -d dist/",
"watch": "cross-env NODE_ENV=development yarn postcss -w", "watch": "cross-env NODE_ENV=development yarn postcss -w",
"test": "stylelint src/*.css", "test": "stylelint src/*.css",
"prepublish": "yarn build" "preversion": "yarn build"
}, },
"keywords": [ "keywords": [
"css", "css",
@ -34,6 +34,7 @@
"cssnano": "5.1.13", "cssnano": "5.1.13",
"npm-run-all": "4.1.5", "npm-run-all": "4.1.5",
"postcss": "8.4.16", "postcss": "8.4.16",
"postcss-banner": "4.0.1",
"postcss-cli": "10.0.0", "postcss-cli": "10.0.0",
"postcss-csso": "6.0.1", "postcss-csso": "6.0.1",
"postcss-import": "15.0.0", "postcss-import": "15.0.0",

View File

@ -1,4 +1,10 @@
const { version } = require("./package.json");
let plugins = [ let plugins = [
require("postcss-banner")({
banner: `chota.css v${version} | MIT License | https://github.com/jenil/chota`,
important: true,
}),
require("postcss-import")({ require("postcss-import")({
plugins: [require("stylelint")({ fix: true, formatter: "compact" })], plugins: [require("stylelint")({ fix: true, formatter: "compact" })],
}), }),

View File

@ -1,4 +1,3 @@
/*! chota.css v0.8.1 | MIT License | github.com/jenil/chota */
@import "_base.css"; @import "_base.css";
@import "_grid.css"; @import "_grid.css";
@import "_form.css"; @import "_form.css";

View File

@ -1423,6 +1423,13 @@ pify@^3.0.0:
resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"
integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=
postcss-banner@4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/postcss-banner/-/postcss-banner-4.0.1.tgz#672b632457fdaa1664fc2172daa47e0be4f93db2"
integrity sha512-vpxkcADfBp28r50HH3HPVBoQxE2u0IF5WG9qTQMdYJWqk7VsFBWPAnVkDMGZwvBiJFU7B9HYos6o/fz++PVTgQ==
dependencies:
postcss "^8.2.2"
postcss-calc@^8.2.3: postcss-calc@^8.2.3:
version "8.2.4" version "8.2.4"
resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-8.2.4.tgz#77b9c29bfcbe8a07ff6693dc87050828889739a5" resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-8.2.4.tgz#77b9c29bfcbe8a07ff6693dc87050828889739a5"
@ -1707,6 +1714,15 @@ postcss@8.4.16, postcss@^8.4.16:
picocolors "^1.0.0" picocolors "^1.0.0"
source-map-js "^1.0.2" source-map-js "^1.0.2"
postcss@^8.2.2:
version "8.4.21"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.21.tgz#c639b719a57efc3187b13a1d765675485f4134f4"
integrity sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==
dependencies:
nanoid "^3.3.4"
picocolors "^1.0.0"
source-map-js "^1.0.2"
prettier@2.7.1: prettier@2.7.1:
version "2.7.1" version "2.7.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64"