@capgo/cli 4.10.28 → 4.10.30

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.
@@ -9,7 +9,7 @@ on:
9
9
  - main
10
10
 
11
11
  jobs:
12
- check-posix-paths:
12
+ check-posix-paths-windows:
13
13
  runs-on: ${{ matrix.os }}
14
14
 
15
15
  strategy:
@@ -37,26 +37,35 @@ jobs:
37
37
  id: create_zip
38
38
  run: node ./dist/index.js bundle zip --path test/test_upload -n build.zip
39
39
 
40
- # - name: Run POSIX path check
41
- # run: bun run check-posix-paths
40
+ - name: Upload build.zip artifact
41
+ uses: actions/upload-artifact@v2
42
+ with:
43
+ name: build-zip
44
+ path: build.zip
45
+
46
+ check-posix-paths-unix:
47
+ runs-on: ubuntu-latest
48
+ needs: check-posix-paths-windows
42
49
 
43
- - name: Extract build.zip
44
- run: Expand-Archive -Path build.zip -DestinationPath extracted
50
+ steps:
51
+ - name: Download build.zip artifact
52
+ uses: actions/download-artifact@v2
53
+ with:
54
+ name: build-zip
45
55
 
46
56
  - name: Verify POSIX paths
47
57
  run: |
48
- $errorFound = $false
49
- Get-ChildItem -Recurse extracted | ForEach-Object {
50
- if ($_ -is [System.IO.DirectoryInfo]) {
51
- $path = $_.FullName
52
- if ($path -match '[\\]') {
53
- Write-Output "Non-POSIX path detected: $path"
54
- $errorFound = $true
55
- }
56
- }
57
- }
58
- if ($errorFound) {
59
- Write-Error "Non-POSIX paths detected in the zip file"
60
- } else {
61
- Write-Output "All paths are POSIX compliant."
62
- }
58
+ unzip build.zip -d extracted
59
+ error_found=false
60
+ find extracted -type f | while read -r file; do
61
+ if [[ "$file" =~ "\\" ]]; then
62
+ echo "Non-POSIX path detected: $file"
63
+ error_found=true
64
+ fi
65
+ done
66
+ if [ "$error_found" = true ]; then
67
+ echo "Non-POSIX paths detected in the zip file"
68
+ exit 1
69
+ else
70
+ echo "All paths are POSIX compliant."
71
+ fi
package/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [4.10.30](https://github.com/Cap-go/CLI/compare/v4.10.29...v4.10.30) (2024-06-21)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * add depends ([af4a12c](https://github.com/Cap-go/CLI/commit/af4a12cc771c28f4232031897898cd43be176e8c))
11
+
12
+ ### [4.10.29](https://github.com/Cap-go/CLI/compare/v4.10.28...v4.10.29) (2024-06-21)
13
+
5
14
  ### [4.10.28](https://github.com/Cap-go/CLI/compare/v4.10.27...v4.10.28) (2024-06-20)
6
15
 
7
16
 
package/dist/index.js CHANGED
@@ -109059,7 +109059,7 @@ var {
109059
109059
  // package.json
109060
109060
  var package_default = {
109061
109061
  name: "@capgo/cli",
109062
- version: "4.10.28",
109062
+ version: "4.10.30",
109063
109063
  description: "A CLI to upload to capgo servers",
109064
109064
  author: "github.com/riderx",
109065
109065
  license: "Apache 2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
- "version": "4.10.28",
3
+ "version": "4.10.30",
4
4
  "description": "A CLI to upload to capgo servers",
5
5
  "author": "github.com/riderx",
6
6
  "license": "Apache 2.0",