launchset 0.0.0-stage → 1.2.0
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/LICENSE +21 -0
- package/README.md +100 -2
- package/dist/appstore-bVSJnUv2.js +143 -0
- package/dist/cli.js +6889 -0
- package/dist/errors-CHdD4g_K.js +58 -0
- package/dist/gitlab-child-girdQprO.js +6071 -0
- package/dist/http-dQt8kfON.js +127 -0
- package/dist/index.d.ts +854 -0
- package/dist/index.js +29 -0
- package/dist/init-Cv748KKZ.js +8222 -0
- package/dist/launchset.schema.json +1473 -0
- package/dist/play-D7nv0n-W.js +123 -0
- package/dist/prompts-S8h8cgml.js +52 -0
- package/dist/schema-CKljQNeI.js +1202 -0
- package/dist/store-BCwWrhhY.js +73 -0
- package/package.json +88 -4
- package/skills/launchset/AGENTS-snippet.md +24 -0
- package/skills/launchset/SKILL.md +205 -0
- package/skills/launchset-adopt/SKILL.md +222 -0
- package/templates/gitlab/child/build.yml +17 -0
- package/templates/gitlab/child/cli.yml +14 -0
- package/templates/gitlab/child/comment.yml +14 -0
- package/templates/gitlab/child/finalize.yml +14 -0
- package/templates/gitlab/child/header.yml +4 -0
- package/templates/gitlab/child/include.yml +6 -0
- package/templates/gitlab/child/nothing.yml +11 -0
- package/templates/gitlab/gitlab-ci.yml +23 -0
- package/templates/gitlab/launchset-preview.yml +62 -0
- package/templates/gitlab/launchset-targets.yml +44 -0
- package/templates/gitlab/launchset.yml +133 -0
- package/templates/gitlab/targets/android.yml +25 -0
- package/templates/gitlab/targets/custom-npm.yml +15 -0
- package/templates/gitlab/targets/custom.yml +23 -0
- package/templates/gitlab/targets/docker.yml +23 -0
- package/templates/gitlab/targets/ios.yml +33 -0
- package/templates/gitlab/targets/web.yml +13 -0
- package/templates/launchset-readme.md +23 -0
- package/templates/workflows/launchset-check.yml +33 -0
- package/templates/workflows/launchset-preview.yml +157 -0
- package/templates/workflows/launchset-release.yml +181 -0
- package/templates/workflows/snippets/android.yml +41 -0
- package/templates/workflows/snippets/custom-example.yml +12 -0
- package/templates/workflows/snippets/custom-npm.yml +19 -0
- package/templates/workflows/snippets/custom.yml +9 -0
- package/templates/workflows/snippets/docker-login.yml +9 -0
- package/templates/workflows/snippets/docker.yml +17 -0
- package/templates/workflows/snippets/ios.yml +46 -0
- package/templates/workflows/snippets/web.yml +20 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# --- @@target@@ (ios): example steps, uncomment and adapt ---
|
|
2
|
+
# Remove this step once you've added the build and upload steps below: it stops the release
|
|
3
|
+
# from marking @@target@@ as shipped while nothing builds it.
|
|
4
|
+
- name: Build steps missing (@@target@@)
|
|
5
|
+
if: @@if@@
|
|
6
|
+
run: |
|
|
7
|
+
echo "::error::No build steps for @@target@@ yet. Add them to this workflow and remove this step."
|
|
8
|
+
exit 1
|
|
9
|
+
# `stamp` already wrote the marketing version (plain X.Y.Z) and the build number
|
|
10
|
+
# into the Xcode project. This job runs on a macOS runner. `channel` picks where the build goes:
|
|
11
|
+
# release -> TestFlight, ready to submit for App Store review; prerelease -> an external
|
|
12
|
+
# TestFlight group; preview -> internal testers only.
|
|
13
|
+
# Secrets are referenced by name only: add them as repository or organization secrets.
|
|
14
|
+
#
|
|
15
|
+
# - name: Archive (@@target@@)
|
|
16
|
+
# if: @@if@@
|
|
17
|
+
# run: |
|
|
18
|
+
# xcodebuild archive \
|
|
19
|
+
# -project "@@xcodeproj@@" \
|
|
20
|
+
# -scheme "@@scheme@@" \
|
|
21
|
+
# -configuration Release \
|
|
22
|
+
# -destination "generic/platform=iOS" \
|
|
23
|
+
# -archivePath "$RUNNER_TEMP/@@scheme@@.xcarchive"
|
|
24
|
+
# xcodebuild -exportArchive \
|
|
25
|
+
# -archivePath "$RUNNER_TEMP/@@scheme@@.xcarchive" \
|
|
26
|
+
# -exportOptionsPlist ExportOptions.plist \
|
|
27
|
+
# -exportPath "$RUNNER_TEMP/export"
|
|
28
|
+
# env:
|
|
29
|
+
# LAUNCHSET_VERSION: ${{ steps.stamp.outputs.marketing-version }}
|
|
30
|
+
# LAUNCHSET_BUILD_NUMBER: ${{ steps.stamp.outputs.build-number }}
|
|
31
|
+
# LAUNCHSET_CHANNEL: ${{ steps.stamp.outputs.channel }}
|
|
32
|
+
# - name: Upload to TestFlight (@@target@@)
|
|
33
|
+
# # Uses a fastlane lane (see "Workflow recipes" in the launchset docs):
|
|
34
|
+
# # lane :testflight do |options|
|
|
35
|
+
# # api_key = app_store_connect_api_key(key_id: ENV.fetch("ASC_KEY_ID"),
|
|
36
|
+
# # issuer_id: ENV.fetch("ASC_ISSUER_ID"), key_content: ENV.fetch("ASC_PRIVATE_KEY"))
|
|
37
|
+
# # upload_to_testflight(api_key: api_key, ipa: options.fetch(:ipa),
|
|
38
|
+
# # skip_waiting_for_build_processing: true)
|
|
39
|
+
# # end
|
|
40
|
+
# if: @@if@@
|
|
41
|
+
# run: bundle exec fastlane testflight ipa:"$RUNNER_TEMP/export/@@scheme@@.ipa"
|
|
42
|
+
# env:
|
|
43
|
+
# # The raw contents of the .p8 key (also used by `verify`).
|
|
44
|
+
# ASC_KEY_ID: ${{ secrets.LAUNCHSET_ASC_KEY_ID }}
|
|
45
|
+
# ASC_ISSUER_ID: ${{ secrets.LAUNCHSET_ASC_ISSUER_ID }}
|
|
46
|
+
# ASC_PRIVATE_KEY: ${{ secrets.LAUNCHSET_ASC_PRIVATE_KEY }}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# --- @@target@@ (web): your build and deploy steps, e.g. ---
|
|
2
|
+
# Remove this step once you've added the build and upload steps below: it stops the release
|
|
3
|
+
# from marking @@target@@ as shipped while nothing builds it.
|
|
4
|
+
- name: Build steps missing (@@target@@)
|
|
5
|
+
if: @@if@@
|
|
6
|
+
run: |
|
|
7
|
+
echo "::error::No build steps for @@target@@ yet. Add them to this workflow and remove this step."
|
|
8
|
+
exit 1
|
|
9
|
+
# The root package.json already has the version. `stamp` also wrote it into any extra `files`
|
|
10
|
+
# of this target.
|
|
11
|
+
#
|
|
12
|
+
# - run: npm ci && npm run build
|
|
13
|
+
# if: @@if@@
|
|
14
|
+
# env:
|
|
15
|
+
# LAUNCHSET_VERSION: ${{ steps.stamp.outputs.version }}
|
|
16
|
+
# LAUNCHSET_BUILD_NUMBER: ${{ steps.stamp.outputs.build-number }}
|
|
17
|
+
# LAUNCHSET_CHANNEL: ${{ steps.stamp.outputs.channel }}
|
|
18
|
+
# - name: Deploy (@@target@@)
|
|
19
|
+
# if: @@if@@
|
|
20
|
+
# run: ./scripts/deploy-web.sh # your own deploy
|