pasika 0.10.147 → 0.10.148
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.
|
@@ -11524,7 +11524,7 @@ function inferCssConsumerPaths(options) {
|
|
|
11524
11524
|
const defs = graph.definitions;
|
|
11525
11525
|
const components = modules.filter((mod) => {
|
|
11526
11526
|
const relative = path77.relative(sourceRoot, mod.path).split(path77.sep).join("/");
|
|
11527
|
-
return /^(?:features\/[\w-]+\/|shared\/|compositions\/)[\w./-]+\.(?:tsx|jsx)$/u.test(relative) && !/\.(?:test|spec|stories)\.(?:tsx|jsx)$/u.test(relative);
|
|
11527
|
+
return /^(?:app\/|features\/[\w-]+\/|shared\/|compositions\/)[\w./-]+\.(?:tsx|jsx)$/u.test(relative) && !/\.(?:test|spec|stories)\.(?:tsx|jsx)$/u.test(relative);
|
|
11528
11528
|
});
|
|
11529
11529
|
const classesByToken = themeClassesForTokens(
|
|
11530
11530
|
defs.filter((def) => def.kind === "theme-token").map((def) => def.name),
|
|
@@ -11692,7 +11692,7 @@ var themeTokenOrderRule = {
|
|
|
11692
11692
|
if (!item.owner) {
|
|
11693
11693
|
message = `CSS definition "${item.symbol.name}" has no traceable consumer; reference it or remove it.`;
|
|
11694
11694
|
} else if (!currentGroup) {
|
|
11695
|
-
message = `CSS definition "${item.symbol.name}" requires
|
|
11695
|
+
message = `CSS definition "${item.symbol.name}" requires group "${item.owner}" (no consumer-path group comment found).`;
|
|
11696
11696
|
} else if (actual !== item.owner) {
|
|
11697
11697
|
message = `CSS definition "${item.symbol.name}" belongs to group "${item.owner}", not "${reportedGroup}".`;
|
|
11698
11698
|
} else if (previous?.section === item.section && previous.scope === item.scope) {
|