@texturehq/edges 2.2.5 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texturehq/edges",
3
- "version": "2.2.5",
3
+ "version": "2.2.7",
4
4
  "author": "Nicholas Brown <nick@texturehq.com>",
5
5
  "description": "A shared component library for Texture",
6
6
  "type": "module",
@@ -36,10 +36,7 @@ const deprecatedPatterns = [
36
36
  ];
37
37
 
38
38
  const extensions = new Set([".ts", ".tsx", ".css", ".md", ".mdx"]);
39
- const allowlistedFiles = new Set([
40
- "src/styles/theme-light-override.css",
41
- "theme.css",
42
- ]);
39
+ const allowlistedFiles = new Set(["src/styles/theme-light-override.css", "theme.css"]);
43
40
 
44
41
  function hasSupportedExtension(path) {
45
42
  if (path.endsWith("README.md")) return true;
@@ -84,7 +81,9 @@ for (const scanRoot of scanRoots) {
84
81
  }
85
82
 
86
83
  if (violations.length > 0) {
87
- console.error("Deprecated font color tokens found. Use text-primary/text-secondary/text-inverse/text-disabled instead.\n");
84
+ console.error(
85
+ "Deprecated font color tokens found. Use text-primary/text-secondary/text-inverse/text-disabled instead.\n"
86
+ );
88
87
  console.error(violations.join("\n"));
89
88
  process.exit(1);
90
89
  }