universal-dev-standards 3.5.0-beta.6 → 3.5.0-beta.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": "universal-dev-standards",
3
- "version": "3.5.0-beta.6",
3
+ "version": "3.5.0-beta.7",
4
4
  "description": "CLI tool for adopting Universal Development Standards",
5
5
  "keywords": [
6
6
  "documentation",
@@ -151,7 +151,7 @@ export function getFileStatusSummary(projectPath, manifest) {
151
151
  * Recursively scan directory for all files
152
152
  * @param {string} dirPath - Directory to scan
153
153
  * @param {string} basePath - Base path for relative path calculation
154
- * @returns {string[]} Array of relative paths
154
+ * @returns {string[]} Array of relative paths (always uses forward slashes)
155
155
  */
156
156
  function scanDirectory(dirPath, basePath) {
157
157
  const files = [];
@@ -160,7 +160,8 @@ function scanDirectory(dirPath, basePath) {
160
160
  for (const item of items) {
161
161
  const fullPath = join(dirPath, item.name);
162
162
  // Calculate relative path by removing basePath prefix
163
- const relativePath = fullPath.slice(basePath.length + 1);
163
+ // Normalize to forward slashes for cross-platform consistency
164
+ const relativePath = fullPath.slice(basePath.length + 1).replace(/\\/g, '/');
164
165
 
165
166
  if (item.isDirectory()) {
166
167
  files.push(...scanDirectory(fullPath, basePath));