Skip to content

Add repo setup orchestration commands#176

Open
kyle-schellen wants to merge 1 commit into
ks-shared-storefront-envfrom
ks-dev-workspace-setup
Open

Add repo setup orchestration commands#176
kyle-schellen wants to merge 1 commit into
ks-shared-storefront-envfrom
ks-dev-workspace-setup

Conversation

@kyle-schellen
Copy link
Copy Markdown
Contributor

@kyle-schellen kyle-schellen commented May 20, 2026

Depends on #175.

Closes shop/issues-checkout-kit#908.

This PR wires the shared storefront configuration into the developer workflow. It adds scripts/setup_dev_workspace, uses it from dev up, exposes dev bootstrap, and adds platform-scoped dev <platform> setup / dev <platform> up commands for Android, Swift, React Native, and Web.

The setup commands intentionally run repo-owned setup only; full native/tool provisioning still belongs to root dev up. Root aggregates remain focused on Android, Swift, React Native, and Web, while protocol stays available through dev protocol check.

Verified with YAML parsing, shell syntax checks, scripts/test_setup_storefront_env, and dev help checks for setup, storefront-env, platform checks, and the rn alias.

How to test

bash -n scripts/setup_dev_workspace scripts/setup_storefront_env scripts/test_setup_storefront_env
ruby -ryaml -e 'YAML.load_file("dev.yml")'
scripts/test_setup_storefront_env
dev help bootstrap
dev help storefront-env
dev help android setup
dev help swift setup
dev help react-native setup
dev help rn
dev help web check

Note: There is a follow-up opportunity to move the setup/config parsing logic out of ad hoc Bash and into a small reusable dev utilities area for this monorepo. In particular, helpers for reading .env / .xcconfig values across packages could make these setup scripts easier to maintain and compose. This PR keeps the current command surface focused and tested, and leaves that implementation cleanup for a separate review. Issue created here.

Copy link
Copy Markdown
Contributor Author

kyle-schellen commented May 20, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

Web — Coverage Report

Lines Statements Branches Functions
Coverage: 98%
98.96% (571/577) 90.41% (151/167) 100% (55/55)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 98%
96.76% (239/247) 91.02% (142/156) 100% (64/64)

@kyle-schellen kyle-schellen force-pushed the ks-shared-storefront-env branch from d2be551 to e86923e Compare May 20, 2026 23:46
@kyle-schellen kyle-schellen force-pushed the ks-dev-workspace-setup branch 2 times, most recently from aef7cdc to ddc5f30 Compare May 20, 2026 23:59
@kyle-schellen kyle-schellen force-pushed the ks-shared-storefront-env branch from e86923e to 06f9f45 Compare May 20, 2026 23:59
@kyle-schellen kyle-schellen force-pushed the ks-dev-workspace-setup branch from ddc5f30 to 3f74a95 Compare May 21, 2026 00:36
@kyle-schellen kyle-schellen force-pushed the ks-shared-storefront-env branch from 06f9f45 to 0e9dc0f Compare May 21, 2026 00:36
@kyle-schellen kyle-schellen marked this pull request as ready for review May 21, 2026 01:07
@kyle-schellen kyle-schellen requested a review from a team as a code owner May 21, 2026 01:07
@kyle-schellen kyle-schellen force-pushed the ks-dev-workspace-setup branch from 3f74a95 to ee67e70 Compare May 21, 2026 12:51
@kyle-schellen kyle-schellen force-pushed the ks-shared-storefront-env branch from 0e9dc0f to 8ebd042 Compare May 21, 2026 12:51
@kyle-schellen kyle-schellen force-pushed the ks-dev-workspace-setup branch from ee67e70 to 5be06e0 Compare May 22, 2026 00:32
@kyle-schellen kyle-schellen force-pushed the ks-shared-storefront-env branch 2 times, most recently from 716abfe to 733c680 Compare May 22, 2026 15:28
@kyle-schellen kyle-schellen force-pushed the ks-dev-workspace-setup branch from 5be06e0 to 59ad611 Compare May 22, 2026 15:28
@kyle-schellen kyle-schellen force-pushed the ks-shared-storefront-env branch from 733c680 to f8b72c3 Compare May 22, 2026 18:30
@kyle-schellen kyle-schellen force-pushed the ks-dev-workspace-setup branch from 59ad611 to 0fd134c Compare May 22, 2026 18:30
@kyle-schellen kyle-schellen force-pushed the ks-shared-storefront-env branch from f8b72c3 to 5d6ef3d Compare May 24, 2026 17:04
@kyle-schellen kyle-schellen force-pushed the ks-dev-workspace-setup branch from 0fd134c to 4b6d89e Compare May 24, 2026 17:04
@kyle-schellen kyle-schellen force-pushed the ks-shared-storefront-env branch from 5d6ef3d to 575a93a Compare May 26, 2026 14:07
@kyle-schellen kyle-schellen force-pushed the ks-dev-workspace-setup branch from 4b6d89e to 3946d12 Compare May 26, 2026 14:07
@kyle-schellen kyle-schellen force-pushed the ks-dev-workspace-setup branch from 3946d12 to 92de1c2 Compare May 26, 2026 16:02
@kyle-schellen kyle-schellen force-pushed the ks-shared-storefront-env branch from 575a93a to 94d978b Compare May 26, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant