name: cli up: - node: version: 26.12.1 package_manager: pnpm@10.11.1 - packages: - jq - custom: name: 'Create p alias for pnpm' met?: test -x bin/p meet: mkdir -p bin && printf '#!/bin/sh\nexec pnpm "$@"\n' > bin/p && chmod +x bin/p - custom: name: 'Install PNPM dependencies' # we flip these two conditions to always run `pnpm install` # whenever we run dev up. met?: pnpm install meet: 'true' - custom: name: 'Get GraphQL schemas' # Always fetch these on dev up met?: pnpm graphql-codegen:get-graphql-schemas meet: 'true' - custom: name: 'Install Playwright Chromium' met?: cd packages/e2e && pnpx playwright install chromium meet: 'true' - custom: name: 'Rebuild node-pty' met?: pnpm rebuild node-pty meet: 'true' env: SHOPIFY_CLI_ENV: development SHOPIFY_SERVICE_ENV: production PATH: "${PATH}:${PWD}/bin" open: app: http://localhost:3000 commands: graph: desc: 'Shows the graph of the project' run: pnpm nx graph shopify: desc: 'Runs the Shopify CLI' run: pnpm shopify create-app: desc: 'Runs the create-app CLI' run: pnpm create-app clean: desc: 'Clean the packages' run: pnpm run clean test: desc: 'Runs the tests' run: pnpm run test build: desc: 'Build the project' run: pnpm run build:affected lint: desc: 'Lint the project' run: pnpm run lint:affected lint:fix: desc: 'Fix the lint issues in the project' run: pnpm run lint:fix:affected type-check: desc: 'Type-check the project' run: pnpm run type-check:affected check: type-check: pnpm nx affected --target=type-check lint: pnpm nx affected --target=lint