Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/projectwallace/format-css

Fast, small, zero-config library to format CSS using basic rules.
https://github.com/projectwallace/format-css

fix missing colon for formatting `:before` and `:after` (#43)

closes #42

fd154520fa64f078a4694d65f38bce846ffb89ec authored 11 months ago by Bart Veneman <[email protected]>
1.3.0

1734465293af7b1dd670fa840a6aa79eb1a9d29b authored 11 months ago by Bart Veneman <[email protected]>
update readme example code (#41)

090518b40fce36a58015305c75cc5e87a1d5e7aa authored 11 months ago by Bart Veneman <[email protected]>
fix minified spaces and slice bundle size (#40)

- minify spaces in value lists, closes #38
- reduce bundle size by re-using `SPACE = ' '` and ...

7248d98a278b6f9c16a5e5c3dcc6a5eb96820017 authored 11 months ago by Bart Veneman <[email protected]>
prevent using `.toLowercase()` too often (#39)

Prevents all Atrule names (`media`, `layer`, etc) and all Dimension
units (`px`, `em`, etc) to ...

ba3208158ade2b065f9b967b02b815b4e0c898ee authored 11 months ago by Bart Veneman <[email protected]>
1.2.0

d0dc3bf7b4886537ecf7746776a15349a6755c6e authored 11 months ago by Bart Veneman <[email protected]>
feat: add minifier (#37)

Usage:

```js
import { format, minify } from '@projectwallace/format-css'

let minified = m...

a768c7d2eadf33af5afb43eca88492faf60cafb4 authored 11 months ago by Bart Veneman <[email protected]>
additional tests for newlines between declaration + rule + declaration (#36)

closes #33

413ba3f59003eced60413ff12c7939d1957d70ff authored 11 months ago by Bart Veneman <[email protected]>
additional tests for combinators and exotic syntax (#35)

closes #34
closes #27

b2c17b119a4abeacd7b3cc259916abd171e46723 authored 11 months ago by Bart Veneman <[email protected]>
chore: update actions to v4 and runners to node20 (#32)

1ef3834714b62e45e2b0314839014775bf47d5ca authored 11 months ago by Bart Veneman <[email protected]>
1.1.0

35831b8eeecaeff21cf6cf87ca7a2ffa96aba39b authored 11 months ago by Bart Veneman <[email protected]>
cache some properties to decrease bundle size (2.1%) (#31)

```
# before
-rw-r--r--@ 1 bart.veneman staff 4068 Feb 11 23:17 format.cjs
-rw-r--r--@ 1...

110be63850732e176f8cf638f143fabb3fd2f7f5 authored 11 months ago by Bart Veneman <[email protected]>
chore: swap `indent_size` & `css` parameter order (#30)

makes more sense because we don't always need to pass in `indent_level`

2e2ccd08bae678587d8bd4549e127130ff447428 authored 11 months ago by Bart Veneman <[email protected]>
Add tests for preserving CSS comments (#29)

refs #26

661c8bcf7e3021c0f8b582233f7970dfe118a300 authored 11 months ago by Bart Veneman <[email protected]>
add linting (#28)

closes #25

c61500b995424e4f4622e2746238f5b4069ec575 authored 11 months ago by Bart Veneman <[email protected]>
Relaxed selector nesting tests (#22)

refs #20

- Adds some (skipped) tests for nested rules
- Fixes spacing around operators in at...

e9d540f337e177b6ab532efaa4fbe8c4f9d55e71 authored 11 months ago by Bart Veneman <[email protected]>
add types, testing and CI (#24)

closes #14
closes #19

---------

Co-authored-by: Bjorn van Beek @b-vb

bfd235ba78cf66fedc505a8daec415ef73b05445 authored about 1 year ago by Bart Veneman <[email protected]>
add (skipping+failing) tests for preserving comments (#21)

e64c64ed7179b9d0b486f4e7d6ab5e341ddefb5e authored about 1 year ago by Bart Veneman <[email protected]>
some DRY-er newline management (#23)

aa83274b9fe04bbe61e852bc7cf21e4d2efc794f authored about 1 year ago by Bart Veneman <[email protected]>
fix readme link

33a956d4f37a46726e5a62a021b6139c0f000d06 authored about 1 year ago by Bart Veneman <[email protected]>
add description to package.json

0a963ba8f2d508984305700a143e65049c4ad270 authored about 1 year ago by Bart Veneman <[email protected]>
add related projects to readme

4cc51c4462772f6d9f732d4e65744eb6b9f811f8 authored about 1 year ago by Bart Veneman <[email protected]>
typos

8a34baabd6d19c6e43b64a6a07aaea9bf0ed446d authored about 1 year ago by Bart Veneman <[email protected]>
fix casing issues in values/properties (#18)

closes #17

e487efe45da16909a2a8f46857330fbc91df611d authored about 1 year ago by Bart Veneman <[email protected]>
Update README.md

4d425c22280256a2350294595195cdf523376aca authored about 1 year ago by Bart Veneman <[email protected]>
1.0.6

4fd80c7b3e33413ddd01ccfac2626a8912e045f4 authored about 1 year ago by Bart Veneman <[email protected]>
trim leading whitespace in atrule prelude before : or , (#16)

closes #15

a2e7bc6e9cd948b517e23eff8dfc7e2e3d450d16 authored about 1 year ago by Bart Veneman <[email protected]>
1.0.5

f6ba0fba9d69f138d4f102c2b13c7cbf227744b0 authored about 1 year ago by Bart Veneman <[email protected]>
Pretty print preludes (#13)

closes #10 #12

3e5f0672608952086754b96043ed4b94c46359b7 authored about 1 year ago by Bart Veneman <[email protected]>
pretty-print values (#11)

228bec6d3019ebca0c871994c5b1908cafc0f170 authored about 1 year ago by Bart Veneman <[email protected]>
update semver 6.3.0 -> 6.3.1 (#9)

1dd76e232c099fa000ba7deae615623a2378be84 authored over 1 year ago by Bart Veneman <[email protected]>
1.0.3

ae83d9763974b2241186fa6f51c8504b99bbfe23 authored over 1 year ago by Bart Veneman <[email protected]>
Add spacing around selector combinators (#8)

closes #7

- Formats selectors like `a + b` and `:where(a + b)`
- Formats selectors with Nth,...

fc05f6885d087e025b5f92f2777d00276abe1b1d authored over 1 year ago by Bart Veneman <[email protected]>
v1.0.2

cf0de7834fbbe87a2669d966c001e411105027c1 authored over 1 year ago by Bart Veneman <[email protected]>
Merge pull request #6 from projectwallace/bartveneman-patch-1

Add keywords to package.json

8c4cf8a45410978cb43e5c1beaa3d958f467b6c7 authored over 1 year ago by Bart Veneman <[email protected]>
Add keywords to package.json

87137d943694bc90cb347e5fdba6b008329591ba authored over 1 year ago by Bart Veneman <[email protected]>
Merge pull request #5 from projectwallace/gh-4-multiline

force-render multi-line tokens on one line, except raw content, closes #4

f7cfe3d4837acbc48512f676fede4693c37a5004 authored over 1 year ago by Bart Veneman <[email protected]>
rm incorrect filesize claim

eed89427f75ee7d3daf426224a57b915ac1ee92e authored over 1 year ago by Bart Veneman <[email protected]>
force-render multi-line tokens on one line, except raw content

6ad78de330a91b6b1bf5802e9641fa1a26dbf04f authored over 1 year ago by Bart Veneman <[email protected]>
Update README.md

b18a26c12071a04c500f6dcea8f92e0fe1bbb3ac authored over 1 year ago by Bart Veneman <[email protected]>
v1.0.1

6bd0ff6a15bc6c2e6e8f94dfc4fc25eeeed3c125 authored over 1 year ago by Bart Veneman <[email protected]>
Merge pull request #2 from projectwallace/fix-nested-rules

fix leading newlines for nested rules + fix trailing newlines for empty rules

8593824a7d501a8b95397b7cce7be447773fab7b authored over 1 year ago by Bart Veneman <[email protected]>
fix leading newlines for nested rules + fix trailing newlines for empty rules

a62c01faf5699ad7a1d7d1d5c982484ade8be5b8 authored over 1 year ago by Bart Veneman <[email protected]>
Update README.md

4e3e058a63f0b131dd11c09885fcbe0a20f775f1 authored over 1 year ago by Bart Veneman <[email protected]>
add links to StackBlitz examples to readme

f5e16056a7bd8312a82daa8e28666487037f21fd authored over 1 year ago by Bart Veneman <[email protected]>
v1.0.0

4dbf310c9704fc9ee0bf54c4eae8a4a134f3c0a7 authored over 1 year ago by Bart Veneman <[email protected]>
Add NPM Publish workflow

c7c1a686212226da2e2f946c573ef0b2f4eb806d authored over 1 year ago by Bart Veneman <[email protected]>
v0.1.1

2d858cef7a9abde79162e353201fe85efd75261d authored over 1 year ago by Bart Veneman <[email protected]>
only publish dist files

67fa3e0bdda365ee833211c350bc9308f074dbbc authored over 1 year ago by Bart Veneman <[email protected]>
v0.1.0

06efee28854799c462ab912155a7189e6ae205bc authored over 1 year ago by Bart Veneman <[email protected]>
typo

c664f5f3c2f77693d67f4660331863a81a9c0598 authored over 1 year ago by Bart Veneman <[email protected]>
Only run on node 18

86ab8a6b86c882cb0d70cecefee583638d1cf526 authored over 1 year ago by Bart Veneman <[email protected]>
Add tests workflow

ef6684baf79f95fe372a126158ded4ddde633b9e authored over 1 year ago by Bart Veneman <[email protected]>
more docs

36afb4144328aeb33ec531686fecff6068e8bac8 authored over 1 year ago by Bart Veneman <[email protected]>
readme docs

c3d413ef6e62a42d30ee76cb3d52de20896b08bd authored over 1 year ago by Bart Veneman <[email protected]>
generate types 😆

b89d1f05b9667ab28c0c94e2f6544c87bbb066d7 authored over 1 year ago by Bart Veneman <[email protected]>
add tests for comments

38ef2609aa0c7e4247adc5d228ed3b81195c2cf9 authored over 1 year ago by Bart Veneman <[email protected]>
add more tests

ca7f57924f9f50c449d51484e7fe082a5d467401 authored over 1 year ago by Bart Veneman <[email protected]>
initial commit

d372cda2468d8c8730fcc8f3a0f83e82a29e6886 authored over 1 year ago by Bart Veneman <[email protected]>
Initial commit

b273a568eb3b0bbb9943f0a336f33fcff169088f authored over 1 year ago by Bart Veneman <[email protected]>