@invarn/cibuild 2.9.5 → 2.9.7
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/dist/chunk-35SI42CD.mjs +1 -0
- package/dist/chunk-IC45KVLJ.mjs +1 -0
- package/dist/chunk-XDY4V23V.mjs +1 -0
- package/dist/cli.cjs +14 -14
- package/dist/commands.mjs +1 -0
- package/dist/lib.mjs +3934 -0
- package/package.json +6 -10
- package/dist/src/cli.d.ts +0 -3
- package/dist/src/cli.d.ts.map +0 -1
- package/dist/src/cli.js +0 -399
- package/dist/src/commands/a-credential-target-follows-the-flavor-source-set.test.d.ts +0 -38
- package/dist/src/commands/a-credential-target-follows-the-flavor-source-set.test.d.ts.map +0 -1
- package/dist/src/commands/a-credential-target-follows-the-flavor-source-set.test.js +0 -222
- package/dist/src/commands/a-credential-two-workflows-cannot-share-is-declared-per-workflow.test.d.ts +0 -41
- package/dist/src/commands/a-credential-two-workflows-cannot-share-is-declared-per-workflow.test.d.ts.map +0 -1
- package/dist/src/commands/a-credential-two-workflows-cannot-share-is-declared-per-workflow.test.js +0 -324
- package/dist/src/commands/a-properties-stand-in-declares-the-keys-the-build-reads.test.d.ts +0 -2
- package/dist/src/commands/a-properties-stand-in-declares-the-keys-the-build-reads.test.d.ts.map +0 -1
- package/dist/src/commands/a-properties-stand-in-declares-the-keys-the-build-reads.test.js +0 -382
- package/dist/src/commands/an-already-stored-value-does-not-answer-the-target-question.test.d.ts +0 -29
- package/dist/src/commands/an-already-stored-value-does-not-answer-the-target-question.test.d.ts.map +0 -1
- package/dist/src/commands/an-already-stored-value-does-not-answer-the-target-question.test.js +0 -160
- package/dist/src/commands/android-gms-guard.test.d.ts +0 -9
- package/dist/src/commands/android-gms-guard.test.d.ts.map +0 -1
- package/dist/src/commands/android-gms-guard.test.js +0 -78
- package/dist/src/commands/android-java-version.test.d.ts +0 -12
- package/dist/src/commands/android-java-version.test.d.ts.map +0 -1
- package/dist/src/commands/android-java-version.test.js +0 -209
- package/dist/src/commands/android-scanner-java.test.d.ts +0 -2
- package/dist/src/commands/android-scanner-java.test.d.ts.map +0 -1
- package/dist/src/commands/android-scanner-java.test.js +0 -130
- package/dist/src/commands/android-scanner.d.ts +0 -250
- package/dist/src/commands/android-scanner.d.ts.map +0 -1
- package/dist/src/commands/android-scanner.js +0 -1639
- package/dist/src/commands/build.d.ts +0 -215
- package/dist/src/commands/build.d.ts.map +0 -1
- package/dist/src/commands/build.js +0 -1433
- package/dist/src/commands/build.test.d.ts +0 -13
- package/dist/src/commands/build.test.d.ts.map +0 -1
- package/dist/src/commands/build.test.js +0 -121
- package/dist/src/commands/detect-platform.d.ts +0 -13
- package/dist/src/commands/detect-platform.d.ts.map +0 -1
- package/dist/src/commands/detect-platform.js +0 -51
- package/dist/src/commands/detect-project.d.ts +0 -7
- package/dist/src/commands/detect-project.d.ts.map +0 -1
- package/dist/src/commands/detect-project.js +0 -12
- package/dist/src/commands/each-flavor-is-asked-for-its-own-properties-file.test.d.ts +0 -26
- package/dist/src/commands/each-flavor-is-asked-for-its-own-properties-file.test.d.ts.map +0 -1
- package/dist/src/commands/each-flavor-is-asked-for-its-own-properties-file.test.js +0 -196
- package/dist/src/commands/edit.d.ts +0 -12
- package/dist/src/commands/edit.d.ts.map +0 -1
- package/dist/src/commands/edit.js +0 -652
- package/dist/src/commands/edit.test.d.ts +0 -6
- package/dist/src/commands/edit.test.d.ts.map +0 -1
- package/dist/src/commands/edit.test.js +0 -45
- package/dist/src/commands/fidelity-trim.d.ts +0 -13
- package/dist/src/commands/fidelity-trim.d.ts.map +0 -1
- package/dist/src/commands/fidelity-trim.js +0 -21
- package/dist/src/commands/fidelity-trim.test.d.ts +0 -8
- package/dist/src/commands/fidelity-trim.test.d.ts.map +0 -1
- package/dist/src/commands/fidelity-trim.test.js +0 -79
- package/dist/src/commands/file-secret-collector.d.ts +0 -50
- package/dist/src/commands/file-secret-collector.d.ts.map +0 -1
- package/dist/src/commands/file-secret-collector.js +0 -217
- package/dist/src/commands/flavors-a-convention-plugin-creates-are-still-found.test.d.ts +0 -38
- package/dist/src/commands/flavors-a-convention-plugin-creates-are-still-found.test.d.ts.map +0 -1
- package/dist/src/commands/flavors-a-convention-plugin-creates-are-still-found.test.js +0 -300
- package/dist/src/commands/github-workflow.d.ts +0 -5
- package/dist/src/commands/github-workflow.d.ts.map +0 -1
- package/dist/src/commands/github-workflow.js +0 -45
- package/dist/src/commands/index.d.ts +0 -33
- package/dist/src/commands/index.d.ts.map +0 -1
- package/dist/src/commands/index.js +0 -33
- package/dist/src/commands/init.d.ts +0 -20
- package/dist/src/commands/init.d.ts.map +0 -1
- package/dist/src/commands/init.js +0 -264
- package/dist/src/commands/ios-scanner.d.ts +0 -104
- package/dist/src/commands/ios-scanner.d.ts.map +0 -1
- package/dist/src/commands/ios-scanner.js +0 -492
- package/dist/src/commands/ios-scheme-ranking.test.d.ts +0 -2
- package/dist/src/commands/ios-scheme-ranking.test.d.ts.map +0 -1
- package/dist/src/commands/ios-scheme-ranking.test.js +0 -264
- package/dist/src/commands/local-properties-reaches-every-workflow.test.d.ts +0 -30
- package/dist/src/commands/local-properties-reaches-every-workflow.test.d.ts.map +0 -1
- package/dist/src/commands/local-properties-reaches-every-workflow.test.js +0 -146
- package/dist/src/commands/reset.d.ts +0 -7
- package/dist/src/commands/reset.d.ts.map +0 -1
- package/dist/src/commands/reset.js +0 -81
- package/dist/src/commands/run.d.ts +0 -22
- package/dist/src/commands/run.d.ts.map +0 -1
- package/dist/src/commands/run.js +0 -141
- package/dist/src/commands/secrets-sync-workflow.d.ts +0 -15
- package/dist/src/commands/secrets-sync-workflow.d.ts.map +0 -1
- package/dist/src/commands/secrets-sync-workflow.js +0 -255
- package/dist/src/commands/secrets-upload.d.ts +0 -21
- package/dist/src/commands/secrets-upload.d.ts.map +0 -1
- package/dist/src/commands/secrets-upload.js +0 -177
- package/dist/src/commands/secrets-upload.test.d.ts +0 -5
- package/dist/src/commands/secrets-upload.test.d.ts.map +0 -1
- package/dist/src/commands/secrets-upload.test.js +0 -60
- package/dist/src/commands/validate.d.ts +0 -10
- package/dist/src/commands/validate.d.ts.map +0 -1
- package/dist/src/commands/validate.js +0 -46
- package/dist/src/config.d.ts +0 -3
- package/dist/src/config.d.ts.map +0 -1
- package/dist/src/config.js +0 -47
- package/dist/src/envman/cli.d.ts +0 -21
- package/dist/src/envman/cli.d.ts.map +0 -1
- package/dist/src/envman/cli.js +0 -240
- package/dist/src/envman/envman.d.ts +0 -83
- package/dist/src/envman/envman.d.ts.map +0 -1
- package/dist/src/envman/envman.js +0 -361
- package/dist/src/envman/envman.test.d.ts +0 -5
- package/dist/src/envman/envman.test.d.ts.map +0 -1
- package/dist/src/envman/envman.test.js +0 -236
- package/dist/src/envman/envstore-round-trip.test.d.ts +0 -27
- package/dist/src/envman/envstore-round-trip.test.d.ts.map +0 -1
- package/dist/src/envman/envstore-round-trip.test.js +0 -130
- package/dist/src/envman/index.d.ts +0 -23
- package/dist/src/envman/index.d.ts.map +0 -1
- package/dist/src/envman/index.js +0 -23
- package/dist/src/envman/shim.d.ts +0 -16
- package/dist/src/envman/shim.d.ts.map +0 -1
- package/dist/src/envman/shim.js +0 -66
- package/dist/src/envman/types.d.ts +0 -55
- package/dist/src/envman/types.d.ts.map +0 -1
- package/dist/src/envman/types.js +0 -12
- package/dist/src/lib.d.ts +0 -33
- package/dist/src/lib.d.ts.map +0 -1
- package/dist/src/lib.js +0 -37
- package/dist/src/pipeline.d.ts +0 -3
- package/dist/src/pipeline.d.ts.map +0 -1
- package/dist/src/pipeline.js +0 -57
- package/dist/src/runner-node-step.test.d.ts +0 -12
- package/dist/src/runner-node-step.test.d.ts.map +0 -1
- package/dist/src/runner-node-step.test.js +0 -61
- package/dist/src/runner.d.ts +0 -31
- package/dist/src/runner.d.ts.map +0 -1
- package/dist/src/runner.js +0 -240
- package/dist/src/shared/detect-project.d.ts +0 -57
- package/dist/src/shared/detect-project.d.ts.map +0 -1
- package/dist/src/shared/detect-project.js +0 -219
- package/dist/src/shared/detect-project.test.d.ts +0 -2
- package/dist/src/shared/detect-project.test.d.ts.map +0 -1
- package/dist/src/shared/detect-project.test.js +0 -161
- package/dist/src/shared/git.d.ts +0 -25
- package/dist/src/shared/git.d.ts.map +0 -1
- package/dist/src/shared/git.js +0 -53
- package/dist/src/shared/git.test.d.ts +0 -9
- package/dist/src/shared/git.test.d.ts.map +0 -1
- package/dist/src/shared/git.test.js +0 -66
- package/dist/src/shared/gitignore.d.ts +0 -6
- package/dist/src/shared/gitignore.d.ts.map +0 -1
- package/dist/src/shared/gitignore.js +0 -26
- package/dist/src/shared/gradle-settings.d.ts +0 -49
- package/dist/src/shared/gradle-settings.d.ts.map +0 -1
- package/dist/src/shared/gradle-settings.js +0 -138
- package/dist/src/shared/gradle-settings.test.d.ts +0 -2
- package/dist/src/shared/gradle-settings.test.d.ts.map +0 -1
- package/dist/src/shared/gradle-settings.test.js +0 -65
- package/dist/src/shared/prompts.d.ts +0 -30
- package/dist/src/shared/prompts.d.ts.map +0 -1
- package/dist/src/shared/prompts.js +0 -121
- package/dist/src/shared/xcode-container.test.d.ts +0 -2
- package/dist/src/shared/xcode-container.test.d.ts.map +0 -1
- package/dist/src/shared/xcode-container.test.js +0 -123
- package/dist/src/step-marker.d.ts +0 -12
- package/dist/src/step-marker.d.ts.map +0 -1
- package/dist/src/step-marker.js +0 -29
- package/dist/src/step-marker.test.d.ts +0 -11
- package/dist/src/step-marker.test.d.ts.map +0 -1
- package/dist/src/step-marker.test.js +0 -45
- package/dist/src/types.d.ts +0 -58
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/types.js +0 -2
- package/dist/src/yaml/a-cache-path-must-not-swallow-a-credential.test.d.ts +0 -28
- package/dist/src/yaml/a-cache-path-must-not-swallow-a-credential.test.d.ts.map +0 -1
- package/dist/src/yaml/a-cache-path-must-not-swallow-a-credential.test.js +0 -223
- package/dist/src/yaml/a-declared-secret-reaches-the-file-step.test.d.ts +0 -20
- package/dist/src/yaml/a-declared-secret-reaches-the-file-step.test.d.ts.map +0 -1
- package/dist/src/yaml/a-declared-secret-reaches-the-file-step.test.js +0 -201
- package/dist/src/yaml/a-declared-slot-may-name-the-workflow-it-belongs-to.test.d.ts +0 -37
- package/dist/src/yaml/a-declared-slot-may-name-the-workflow-it-belongs-to.test.d.ts.map +0 -1
- package/dist/src/yaml/a-declared-slot-may-name-the-workflow-it-belongs-to.test.js +0 -255
- package/dist/src/yaml/a-missing-credential-is-loud.test.d.ts +0 -32
- package/dist/src/yaml/a-missing-credential-is-loud.test.d.ts.map +0 -1
- package/dist/src/yaml/a-missing-credential-is-loud.test.js +0 -301
- package/dist/src/yaml/a-runtime-requirement-names-a-real-provider.test.d.ts +0 -18
- package/dist/src/yaml/a-runtime-requirement-names-a-real-provider.test.d.ts.map +0 -1
- package/dist/src/yaml/a-runtime-requirement-names-a-real-provider.test.js +0 -66
- package/dist/src/yaml/a-scoped-slot-must-name-a-workflow-the-pipeline-has.test.d.ts +0 -34
- package/dist/src/yaml/a-scoped-slot-must-name-a-workflow-the-pipeline-has.test.d.ts.map +0 -1
- package/dist/src/yaml/a-scoped-slot-must-name-a-workflow-the-pipeline-has.test.js +0 -218
- package/dist/src/yaml/a-value-this-instance-stored-is-a-value-it-has.test.d.ts +0 -27
- package/dist/src/yaml/a-value-this-instance-stored-is-a-value-it-has.test.d.ts.map +0 -1
- package/dist/src/yaml/a-value-this-instance-stored-is-a-value-it-has.test.js +0 -126
- package/dist/src/yaml/bitrise-compat.d.ts +0 -65
- package/dist/src/yaml/bitrise-compat.d.ts.map +0 -1
- package/dist/src/yaml/bitrise-compat.js +0 -206
- package/dist/src/yaml/bitrise-compat.test.d.ts +0 -5
- package/dist/src/yaml/bitrise-compat.test.d.ts.map +0 -1
- package/dist/src/yaml/bitrise-compat.test.js +0 -347
- package/dist/src/yaml/cache-key-missing-file.test.d.ts +0 -12
- package/dist/src/yaml/cache-key-missing-file.test.d.ts.map +0 -1
- package/dist/src/yaml/cache-key-missing-file.test.js +0 -116
- package/dist/src/yaml/converter.d.ts +0 -103
- package/dist/src/yaml/converter.d.ts.map +0 -1
- package/dist/src/yaml/converter.js +0 -420
- package/dist/src/yaml/converter.test.d.ts +0 -5
- package/dist/src/yaml/converter.test.d.ts.map +0 -1
- package/dist/src/yaml/converter.test.js +0 -548
- package/dist/src/yaml/e2e.test.d.ts +0 -6
- package/dist/src/yaml/e2e.test.d.ts.map +0 -1
- package/dist/src/yaml/e2e.test.js +0 -446
- package/dist/src/yaml/env-resolver.d.ts +0 -218
- package/dist/src/yaml/env-resolver.d.ts.map +0 -1
- package/dist/src/yaml/env-resolver.js +0 -591
- package/dist/src/yaml/env-resolver.test.d.ts +0 -5
- package/dist/src/yaml/env-resolver.test.d.ts.map +0 -1
- package/dist/src/yaml/env-resolver.test.js +0 -502
- package/dist/src/yaml/every-build-log-witnesses-the-commit-on-disk.test.d.ts +0 -16
- package/dist/src/yaml/every-build-log-witnesses-the-commit-on-disk.test.d.ts.map +0 -1
- package/dist/src/yaml/every-build-log-witnesses-the-commit-on-disk.test.js +0 -126
- package/dist/src/yaml/fidelity-input-digest.d.ts +0 -37
- package/dist/src/yaml/fidelity-input-digest.d.ts.map +0 -1
- package/dist/src/yaml/fidelity-input-digest.js +0 -208
- package/dist/src/yaml/fidelity-input-digest.test.d.ts +0 -2
- package/dist/src/yaml/fidelity-input-digest.test.d.ts.map +0 -1
- package/dist/src/yaml/fidelity-input-digest.test.js +0 -167
- package/dist/src/yaml/fidelity-manifest.d.ts +0 -126
- package/dist/src/yaml/fidelity-manifest.d.ts.map +0 -1
- package/dist/src/yaml/fidelity-manifest.js +0 -134
- package/dist/src/yaml/fidelity-manifest.test.d.ts +0 -12
- package/dist/src/yaml/fidelity-manifest.test.d.ts.map +0 -1
- package/dist/src/yaml/fidelity-manifest.test.js +0 -251
- package/dist/src/yaml/interactive-prompts.d.ts +0 -71
- package/dist/src/yaml/interactive-prompts.d.ts.map +0 -1
- package/dist/src/yaml/interactive-prompts.js +0 -260
- package/dist/src/yaml/meta-helpers.d.ts +0 -28
- package/dist/src/yaml/meta-helpers.d.ts.map +0 -1
- package/dist/src/yaml/meta-helpers.js +0 -46
- package/dist/src/yaml/missing-env-handler.d.ts +0 -45
- package/dist/src/yaml/missing-env-handler.d.ts.map +0 -1
- package/dist/src/yaml/missing-env-handler.js +0 -64
- package/dist/src/yaml/parser.d.ts +0 -33
- package/dist/src/yaml/parser.d.ts.map +0 -1
- package/dist/src/yaml/parser.js +0 -148
- package/dist/src/yaml/parser.test.d.ts +0 -5
- package/dist/src/yaml/parser.test.d.ts.map +0 -1
- package/dist/src/yaml/parser.test.js +0 -83
- package/dist/src/yaml/pipeline-with-secrets.d.ts +0 -25
- package/dist/src/yaml/pipeline-with-secrets.d.ts.map +0 -1
- package/dist/src/yaml/pipeline-with-secrets.js +0 -76
- package/dist/src/yaml/platform-detector.d.ts +0 -83
- package/dist/src/yaml/platform-detector.d.ts.map +0 -1
- package/dist/src/yaml/platform-detector.js +0 -189
- package/dist/src/yaml/platform-detector.test.d.ts +0 -5
- package/dist/src/yaml/platform-detector.test.d.ts.map +0 -1
- package/dist/src/yaml/platform-detector.test.js +0 -525
- package/dist/src/yaml/preflight-validation.d.ts +0 -29
- package/dist/src/yaml/preflight-validation.d.ts.map +0 -1
- package/dist/src/yaml/preflight-validation.js +0 -21
- package/dist/src/yaml/secrets-manager.d.ts +0 -87
- package/dist/src/yaml/secrets-manager.d.ts.map +0 -1
- package/dist/src/yaml/secrets-manager.js +0 -230
- package/dist/src/yaml/shell-assignments.d.ts +0 -40
- package/dist/src/yaml/shell-assignments.d.ts.map +0 -1
- package/dist/src/yaml/shell-assignments.js +0 -77
- package/dist/src/yaml/step-validator-check-failure.test.d.ts +0 -24
- package/dist/src/yaml/step-validator-check-failure.test.d.ts.map +0 -1
- package/dist/src/yaml/step-validator-check-failure.test.js +0 -130
- package/dist/src/yaml/step-validator-self-assigned.test.d.ts +0 -23
- package/dist/src/yaml/step-validator-self-assigned.test.d.ts.map +0 -1
- package/dist/src/yaml/step-validator-self-assigned.test.js +0 -191
- package/dist/src/yaml/step-validator.d.ts +0 -67
- package/dist/src/yaml/step-validator.d.ts.map +0 -1
- package/dist/src/yaml/step-validator.js +0 -466
- package/dist/src/yaml/step-validator.test.d.ts +0 -18
- package/dist/src/yaml/step-validator.test.d.ts.map +0 -1
- package/dist/src/yaml/step-validator.test.js +0 -140
- package/dist/src/yaml/steps/android-sign.d.ts +0 -35
- package/dist/src/yaml/steps/android-sign.d.ts.map +0 -1
- package/dist/src/yaml/steps/android-sign.js +0 -147
- package/dist/src/yaml/steps/android-variant-resolution.test.d.ts +0 -2
- package/dist/src/yaml/steps/android-variant-resolution.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/android-variant-resolution.test.js +0 -260
- package/dist/src/yaml/steps/android-version.d.ts +0 -26
- package/dist/src/yaml/steps/android-version.d.ts.map +0 -1
- package/dist/src/yaml/steps/android-version.js +0 -128
- package/dist/src/yaml/steps/android-version.test.d.ts +0 -5
- package/dist/src/yaml/steps/android-version.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/android-version.test.js +0 -196
- package/dist/src/yaml/steps/android.d.ts +0 -156
- package/dist/src/yaml/steps/android.d.ts.map +0 -1
- package/dist/src/yaml/steps/android.js +0 -1092
- package/dist/src/yaml/steps/app-store-deploy.d.ts +0 -48
- package/dist/src/yaml/steps/app-store-deploy.d.ts.map +0 -1
- package/dist/src/yaml/steps/app-store-deploy.js +0 -167
- package/dist/src/yaml/steps/base.d.ts +0 -263
- package/dist/src/yaml/steps/base.d.ts.map +0 -1
- package/dist/src/yaml/steps/base.js +0 -380
- package/dist/src/yaml/steps/bitrise-android-tools.d.ts +0 -26
- package/dist/src/yaml/steps/bitrise-android-tools.d.ts.map +0 -1
- package/dist/src/yaml/steps/bitrise-android-tools.js +0 -200
- package/dist/src/yaml/steps/bitrise-android-tools.test.d.ts +0 -5
- package/dist/src/yaml/steps/bitrise-android-tools.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/bitrise-android-tools.test.js +0 -280
- package/dist/src/yaml/steps/bitrise-apk-info.d.ts +0 -22
- package/dist/src/yaml/steps/bitrise-apk-info.d.ts.map +0 -1
- package/dist/src/yaml/steps/bitrise-apk-info.js +0 -144
- package/dist/src/yaml/steps/bitrise-apk-info.test.d.ts +0 -5
- package/dist/src/yaml/steps/bitrise-apk-info.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/bitrise-apk-info.test.js +0 -331
- package/dist/src/yaml/steps/bitrise-slack.d.ts +0 -49
- package/dist/src/yaml/steps/bitrise-slack.d.ts.map +0 -1
- package/dist/src/yaml/steps/bitrise-slack.js +0 -280
- package/dist/src/yaml/steps/bitrise-slack.test.d.ts +0 -5
- package/dist/src/yaml/steps/bitrise-slack.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/bitrise-slack.test.js +0 -484
- package/dist/src/yaml/steps/bitrise-ssh.d.ts +0 -27
- package/dist/src/yaml/steps/bitrise-ssh.d.ts.map +0 -1
- package/dist/src/yaml/steps/bitrise-ssh.js +0 -134
- package/dist/src/yaml/steps/bitrise-ssh.test.d.ts +0 -5
- package/dist/src/yaml/steps/bitrise-ssh.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/bitrise-ssh.test.js +0 -205
- package/dist/src/yaml/steps/cache-pull-daemon.test.d.ts +0 -27
- package/dist/src/yaml/steps/cache-pull-daemon.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/cache-pull-daemon.test.js +0 -212
- package/dist/src/yaml/steps/cache-pull-restore-roots.test.d.ts +0 -42
- package/dist/src/yaml/steps/cache-pull-restore-roots.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/cache-pull-restore-roots.test.js +0 -209
- package/dist/src/yaml/steps/cache-push-daemon.test.d.ts +0 -27
- package/dist/src/yaml/steps/cache-push-daemon.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/cache-push-daemon.test.js +0 -171
- package/dist/src/yaml/steps/cache.d.ts +0 -59
- package/dist/src/yaml/steps/cache.d.ts.map +0 -1
- package/dist/src/yaml/steps/cache.js +0 -1027
- package/dist/src/yaml/steps/capture-injection.d.ts +0 -30
- package/dist/src/yaml/steps/capture-injection.d.ts.map +0 -1
- package/dist/src/yaml/steps/capture-injection.js +0 -88
- package/dist/src/yaml/steps/capture-injection.test.d.ts +0 -2
- package/dist/src/yaml/steps/capture-injection.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/capture-injection.test.js +0 -163
- package/dist/src/yaml/steps/cocoapods-deployment-floor.d.ts +0 -42
- package/dist/src/yaml/steps/cocoapods-deployment-floor.d.ts.map +0 -1
- package/dist/src/yaml/steps/cocoapods-deployment-floor.js +0 -140
- package/dist/src/yaml/steps/cocoapods-deployment-floor.test.d.ts +0 -11
- package/dist/src/yaml/steps/cocoapods-deployment-floor.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/cocoapods-deployment-floor.test.js +0 -176
- package/dist/src/yaml/steps/cocoapods-install-emits-valid-bash.test.d.ts +0 -22
- package/dist/src/yaml/steps/cocoapods-install-emits-valid-bash.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/cocoapods-install-emits-valid-bash.test.js +0 -97
- package/dist/src/yaml/steps/cocoapods-locked-bundler.test.d.ts +0 -17
- package/dist/src/yaml/steps/cocoapods-locked-bundler.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/cocoapods-locked-bundler.test.js +0 -282
- package/dist/src/yaml/steps/cocoapods-skip-if-absent.test.d.ts +0 -17
- package/dist/src/yaml/steps/cocoapods-skip-if-absent.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/cocoapods-skip-if-absent.test.js +0 -132
- package/dist/src/yaml/steps/envstore-loader.test.d.ts +0 -15
- package/dist/src/yaml/steps/envstore-loader.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/envstore-loader.test.js +0 -143
- package/dist/src/yaml/steps/fastlane.d.ts +0 -27
- package/dist/src/yaml/steps/fastlane.d.ts.map +0 -1
- package/dist/src/yaml/steps/fastlane.js +0 -79
- package/dist/src/yaml/steps/fidelity-aspect-guard.d.ts +0 -53
- package/dist/src/yaml/steps/fidelity-aspect-guard.d.ts.map +0 -1
- package/dist/src/yaml/steps/fidelity-aspect-guard.js +0 -72
- package/dist/src/yaml/steps/fidelity-aspect-guard.test.d.ts +0 -11
- package/dist/src/yaml/steps/fidelity-aspect-guard.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/fidelity-aspect-guard.test.js +0 -50
- package/dist/src/yaml/steps/fidelity-reference-provenance.d.ts +0 -87
- package/dist/src/yaml/steps/fidelity-reference-provenance.d.ts.map +0 -1
- package/dist/src/yaml/steps/fidelity-reference-provenance.js +0 -111
- package/dist/src/yaml/steps/fidelity-reference-provenance.test.d.ts +0 -22
- package/dist/src/yaml/steps/fidelity-reference-provenance.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/fidelity-reference-provenance.test.js +0 -118
- package/dist/src/yaml/steps/file.d.ts +0 -52
- package/dist/src/yaml/steps/file.d.ts.map +0 -1
- package/dist/src/yaml/steps/file.js +0 -108
- package/dist/src/yaml/steps/flutter.d.ts +0 -63
- package/dist/src/yaml/steps/flutter.d.ts.map +0 -1
- package/dist/src/yaml/steps/flutter.js +0 -215
- package/dist/src/yaml/steps/git-clone-names-the-inputs-it-ignores.test.d.ts +0 -16
- package/dist/src/yaml/steps/git-clone-names-the-inputs-it-ignores.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/git-clone-names-the-inputs-it-ignores.test.js +0 -127
- package/dist/src/yaml/steps/git-clone.d.ts +0 -32
- package/dist/src/yaml/steps/git-clone.d.ts.map +0 -1
- package/dist/src/yaml/steps/git-clone.js +0 -171
- package/dist/src/yaml/steps/git-fetch-retry-exec.test.d.ts +0 -10
- package/dist/src/yaml/steps/git-fetch-retry-exec.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/git-fetch-retry-exec.test.js +0 -162
- package/dist/src/yaml/steps/git-fetch-retry.d.ts +0 -62
- package/dist/src/yaml/steps/git-fetch-retry.d.ts.map +0 -1
- package/dist/src/yaml/steps/git-fetch-retry.js +0 -155
- package/dist/src/yaml/steps/git-fetch-retry.test.d.ts +0 -5
- package/dist/src/yaml/steps/git-fetch-retry.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/git-fetch-retry.test.js +0 -86
- package/dist/src/yaml/steps/google-play-deploy.d.ts +0 -37
- package/dist/src/yaml/steps/google-play-deploy.d.ts.map +0 -1
- package/dist/src/yaml/steps/google-play-deploy.js +0 -193
- package/dist/src/yaml/steps/google-play-deploy.test.d.ts +0 -5
- package/dist/src/yaml/steps/google-play-deploy.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/google-play-deploy.test.js +0 -310
- package/dist/src/yaml/steps/gradle-memory.d.ts +0 -61
- package/dist/src/yaml/steps/gradle-memory.d.ts.map +0 -1
- package/dist/src/yaml/steps/gradle-memory.js +0 -386
- package/dist/src/yaml/steps/gradle-memory.test.d.ts +0 -2
- package/dist/src/yaml/steps/gradle-memory.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/gradle-memory.test.js +0 -344
- package/dist/src/yaml/steps/gradle-sdk-cmake.d.ts +0 -28
- package/dist/src/yaml/steps/gradle-sdk-cmake.d.ts.map +0 -1
- package/dist/src/yaml/steps/gradle-sdk-cmake.js +0 -107
- package/dist/src/yaml/steps/gradle-sdk-cmake.test.d.ts +0 -2
- package/dist/src/yaml/steps/gradle-sdk-cmake.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/gradle-sdk-cmake.test.js +0 -183
- package/dist/src/yaml/steps/index.d.ts +0 -10
- package/dist/src/yaml/steps/index.d.ts.map +0 -1
- package/dist/src/yaml/steps/index.js +0 -1461
- package/dist/src/yaml/steps/ios-deps.d.ts +0 -78
- package/dist/src/yaml/steps/ios-deps.d.ts.map +0 -1
- package/dist/src/yaml/steps/ios-deps.js +0 -279
- package/dist/src/yaml/steps/ios-deps.test.d.ts +0 -5
- package/dist/src/yaml/steps/ios-deps.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/ios-deps.test.js +0 -90
- package/dist/src/yaml/steps/ios-signing.d.ts +0 -31
- package/dist/src/yaml/steps/ios-signing.d.ts.map +0 -1
- package/dist/src/yaml/steps/ios-signing.js +0 -144
- package/dist/src/yaml/steps/ios-version.d.ts +0 -47
- package/dist/src/yaml/steps/ios-version.d.ts.map +0 -1
- package/dist/src/yaml/steps/ios-version.js +0 -151
- package/dist/src/yaml/steps/java-home-version-spec.test.d.ts +0 -10
- package/dist/src/yaml/steps/java-home-version-spec.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/java-home-version-spec.test.js +0 -58
- package/dist/src/yaml/steps/linting.d.ts +0 -47
- package/dist/src/yaml/steps/linting.d.ts.map +0 -1
- package/dist/src/yaml/steps/linting.js +0 -148
- package/dist/src/yaml/steps/phase2.test.d.ts +0 -6
- package/dist/src/yaml/steps/phase2.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/phase2.test.js +0 -197
- package/dist/src/yaml/steps/phase3.test.d.ts +0 -5
- package/dist/src/yaml/steps/phase3.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/phase3.test.js +0 -144
- package/dist/src/yaml/steps/phase4.test.d.ts +0 -5
- package/dist/src/yaml/steps/phase4.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/phase4.test.js +0 -166
- package/dist/src/yaml/steps/phase5.test.d.ts +0 -6
- package/dist/src/yaml/steps/phase5.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/phase5.test.js +0 -263
- package/dist/src/yaml/steps/registry.d.ts +0 -88
- package/dist/src/yaml/steps/registry.d.ts.map +0 -1
- package/dist/src/yaml/steps/registry.js +0 -125
- package/dist/src/yaml/steps/registry.test.d.ts +0 -5
- package/dist/src/yaml/steps/registry.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/registry.test.js +0 -235
- package/dist/src/yaml/steps/release.d.ts +0 -50
- package/dist/src/yaml/steps/release.d.ts.map +0 -1
- package/dist/src/yaml/steps/release.js +0 -154
- package/dist/src/yaml/steps/render-post-processor.d.ts +0 -100
- package/dist/src/yaml/steps/render-post-processor.d.ts.map +0 -1
- package/dist/src/yaml/steps/render-post-processor.js +0 -270
- package/dist/src/yaml/steps/render-post-processor.test.d.ts +0 -13
- package/dist/src/yaml/steps/render-post-processor.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/render-post-processor.test.js +0 -220
- package/dist/src/yaml/steps/script.d.ts +0 -23
- package/dist/src/yaml/steps/script.d.ts.map +0 -1
- package/dist/src/yaml/steps/script.js +0 -63
- package/dist/src/yaml/steps/spec-validation.test.d.ts +0 -6
- package/dist/src/yaml/steps/spec-validation.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/spec-validation.test.js +0 -130
- package/dist/src/yaml/steps/steps.test.d.ts +0 -6
- package/dist/src/yaml/steps/steps.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/steps.test.js +0 -881
- package/dist/src/yaml/steps/structural-facts.d.ts +0 -992
- package/dist/src/yaml/steps/structural-facts.d.ts.map +0 -1
- package/dist/src/yaml/steps/structural-facts.js +0 -3276
- package/dist/src/yaml/steps/structural-facts.test.d.ts +0 -12
- package/dist/src/yaml/steps/structural-facts.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/structural-facts.test.js +0 -3039
- package/dist/src/yaml/steps/test-config.d.ts +0 -5
- package/dist/src/yaml/steps/test-config.d.ts.map +0 -1
- package/dist/src/yaml/steps/test-config.js +0 -25
- package/dist/src/yaml/steps/trim-align-corpus.test.d.ts +0 -28
- package/dist/src/yaml/steps/trim-align-corpus.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/trim-align-corpus.test.js +0 -383
- package/dist/src/yaml/steps/trim-align.d.ts +0 -87
- package/dist/src/yaml/steps/trim-align.d.ts.map +0 -1
- package/dist/src/yaml/steps/trim-align.js +0 -367
- package/dist/src/yaml/steps/trim-align.test.d.ts +0 -11
- package/dist/src/yaml/steps/trim-align.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/trim-align.test.js +0 -261
- package/dist/src/yaml/steps/ui-fidelity-preview-android.d.ts +0 -66
- package/dist/src/yaml/steps/ui-fidelity-preview-android.d.ts.map +0 -1
- package/dist/src/yaml/steps/ui-fidelity-preview-android.js +0 -251
- package/dist/src/yaml/steps/ui-fidelity-preview-android.test.d.ts +0 -13
- package/dist/src/yaml/steps/ui-fidelity-preview-android.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/ui-fidelity-preview-android.test.js +0 -302
- package/dist/src/yaml/steps/ui-fidelity-preview.d.ts +0 -134
- package/dist/src/yaml/steps/ui-fidelity-preview.d.ts.map +0 -1
- package/dist/src/yaml/steps/ui-fidelity-preview.js +0 -173
- package/dist/src/yaml/steps/ui-fidelity-preview.test.d.ts +0 -11
- package/dist/src/yaml/steps/ui-fidelity-preview.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/ui-fidelity-preview.test.js +0 -210
- package/dist/src/yaml/steps/ui-fidelity-render-android.d.ts +0 -155
- package/dist/src/yaml/steps/ui-fidelity-render-android.d.ts.map +0 -1
- package/dist/src/yaml/steps/ui-fidelity-render-android.js +0 -1389
- package/dist/src/yaml/steps/ui-fidelity-render-android.test.d.ts +0 -2
- package/dist/src/yaml/steps/ui-fidelity-render-android.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/ui-fidelity-render-android.test.js +0 -1106
- package/dist/src/yaml/steps/ui-fidelity-render.d.ts +0 -230
- package/dist/src/yaml/steps/ui-fidelity-render.d.ts.map +0 -1
- package/dist/src/yaml/steps/ui-fidelity-render.js +0 -1597
- package/dist/src/yaml/steps/ui-fidelity-render.test.d.ts +0 -18
- package/dist/src/yaml/steps/ui-fidelity-render.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/ui-fidelity-render.test.js +0 -1871
- package/dist/src/yaml/steps/xcode-app-product.d.ts +0 -90
- package/dist/src/yaml/steps/xcode-app-product.d.ts.map +0 -1
- package/dist/src/yaml/steps/xcode-app-product.js +0 -247
- package/dist/src/yaml/steps/xcode-app-product.test.d.ts +0 -2
- package/dist/src/yaml/steps/xcode-app-product.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/xcode-app-product.test.js +0 -202
- package/dist/src/yaml/steps/xcode-derived-data.test.d.ts +0 -30
- package/dist/src/yaml/steps/xcode-derived-data.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/xcode-derived-data.test.js +0 -279
- package/dist/src/yaml/steps/xcode-destination.d.ts +0 -47
- package/dist/src/yaml/steps/xcode-destination.d.ts.map +0 -1
- package/dist/src/yaml/steps/xcode-destination.js +0 -202
- package/dist/src/yaml/steps/xcode-destination.test.d.ts +0 -9
- package/dist/src/yaml/steps/xcode-destination.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/xcode-destination.test.js +0 -227
- package/dist/src/yaml/steps/xcode-new.test.d.ts +0 -5
- package/dist/src/yaml/steps/xcode-new.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/xcode-new.test.js +0 -211
- package/dist/src/yaml/steps/xcode-resolve-retry.test.d.ts +0 -9
- package/dist/src/yaml/steps/xcode-resolve-retry.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/xcode-resolve-retry.test.js +0 -146
- package/dist/src/yaml/steps/xcode-simulator-archs.d.ts +0 -53
- package/dist/src/yaml/steps/xcode-simulator-archs.d.ts.map +0 -1
- package/dist/src/yaml/steps/xcode-simulator-archs.js +0 -98
- package/dist/src/yaml/steps/xcode-simulator-archs.test.d.ts +0 -21
- package/dist/src/yaml/steps/xcode-simulator-archs.test.d.ts.map +0 -1
- package/dist/src/yaml/steps/xcode-simulator-archs.test.js +0 -155
- package/dist/src/yaml/steps/xcode.d.ts +0 -230
- package/dist/src/yaml/steps/xcode.d.ts.map +0 -1
- package/dist/src/yaml/steps/xcode.js +0 -1350
- package/dist/src/yaml/types.d.ts +0 -76
- package/dist/src/yaml/types.d.ts.map +0 -1
- package/dist/src/yaml/types.js +0 -5
- package/dist/src/yaml/validation-types.d.ts +0 -102
- package/dist/src/yaml/validation-types.d.ts.map +0 -1
- package/dist/src/yaml/validation-types.js +0 -8
- package/dist/src/yaml/yaml-updater.d.ts +0 -24
- package/dist/src/yaml/yaml-updater.d.ts.map +0 -1
- package/dist/src/yaml/yaml-updater.js +0 -128
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Product flavors a convention plugin creates are still the project's flavors.
|
|
3
|
-
*
|
|
4
|
-
* `detectBuildVariants` looked for a literal `productFlavors { … }` block in a
|
|
5
|
-
* Gradle file. Modern Android does not write one: the flavors are an enum in a
|
|
6
|
-
* convention plugin's Kotlin source and are created programmatically —
|
|
7
|
-
* `AppFlavor.values().forEach { create(flavor.name) }` — so the block the
|
|
8
|
-
* scan looks for does not exist anywhere in the repository.
|
|
9
|
-
*
|
|
10
|
-
* `android-variant-resolution.test.ts` already records the *runtime* half of
|
|
11
|
-
* this: nowinandroid declares its flavors the same way, Gradle refused
|
|
12
|
-
* `:app:lintDebug` as ambiguous, and the step now reads the candidates out of
|
|
13
|
-
* Gradle's own error. That recovers a task name during a build. It cannot
|
|
14
|
-
* recover anything decided *before* the build:
|
|
15
|
-
*
|
|
16
|
-
* - `googleServicesTargets` writes every workflow's `google-services.json`
|
|
17
|
-
* to the module root instead of its flavor's source set, which is the
|
|
18
|
-
* silent wrong-file failure `bld_8e60d90ab4e55f85d2f72459` spent 1292
|
|
19
|
-
* Gradle tasks discovering;
|
|
20
|
-
* - `variantFlavors` reports no flavor for any workflow, so `credentialSlots`
|
|
21
|
-
* sees no disagreement and declares one flat slot where the workflows need
|
|
22
|
-
* one value each;
|
|
23
|
-
* - the variant prompt offers `debug, release` and nothing else.
|
|
24
|
-
*
|
|
25
|
-
* Gradle is not available to the scan — it is a static read, and running a
|
|
26
|
-
* configuration phase to list flavors would cost minutes. The evidence that
|
|
27
|
-
* *is* on disk is the one AGP itself relies on: a flavor has a source set.
|
|
28
|
-
* `app/src/ciDynamic/`, `app/src/prod/` — the same directories
|
|
29
|
-
* `findGoogleServices` in `invarn setup` has always read the flavor from,
|
|
30
|
-
* which is why setup resolves this repository correctly while the generator
|
|
31
|
-
* does not.
|
|
32
|
-
*
|
|
33
|
-
* It is a **fallback**, not a merge: a project whose Gradle files declare
|
|
34
|
-
* flavors literally is decided by those files exactly as before, so this can
|
|
35
|
-
* only change the answer for a project that currently detects none.
|
|
36
|
-
*/
|
|
37
|
-
import { describe, test, expect, beforeEach, afterEach } from '@jest/globals';
|
|
38
|
-
import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';
|
|
39
|
-
import { tmpdir } from 'node:os';
|
|
40
|
-
import { join, resolve } from 'node:path';
|
|
41
|
-
import { load } from 'js-yaml';
|
|
42
|
-
import { detectBuildVariants, scanAndroidProject } from './android-scanner.js';
|
|
43
|
-
import { generateAndroidPipeline, googleServicesTargets, variantFlavors, } from './build.js';
|
|
44
|
-
let root;
|
|
45
|
-
beforeEach(() => {
|
|
46
|
-
root = resolve(mkdtempSync(join(tmpdir(), 'cibuild-convention-flavors-')));
|
|
47
|
-
});
|
|
48
|
-
afterEach(() => {
|
|
49
|
-
rmSync(root, { recursive: true, force: true });
|
|
50
|
-
});
|
|
51
|
-
/** Writes `app/build.gradle.kts` with the given body and returns its path. */
|
|
52
|
-
function appModule(body) {
|
|
53
|
-
mkdirSync(join(root, 'app'), { recursive: true });
|
|
54
|
-
const path = join(root, 'app', 'build.gradle.kts');
|
|
55
|
-
writeFileSync(path, body, 'utf-8');
|
|
56
|
-
return path;
|
|
57
|
-
}
|
|
58
|
-
/** Creates `app/src/<name>/` holding each of `children`. */
|
|
59
|
-
function sourceSet(name, children = ['res']) {
|
|
60
|
-
const dir = join(root, 'app', 'src', name);
|
|
61
|
-
mkdirSync(dir, { recursive: true });
|
|
62
|
-
for (const child of children) {
|
|
63
|
-
if (child.includes('.'))
|
|
64
|
-
writeFileSync(join(dir, child), '{}', 'utf-8');
|
|
65
|
-
else
|
|
66
|
-
mkdirSync(join(dir, child), { recursive: true });
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
/** An `android { buildTypes { … } }` block with no `productFlavors` anywhere. */
|
|
70
|
-
const CONVENTION_PLUGIN_MODULE = `
|
|
71
|
-
plugins {
|
|
72
|
-
id("acme.android.application")
|
|
73
|
-
id("acme.android.application.flavors")
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
android {
|
|
77
|
-
namespace = "com.example.app"
|
|
78
|
-
buildTypes {
|
|
79
|
-
debug { isMinifyEnabled = false }
|
|
80
|
-
release { isMinifyEnabled = true }
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
androidComponents {
|
|
85
|
-
onVariants { variant ->
|
|
86
|
-
if (variant.buildType == "release" &&
|
|
87
|
-
variant.productFlavors.any { it.second == "prod" }
|
|
88
|
-
) {
|
|
89
|
-
variant.signingConfig.setConfig(android.signingConfigs.getByName("release"))
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
`;
|
|
94
|
-
describe('flavors declared by a convention plugin', () => {
|
|
95
|
-
test('are read from the source sets the flavors have on disk', () => {
|
|
96
|
-
const gradle = appModule(CONVENTION_PLUGIN_MODULE);
|
|
97
|
-
sourceSet('main', ['AndroidManifest.xml', 'java', 'res']);
|
|
98
|
-
sourceSet('ciDynamic', ['google-services.json', 'res']);
|
|
99
|
-
sourceSet('dev', ['google-services.json', 'res']);
|
|
100
|
-
sourceSet('prod', ['google-services.json', 'res']);
|
|
101
|
-
expect(detectBuildVariants([gradle]).productFlavors).toEqual(['ciDynamic', 'dev', 'prod']);
|
|
102
|
-
});
|
|
103
|
-
test('become the variants the prompt offers', () => {
|
|
104
|
-
const gradle = appModule(CONVENTION_PLUGIN_MODULE);
|
|
105
|
-
sourceSet('main', ['AndroidManifest.xml']);
|
|
106
|
-
sourceSet('ciDynamic');
|
|
107
|
-
sourceSet('prod');
|
|
108
|
-
// Every flavor crossed with every build type, which is what the literal
|
|
109
|
-
// path has always produced.
|
|
110
|
-
expect(detectBuildVariants([gradle]).variants).toEqual([
|
|
111
|
-
'ciDynamicDebug',
|
|
112
|
-
'ciDynamicRelease',
|
|
113
|
-
'prodDebug',
|
|
114
|
-
'prodRelease',
|
|
115
|
-
]);
|
|
116
|
-
});
|
|
117
|
-
test('are found in whichever module has them, not only `app`', () => {
|
|
118
|
-
const app = appModule(CONVENTION_PLUGIN_MODULE);
|
|
119
|
-
mkdirSync(join(root, 'core'), { recursive: true });
|
|
120
|
-
const core = join(root, 'core', 'build.gradle.kts');
|
|
121
|
-
writeFileSync(core, 'plugins { id("acme.android.library.flavors") }', 'utf-8');
|
|
122
|
-
mkdirSync(join(root, 'core', 'src', 'staging', 'res'), { recursive: true });
|
|
123
|
-
mkdirSync(join(root, 'core', 'src', 'main', 'java'), { recursive: true });
|
|
124
|
-
sourceSet('main', ['AndroidManifest.xml']);
|
|
125
|
-
sourceSet('prod');
|
|
126
|
-
expect(detectBuildVariants([app, core]).productFlavors).toEqual(['prod', 'staging']);
|
|
127
|
-
});
|
|
128
|
-
test('are ordered the same way whatever order the filesystem lists them in', () => {
|
|
129
|
-
const gradle = appModule(CONVENTION_PLUGIN_MODULE);
|
|
130
|
-
sourceSet('main', ['AndroidManifest.xml']);
|
|
131
|
-
sourceSet('prod');
|
|
132
|
-
sourceSet('ciDynamic');
|
|
133
|
-
sourceSet('dev');
|
|
134
|
-
expect(detectBuildVariants([gradle]).productFlavors).toEqual(['ciDynamic', 'dev', 'prod']);
|
|
135
|
-
});
|
|
136
|
-
});
|
|
137
|
-
describe('what a source set directory is not', () => {
|
|
138
|
-
test('the shared source set, the test source sets, and the build types', () => {
|
|
139
|
-
const gradle = appModule(`
|
|
140
|
-
android {
|
|
141
|
-
buildTypes {
|
|
142
|
-
debug { }
|
|
143
|
-
release { }
|
|
144
|
-
staging { }
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
`);
|
|
148
|
-
sourceSet('main', ['AndroidManifest.xml', 'java']);
|
|
149
|
-
sourceSet('test', ['java']);
|
|
150
|
-
sourceSet('androidTest', ['java']);
|
|
151
|
-
sourceSet('testFixtures', ['java']);
|
|
152
|
-
sourceSet('debug', ['res']);
|
|
153
|
-
sourceSet('release', ['res']);
|
|
154
|
-
sourceSet('staging', ['res']);
|
|
155
|
-
expect(detectBuildVariants([gradle]).productFlavors).toEqual([]);
|
|
156
|
-
});
|
|
157
|
-
test('a variant directory, which is a flavor and a build type already joined', () => {
|
|
158
|
-
const gradle = appModule(CONVENTION_PLUGIN_MODULE);
|
|
159
|
-
sourceSet('main', ['AndroidManifest.xml']);
|
|
160
|
-
sourceSet('ciDynamic');
|
|
161
|
-
sourceSet('ciDynamicDebug', ['res']);
|
|
162
|
-
sourceSet('prodRelease', ['res']);
|
|
163
|
-
// Taking `ciDynamicDebug` for a flavor would cross it with the build types
|
|
164
|
-
// again and offer `ciDynamicDebugDebug`.
|
|
165
|
-
expect(detectBuildVariants([gradle]).productFlavors).toEqual(['ciDynamic']);
|
|
166
|
-
});
|
|
167
|
-
test('a test source set for one flavor', () => {
|
|
168
|
-
const gradle = appModule(CONVENTION_PLUGIN_MODULE);
|
|
169
|
-
sourceSet('main', ['AndroidManifest.xml']);
|
|
170
|
-
sourceSet('prod');
|
|
171
|
-
sourceSet('testProd', ['java']);
|
|
172
|
-
sourceSet('androidTestProd', ['java']);
|
|
173
|
-
expect(detectBuildVariants([gradle]).productFlavors).toEqual(['prod']);
|
|
174
|
-
});
|
|
175
|
-
test('a flavor whose name merely starts with `test`', () => {
|
|
176
|
-
// `testing` is a legitimate flavor name; `testProd` is AGP's test source
|
|
177
|
-
// set for `prod`. The capital is the whole difference.
|
|
178
|
-
const gradle = appModule(CONVENTION_PLUGIN_MODULE);
|
|
179
|
-
sourceSet('main', ['AndroidManifest.xml']);
|
|
180
|
-
sourceSet('testing');
|
|
181
|
-
expect(detectBuildVariants([gradle]).productFlavors).toEqual(['testing']);
|
|
182
|
-
});
|
|
183
|
-
test('a directory under `src/` that holds nothing a source set holds', () => {
|
|
184
|
-
const gradle = appModule(CONVENTION_PLUGIN_MODULE);
|
|
185
|
-
sourceSet('main', ['AndroidManifest.xml']);
|
|
186
|
-
sourceSet('prod');
|
|
187
|
-
mkdirSync(join(root, 'app', 'src', 'notes'), { recursive: true });
|
|
188
|
-
writeFileSync(join(root, 'app', 'src', 'notes', 'README.md'), '# scratch', 'utf-8');
|
|
189
|
-
expect(detectBuildVariants([gradle]).productFlavors).toEqual(['prod']);
|
|
190
|
-
});
|
|
191
|
-
});
|
|
192
|
-
describe('a project the literal scan already reads', () => {
|
|
193
|
-
test('is decided by its Gradle files, and the source sets change nothing', () => {
|
|
194
|
-
// The block declares two; the disk carries a third. A merge would invent a
|
|
195
|
-
// flavor the build does not have, so the literal answer wins outright.
|
|
196
|
-
const gradle = appModule(`
|
|
197
|
-
android {
|
|
198
|
-
flavorDimensions += "contentType"
|
|
199
|
-
productFlavors {
|
|
200
|
-
create("demo") { dimension = "contentType" }
|
|
201
|
-
create("prod") { dimension = "contentType" }
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
`);
|
|
205
|
-
sourceSet('main', ['AndroidManifest.xml']);
|
|
206
|
-
sourceSet('demo');
|
|
207
|
-
sourceSet('prod');
|
|
208
|
-
sourceSet('leftover', ['res']);
|
|
209
|
-
expect(detectBuildVariants([gradle]).productFlavors).toEqual(['demo', 'prod']);
|
|
210
|
-
});
|
|
211
|
-
});
|
|
212
|
-
describe('a project with no flavors at all', () => {
|
|
213
|
-
test('is exactly what it was', () => {
|
|
214
|
-
const gradle = appModule(`
|
|
215
|
-
android {
|
|
216
|
-
buildTypes {
|
|
217
|
-
debug { }
|
|
218
|
-
release { }
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
`);
|
|
222
|
-
sourceSet('main', ['AndroidManifest.xml', 'java', 'res']);
|
|
223
|
-
sourceSet('debug', ['res']);
|
|
224
|
-
const detected = detectBuildVariants([gradle]);
|
|
225
|
-
expect(detected.productFlavors).toEqual([]);
|
|
226
|
-
expect(detected.variants).toEqual(['debug', 'release']);
|
|
227
|
-
});
|
|
228
|
-
test('is unchanged when the module has no `src/` directory at all', () => {
|
|
229
|
-
const gradle = appModule('android { }');
|
|
230
|
-
expect(detectBuildVariants([gradle]).productFlavors).toEqual([]);
|
|
231
|
-
});
|
|
232
|
-
});
|
|
233
|
-
const BASE_SETUP = {
|
|
234
|
-
keystore: false,
|
|
235
|
-
keystoreProperties: false,
|
|
236
|
-
googleServices: false,
|
|
237
|
-
googlePlayDeploy: false,
|
|
238
|
-
googlePlayPackageName: '',
|
|
239
|
-
artifactType: 'apk',
|
|
240
|
-
keystorePaths: {},
|
|
241
|
-
googleServicesPaths: {},
|
|
242
|
-
workflowFlavors: {},
|
|
243
|
-
secretsProperties: false,
|
|
244
|
-
secretsPropertiesPath: 'local.properties',
|
|
245
|
-
};
|
|
246
|
-
describe('what finding them buys the generator', () => {
|
|
247
|
-
/** The real repository's shape, as a project on disk. */
|
|
248
|
-
function conventionPluginRepository() {
|
|
249
|
-
appModule(CONVENTION_PLUGIN_MODULE);
|
|
250
|
-
writeFileSync(join(root, 'settings.gradle.kts'), 'include(":app")\n', 'utf-8');
|
|
251
|
-
sourceSet('main', ['AndroidManifest.xml', 'java', 'res']);
|
|
252
|
-
sourceSet('ciDynamic', ['google-services.json', 'res']);
|
|
253
|
-
sourceSet('dev', ['google-services.json', 'res']);
|
|
254
|
-
sourceSet('prod', ['google-services.json', 'res']);
|
|
255
|
-
}
|
|
256
|
-
const variant = (name) => ({
|
|
257
|
-
variant: name,
|
|
258
|
-
buildType: name.charAt(0).toUpperCase() + name.slice(1),
|
|
259
|
-
gradleTask: `assemble${name.charAt(0).toUpperCase()}${name.slice(1)}`,
|
|
260
|
-
});
|
|
261
|
-
const VARIANTS = {
|
|
262
|
-
primary: variant('ciDynamicDebug'),
|
|
263
|
-
pullRequest: variant('ciDynamicDebug'),
|
|
264
|
-
release: variant('prodRelease'),
|
|
265
|
-
};
|
|
266
|
-
test('each workflow writes google-services.json into its own source set', async () => {
|
|
267
|
-
conventionPluginRepository();
|
|
268
|
-
const { productFlavors } = (await scanAndroidProject(root)).buildVariants;
|
|
269
|
-
expect(googleServicesTargets(VARIANTS, productFlavors)).toEqual({
|
|
270
|
-
primary: 'app/src/ciDynamic/google-services.json',
|
|
271
|
-
'pull-request': 'app/src/ciDynamic/google-services.json',
|
|
272
|
-
release: 'app/src/prod/google-services.json',
|
|
273
|
-
});
|
|
274
|
-
});
|
|
275
|
-
test('the credential the two flavors cannot share is declared per workflow', async () => {
|
|
276
|
-
conventionPluginRepository();
|
|
277
|
-
const { productFlavors } = (await scanAndroidProject(root)).buildVariants;
|
|
278
|
-
const yaml = generateAndroidPipeline(17, {
|
|
279
|
-
...BASE_SETUP,
|
|
280
|
-
googleServices: true,
|
|
281
|
-
googleServicesPaths: googleServicesTargets(VARIANTS, productFlavors),
|
|
282
|
-
}, VARIANTS);
|
|
283
|
-
const parsed = load(yaml);
|
|
284
|
-
const declaringWorkflows = Object.keys(parsed.workflows ?? {}).filter((workflow) => 'GOOGLE_SERVICES_JSON' in Object.assign({}, ...(parsed.workflows?.[workflow]?.envs ?? [])));
|
|
285
|
-
// One declaration per workflow, in that workflow's own `envs`, under the
|
|
286
|
-
// plain name — the split the flavors bought, without the transport prefix.
|
|
287
|
-
expect(declaringWorkflows).toEqual(['primary', 'pull-request', 'release']);
|
|
288
|
-
expect(Object.assign({}, ...(parsed.app?.envs ?? []))).not.toHaveProperty('GOOGLE_SERVICES_JSON');
|
|
289
|
-
});
|
|
290
|
-
test('local.properties is split by the flavor each workflow builds', async () => {
|
|
291
|
-
conventionPluginRepository();
|
|
292
|
-
const { productFlavors } = (await scanAndroidProject(root)).buildVariants;
|
|
293
|
-
expect(variantFlavors(VARIANTS, productFlavors)).toEqual({
|
|
294
|
-
primary: 'ciDynamic',
|
|
295
|
-
'pull-request': 'ciDynamic',
|
|
296
|
-
release: 'prod',
|
|
297
|
-
});
|
|
298
|
-
});
|
|
299
|
-
});
|
|
300
|
-
//# sourceMappingURL=flavors-a-convention-plugin-creates-are-still-found.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"github-workflow.d.ts","sourceRoot":"","sources":["../../../src/commands/github-workflow.ts"],"names":[],"mappings":"AAGA,wBAAgB,6BAA6B,CAAC,OAAO,EAAE;IACrD,QAAQ,EAAE,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC;IACnC,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,OAAO,CA8CV"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { resolve } from "node:path";
|
|
2
|
-
import { existsSync, mkdirSync, writeFileSync } from "node:fs";
|
|
3
|
-
export function generateGitHubActionsWorkflow(options) {
|
|
4
|
-
const { platform, cwd } = options;
|
|
5
|
-
const workflowDir = resolve(cwd, ".github", "workflows");
|
|
6
|
-
const workflowPath = resolve(workflowDir, "ci.yml");
|
|
7
|
-
if (existsSync(workflowPath)) {
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
const runner = platform === "android" ? "ubuntu-latest" : "macos-latest";
|
|
11
|
-
const yaml = `name: CI
|
|
12
|
-
|
|
13
|
-
on:
|
|
14
|
-
push:
|
|
15
|
-
branches: [main]
|
|
16
|
-
tags: ['v*']
|
|
17
|
-
pull_request:
|
|
18
|
-
|
|
19
|
-
jobs:
|
|
20
|
-
build:
|
|
21
|
-
if: "!startsWith(github.ref, 'refs/tags/')"
|
|
22
|
-
runs-on: ${runner}
|
|
23
|
-
environment: cibuild
|
|
24
|
-
steps:
|
|
25
|
-
- uses: actions/checkout@v4
|
|
26
|
-
- uses: invarnhq/cibuild@v1
|
|
27
|
-
with:
|
|
28
|
-
workflow: \${{ github.event_name == 'pull_request' && 'pull-request' || 'primary' }}
|
|
29
|
-
|
|
30
|
-
release:
|
|
31
|
-
if: startsWith(github.ref, 'refs/tags/v')
|
|
32
|
-
runs-on: ${runner}
|
|
33
|
-
environment: cibuild
|
|
34
|
-
steps:
|
|
35
|
-
- uses: actions/checkout@v4
|
|
36
|
-
- uses: invarnhq/cibuild@v1
|
|
37
|
-
with:
|
|
38
|
-
workflow: release
|
|
39
|
-
`;
|
|
40
|
-
mkdirSync(workflowDir, { recursive: true });
|
|
41
|
-
writeFileSync(workflowPath, yaml, "utf-8");
|
|
42
|
-
console.log(`✅ Generated .github/workflows/ci.yml (${runner})`);
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=github-workflow.js.map
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @invarn/cibuild/commands — interactive CLI command handlers.
|
|
3
|
-
*
|
|
4
|
-
* Public entry point for callers that want to invoke cibuild's commands
|
|
5
|
-
* programmatically (e.g. the Invarn CLI wrapping these under `invarn
|
|
6
|
-
* local <cmd>`). Each handler owns its own process-exit semantics to
|
|
7
|
-
* preserve legacy behavior — wrap with a try/catch + process.exit in the
|
|
8
|
-
* caller if you need custom error handling.
|
|
9
|
-
*
|
|
10
|
-
* For non-interactive library primitives (parser, runner, step registry)
|
|
11
|
-
* import from `@invarn/cibuild/lib` instead.
|
|
12
|
-
*/
|
|
13
|
-
export { handleInitCommand } from "./init.js";
|
|
14
|
-
export type { InitOptions } from "./init.js";
|
|
15
|
-
export { handleValidateCommand } from "./validate.js";
|
|
16
|
-
export type { ValidateOptions } from "./validate.js";
|
|
17
|
-
export { handleRunCommand } from "./run.js";
|
|
18
|
-
export type { RunOptions } from "./run.js";
|
|
19
|
-
export { handleDetectProjectCommand } from "./detect-project.js";
|
|
20
|
-
export { handleDetectPlatformCommand } from "./detect-platform.js";
|
|
21
|
-
export type { DetectPlatformOptions } from "./detect-platform.js";
|
|
22
|
-
export { handleBuildCommand } from "./build.js";
|
|
23
|
-
export { handleResetCommand } from "./reset.js";
|
|
24
|
-
export { detectMobileProjectRoot } from "../shared/detect-project.js";
|
|
25
|
-
export type { MobileProjectType } from "../shared/detect-project.js";
|
|
26
|
-
export { isXcodeContainer, xcodeContainersIn } from "../shared/detect-project.js";
|
|
27
|
-
export { scanIosProject, formatIosScanResult } from "./ios-scanner.js";
|
|
28
|
-
export type { IosScanResult, IosWarning, IosWarningCategory, IosWarningSeverity, } from "./ios-scanner.js";
|
|
29
|
-
export { scanAndroidProject, formatScanResult, detectBuildVariants, } from "./android-scanner.js";
|
|
30
|
-
export type { ScanResult as AndroidScanResult, BuildVariants, BuildWarning, WarningCategory, WarningSeverity, } from "./android-scanner.js";
|
|
31
|
-
export { collectFileSecret, findProjectFiles } from "./file-secret-collector.js";
|
|
32
|
-
export type { FileSecretConfig, FileSecretPaths, WorkflowGroup, } from "./file-secret-collector.js";
|
|
33
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,YAAY,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,YAAY,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAOlF,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvE,YAAY,EACV,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,UAAU,IAAI,iBAAiB,EAC/B,aAAa,EACb,YAAY,EACZ,eAAe,EACf,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACjF,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,aAAa,GACd,MAAM,4BAA4B,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @invarn/cibuild/commands — interactive CLI command handlers.
|
|
3
|
-
*
|
|
4
|
-
* Public entry point for callers that want to invoke cibuild's commands
|
|
5
|
-
* programmatically (e.g. the Invarn CLI wrapping these under `invarn
|
|
6
|
-
* local <cmd>`). Each handler owns its own process-exit semantics to
|
|
7
|
-
* preserve legacy behavior — wrap with a try/catch + process.exit in the
|
|
8
|
-
* caller if you need custom error handling.
|
|
9
|
-
*
|
|
10
|
-
* For non-interactive library primitives (parser, runner, step registry)
|
|
11
|
-
* import from `@invarn/cibuild/lib` instead.
|
|
12
|
-
*/
|
|
13
|
-
export { handleInitCommand } from "./init.js";
|
|
14
|
-
export { handleValidateCommand } from "./validate.js";
|
|
15
|
-
export { handleRunCommand } from "./run.js";
|
|
16
|
-
export { handleDetectProjectCommand } from "./detect-project.js";
|
|
17
|
-
export { handleDetectPlatformCommand } from "./detect-platform.js";
|
|
18
|
-
export { handleBuildCommand } from "./build.js";
|
|
19
|
-
export { handleResetCommand } from "./reset.js";
|
|
20
|
-
// Helpers useful for callers that implement their own variations.
|
|
21
|
-
export { detectMobileProjectRoot } from "../shared/detect-project.js";
|
|
22
|
-
// The one answer to "is this `.xcodeproj` a project", exported so the Invarn
|
|
23
|
-
// CLI's own scans cannot drift from cibuild's.
|
|
24
|
-
export { isXcodeContainer, xcodeContainersIn } from "../shared/detect-project.js";
|
|
25
|
-
// Project scanners — pure, toolchain-free file-content detectors. Exposed
|
|
26
|
-
// so external callers (the Invarn CLI) can detect build variables and
|
|
27
|
-
// secret-bearing files from a checkout and push them to the backend,
|
|
28
|
-
// rather than re-implementing the same parsing. The scanners take a
|
|
29
|
-
// project-root path and read file contents only — no xcodebuild/gradle.
|
|
30
|
-
export { scanIosProject, formatIosScanResult } from "./ios-scanner.js";
|
|
31
|
-
export { scanAndroidProject, formatScanResult, detectBuildVariants, } from "./android-scanner.js";
|
|
32
|
-
export { collectFileSecret, findProjectFiles } from "./file-secret-collector.js";
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface InitOptions {
|
|
2
|
-
importPath?: string;
|
|
3
|
-
create?: boolean;
|
|
4
|
-
/**
|
|
5
|
-
* Which namespace to emit in the generated `meta.<ns>` block of the new
|
|
6
|
-
* pipeline YAML. Defaults to `'cibuild.io'` so the standalone `cibuild`
|
|
7
|
-
* CLI keeps emitting the legacy namespace. Invarn-CLI-routed calls pass
|
|
8
|
-
* `'invarn'` so wrapped flows emit the canonical Invarn namespace.
|
|
9
|
-
*/
|
|
10
|
-
metaNamespace?: 'invarn' | 'cibuild.io';
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Check dependencies, then either import an existing YAML pipeline or
|
|
14
|
-
* scaffold a new one via `handleBuildCommand`. Mirrors `ci init`.
|
|
15
|
-
*
|
|
16
|
-
* Exits the process with a non-zero code on any unrecoverable error
|
|
17
|
-
* (missing deps, unreadable project, cancelled prompts).
|
|
18
|
-
*/
|
|
19
|
-
export declare function handleInitCommand(opts?: InitOptions): Promise<void>;
|
|
20
|
-
//# sourceMappingURL=init.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/commands/init.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAC;CACzC;AAUD;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,GAAE,WAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2Q7E"}
|