@capgo/cli 4.10.52 → 4.10.65-beta.1

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.
@@ -33,14 +33,14 @@ jobs:
33
33
  - name: Run
34
34
  id: run_cli
35
35
  run: node dist/index.js --help
36
- - uses: JS-DevTools/npm-publish@v3
37
- if: ${{ !contains(github.ref, '-alpha.') }}
38
- with:
39
- token: ${{ secrets.NPM_TOKEN }}
40
- provenance: true
41
- - uses: JS-DevTools/npm-publish@v3
42
- if: ${{ contains(github.ref, '-alpha.') }}
43
- with:
44
- token: ${{ secrets.NPM_TOKEN }}
45
- tag: next
46
- provenance: true
36
+ # - uses: JS-DevTools/npm-publish@v3
37
+ # if: ${{ !contains(github.ref, '-alpha.') }}
38
+ # with:
39
+ # token: ${{ secrets.NPM_TOKEN }}
40
+ # provenance: true
41
+ # - uses: JS-DevTools/npm-publish@v3
42
+ # if: ${{ contains(github.ref, '-alpha.') }}
43
+ # with:
44
+ # token: ${{ secrets.NPM_TOKEN }}
45
+ # tag: next
46
+ # provenance: true
@@ -112,15 +112,8 @@ jobs:
112
112
  - name: Verify POSIX paths for Linux build
113
113
  run: |
114
114
  unzip build-linux.zip -d extracted-linux
115
- error_found=false
116
- find extracted-linux -type f | while read -r file; do
117
- if [[ "$file" =~ "\\" ]]; then
118
- echo "Non-POSIX path detected: $file"
119
- error_found=true
120
- fi
121
- done
122
- if [ "$error_found" = true ]; then
123
- echo "Non-POSIX paths detected in the zip file (Linux)"
115
+ if find extracted-linux -type f | grep -qE '\\\\'; then
116
+ echo "Non-POSIX paths detected in build-linux.zip."
124
117
  exit 1
125
118
  else
126
119
  echo "All paths are POSIX compliant in build-linux.zip."
@@ -170,32 +163,18 @@ jobs:
170
163
  - name: Verify POSIX paths for Windows 2019 build
171
164
  run: |
172
165
  unzip build-windows-2019.zip -d extracted-2019
173
- error_found=false
174
- find extracted-2019 -type f | while read -r file; do
175
- if [[ "$file" =~ "\\" ]]; then
176
- echo "Non-POSIX path detected: $file"
177
- error_found=true
178
- fi
179
- done
180
- if [ "$error_found" = true ]; then
181
- echo "Non-POSIX paths detected in the zip file (Windows 2019)"
166
+ if find extracted-2019 -type f | grep -qE '\\\\'; then
167
+ echo "Non-POSIX paths detected in build-windows-2019.zip."
182
168
  exit 1
183
169
  else
184
170
  echo "All paths are POSIX compliant in build-windows-2019.zip."
185
171
  fi
186
-
172
+
187
173
  - name: Verify POSIX paths for Windows 2022 build
188
174
  run: |
189
175
  unzip build-windows-2022.zip -d extracted-2022
190
- error_found=false
191
- find extracted-2022 -type f | while read -r file; do
192
- if [[ "$file" =~ "\\" ]]; then
193
- echo "Non-POSIX path detected: $file"
194
- error_found=true
195
- fi
196
- done
197
- if [ "$error_found" = true ]; then
198
- echo "Non-POSIX paths detected in the zip file (Windows 2022)"
176
+ if find extracted-2022 -type f | grep -qE '\\\\'; then
177
+ echo "Non-POSIX paths detected in build-windows-2022.zip."
199
178
  exit 1
200
179
  else
201
180
  echo "All paths are POSIX compliant in build-windows-2022.zip."
@@ -206,3 +185,38 @@ jobs:
206
185
 
207
186
  - name: Verify ZIP file integrity for Windows 2022 build with Java
208
187
  run: java -cp ./test VerifyZip build-windows-2022.zip
188
+
189
+ - name: Setup Swift
190
+ uses: swift-actions/setup-swift@v2
191
+ with:
192
+ swift-version: '5.9.2'
193
+
194
+ - name: Install CocoaPods
195
+ run: |
196
+ export GEM_HOME=$HOME/.gem
197
+ export PATH=$GEM_HOME/bin:$PATH
198
+ gem install cocoapods
199
+
200
+ - name: Create Podfile
201
+ run: |
202
+ echo "platform :ios, '12.0'" > Podfile
203
+ echo "target 'VerifyZip' do" >> Podfile
204
+ echo " use_frameworks!" >> Podfile
205
+ echo " pod 'SSZipArchive'" >> Podfile
206
+ echo "end" >> Podfile
207
+
208
+ - name: Install dependencies
209
+ run: |
210
+ export GEM_HOME=$HOME/.gem
211
+ export PATH=$GEM_HOME/bin:$PATH
212
+ pod install
213
+
214
+
215
+ - name: Verify ZIP file integrity for Linux build with Swift
216
+ run: swift run VerifyZip build-linux.zip
217
+
218
+ - name: Verify ZIP file integrity for Windows 2019 build with Swift
219
+ run: swift run VerifyZip build-windows-2019.zip
220
+
221
+ - name: Verify ZIP file integrity for Windows 2022 build with Swift
222
+ run: swift run VerifyZip build-windows-2022.zip
package/CHANGELOG.md CHANGED
@@ -2,6 +2,90 @@
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.64](https://github.com/Cap-go/CLI/compare/v4.10.63...v4.10.64) (2024-06-21)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * add test in swift as well ([9dfd7e6](https://github.com/Cap-go/CLI/commit/9dfd7e6d36699759b18799bef624d59d4e360da5))
11
+
12
+ ### [4.10.63](https://github.com/Cap-go/CLI/compare/v4.10.62...v4.10.63) (2024-06-21)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * try to force posix ([5d0b446](https://github.com/Cap-go/CLI/commit/5d0b4465d0d49988c95d85b465efd88d3966077a))
18
+
19
+ ### [4.10.62](https://github.com/Cap-go/CLI/compare/v4.10.61...v4.10.62) (2024-06-21)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * try other lib to zip ([99b03ee](https://github.com/Cap-go/CLI/commit/99b03eea88e6c88572aff919f6dafbd2f49680be))
25
+
26
+ ### [4.10.61](https://github.com/Cap-go/CLI/compare/v4.10.60...v4.10.61) (2024-06-21)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * add console log ([9f0a7a0](https://github.com/Cap-go/CLI/commit/9f0a7a0347ef520bb8075d55374054240dba074c))
32
+
33
+ ### [4.10.60](https://github.com/Cap-go/CLI/compare/v4.10.59...v4.10.60) (2024-06-21)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * path issue ([cbab5a9](https://github.com/Cap-go/CLI/commit/cbab5a9526c52cf2e51204d2e068e6493fc1f1cc))
39
+
40
+ ### [4.10.59](https://github.com/Cap-go/CLI/compare/v4.10.58...v4.10.59) (2024-06-21)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * try new fix ([4d65f3c](https://github.com/Cap-go/CLI/commit/4d65f3cf7b8d617156668a596b18ef06f08a4659))
46
+
47
+ ### [4.10.58](https://github.com/Cap-go/CLI/compare/v4.10.57...v4.10.58) (2024-06-21)
48
+
49
+
50
+ ### Bug Fixes
51
+
52
+ * zipFile ([8a5f0b6](https://github.com/Cap-go/CLI/commit/8a5f0b62392bfd2be77c3a45bd3d5e83a9d58ace))
53
+
54
+ ### [4.10.57](https://github.com/Cap-go/CLI/compare/v4.10.56...v4.10.57) (2024-06-21)
55
+
56
+
57
+ ### Bug Fixes
58
+
59
+ * use better path system ([330a130](https://github.com/Cap-go/CLI/commit/330a130ba3f16be88a40ebf298893b2d3cd518ba))
60
+
61
+ ### [4.10.56](https://github.com/Cap-go/CLI/compare/v4.10.55...v4.10.56) (2024-06-21)
62
+
63
+
64
+ ### Bug Fixes
65
+
66
+ * test in shell ([1026921](https://github.com/Cap-go/CLI/commit/1026921a44259295bfc5157ffee08eaaabcee1fa))
67
+
68
+ ### [4.10.55](https://github.com/Cap-go/CLI/compare/v4.10.54...v4.10.55) (2024-06-21)
69
+
70
+
71
+ ### Bug Fixes
72
+
73
+ * try to force correct path ([c639d9e](https://github.com/Cap-go/CLI/commit/c639d9ef500640de37f5144fbae1c9b4d057ff83))
74
+
75
+ ### [4.10.54](https://github.com/Cap-go/CLI/compare/v4.10.53...v4.10.54) (2024-06-21)
76
+
77
+
78
+ ### Bug Fixes
79
+
80
+ * test the new path system ([73551e9](https://github.com/Cap-go/CLI/commit/73551e9b57976aecf1fd1f0eb8001f9e8fe9fe80))
81
+
82
+ ### [4.10.53](https://github.com/Cap-go/CLI/compare/v4.10.52...v4.10.53) (2024-06-21)
83
+
84
+
85
+ ### Bug Fixes
86
+
87
+ * update test to fail like updater ([4a9a75d](https://github.com/Cap-go/CLI/commit/4a9a75d3d98bdb594b17a9a2149a73fae75b6ffa))
88
+
5
89
  ### [4.10.52](https://github.com/Cap-go/CLI/compare/v4.10.51...v4.10.52) (2024-06-21)
6
90
 
7
91
 
package/bun.lockb CHANGED
Binary file