@capgo/cli 4.10.65-beta.1 → 4.11.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.
- package/.github/workflows/build.yml +11 -11
- package/.github/workflows/check_posix_paths.yml +33 -26
- package/CHANGELOG.md +95 -0
- package/dist/index.js +37650 -41218
- package/package.json +1 -1
- package/src/init.ts +0 -1
- package/src/utils.ts +18 -15
- package/test/test_zip_swift/Package.resolved +24 -0
- package/test/test_zip_swift/Package.swift +29 -0
- package/test/test_zip_swift/Sources/main.swift +80 -0
- package/test/VerifyZip.swift +0 -54
|
@@ -33,14 +33,14 @@ jobs:
|
|
|
33
33
|
- name: Run
|
|
34
34
|
id: run_cli
|
|
35
35
|
run: node dist/index.js --help
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
|
@@ -186,37 +186,44 @@ jobs:
|
|
|
186
186
|
- name: Verify ZIP file integrity for Windows 2022 build with Java
|
|
187
187
|
run: java -cp ./test VerifyZip build-windows-2022.zip
|
|
188
188
|
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
check-posix-paths-macos:
|
|
190
|
+
runs-on: macos-latest
|
|
191
|
+
needs: [create-valid-zip-linux, check-posix-paths-windows]
|
|
192
|
+
|
|
193
|
+
steps:
|
|
194
|
+
- name: Checkout repository
|
|
195
|
+
uses: actions/checkout@v4
|
|
196
|
+
|
|
197
|
+
- name: Download build-linux.zip artifact
|
|
198
|
+
uses: actions/download-artifact@v4
|
|
191
199
|
with:
|
|
192
|
-
|
|
200
|
+
name: build-zip-linux
|
|
201
|
+
|
|
202
|
+
- name: Download build-windows-2019.zip artifact
|
|
203
|
+
uses: actions/download-artifact@v4
|
|
204
|
+
with:
|
|
205
|
+
name: build-zip-windows-2019
|
|
193
206
|
|
|
194
|
-
- name:
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
gem install cocoapods
|
|
207
|
+
- name: Download build-windows-2022.zip artifact
|
|
208
|
+
uses: actions/download-artifact@v4
|
|
209
|
+
with:
|
|
210
|
+
name: build-zip-windows-2022
|
|
199
211
|
|
|
200
|
-
- name:
|
|
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
|
|
212
|
+
- name: List the files
|
|
213
|
+
run: ls -lh
|
|
207
214
|
|
|
208
|
-
- name:
|
|
209
|
-
run:
|
|
210
|
-
export GEM_HOME=$HOME/.gem
|
|
211
|
-
export PATH=$GEM_HOME/bin:$PATH
|
|
212
|
-
pod install
|
|
215
|
+
- name: Check file size of Linux build
|
|
216
|
+
run: ls -lh build-linux.zip
|
|
213
217
|
|
|
218
|
+
- name: Setup Swift
|
|
219
|
+
uses: swift-actions/setup-swift@v2
|
|
214
220
|
|
|
215
|
-
- name:
|
|
216
|
-
run: swift
|
|
221
|
+
- name: Get swift version
|
|
222
|
+
run: swift --version # Swift 5.10
|
|
217
223
|
|
|
218
|
-
- name:
|
|
219
|
-
run: swift
|
|
224
|
+
- name: Compile test executable
|
|
225
|
+
run: swift build -c release
|
|
226
|
+
working-directory: ./test/test_zip_swift/
|
|
220
227
|
|
|
221
|
-
- name:
|
|
222
|
-
run:
|
|
228
|
+
- name: Run the swift test
|
|
229
|
+
run: ./test/test_zip_swift/.build/release/MyCLI --zip-files build-linux.zip build-windows-2019.zip build-windows-2022.zip
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,101 @@
|
|
|
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.11.1](https://github.com/Cap-go/CLI/compare/v4.11.0...v4.11.1) (2024-06-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* use JSZip for all windows ([c5bff16](https://github.com/Cap-go/CLI/commit/c5bff169cb401dc50167214c886cba375c99c986))
|
|
11
|
+
|
|
12
|
+
## [4.11.0](https://github.com/Cap-go/CLI/compare/v4.10.77...v4.11.0) (2024-06-23)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* deploy for windows ([47220bc](https://github.com/Cap-go/CLI/commit/47220bc961c34b4ac2318dadf13eb9261c00e561))
|
|
18
|
+
|
|
19
|
+
### [4.10.77](https://github.com/Cap-go/CLI/compare/v4.10.76...v4.10.77) (2024-06-23)
|
|
20
|
+
|
|
21
|
+
### [4.10.76](https://github.com/Cap-go/CLI/compare/v4.10.75...v4.10.76) (2024-06-22)
|
|
22
|
+
|
|
23
|
+
### [4.10.75](https://github.com/Cap-go/CLI/compare/v4.10.74...v4.10.75) (2024-06-21)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* delete ios setup for now as we cannot manage to make it work easy ([cadec4e](https://github.com/Cap-go/CLI/commit/cadec4ef73d19f85c511239d0155687256d7321e))
|
|
29
|
+
|
|
30
|
+
### [4.10.74](https://github.com/Cap-go/CLI/compare/v4.10.73...v4.10.74) (2024-06-21)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* podfile ([8912d4c](https://github.com/Cap-go/CLI/commit/8912d4c6b35d2a5787330fb14cd9fa137ad1d2b9))
|
|
36
|
+
|
|
37
|
+
### [4.10.73](https://github.com/Cap-go/CLI/compare/v4.10.72...v4.10.73) (2024-06-21)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* test with pod ([1e5a5f9](https://github.com/Cap-go/CLI/commit/1e5a5f92df27e79526271c7a4acda61111d8a300))
|
|
43
|
+
|
|
44
|
+
### [4.10.72](https://github.com/Cap-go/CLI/compare/v4.10.71...v4.10.72) (2024-06-21)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Bug Fixes
|
|
48
|
+
|
|
49
|
+
* disable checks ([b6e5b27](https://github.com/Cap-go/CLI/commit/b6e5b270fbbc0148c7597bdcc44e8482f47c5515))
|
|
50
|
+
|
|
51
|
+
### [4.10.71](https://github.com/Cap-go/CLI/compare/v4.10.70...v4.10.71) (2024-06-21)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
|
|
56
|
+
* test mac ([9603e6d](https://github.com/Cap-go/CLI/commit/9603e6dd3250b2def347b9fc8ca5c8cf81c988ee))
|
|
57
|
+
|
|
58
|
+
### [4.10.70](https://github.com/Cap-go/CLI/compare/v4.10.69...v4.10.70) (2024-06-21)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Bug Fixes
|
|
62
|
+
|
|
63
|
+
* install ([28fff1f](https://github.com/Cap-go/CLI/commit/28fff1f4f119d09f0e192c1708bea3a9ce62fd80))
|
|
64
|
+
|
|
65
|
+
### [4.10.69](https://github.com/Cap-go/CLI/compare/v4.10.68...v4.10.69) (2024-06-21)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Bug Fixes
|
|
69
|
+
|
|
70
|
+
* test other solution ([1f068e1](https://github.com/Cap-go/CLI/commit/1f068e1d4c8c81bfc046686c2e4e28f1fff4ee7d))
|
|
71
|
+
|
|
72
|
+
### [4.10.68](https://github.com/Cap-go/CLI/compare/v4.10.67...v4.10.68) (2024-06-21)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Bug Fixes
|
|
76
|
+
|
|
77
|
+
* remove dup ([a5aa77c](https://github.com/Cap-go/CLI/commit/a5aa77c96b1ceae3e36d760446f31116e8cb55ee))
|
|
78
|
+
|
|
79
|
+
### [4.10.67](https://github.com/Cap-go/CLI/compare/v4.10.66...v4.10.67) (2024-06-21)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### Bug Fixes
|
|
83
|
+
|
|
84
|
+
* test again ([52af439](https://github.com/Cap-go/CLI/commit/52af439de9a4f4eb99527ac621bedc1a47d72fc0))
|
|
85
|
+
|
|
86
|
+
### [4.10.66](https://github.com/Cap-go/CLI/compare/v4.10.65...v4.10.66) (2024-06-21)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### Bug Fixes
|
|
90
|
+
|
|
91
|
+
* try different way to init swift and do it first step to test ([26d32ea](https://github.com/Cap-go/CLI/commit/26d32ea5d66097cde1b9b24378884a0f9561a79e))
|
|
92
|
+
|
|
93
|
+
### [4.10.65](https://github.com/Cap-go/CLI/compare/v4.10.64...v4.10.65) (2024-06-21)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Bug Fixes
|
|
97
|
+
|
|
98
|
+
* swift test ([3da5261](https://github.com/Cap-go/CLI/commit/3da5261730faa58fff04ef986ec04e9761e5138f))
|
|
99
|
+
|
|
5
100
|
### [4.10.64](https://github.com/Cap-go/CLI/compare/v4.10.63...v4.10.64) (2024-06-21)
|
|
6
101
|
|
|
7
102
|
|