@regardio/dev 1.10.1 → 1.10.3
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/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright ©
|
|
3
|
+
Copyright © 2026 Regardio
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
6
|
|
|
@@ -56,6 +56,9 @@ function generateExportName(jsPath, strip) {
|
|
|
56
56
|
exportPath = exportPath.slice(1);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
+
if (exportPath.endsWith('/index')) {
|
|
60
|
+
exportPath = exportPath.slice(0, -6);
|
|
61
|
+
}
|
|
59
62
|
return `./${exportPath}`;
|
|
60
63
|
}
|
|
61
64
|
function generateExports(jsFiles, distDir, strip) {
|
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"rimraf": "6.1.2",
|
|
39
39
|
"tsx": "4.21.0",
|
|
40
40
|
"typescript": "5.9.3",
|
|
41
|
-
"vite": "7.3.
|
|
41
|
+
"vite": "7.3.1",
|
|
42
42
|
"vitest": "4.0.16"
|
|
43
43
|
},
|
|
44
44
|
"description": "Regardio developer tooling for testing, linting, and build workflows",
|
|
@@ -121,5 +121,5 @@
|
|
|
121
121
|
},
|
|
122
122
|
"sideEffects": false,
|
|
123
123
|
"type": "module",
|
|
124
|
-
"version": "1.10.
|
|
124
|
+
"version": "1.10.3"
|
|
125
125
|
}
|
|
@@ -102,6 +102,11 @@ function generateExportName(jsPath: string, strip: string): string {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
// Strip /index suffix for cleaner exports (e.g., ./carousel instead of ./carousel/index)
|
|
106
|
+
if (exportPath.endsWith('/index')) {
|
|
107
|
+
exportPath = exportPath.slice(0, -6);
|
|
108
|
+
}
|
|
109
|
+
|
|
105
110
|
return `./${exportPath}`;
|
|
106
111
|
}
|
|
107
112
|
|