{"id":13515247,"url":"https://github.com/Shopify/function-examples","last_synced_at":"2025-03-31T04:36:44.948Z","repository":{"id":37066995,"uuid":"406480418","full_name":"Shopify/function-examples","owner":"Shopify","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T12:44:21.000Z","size":22157,"stargazers_count":208,"open_issues_count":22,"forks_count":59,"subscribers_count":276,"default_branch":"main","last_synced_at":"2025-03-25T04:54:31.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shopify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-14T18:31:55.000Z","updated_at":"2025-03-24T12:44:27.000Z","dependencies_parsed_at":"2024-04-26T13:50:56.588Z","dependency_job_id":"834fdf62-ab77-4ceb-adc0-e43f02c6aed9","html_url":"https://github.com/Shopify/function-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shopify%2Ffunction-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shopify%2Ffunction-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shopify%2Ffunction-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shopify%2Ffunction-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shopify","download_url":"https://codeload.github.com/Shopify/function-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791970,"owners_count":20672671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T05:01:08.305Z","updated_at":"2025-03-31T04:36:39.916Z","avatar_url":"https://github.com/Shopify.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Shopify"],"sub_categories":["Development Tools \u0026 CLI"],"readme":"# Function Examples\n\nThis is the home of all the public examples of Shopify Functions. It's used by the CLI when running `yarn shopify app generate extension`. Feel free to look around! Do not edit these files directly.\n\n## Local Development\n\n### Expand Liquid Templates\n\nIf you wish to run the samples directly from this repository, you must first expand any `.liquid` templates with the following command.\n\n```shell\nyarn\nyarn expand-liquid\n# optionally provide the language flavor\nyarn expand-liquid vanilla-js\nyarn expand-liquid typescript\n```\n\n### Run Tests\n\n```shell\n# JavaScript\nyarn test-js\n# TypeScript\nyarn test-ts\n# Rust\ncargo test\n```\n\n### Lint\n\n```shell\n# currently only applies to Rust\ncargo fmt\ncargo clippy -- -D warnings\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShopify%2Ffunction-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FShopify%2Ffunction-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShopify%2Ffunction-examples/lists"}