Skip to content

Commit

Permalink
Merge pull request #47 from tbela99/prefix_removal
Browse files Browse the repository at this point in the history
fix nesting rules expansion #45
support more math function #50 
fix compound selector parsing bug #51 
at-rules and selectors valdiation #46
  • Loading branch information
tbela99 authored Jan 21, 2025
2 parents 44e7e31 + d7295c2 commit a30a8f7
Show file tree
Hide file tree
Showing 159 changed files with 30,841 additions and 207,381 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
/coverage/ export-ignore
/rollup.config.mjs export-ignore
/tsconfig.json export-ignore
/.github/** linguist-vendored
# exclude all files in test/ from stats
/rollup.config.js linguist-vendored
/test/** linguist-vendored
/docs/** linguist-vendored
/tools/** linguist-vendored
/dist/** linguist-vendored
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# .github/workflows/publish.yml

name: Publish

on:
push:
branches:
Expand All @@ -7,13 +10,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- uses: actions/checkout@v4

- name: Publish package
run: npx jsr publish
- run: npx jsr publish
2 changes: 1 addition & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 18.x, 20.x ]
node-version: [ 18.x, 20.x, 22.x ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: npm-publish
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
# Changelog

# v0.8.0

- [x] validate selectors using mdn data
- [x] at-rules prefix removal
- [x] at rules validation
- [x] at-rule prelude
- [x] at-rule body
- [x] keyframe validation
- [ ] :not() does not accept pseudo classes
- [ ] do not validate declarations in @supports
- [ ] declarations validation
- [x] evaluate math functions: calc(), clamp(), min(), max(), round(), mod(), rem(), sin(), cos(), tan(), asin(),
acos(), atan(), atan2(), pow(), sqrt(), hypot(), log(), exp(), abs(), sign() #49
- [x] incorrectly parse compound selector #51

# v0.7.1

- [x] fix nesting rules expansion #45

#v0.7.0
# v0.7.0

- [x] fix merging rules
- [ ] experimental CSS prefix removal
Expand Down
Loading

0 comments on commit a30a8f7

Please sign in to comment.