Skip to content

Commit b14efc7

Browse files
committed
feat!: correct warnings, expand test coverage
Breaking change: update yarn to latest version
1 parent ab205e8 commit b14efc7

15 files changed

Lines changed: 7363 additions & 4963 deletions

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
README.md merge=ours
2+
3+
# Treat yarn assets as binaries for diffing
4+
/.yarn/releases/** binary
5+
/.yarn/plugins/** binary

.gitignore

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
1-
/node_modules
1+
**/node_modules/**
2+
3+
# Logs
24
npm-debug.log
5+
yarn-error.log
6+
npm-debug.log*
7+
8+
# System files
39
.DS_Store
10+
11+
# Test files
412
coverage/
13+
14+
# IDE files
515
.env
16+
.tmp
17+
18+
# yarn
19+
.pnp.*
20+
.yarn/*
21+
!.yarn/patches
22+
!.yarn/plugins
23+
!.yarn/releases
24+
!.yarn/sdks
25+
!.yarn/versions

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npx --no-install commitlint --edit ""

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yarn test

.yarn/releases/yarn-4.6.0.cjs

Lines changed: 934 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
cacheFolder: ./.yarn/cache
2+
3+
nodeLinker: node-modules
4+
5+
yarnPath: .yarn/releases/yarn-4.6.0.cjs

expected/custom_copyright.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*!
2+
* Copyright 2025. All rights reserved.
3+
*
4+
* This file is licensed.
5+
*/
6+
7+
.class-name {
8+
--background-color: purple;
9+
--border-color: transparent;
10+
}

expected/empty.css

Whitespace-only changes.

expected/empty_with_license.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*!
2+
* Copyright 2023. All rights reserved.
3+
*
4+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License. You may obtain a copy
6+
* of the License at <http://www.apache.org/licenses/LICENSE-2.0>
7+
*
8+
* Unless required by applicable law or agreed to in writing, software distributed under
9+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10+
* OF ANY KIND, either express or implied. See the License for the specific language
11+
* governing permissions and limitations under the License.
12+
*/

fixtures/CUSTOM_COPYRIGHT

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Copyright 2025. All rights reserved.
2+
3+
This file is licensed.

0 commit comments

Comments
 (0)