@capawesome/cli 1.6.2 → 1.6.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/CHANGELOG.md +7 -0
- package/dist/utils/file.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.6.3](https://github.com/capawesome-team/cli/compare/v1.6.2...v1.6.3) (2025-03-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **apps:bundles:create:** handle backslashes on WIndows ([8754f93](https://github.com/capawesome-team/cli/commit/8754f9306e25ff466ec14ba817781f5cad2b4634))
|
|
11
|
+
|
|
5
12
|
## [1.6.2](https://github.com/capawesome-team/cli/compare/v1.6.1...v1.6.2) (2025-03-18)
|
|
6
13
|
|
|
7
14
|
|
package/dist/utils/file.js
CHANGED
|
@@ -45,12 +45,14 @@ const getFilesInDirectoryAndSubdirectories = (path) => __awaiter(void 0, void 0,
|
|
|
45
45
|
yield walk(fullPath);
|
|
46
46
|
}
|
|
47
47
|
else {
|
|
48
|
-
let pathToReplace = path;
|
|
48
|
+
let pathToReplace = pathModule.normalize(path);
|
|
49
49
|
// Remove the leading './' from the path
|
|
50
50
|
if (pathToReplace.startsWith('./')) {
|
|
51
51
|
pathToReplace = pathToReplace.replace('./', '');
|
|
52
52
|
}
|
|
53
53
|
let href = fullPath.replace(pathToReplace, '');
|
|
54
|
+
// Replace the backslashes with forward slashes (Windows only)
|
|
55
|
+
href = href.replace(/\\/g, '/');
|
|
54
56
|
// Remove the leading '/' from the href
|
|
55
57
|
if (href.startsWith('/')) {
|
|
56
58
|
href = href.replace('/', '');
|
package/package.json
CHANGED