Skip to content

Commit

Permalink
Merge branch 'main' into app-watcher-build
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacroldan committed Sep 19, 2024
2 parents df919fb + cd65687 commit 196e47e
Show file tree
Hide file tree
Showing 741 changed files with 2,868 additions and 1,508 deletions.
5 changes: 0 additions & 5 deletions .changeset/fresh-taxis-press.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/light-poems-fail.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rare-bats-marry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shy-falcons-unite.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spicy-cheetahs-obey.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/strange-hairs-switch.md

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/shopify-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ jobs:
- name: Check if there are changes
run: 'test -z "$(git status --porcelain)" || { echo -e "Run pnpm refresh-documentation when you update functions with autogenerated examples. Diff here:\n\n$(git diff)" ; exit 1; }'
- name: Build shopify.dev docs
run: pnpm shopify docs generate && pnpm build-docs
run: pnpm update-docs
- name: Check if there are changes
run: 'test -z "$(git status --porcelain "docs-shopify.dev/generated/*.json" )" || { echo -e "Run (pnpm shopify docs generate && pnpm build-docs) before pushing new commands or flags." ; exit 1; }'
run: 'test -z "$(git status --porcelain "docs-shopify.dev/generated/*.json" )" || { echo -e "Run (pnpm update-docs) before pushing new commands or flags." ; exit 1; }'

pr-platform-dependent:
name: '[PR] Test with Node ${{ matrix.node }} in ${{ matrix.os }}'
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"fulfillment_constraints",
"local_pickup_delivery_option_generator",
"pickup_point_delivery_option_generator",
"marketing_activity_extension_cli"
"marketing_activity"
],
"default": "checkout_ui_extension",
},
Expand Down
16 changes: 16 additions & 0 deletions RELEASE_NOTES/3.67.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# CLI
- Support hyperlinks in Windows Terminal by default

# App
- Access GraphiQL on remote URL
- Fix duplicated slashes when deploying webhooks with relative URIs
- Allow multiple shops to be selected in app logs command
- Allow managed stores for collaborators

# Theme
This version of Shopify CLI brings a better development experience that streamlines your setup for building Shopify themes with:

- Instant development server startup, so there's no need to wait for synchronization before opening a browser
- No dependency on Ruby and unified commands implementation on TypeScript, which streamlines your development cycle with easier install and setup
- A headless Liquid console, so you can run `shopify theme console` without opening a browser for authentication

Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ export interface hydrogenbuild {
*/
'--entry <value>'?: string

/**
* Client sourcemapping is avoided by default because it makes backend code visible in the browser. Use this flag to force enabling it.
* @environment SHOPIFY_HYDROGEN_FLAG_FORCE_CLIENT_SOURCEMAP
*/
'--force-client-sourcemap'?: ''

/**
* Checks that there is exactly one valid lockfile in the project. Defaults to `true`. Deactivate with `--no-lockfile-check`.
* @environment SHOPIFY_HYDROGEN_FLAG_LOCKFILE_CHECK
Expand All @@ -43,7 +49,7 @@ export interface hydrogenbuild {
'--path <value>'?: string

/**
* Controls whether sourcemaps are generated. Default to `true`. Deactivate `--no-sourcemaps`.
* Controls whether server sourcemaps are generated. Default to `true`. Deactivate `--no-sourcemaps`.
* @environment SHOPIFY_HYDROGEN_FLAG_SOURCEMAP
*/
'--sourcemap'?: ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export interface hydrogendev {
'--port <value>'?: string

/**
* [Classic Remix Compiler] Controls whether sourcemaps are generated. Default to `true`. Deactivate `--no-sourcemaps`.
* [Classic Remix Compiler] Controls whether server sourcemaps are generated. Default to `true`. Deactivate `--no-sourcemaps`.
* @environment SHOPIFY_HYDROGEN_FLAG_SOURCEMAP
*/
'--sourcemap'?: ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ export interface themeconsole {
*/
'--password <value>'?: string

/**
* Local port to serve authentication service.
* @environment SHOPIFY_FLAG_PORT
*/
'--port <value>'?: string

/**
* Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
* @environment SHOPIFY_FLAG_STORE
Expand Down
6 changes: 0 additions & 6 deletions docs-shopify.dev/commands/interfaces/theme-dev.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ export interface themedev {
*/
'--path <value>'?: string

/**
* Force polling to detect file changes.
* @environment SHOPIFY_FLAG_POLL
*/
'--poll'?: ''

/**
* Local port to serve theme preview from.
* @environment SHOPIFY_FLAG_PORT
Expand Down
39 changes: 15 additions & 24 deletions docs-shopify.dev/generated/generated_docs_data.json

Large diffs are not rendered by default.

31 changes: 0 additions & 31 deletions docs-shopify.dev/generated/generated_static_pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,37 +43,6 @@
]
}
},
{
"type": "Generic",
"anchorLink": "requirements-themes",
"title": "Requirements for themes",
"sectionContent": "\nTo work with themes, your system must meet the following additional requirements:\n- [Ruby](https://www.ruby-lang.org/en/) version 2.7.5 or higher\n\n> Note: Theme requirements are automatically installed on macOS when you use Homebrew to install Shopify CLI.\n",
"codeblock": {
"title": "Installation requirements for themes",
"tabs": [
{
"title": "macOS: brew",
"code": "brew install ruby\n",
"language": "bash"
},
{
"title": "Windows",
"code": "Install Ruby+Devkit 3.0 using https://rubyinstaller.org/downloads/\n\nSelect the MSYS2 component and the MSYS2 base installation option\n",
"language": "bash"
},
{
"title": "Linux: apt",
"code": "\nsudo apt update && sudo apt upgrade\n\nsudo apt install curl gcc g++ make\n\nsudo apt install ruby-full\n\nsudo apt install ruby-dev\n# Ruby development environment\n\nsudo apt install git\n",
"language": "bash"
},
{
"title": "Linux: yum",
"code": "sudo yum install curl\n\nsudo yum group install \"Development Tools\"\n# Includes GCC, g++, and Make\n\nsudo yum install ruby\nsudo yum install ruby-devel\n# Ruby development environment\n\nsudo yum install git\n",
"language": "bash"
}
]
}
},
{
"type": "Generic",
"anchorLink": "commands",
Expand Down
36 changes: 0 additions & 36 deletions docs-shopify.dev/static/cli.doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,42 +50,6 @@ const data: LandingTemplateSchema = {
],
},
},
{
type: 'Generic',
anchorLink: 'requirements-themes',
title: 'Requirements for themes',
sectionContent: `
To work with themes, your system must meet the following additional requirements:
- [Ruby](https://www.ruby-lang.org/en/) version 2.7.5 or higher
> Note: Theme requirements are automatically installed on macOS when you use Homebrew to install Shopify CLI.
`,
codeblock: {
title: 'Installation requirements for themes',
tabs: [
{
title: 'macOS: brew',
code: 'examples/requirements.brew.example.sh',
language: 'bash',
},
{
title: 'Windows',
code: 'examples/requirements.win.example.sh',
language: 'bash',
},
{
title: 'Linux: apt',
code: 'examples/requirements.apt.example.sh',
language: 'bash',
},
{
title: 'Linux: yum',
code: 'examples/requirements.yum.example.sh',
language: 'bash',
},
],
},
},
{
type: 'Generic',
anchorLink: 'commands',
Expand Down
2 changes: 1 addition & 1 deletion docs/api/cli-kit/assets/navigation.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/cli-kit/assets/search.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/cli-kit/classes/node_abort.AbortController.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 196e47e

Please sign in to comment.