@wilshop/dashboard 3.5.5 → 3.5.6

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.
@@ -42,21 +42,14 @@ export function linguiBabelPlugin() {
42
42
  if (!code.includes('@lingui/') || !code.includes('/macro')) {
43
43
  return null;
44
44
  }
45
- // Skip node_modules files EXCEPT for @wilshop/dashboard source
45
+ // Skip node_modules files EXCEPT for @vendure/dashboard source
46
46
  // This ensures:
47
47
  // 1. Dashboard source files get transformed (both in monorepo and external projects)
48
48
  // 2. User's extension files get transformed (not in node_modules)
49
49
  // 3. Other node_modules packages are left alone
50
50
  if (cleanId.includes('node_modules')) {
51
- const isDashboard =
52
- // Check for YOUR custom name
53
- cleanId.includes('@wilshop/dashboard/src') ||
54
- // CRITICAL: Keep checking for the original name too!
55
- // If you use "npm:@wilshop/dashboard" alias, the folder is still named "@vendure"
56
- cleanId.includes('@vendure/dashboard/src') ||
57
- // Check for local monorepo path
58
- cleanId.includes('packages/dashboard/src');
59
- if (!isDashboard) {
51
+ const isVendureDashboard = cleanId.includes('@vendure/dashboard/src') || cleanId.includes('packages/dashboard/src');
52
+ if (!isVendureDashboard) {
60
53
  return null;
61
54
  }
62
55
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wilshop/dashboard",
3
3
  "private": false,
4
- "version": "3.5.5",
4
+ "version": "3.5.6",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",