id
stringlengths 12
53
| messages
listlengths 3
3
|
|---|---|
code_epica-pixel_9e1f157f
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of epica-pixel/manifest.json from the epica-pixel VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"epica-pixel\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.1\",\n \"title\": \"Epica Pixel\",\n \"description\": \"Epica Pixel\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Epica Pixel\",\n \"type\": \"object\",\n \"properties\": {\n \"epicaId\": {\n \"title\": \"Epica Pixel\",\n \"description\": \"Enter your Epica app ID\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_Indexer-listener_ba867eff
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of Indexer-listener/README.md from the Indexer-listener VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# Broadcaster-listener\n\nApp in VTEXIO designed to listen to catalog changes from Search indexer.\n\n\n```"
}
] |
code_Indexer-listener_8fbf478b
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of Indexer-listener/manifest.json from the Indexer-listener VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\",\n \"name\": \"indexer-listener\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"Indexer listener\",\n \"description\": \"Reference app for VTEX IO Services\",\n \"mustUpdateAt\": \"2018-01-04\",\n \"categories\": [],\n \"dependencies\": {\n \"vtex.catalog-api-proxy\": \"0.x\"\n },\n \"builders\": {\n \"node\": \"4.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"httpstat.us\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"vtex.catalog-api-proxy:catalog-proxy\"\n }\n ],\n \"settingsSchema\": {\n \"title\": \"VTEX Search Indexer Listener\",\n \"type\": \"object\",\n \"properties\": {\n \"enabled\": {\n \"title\": \"Enable listening to SKU and product modifications from search indexer.\",\n \"type\": \"boolean\",\n \"default\": true,\n \"description\": \"Enables listening to the Search Indexer events related to modifications in the catalog.\"\n }\n }\n }\n}\n\n```"
}
] |
code_lucky-orange_a81001a4
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of lucky-orange/manifest.json from the lucky-orange VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"lucky-orange\",\n \"version\": \"1.0.1\",\n \"title\": \"Lucky Orange\",\n \"description\": \"Lucky Orange\",\n \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-10-01\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"settingsSchema\": {\n \"title\": \"Lucky Orange\",\n \"type\": \"object\",\n \"properties\": {\n \"siteId\": {\n \"title\": \"Site ID\",\n \"description\": \"Enter your Site ID\",\n \"type\": \"string\"\n }\n }\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_KI-739693_a28f9f6e
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of KI-739693/dangerfile.js from the KI-739693 VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_KI-739693_a81a9570
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of KI-739693/package.json from the KI-739693 VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"kit-indexer\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"@vtex/danger\": \"^0.2.7\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.6\"\n }\n}\n\n```"
}
] |
code_KI-739693_8177dbc8
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of KI-739693/manifest.json from the KI-739693 VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"ki-739693\",\n \"vendor\": \"vtex\",\n \"version\": \"1.0.1\",\n \"title\": \"KI 739693\",\n \"description\": \"App for fixing KI 739693\",\n \"dependencies\": {\n \"vtex.catalog-api-proxy\": \"0.x\"\n },\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {},\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/{{account}}/pricing/prices/*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"vbase-read-write\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_store-framework-course_311f168b
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of store-framework-course/manifest.json from the store-framework-course VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"store-framework\",\n \"vendor\": \"vtex\",\n \"version\": \"0.3.0\",\n \"title\": \"Store Framework Course\",\n \"description\": \"Course App for the Store Framework Course\",\n \"dependencies\": {},\n \"builders\": {\n \"course\": \"0.x\"\n },\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_sticky-layout_99144654
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of sticky-layout/package.json from the sticky-layout VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"sticky-layout\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\",\n \"test\": \"cd react; yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.1.0\",\n \"eslint-config-vtex-react\": \"^6.1.0\",\n \"husky\": \"^4.2.3\",\n \"lint-staged\": \"^10.0.7\",\n \"prettier\": \"^1.19.1\",\n \"react\": \"^16.12.0\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_sticky-layout_551f5a35
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of sticky-layout/manifest.json from the sticky-layout VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"sticky-layout\",\n \"version\": \"0.3.6\",\n \"title\": \"Sticky Layout\",\n \"description\": \"Sticky Layout component\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.css-handles\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_crowdin-integration_3f6ea303
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of crowdin-integration/manifest.json from the crowdin-integration VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"crowdin-integration\",\n \"vendor\": \"vtex\",\n \"version\": \"0.7.2\",\n \"title\": \"Crowdin integration\",\n \"description\": \"IO-Crowdin API\",\n \"mustUpdateAt\": \"2020-07-29\",\n \"categories\": [],\n \"dependencies\": {\n \"vtex.messages\": \"1.x\"\n },\n \"builders\": {\n \"node\": \"4.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"graphql-query\"\n },\n {\n \"name\": \"vtex.messages:graphql-save-translation-messages\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/checkout/pub/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.crowdin.com\",\n \"path\": \"/api/project/*\"\n }\n }\n ],\n \"registries\": [\n \"smartcheckout\"\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\",\n \"settingsSchema\": {\n \"title\": \"Crowdin Integration\",\n \"type\": \"object\",\n \"properties\": {\n \"CrowdinAPIToken\": {\n \"title\": \"Token for Crowdin API V2\",\n \"type\": \"string\",\n \"default\": \"\",\n \"description\": \"Enter your Crowdin Personal Access Token for API V2\"\n }\n }\n }\n}\n\n```"
}
] |
code_google-analytics_c35b4c46
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of google-analytics/manifest.json from the google-analytics VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"google-analytics\",\n \"vendor\": \"vtex\",\n \"version\": \"1.1.0\",\n \"title\": \"Google Analytics\",\n \"description\": \"Google Analytics app\",\n \"mustUpdateAt\": \"2019-04-03\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"policies\": [\n {\n \"name\": \"pixel\"\n }\n ],\n \"settingsSchema\": {\n \"title\": \"Google Analytics\",\n \"type\": \"object\",\n \"properties\": {\n \"gaId\": {\n \"title\": \"Google Analytics\",\n \"description\": \"Enter the ID (UA-XXXXX-Y) from your Google Analytics\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_orders-tracking-example_c6ee2d61
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of orders-tracking-example/package.json from the orders-tracking-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"orders-feed-example\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_orders-tracking-example_c95803bd
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of orders-tracking-example/manifest.json from the orders-tracking-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"orders-tracking-example\",\n \"vendor\": \"vtex\",\n \"version\": \"0.2.0\",\n \"title\": \"Orders Tracking Example\",\n \"description\": \"Boilerplate app for receving order tracking notification events\",\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_freshchat_3f533448
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of freshchat/manifest.json from the freshchat VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"freshchat-pixel\",\n \"vendor\": \"vtex\",\n \"version\": \"1.0.1\",\n \"title\": \"FreshChat\",\n \"description\": \"Pixel for FreshChat\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"FreshChat Pixel\",\n \"type\": \"object\",\n \"properties\": {\n \"fcId\": {\n \"title\": \"Token\",\n \"description\": \"Enter the token from your FreshChat account\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_iframe_3e6fd925
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of iframe/package.json from the iframe VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"iframe\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"12.12.21\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"@vtex/tsconfig\": \"^0.4.4\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"eslint-config-vtex-react\": \"^6.3.2\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^2.0.2\",\n \"typescript\": \"^3.8.3\"\n }\n}\n\n```"
}
] |
code_iframe_bafba9fd
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of iframe/manifest.json from the iframe VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"iframe\",\n \"version\": \"0.8.0\",\n \"title\": \"Iframe\",\n \"description\": \"An app to use sourced iframes\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_kit-indexer_b9771ae0
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of kit-indexer/dangerfile.js from the kit-indexer VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_kit-indexer_16246825
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of kit-indexer/package.json from the kit-indexer VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"kit-indexer\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"@vtex/danger\": \"^0.2.7\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.6\"\n }\n}\n\n```"
}
] |
code_kit-indexer_042e027c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of kit-indexer/manifest.json from the kit-indexer VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"kit-indexer\",\n \"vendor\": \"vtex\",\n \"version\": \"1.0.0\",\n \"title\": \"Kit Indexer\",\n \"description\": \"Indexer for kits in VTEX\",\n \"dependencies\": {\n \"vtex.catalog-api-proxy\": \"0.x\"\n },\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {},\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"vbase-read-write\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_avantlink_72d8228a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of avantlink/manifest.json from the avantlink VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"avantlink\",\n \"vendor\": \"vtex\",\n \"version\": \"1.0.4\",\n \"title\": \"Avantlink\",\n \"description\": \"Avantlink\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"builders\": {\n \"pixel\": \"0.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Avantlink\",\n \"type\": \"object\",\n \"properties\": {\n \"siteId\": {\n \"title\": \"Site ID\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_starter.node-service_aa12ad65
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of starter.node-service/.lintstagedrc.json from the starter.node-service VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"src/*.{ts,js,tsx,jsx}\": [\"eslint --fix\", \"prettier --write\"],\n \"src/*.{json}\": [\"prettier --write\"],\n \"src/*.js\": [\"eslint --cache --fix\", \"prettier --write\"],\n \"{css,md}\": \"prettier --write\"\n}\n\n```"
}
] |
code_starter.node-service_28e490f8
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of starter.node-service/README.md from the starter.node-service VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# Node Service Starter for VTEX IO apps\n\nThis repository is used to generate a boilerplate to implement a [VTEX IO](https://developers.vtex.com/vtex-developer-docs/docs/welcome) service with [Node.js](https://nodejs.org/) HTTP handler.\n\n## How to use it\n\n> :warning: `vtex init` is not integrated with this template yet. Meanwhile, you can download the code directly from the repository\n\n1. [Install VTEX IO CLI](https://developers.vtex.com/vtex-developer-docs/docs/vtex-io-documentation-vtex-io-cli-install)\n2. Run the command `vtex init` to create an app, and follow the instructions to add a Node.js service in the app\n\nIt will create a project folder for the new app and add the Node.js service into it. Once the service is created, you can modifying it as you like.\n\n## How does it work\n\nVTEX IO runs the service as a container. A `Dockerfile` to build the container image is provided by the starter, and it will be used by VTEX IO engine to build the image.\n\nYou can modify anything that is provided by default in the boilerplate, including the Dockerfile.\n\n## Features\n\nThe generated boilerplate comes with best practices for creating VTEX IO Node.js services:\n\n- HTTP server using [Koa](https://koajs.com/)\n - A few useful Koa middlewares are added by default. You can see them [here](https://github.com/vtex-apps/starter.node-service/blob/main/src/index.ts).\n- Local development and testing\n- [Useful yarn scripts](#scripts) to develop and test your service\n- A sample route for REST requets\n- A sample route for [graphql](https://graphql.org/) requests\n- Tests using [Jest](https://jestjs.io/)\n- TypeScript setup using [default VTEX configuration](https://github.com/vtex/typescript/tree/main/packages/tsconfig)\n- Linter using [eslint](https://eslint.org/) with [default VTEX configuration](https://github.com/vtex/typescript/blob/main/packages/eslint-config-vtex/README.md)\n- Automatically formats staged files before `git commit`\n- Code formatting using default [Prettier](https://prettier.io/) with [default VTEX configuration](https://github.com/vtex/typescript/tree/main/packages/prettier-config)\n\n## Scripts\n\nFollowing scripts are available to be used with [yarn](https://classic.yarnpkg.com/en/docs/install/):\n\n- `yarn build` - Builds the service generating final files in the `dist` folder. This will use `tsc` to convert the `TypeScript` files to pure `JavaScript`\n- `yarn start` - Builds the service and start it on `localhost` in `prodution`\u001b mode\n- `yarn dev` - Builds the service and start it service on `localhost` in `development`\u001b mode\n- `yarn watch` - Starts the service on `localhost` with [nodemon](https://github.com/remy/nodemon) and [ts-node](https://typestrong.org/ts-node/), and automatically restarts the server when `src` files are changed\n- `yarn debug` - Starts the service on `localhost` ready for debugging the execution\n- `yarn test` - Runs tests from `src/__tests__` with `jest`\n- `yarn lint` - Lints and formats the code\n\n## Recipes\n\n`// TODO`\n\n## Telemetry\n\n`// TODO`\n\n```"
}
] |
code_starter.node-service_e75a669a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of starter.node-service/package.json from the starter.node-service VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"vtex-app-node-server-template\",\n \"version\": \"0.0.17\",\n \"scripts\": {\n \"start\": \"tsc && NODE_ENV=production node dist/index.js\",\n \"build\": \"tsc\",\n \"dev\": \"tsc && NODE_ENV=development nodemon dist/index.js\",\n \"watch\": \"NODE_ENV=development nodemon --watch 'src/**/*' -e ts,tsx --exec 'ts-node' src/index.ts\",\n \"debug\": \"tsc && NODE_ENV=development nodemon --inspect dist/index.js\",\n \"test\": \"NODE_ENV=test jest --no-cache\",\n \"lint\": \"eslint --fix src && prettier --write 'src/**/*.ts'\"\n },\n \"dependencies\": {\n \"@jest/types\": \"^27.0.6\",\n \"@koa/cors\": \"^3.1.0\",\n \"@vtex/api\": \"^6.45.6\",\n \"@vtex/clients\": \"^2.19.1\",\n \"axios\": \"^0.25.0\",\n \"dotenv\": \"^14.3.2\",\n \"graphql\": \"^15.5.1\",\n \"http-status-codes\": \"^2.1.4\",\n \"koa\": \"^2.13.1\",\n \"koa-bodyparser\": \"^4.3.0\",\n \"koa-compose\": \"^4.1.0\",\n \"koa-graphql\": \"^0.9.0\",\n \"koa-helmet\": \"^6.1.0\",\n \"koa-json\": \"^2.0.2\",\n \"koa-logger\": \"^3.2.1\",\n \"koa-router\": \"^10.0.0\",\n \"koa-swagger-decorator\": \"^1.7.6\",\n \"reflect-metadata\": \"^0.1.13\"\n },\n \"devDependencies\": {\n \"@types/graphql\": \"^14.5.0\",\n \"@types/jest\": \"^26.0.24\",\n \"@types/koa\": \"^2.13.4\",\n \"@types/koa-bodyparser\": \"^4.3.3\",\n \"@types/koa-graphql\": \"^0.8.5\",\n \"@types/koa-helmet\": \"^6.0.4\",\n \"@types/koa-json\": \"^2.0.20\",\n \"@types/koa-logger\": \"^3.1.1\",\n \"@types/koa-router\": \"^7.4.4\",\n \"@types/koa__cors\": \"^3.0.3\",\n \"@types/node\": \"^16.4.13\",\n \"@types/supertest\": \"^2.0.11\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"@vtex/tsconfig\": \"^0.5.6\",\n \"eslint\": \"7.32.0\",\n \"eslint-config-vtex\": \"^14.1.0\",\n \"husky\": \"^7.0.1\",\n \"jest\": \"^27.0.6\",\n \"lint-staged\": \">=10\",\n \"nodemon\": \"^2.0.12\",\n \"prettier\": \"^2.3.2\",\n \"supertest\": \"^6.1.4\",\n \"ts-jest\": \"^27.0.4\",\n \"ts-node\": \"^10.2.0\",\n \"typescript\": \"^4.3.5\"\n },\n \"prettier\": \"@vtex/prettier-config\"\n}\n\n```"
}
] |
code_amp-header_c4815f62
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of amp-header/package.json from the amp-header VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"private\": true,\n \"devDependencies\": {\n \"@types/node\": \"^12.7.0\",\n \"eslint\": \"^6.1.0\",\n \"eslint-config-vtex\": \"^11.0.0\",\n \"prettier\": \"^1.18.2\",\n \"typescript\": \"^3.5.3\"\n },\n \"dependencies\": {\n \"eslint-config-vtex-react\": \"^5.0.1\"\n }\n}\n\n```"
}
] |
code_amp-header_a0d65c9e
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of amp-header/manifest.json from the amp-header VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"amp-header\",\n \"version\": \"0.0.0\",\n \"title\": \"VTEX AMP header.\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\"\n },\n \"dependencies\": {\n \"vtex.store-icons\": \"0.x\",\n \"vtex.category-menu\": \"2.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_mycheckout-checkout-service_a1d09d00
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of mycheckout-checkout-service/nest-cli.json from the mycheckout-checkout-service VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"collection\": \"@nestjs/schematics\",\n \"sourceRoot\": \"src/app\",\n \"compilerOptions\": {\n \"assets\": [\n {\n \"include\": \"../assets/**/*\",\n \"outDir\": \"dist/assets\",\n \"watchAssets\": true\n }\n ],\n \"webpack\": false\n }\n}\n\n```"
}
] |
code_mycheckout-checkout-service_06a83b91
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of mycheckout-checkout-service/README.md from the mycheckout-checkout-service VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# Checkoutless Backend\nBackEnd Checkoutless project on [Nest](https://github.com/nestjs/nest) framework TypeScript.\n\n## Requirements\n\n- [Nodejs](https://nodejs.org/) v14 or higher\n\n## Installation and configuration\n\n1. First clone this repository and cd into it:\n ```bash\n\t$ git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/checkoutless-backend\n\t$ cd checkoutless-backend\n ```\n \n2. Config the secrets and environment values:\n\n\tWe have to config all the values we need to run the application for `production` or `development` environments.\n\t\n\t2.1. Edit the configuration file for your application `.env.development` or `.env.production` file. It would contain the variables of the MongoDB database and other services, but not the secrets.\n\t\n\t2.2. Create the secrets files for your application, depends on the environment. Then edit the secrets files (`credentials.json`, `db.pwd` or `db.crt`. The latter for MongoDB [X.509 certificates](https://docs.mongodb.com/manual/core/security-x.509/) for passwordless authentication):\n\t```bash\n\t# development environment secrets\n\t$ cp secrets/development/credential.json.example secrets/development/credential.json\n\t$ cp secrets/development/db.pwd.example secrets/development/db.pwd\n \n\t# production environment secrets\n\t$ cp secrets/production/credential.json.example secrets/production/credential.json\n\t# for password\n\t$ cp secrets/production/db.pwd.example secrets/production/db.pwd\n\t# for passwordless \n\t$ cp secrets/production/db.crt.example secrets/production/db.crt\n\t```\n\t\n## Running with docker\n\n1. If you have [Docker](https://www.docker.com/) already installed on your machine, go to step 2.\n\t\n\tFor installing docker in UNIX systems please make:\n\t```bash\n\t$ bash docker/deployment/install-docker.sh\n\t```\n\n\tFor installing docker in windows systems please follow the instructions: https://docs.docker.com/docker-for-windows/install/\n\n2. Running\n\t```bash\n\t# develompent environment (It has a MongoDB container)\n\t$ docker-compose -f docker/docker-compose.dev.yml up -d\n\n\t# production environment\n\t$ docker-compose -f docker/docker-compose.yml up -d\n\t```\n\n## Running without docker\n\n1. Install the dependencies.\n ```bash\n $ npm install\n ```\n\n2. Launch local web server.\n ```bash\n\t# development mode\n\t$ npm run start\n\n\t# watch mode\n\t$ npm run start:dev\n\n\t# production mode\n\t$ npm run start:prod\n ```\n\n## Try out\nNavigate to [http://localhost:3333](http://localhost:3333)\n\n## Ngrok expose\nExpose your application to the wider internet using [ngrok](https://ngrok.com/download). You can click [here](https://www.twilio.com/blog/2015/09/6-awesome-reasons-to-use-ngrok-when-testing-webhooks.html) for more details. This step important to connect with [vtex io](https://vtex.io/).\n\n```bash\nngrok http 3333\n```\nWhen ngrok starts up, it will assign a unique URL to your tunnel. It might be something like `https://asdf456.ngrok.io`. Take note of this and paste in the manifest.json of the vtex project.\n\nFor installing docker in windows systems please follow the instructions in:\nhttps://docs.docker.com/docker-for-windows/install/\n\n## Tests\n```bash\n# unit tests\n$ npm run test\n\n# e2e tests\n$ npm run test:e2e\n\n# test coverage\n$ npm run test:cov\n```\n\n## Support\n\nIt Globers\n\n## Stay in touch\n\n- Author- [Ismael Calle](ismael.calle@itglobers.com)\n```"
}
] |
code_mycheckout-checkout-service_4e17ad07
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of mycheckout-checkout-service/package.json from the mycheckout-checkout-service VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"back_checkoutless\",\n \"version\": \"0.0.1\",\n \"description\": \"\",\n \"author\": \"icalle\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"prebuild\": \"rimraf dist\",\n \"build\": \"nest build\",\n \"format\": \"prettier --write \\\"src/**/*.ts\\\" \\\"test/**/*.ts\\\"\",\n \"start\": \"nest start\",\n \"start:dev\": \"nest start --watch\",\n \"start:debug\": \"nest start --debug --watch\",\n \"start:prod\": \"node dist/main.js\",\n \"lint\": \"eslint \\\"{src,apps,libs,test}/**/*.ts\\\" --fix\",\n \"test\": \"jest\",\n \"test:watch\": \"jest --watch\",\n \"test:cov\": \"jest --coverage\",\n \"test:debug\": \"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand\",\n \"test:e2e\": \"jest --config ./test/jest-e2e.json\"\n },\n \"dependencies\": {\n \"@nestjs/axios\": \"^0.0.6\",\n \"@nestjs/cli\": \"^8.2.1\",\n \"@nestjs/common\": \"^8.3.1\",\n \"@nestjs/config\": \"^1.2.0\",\n \"@nestjs/core\": \"^8.3.1\",\n \"@nestjs/jwt\": \"^8.0.0\",\n \"@nestjs/mapped-types\": \"^1.0.1\",\n \"@nestjs/passport\": \"^8.0.0\",\n \"@nestjs/platform-express\": \"^8.3.1\",\n \"@nestjs/typeorm\": \"^8.0.3\",\n \"@types/mercadopago\": \"^1.5.5\",\n \"aws-sdk\": \"^2.977.0\",\n \"bcrypt\": \"^5.0.1\",\n \"class-transformer\": \"^0.4.0\",\n \"class-validator\": \"^0.13.1\",\n \"cookie\": \"^0.4.1\",\n \"crypto\": \"^1.0.1\",\n \"dynamoose\": \"^2.8.5\",\n \"graphql\": \"^15.5.1\",\n \"maskdata\": \"^1.1.6\",\n \"mercadopago\": \"^1.5.8\",\n \"nestjs-config\": \"^1.4.8\",\n \"nestjs-dynamoose\": \"^0.3.4\",\n \"nestjs-i18n\": \"^8.1.2\",\n \"passport\": \"^0.4.1\",\n \"passport-jwt\": \"^4.0.0\",\n \"ramda\": \"^0.27.1\",\n \"reflect-metadata\": \"^0.1.13\",\n \"rimraf\": \"^3.0.2\",\n \"rxjs\": \"^7.5.4\",\n \"string-similarity\": \"^4.0.4\",\n \"twilio\": \"^3.67.2\",\n \"typeorm\": \"^0.2.34\",\n \"yup\": \"^0.32.11\"\n },\n \"devDependencies\": {\n \"@golevelup/ts-jest\": \"^0.3.2\",\n \"@nestjs/schematics\": \"^8.0.7\",\n \"@nestjs/testing\": \"^8.3.1\",\n \"@types/cookie\": \"^0.4.1\",\n \"@types/express\": \"^4.17.11\",\n \"@types/jest\": \"^26.0.22\",\n \"@types/node\": \"^14.14.36\",\n \"@types/ramda\": \"^0.27.45\",\n \"@types/supertest\": \"^2.0.10\",\n \"@typescript-eslint/eslint-plugin\": \"^4.19.0\",\n \"@typescript-eslint/parser\": \"^4.19.0\",\n \"eslint\": \"^7.22.0\",\n \"eslint-config-prettier\": \"^8.1.0\",\n \"eslint-plugin-prettier\": \"^3.3.1\",\n \"jest\": \"^26.6.3\",\n \"prettier\": \"^2.2.1\",\n \"supertest\": \"^6.1.3\",\n \"ts-jest\": \"^26.5.4\",\n \"ts-loader\": \"^8.0.18\",\n \"ts-node\": \"^9.1.1\",\n \"tsconfig-paths\": \"^3.9.0\",\n \"typescript\": \"^4.2.3\",\n \"webpack\": \"^5.70.0\"\n },\n \"jest\": {\n \"moduleFileExtensions\": [\n \"js\",\n \"json\",\n \"ts\"\n ],\n \"rootDir\": \"src\",\n \"testRegex\": \".*\\\\.spec\\\\.ts$\",\n \"transform\": {\n \"^.+\\\\.(t|j)s$\": \"ts-jest\"\n },\n \"collectCoverageFrom\": [\n \"**/*.(t|j)s\"\n ],\n \"coverageDirectory\": \"../coverage\",\n \"testEnvironment\": \"node\"\n }\n}\n\n```"
}
] |
code_mycheckout-checkout-service_f0b544c9
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of mycheckout-checkout-service/tsconfig.build.json from the mycheckout-checkout-service VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"extends\": \"./tsconfig.json\",\n \"exclude\": [\"node_modules\", \"test\", \"dist\", \"**/*spec.ts\"]\n}\n\n```"
}
] |
code_pharma-orders-admin_08aa6b5d
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of pharma-orders-admin/package.json from the pharma-orders-admin VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"pharma-orders-admin\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.2.0\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.4.0\",\n \"eslint-config-vtex-react\": \"^6.4.0\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.2.2\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.8.3\",\n \"vtex.render-runtime\": \"http://vtex.vtexassets.com/_v/public/typings/v1/vtex.render-runtime@8.131.0/public/@types/vtex.render-runtime\"\n },\n \"dependencies\": {\n \"react-intl\": \"^5.20.10\"\n }\n}\n\n```"
}
] |
code_pharma-orders-admin_a691184a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of pharma-orders-admin/manifest.json from the pharma-orders-admin VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtexarg\",\n \"name\": \"pharma-orders-admin\",\n \"version\": \"0.1.4\",\n \"title\": \"Pharma Orders Admin\",\n \"description\": \"\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"admin\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"node\": \"6.x\",\n \"graphql\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Pharma Orders Broadcast\",\n \"type\": \"object\",\n \"properties\": {\n \"idCategoriaMedicamentos\": {\n \"title\": \"Id de Categoria Medicamentos\",\n \"type\": \"number\"\n }\n }\n },\n \"billingOptions\": {\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"type\": \"free\",\n \"availableCountries\": [\"*\"]\n },\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.myvtex.com\",\n \"path\": \"/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercebeta.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"Get_Account_By_Identifier\"\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"OMSViewer\"\n },\n {\n \"name\": \"AcessaTodosPedidos\"\n },\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"POWER_USER_DS\"\n },\n {\n \"name\": \"AdminPortal\"\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_service-worker-example_7314164a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of service-worker-example/package.json from the service-worker-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"service-worker-example\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"eslint\": \"^7.16.0\",\n \"eslint-config-vtex\": \"^12.9.3\",\n \"husky\": \"^4.3.6\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_service-worker-example_06fa1917
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of service-worker-example/manifest.json from the service-worker-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"service-worker-example\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"Service Worker Example\",\n \"description\": \"Reference app for VTEX IO apps that enable service-worker builder\",\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"docs\": \"0.x\",\n \"service-worker\": \"0.x\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_bluecore_92a92f3c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of bluecore/manifest.json from the bluecore VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"bluecore\",\n \"version\": \"1.1.2\",\n \"title\": \"Bluecore\",\n \"description\": \"Bluecore\",\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-10-01\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Bluecore\",\n \"type\": \"object\",\n \"properties\": {\n \"siteId\": {\n \"title\": \"Site ID\",\n \"description\": \"Enter your site ID\",\n \"type\": \"string\"\n }\n }\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_blog-interfaces_84f94b39
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of blog-interfaces/package.json from the blog-interfaces VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"blog-interfaces\",\n \"scripts\": {\n \"lint\": \"cd react && yarn lint\"\n },\n \"devDependencies\": {\n \"eslint\": \"^7.4.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"eslint-config-vtex-react\": \"^6.7.0\"\n }\n}\n\n```"
}
] |
code_blog-interfaces_8a89bfc2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of blog-interfaces/manifest.json from the blog-interfaces VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"blog-interfaces\",\n \"version\": \"0.2.0\",\n \"title\": \"Blog Interfaces\",\n \"description\": \"Abstract interfaces for blog integrations\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {},\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_opencart_170faf14
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of opencart/README.md from the opencart VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n> ### This is an Opencart 3 extension\n# VTEX seller connector for Opencart 3\n\nUsing this custom connector will allow VTEX stores to become marketplaces themselves and sell products from an external opencart seller.\n\n## Installation Guide\n\n### 1. Opencart configuration\n\n1) Install the extension by either copying the files in the project root folder or download as a zip file and upload it form `Extensions > Installer`\n\n2) In the opencart admin section we navigate to `Extensions -> Extensions`, choose extension type `Modules`, find the `VTEX Connector` module.\n Here we fill out and save:\n* `Marketplace account` (required) - represents the VTEX marketplace account name\n* `App key` and `App token` (required) - required for the API calls made to the marketplace\n* `Seller ID` (required) - used when configuring the seller in the marketplace\n\n\n3) Navigate to `System -> Users -> API`. Generate or use an existing `OPENCART_API_KEY`, make sure it is enabled and save.\n\n### 2. VTEX configuration\n\nThen we need to set up a new seller in the VTEX marketplace admin section.<br>\nWe navigate to `Marketplace -> Sellers -> Management` and click de `New seller` button.<br>\nWhen prompted `Choose the type of Seller you want to register`, choose `Others`, fill out the form and save:\n* `Seller ID` - is the `Seller ID` configured in opencart\n* `Other Name` - desired name\n* `Admin Email` - an email address\n* `Fulfillment EndPoint` - represents the seller endpoint (see bellow)\n* make sure `Active?` is checked\n\nWhen using the `OPENCART_API_KEY` in fulfillment endpoint authorization, you need to convert it to MD5 format and obtain a `MD5_OPENCART_API_KEY` ([md5 converter link](https://www.md5hashgenerator.com/)). <br>\nThe `Fulfillment EndPoint` should be `https://{opencartBaseURl}/api/fulfillment?token=MD5_OPENCART_API_KEY`<br>\n\n#### <u>Marketplace trade policies</u>\nIn the VTEX marketplace got to `Store Setup -> Trade policies`, edit a desired policy, and next to `Sellers` check the newly created seller so that the policy will also apply to them.<br>\nHere you can also set the currency to match the seller store, or change it in the seller store to match the policy.\n\n#### <u>Shipping Rates</u>\n\nIn the opencart admin section we navigate to `Extensions -> Extensions`, choose extension type `Shipping`, and edit the `Flat Rate` cost.\n\n#### <u>Products specifications</u>\n\nIn order to correctly retrieve product specifications from Opencart into VTEX, the following conditions must be met before approving new products:\n* in VTEX, under `MARKETPLACE -> Sellers -> Categories and Brands` the `Specifications mapping` needs to be filled out.<br>\n On the `Seller` side will be the specification's label from Opencart and on the `Marketplace` side will be the specification's VTEX name.<br>\n* When you approve a new product with specifications from Opencart, you need to make sure that those specifications exists on the VTEX category where you approve the product.<br>\n* In VTEX, category specifications can be found under `PRODUCTS -> Catalog -> Categories`, select the category in question\n and from the `ACTIONS` tab select `Field (Sku)`.<br>\n Here you can edit or add a new specification.<br>\n Always make sure `Active` is checked, even after editing/creating a specification.\n* The specification name is used in the `Marketplace` side when doing `Specifications mapping`.\n\n<hr>\n\n## How does it work?\n\nFollowing the [external seller connector](https://developers.vtex.com/vtex-rest-api/docs/external-seller-integration-connector) documentation, there are nine different API requests. Five of these are calls that the seller should make to the marketplace. The other four are requests that the marketplace will need to make to the seller.\n\n### 1. Catalog notification, registration, update\n\nThe seller, in this case opencart, is responsible for suggesting new SKUs to be sold in the marketplace and also for informing the marketplace about changes in their SKUs that already exist in the marketplace.\n\nWhen changing product information, in opencart, the `admin/model/catalog/product/editProduct/after` event is triggered.<br>\n\nHere the first step is to check if the sku exists in the marketplace by calling the [Change Notification endpoint](https://developers.vtex.com/vtex-rest-api/reference/catalog-api-sku-seller#catalog-api-get-seller-sku-notification) with two possible responses:\n* Status 404, means that the SKU does not yet exist in the marketplace. The seller will push the SKU offer to the marketplace using [Send SKU Suggestion](https://developers.vtex.com/vtex-rest-api/reference/manage-suggestions-1)\n* Status 200, means that the SKU exist in the marketplace. The marketplace will make a request to the seller to get updated sku information using [Fulfillment Simulation](https://developers.vtex.com/vtex-rest-api/reference/external-seller#fulfillment-simulation)\n\nAll SKUs provided by the [Send SKU Suggestion](https://developers.vtex.com/vtex-rest-api/reference/manage-suggestions-1) endpoint can be found in the store admin area under `Marketplace -> Sellers -> Received SKUs`.<br>\nOnce approved, the SKUs will become available in the `Products -> Catalog` section and from here on out only price and inventory will be updated via [Fulfillment Simulation](https://developers.vtex.com/vtex-rest-api/reference/external-seller#fulfillment-simulation).\n\nDuring the order flow, the marketplace storefront needs to be constantly fetching the updated price and inventory of each SKU in the cart. This is essential to guarantee that the customer will always be presented with the most updated information possible.\nThis information is provided by the seller through the [Fulfillment Simulation](https://developers.vtex.com/vtex-rest-api/reference/external-seller#fulfillment-simulation) endpoint.\n\n### 2. Order placement and dispatching\n\nOnce the customer finishes their checkout, the marketplace needs to let the seller know there is a newly placed order through the [Order Placement](https://developers.vtex.com/vtex-rest-api/reference/external-seller#order-placement) endpoint. The marketplace will send all data required for the seller to be able to create the order in their own store.\n\nAfter payment is approved, the marketplace sends a request to the seller through the [Ready For Handling](https://developers.vtex.com/vtex-rest-api/reference/external-seller#order-dispatching) endpoint, to notify it that the fulfillment process can be started.\n\n### 3. Order invoicing\n\nThe invoice is issued by the seller, the invoice data must be sent to the marketplace.\nThe seller sends this information through the [Order Invoice Notification](https://developers.vtex.com/vtex-rest-api/reference/invoice#invoicenotification) request.<br>\nIn opencart, the call will be triggered on the `admin/model/sale/order/createInvoiceNo/after` event.\n\n### 4. Order cancellation\n\nThe order can be cancelled by either the seller or the marketplace.\n\nWhen the marketplace cancels an order, a request is made to the seller through the [Marketplace Order Cancellation](https://developers.vtex.com/vtex-rest-api/reference/external-seller#mkp-order-cancellation) endpoint.\n\nWhen the seller (opencart) cancels an order, the `admin/model/sale/order/getTotalOrderHistories/after` event is triggered.<br>\nIf the order state is `canceled`, the seller makes a request to the seller through the [Cancel Order](https://developers.vtex.com/vtex-rest-api/reference/orders#cancelorder) endpoint.\n\n### 5. Fulfillment EndPoints\n\nThe opencart default REST endpoint is `https://{opencartBaseURl}/api`.<br>\nThe following endpoints where added to opencart in order to accept request from the marketplace:\n* `/fulfillment/pvt/orderForms/simulation` - [Fulfillment Simulation](https://developers.vtex.com/vtex-rest-api/reference/external-seller#fulfillment-simulation)\n* `/fulfillment/pvt/orders` - [Order Placement](https://developers.vtex.com/vtex-rest-api/reference/external-seller#order-placement)\n* `/fulfillment/pvt/orders/:orderId/fulfill` - [Ready For Handling](https://developers.vtex.com/vtex-rest-api/reference/external-seller#order-dispatching)\n* `/fulfillment/pvt/orders/:orderId/cancel` - [Cancel Order](https://developers.vtex.com/vtex-rest-api/reference/orders#cancelorder)\n```"
}
] |
code_react-portal_983398c4
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of react-portal/README.md from the react-portal VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# React Portal\n\n# Basic Usage\n\nIt is possible to wrap a React element with [Overlay](https://github.com/vtex-apps/react-portal/blob/master/react/Overlay.tsx) to make use of its advantages such as making the block overlap any other block despite its z-index.\n\n## Example:\n\n```\n<Overlay>\n <div>Hello World!</div>\n</Overlay> \n```\n\n```"
}
] |
code_react-portal_4e8769c9
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of react-portal/package.json from the react-portal VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.2.4\",\n \"devDependencies\": {\n \"eslint\": \"^5.16.0\",\n \"eslint-config-vtex-react\": \"^4.0.0\",\n \"prettier\": \"^1.17.0\",\n \"typescript\": \"^3.4.5\"\n }\n}\n\n```"
}
] |
code_react-portal_d7bcb637
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of react-portal/manifest.json from the react-portal VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"react-portal\",\n \"vendor\": \"vtex\",\n \"version\": \"0.4.1\",\n \"title\": \"React Portal\",\n \"description\": \"Component for adding other components on the top level of the DOM\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.css-handles\": \"0.x\"\n },\n \"mustUpdateAt\": \"2020-03-28\",\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_modal-layout_3e6b9108
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of modal-layout/package.json from the modal-layout VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"modal-layout\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"test\": \"cd ./react && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.5.0\",\n \"@vtex/prettier-config\": \"^0.3.5\",\n \"eslint\": \"^7.14.0\",\n \"eslint-config-vtex\": \"^12.8.11\",\n \"eslint-config-vtex-react\": \"^6.8.3\",\n \"husky\": \"^4.3.0\",\n \"lint-staged\": \"^10.5.1\",\n \"prettier\": \"^2.2.0\",\n \"typescript\": \"^3.9.6\"\n }\n}\n\n```"
}
] |
code_modal-layout_6614ab3c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of modal-layout/manifest.json from the modal-layout VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"modal-layout\",\n \"version\": \"0.14.2\",\n \"title\": \"VTEX Modal Layout\",\n \"description\": \"A React Modal component.\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"dependencies\": {\n \"vtex.css-handles\": \"1.x\",\n \"vtex.store-icons\": \"0.x\",\n \"vtex.responsive-values\": \"0.x\",\n \"vtex.native-types\": \"0.x\",\n \"vtex.pixel-manager\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_challenge-tp-condition_ea549ccd
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of challenge-tp-condition/package.json from the challenge-tp-condition VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"challenge-tp-condition\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"cd ./react && yarn lint\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\",\n \"test\": \"cd ./react && yarn test\",\n \"lint:locales\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint && yarn lint:locales && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"yarn lint && yarn lint:locales && yarn locales:fix\",\n \"pre-push\": \"yarn verify\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.3.0\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.0.3\",\n \"eslint-config-vtex-react\": \"^6.0.3\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n },\n \"version\": \"0.0.2\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```"
}
] |
code_challenge-tp-condition_e2004263
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of challenge-tp-condition/manifest.json from the challenge-tp-condition VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"challenge-tp-condition\",\n \"version\": \"0.6.1\",\n \"title\": \"Challenge\",\n \"description\": \"\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.store-graphql\": \"2.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_binding-countries_74e6967f
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of binding-countries/manifest.json from the binding-countries VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"binding-countries\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.2\",\n \"title\": \"Binding Countries\",\n \"description\": \"Binding Countries\",\n \"dependencies\": {\n \"vtex.render-server\": \"8.x\"\n },\n \"builders\": {\n \"docs\": \"0.x\"\n },\n \"scripts\": {},\n \"credentialType\": \"absolute\",\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\",\n \"settingsSchema\": {\n \"title\": \"Schema\",\n \"type\": \"object\",\n \"properties\": {\n \"bindings\": {\n \"default\": [],\n \"title\": \"Bindings\",\n \"type\": \"array\",\n \"items\": {\n \"default\": [],\n \"type\": \"object\",\n \"properties\": {\n \"canonicalBaseAddress\": {\n \"title\": \"Canonical Base Address\",\n \"type\": \"string\"\n },\n \"targetCountries\": {\n \"title\": \"Target Countries\",\n \"oneOf\": [\n {\n \"type\": \"array\",\n \"title\": \"Countries code list\",\n \"items\": {\n \"type\": \"string\"\n },\n \"minItems\": 1\n },\n {\n \"type\": \"null\",\n \"title\": \"None\"\n }\n ]\n }\n }\n }\n }\n }\n }\n}\n\n```"
}
] |
code_checkout-payment_e1c86b76
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-payment/package.json from the checkout-payment VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"checkout-payment\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"eslint-config-vtex-react\": \"^6.2.1\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_checkout-payment_c43349c1
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-payment/manifest.json from the checkout-payment VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"checkout-payment\",\n \"version\": \"0.16.3\",\n \"title\": \"IO Base Component\",\n \"description\": \"IO Base component\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.address-context\": \"0.x\",\n \"vtex.checkout-components\": \"0.x\",\n \"vtex.checkout-container\": \"0.x\",\n \"vtex.checkout-graphql\": \"0.x\",\n \"vtex.document-field\": \"0.x\",\n \"vtex.formatted-price\": \"0.x\",\n \"vtex.order-manager\": \"0.x\",\n \"vtex.order-payment\": \"0.x\",\n \"vtex.payment-flags\": \"2.x\",\n \"vtex.place-components\": \"0.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_b2b-organizations_12971ee9
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of b2b-organizations/package.json from the b2b-organizations VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"b2b-organizations\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint:locales\": \"intl-equalizer\",\n \"test\": \"cd ./react && yarn test\",\n \"cy-r\": \"cd ./cy-runner && node cy-runner\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ],\n \"messages/*.json\": [\n \"yarn lint:locales\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"12.12.21\",\n \"@vtex/intl-equalizer\": \"^2.5.0\",\n \"@vtex/prettier-config\": \"0.1.4\",\n \"eslint\": \"7.12.1\",\n \"eslint-config-vtex\": \"^14.1.1\",\n \"eslint-config-vtex-react\": \"^6.8.3\",\n \"husky\": \"4.2.3\",\n \"lint-staged\": \"10.1.1\",\n \"prettier\": \"2.0.2\",\n \"typescript\": \"3.8.3\"\n },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```"
}
] |
code_b2b-organizations_23f0c322
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of b2b-organizations/manifest.json from the b2b-organizations VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"b2b-organizations\",\n \"vendor\": \"vtex\",\n \"version\": \"3.1.2\",\n \"title\": \"B2B Organizations\",\n \"description\": \"App to create and manage B2B Organizations and Cost Centers\",\n \"mustUpdateAt\": \"2022-08-28\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish\"\n },\n \"dependencies\": {\n \"vtex.b2b-organizations-graphql\": \"2.x\",\n \"vtex.catalog-graphql\": \"1.x\",\n \"vtex.admin-graphql\": \"2.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.address-form\": \"4.x\",\n \"vtex.country-codes\": \"2.x\",\n \"vtex.store\": \"2.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.storefront-permissions\": \"3.x\",\n \"vtex.my-account\": \"1.x\",\n \"vtex.my-account-commons\": \"1.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.session-client\": \"1.x\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"admin\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\",\n \"vtex.storefront-permissions\": \"3.x\"\n },\n \"policies\": [\n {\n \"name\": \"buyer_organization_view\"\n },\n {\n \"name\": \"buyer_organization_edit\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_store-block-course_934f8e3a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of store-block-course/manifest.json from the store-block-course VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"store-block\",\n \"vendor\": \"vtex\",\n \"version\": \"0.3.0\",\n \"title\": \"Course App for custom block development teaching\",\n \"description\": \"VTEX Course App\",\n \"dependencies\": {},\n \"builders\": {\n \"course\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_storefront-permissions-ui_0bd2ca9d
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of storefront-permissions-ui/package.json from the storefront-permissions-ui VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"storefront-permissions\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"cy-r\": \"cd ./cy-runner && node cy-runner\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.2.0\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.4.0\",\n \"eslint-config-vtex-react\": \"^6.4.0\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.2.2\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.8.3\"\n },\n \"dependencies\": {}\n}\n\n```"
}
] |
code_storefront-permissions-ui_1bedef01
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of storefront-permissions-ui/manifest.json from the storefront-permissions-ui VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"storefront-permissions-ui\",\n \"vendor\": \"vtex\",\n \"version\": \"3.0.1\",\n \"title\": \"Storefront Permissions UI\",\n \"description\": \"Manage User's Roles and Permissions on apps that depend on vtex.storefront-permissions\",\n \"mustUpdateAt\": \"2022-08-28\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.css-handles\": \"1.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.admin-customers-graphql\": \"3.x\",\n \"vtex.storefront-permissions\": \"3.x\",\n \"vtex.b2b-organizations-graphql\": \"2.x\",\n \"vtex.b2b-organizations\": \"3.x\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"admin\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"buyer_organization_view\"\n },\n {\n \"name\": \"buyer_organization_edit\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_formula-graphql_8a406a3e
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of formula-graphql/manifest.json from the formula-graphql VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"formula-graphql\",\n \"version\": \"0.2.3\",\n \"title\": \"GraphQL API for the VTEX Formula Hackathon Manager\",\n \"description\": \"GraphQL schema and resolvers for the VTEX Formula Hackathon Manager.\",\n \"credentialType\": \"absolute\",\n \"builders\": {\n \"graphql\": \"1.x\",\n \"node\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2017-09-05\",\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\",\n \"postreleasy\": \"vtex publish\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/vtex-apps/formula-graphql.git\"\n },\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"vtexid.vtex.com.br\",\n \"path\": \"/api/vtexid/pub/authenticated/user\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/license-manager/site/pvt/newtopbar\"\n }\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"vbase-read-write\"\n }\n ]\n}\n\n```"
}
] |
code_store-locator_5bebed5e
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of store-locator/package.json from the store-locator VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"store-locator\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint:locales\": \"intl-equalizer\",\n \"test\": \"cd ./react && yarn test\",\n \"cy-r\": \"cd cy-runner && node cy-runner\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged && intl-equalizer && intl-equalizer --fix\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/intl-equalizer\": \"^2.4.2\",\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"cypress-file-upload\": \"^5.0.8\",\n \"eslint\": \"^7.4.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"eslint-config-vtex-react\": \"^6.7.0\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.2.11\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.6\"\n },\n \"version\": \"0.0.0\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```"
}
] |
code_store-locator_6a8c64cb
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of store-locator/manifest.json from the store-locator VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"store-locator\",\n \"version\": \"1.0.1\",\n \"title\": \"Store Locator\",\n \"description\": \"Integrates with the logistics module to provide Store Locator pages\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"node\": \"6.x\",\n \"graphql\": \"1.x\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.flex-layout\": \"0.x\",\n \"vtex.rich-text\": \"0.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.render-runtime\": \"8.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.store-sitemap\": \"2.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"logistics.vtexcommercestable.com.br\",\n \"path\": \"/api/logistics/pvt/configuration/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/checkout/pub/pickup-points/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/segments/*\"\n }\n },\n {\n \"name\": \"vtex.store-sitemap:resolve-graphql\"\n },\n {\n \"name\": \"LogisticsViewer\"\n },\n {\n \"name\": \"vbase-read-write\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_paypalcp-checkout-ui-settings_8f736701
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of paypalcp-checkout-ui-settings/package.json from the paypalcp-checkout-ui-settings VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"connector-paypal\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"cy-r\": \"cd ./cy-runner && node cy-runner\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"eslint\": \"^7.4.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"eslint-config-vtex-react\": \"^6.7.0\",\n \"husky\": \"4.2.3\",\n \"lint-staged\": \"10.1.1\",\n \"prettier\": \"2.0.2\",\n \"typescript\": \"3.8.3\"\n },\n \"dependencies\": {\n \"babel-eslint\": \"^10.1.0\"\n }\n}\n\n```"
}
] |
code_paypalcp-checkout-ui-settings_bf078bc2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of paypalcp-checkout-ui-settings/manifest.json from the paypalcp-checkout-ui-settings VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"paypalcp-checkout-ui-settings\",\n \"vendor\": \"vtex\",\n \"version\": \"0.2.3\",\n \"title\": \"PayPalCP Checkout UI Settings\",\n \"description\": \"Adds PayPal Smart Payment Buttons into Checkout v6\",\n \"builders\": {\n \"checkout-ui-custom\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"peerDependencies\": {\n \"vtex.connector-paypal-commerce-platform\": \"0.x\"\n },\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_elfsight_bd1c8d63
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of elfsight/package.json from the elfsight VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"YOURAPPNAME\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.1.4\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"eslint-config-vtex-react\": \"^6.3.2\",\n \"husky\": \"^4.2.3\",\n \"lint-staged\": \"^10.1.1\",\n \"prettier\": \"^2.0.2\",\n \"typescript\": \"^3.8.3\"\n }\n}\n\n```"
}
] |
code_elfsight_8bb5a444
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of elfsight/manifest.json from the elfsight VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"elfsight\",\n \"vendor\": \"vtex\",\n \"version\": \"1.0.0\",\n \"title\": \"Elfsight\",\n \"description\": \"Elfsight widgets help 300,000+ website owners to increase sales, engage visitors, collect leads and more.\",\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"settingsSchema\": {},\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_pixel-manager_97737393
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of pixel-manager/package.json from the pixel-manager VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"pixel-manager\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"test\": \"cd ./react && yarn test --verbose\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.3.5\",\n \"eslint\": \"^7.14.0\",\n \"eslint-config-vtex\": \"^12.8.11\",\n \"eslint-config-vtex-react\": \"^6.8.3\",\n \"husky\": \"^4.3.0\",\n \"json-schema\": \"^0.2.5\",\n \"lint-staged\": \"^10.5.1\",\n \"prettier\": \"^2.2.0\",\n \"typescript\": \"^3.9.6\"\n }\n}\n\n```"
}
] |
code_pixel-manager_de227d5e
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of pixel-manager/manifest.json from the pixel-manager VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"pixel-manager\",\n \"version\": \"1.9.0\",\n \"title\": \"VTEX Pixel Manager\",\n \"description\": \"The VTEX Pixel Manager App.\",\n \"builders\": {\n \"react\": \"3.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_zendesk-chat_8bbf86e0
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of zendesk-chat/package.json from the zendesk-chat VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"zendesk-chat\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{html,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.{html}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.3.3\",\n \"eslint\": \"^7.12.1\",\n \"eslint-config-vtex\": \"^12.8.8\",\n \"eslint-config-vtex-react\": \"^6.7.10\",\n \"husky\": \"^4.3.0\",\n \"lint-staged\": \"^10.5.0\",\n \"prettier\": \"^2.1.2\",\n \"typescript\": \"^4.0.5\"\n }\n}\n\n```"
}
] |
code_zendesk-chat_02cb54c5
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of zendesk-chat/manifest.json from the zendesk-chat VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"zendesk-chat\",\n \"version\": \"1.4.2\",\n \"title\": \"Zendesk Chat\",\n \"description\": \"Start using Zendesk chat with just a few clicks.\",\n \"builders\": {\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\",\n \"react\": \"3.x\"\n },\n \"mustUpdateAt\": \"2019-10-01\",\n \"billingOptions\": {\n \"termsURL\": \"https://compliance.vtex.com/gdpr/policies/vtex-privacy-policy\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true,\n \"type\": \"free\",\n \"availableCountries\": [\n \"*\"\n ]\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\",\n \"vtex.render-runtime\": \"8.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Zendesk Chat\",\n \"type\": \"object\",\n \"required\": [\n \"accountKey\"\n ],\n \"properties\": {\n \"titlePreffix\": {\n \"title\": \"Title prefix\",\n \"description\": \"Prefix to add to the title of the widget\",\n \"type\": \"string\"\n },\n \"accountKey\": {\n \"title\": \"Account Key\",\n \"description\": \"Enter your Account Key\",\n \"type\": \"string\"\n },\n \"analytics\": {\n \"title\": \"Analytics\",\n \"description\": \"Specifies whether to enable or disable Google Analytics tracking\",\n \"type\": \"boolean\"\n },\n \"webWidget\": {\n \"title\": \"Web Widget\",\n \"description\": \"\",\n \"type\": \"object\",\n \"properties\": {\n \"theme\": {\n \"title\": \"Theme\",\n \"type\": \"object\",\n \"description\": \"Configurations for the Zendesk chat button. This overwrites any configuration made directly from the Zendesk dashboard.\",\n \"properties\": {\n \"theme\": {\n \"title\": \"General theme color\",\n \"description\": \"This prop may be used as a base, determining the overall color scheme of the widget. Use hex format i.e #FFFFFF.\",\n \"type\": \"string\"\n },\n \"launcherLabel\": {\n \"title\": \"Launcher label\",\n \"description\": \"Label of the starting launcher button.\",\n \"type\": \"string\"\n },\n \"launcherColor\": {\n \"title\": \"Launcher color\",\n \"description\": \"Defines the chat button background color. Use hex format i.e #FFFFFF.\",\n \"type\": \"string\"\n },\n \"launcherTextColor\": {\n \"title\": \"Launcher text color\",\n \"description\": \"Defines the chat button text color. Use hex format i.e #000000.\",\n \"type\": \"string\"\n },\n \"launcherPosition\": {\n \"title\": \"Launcher position\",\n \"description\": \"Defines the horizontal position of the chat button.\",\n \"type\": \"string\",\n \"default\": \"right\",\n \"enum\": [\n \"left\",\n \"right\"\n ],\n \"enumNames\": [\n \"Bottom left\",\n \"Bottom right\"\n ]\n },\n \"widgetZindex\": {\n \"title\": \"Launcher z-index\",\n \"description\": \"Defines the z-index of the chat button.\",\n \"type\": \"string\",\n \"default\": \"999998\"\n }\n }\n },\n \"helpCenter\": {\n \"title\": \"Help Center\",\n \"description\": \"\",\n \"type\": \"object\",\n \"properties\": {\n \"suppress\": {\n \"title\": \"Suppress Help Center\",\n \"description\": \"\",\n \"type\": \"boolean\"\n }\n }\n },\n \"chat\": {\n \"title\": \"Chat\",\n \"description\": \"\",\n \"type\": \"object\",\n \"properties\": {\n \"departments\": {\n \"title\": \"Departments\",\n \"type\": \"object\",\n \"properties\": {\n \"tags\": {\n \"title\": \"Tags\",\n \"description\": \"\",\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"enabled\": {\n \"title\": \"Enabled\",\n \"description\": \"Displays the specified departments in the pre-chat form\",\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"select\": {\n \"title\": \"Select\",\n \"description\": \"Sets the visitor’s default department for the current session\",\n \"type\": \"string\"\n }\n }\n }\n }\n }\n }\n }\n }\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_buybox-resolver_844c53ee
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of buybox-resolver/dangerfile.js from the buybox-resolver VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_buybox-resolver_5c856ff9
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of buybox-resolver/package.json from the buybox-resolver VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"buybox-resolver\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"@vtex/danger\": \"^0.2.7\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.6\"\n }\n}\n\n```"
}
] |
code_buybox-resolver_8b5a8cfb
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of buybox-resolver/manifest.json from the buybox-resolver VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"buybox-resolver\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.2\",\n \"title\": \"GraphQL resolver for the VTEX store APIs\",\n \"description\": \"GraphQL resolvers for the VTEX API for the buybox.\",\n \"mustUpdateAt\": \"2022-01-04\",\n \"categories\": [],\n \"dependencies\": {\n \"vtex.catalog-api-proxy\": \"0.x\",\n \"vtex.buybox-graphql\": \"0.x\"\n },\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"vtex.catalog-api-proxy:catalog-proxy\"\n },\n {\n \"name\": \"vtex.catalog-api-proxy:authenticated-catalog-proxy\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/catalog_system/*\"\n }\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/segments/*\"\n },\n \"name\": \"outbound-access\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_flex-layout_f2a0ac90
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of flex-layout/package.json from the flex-layout VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"private\": true,\n \"devDependencies\": {\n \"eslint\": \"^5.16.0\",\n \"eslint-config-vtex-react\": \"^4.0.0\",\n \"prettier\": \"^1.16.4\",\n \"typescript\": \"^3.4.2\"\n },\n \"dependencies\": {}\n}\n\n```"
}
] |
code_flex-layout_d2bf2874
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of flex-layout/manifest.json from the flex-layout VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"flex-layout\",\n \"version\": \"0.21.5\",\n \"title\": \"VTEX flex layout component\",\n \"defaultLocale\": \"pt-BR\",\n \"description\": \"VTEX flex layout component\",\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2020-04-02\",\n \"categories\": [],\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.store-components\": \"3.x\",\n \"vtex.device-detector\": \"0.x\",\n \"vtex.responsive-values\": \"0.x\",\n \"vtex.css-handles\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_pwa-gtm-pixel_21be5e77
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of pwa-gtm-pixel/manifest.json from the pwa-gtm-pixel VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"pwa-gtm-pixel\",\n \"vendor\": \"vtex\",\n \"version\": \"1.0.0\",\n \"title\": \"PWA Google Tag Manager Pixel\",\n \"description\": \"VTEX App that integrates PWA events with Google-tag-manager\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_order-configuration_d5268db9
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of order-configuration/manifest.json from the order-configuration VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"order-configuration\",\n \"version\": \"3.3.1\",\n \"title\": \"Order Configuration\",\n \"description\": \"A custom price selector for B2B users\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"graphql\": \"1.x\",\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2021-07-15\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.native-types\": \"0.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.flex-layout\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/sessions/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_google-tag-manager_032c3bfb
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of google-tag-manager/package.json from the google-tag-manager VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"google-tag-manager\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"eslint-config-vtex-react\": \"^6.2.1\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_google-tag-manager_bce834df
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of google-tag-manager/manifest.json from the google-tag-manager VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"google-tag-manager\",\n \"vendor\": \"vtex\",\n \"version\": \"3.5.4\",\n \"title\": \"Google Tag Manager\",\n \"description\": \"Google Tag Manager\",\n \"mustUpdateAt\": \"2019-04-03\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"billingOptions\": {\n \"type\": \"free\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"availableCountries\": [\n \"*\"\n ]\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"policies\": [\n {\n \"name\": \"pixel\"\n }\n ],\n \"settingsSchema\": {\n \"title\": \"Google Tag Manager\",\n \"type\": \"object\",\n \"bindingBounded\": true,\n \"properties\": {\n \"gtmId\": {\n \"title\": \"Google Tag Manager\",\n \"description\": \"Enter the ID (GTM-XXXX) from your Google Tag Manager\",\n \"type\": \"string\"\n },\n \"allowCustomHtmlTags\": {\n \"title\": \"Allow Custom HTML tags\",\n \"description\": \"Beware that using Custom HTML tags can drastically impact the store's performance\",\n \"type\": \"boolean\"\n },\n \"sendGA4Events\": {\n \"title\": \"Send Google Analytics 4 Events\",\n \"description\": \"When this setting is active, also send the GA4 version of the events\",\n \"type\": \"boolean\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_b2cstoreqa.theme_0d9d6113
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of b2cstoreqa.theme/manifest.json from the b2cstoreqa.theme VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"theme\",\n \"version\": \"1.0.0\",\n \"defaultLocale\": \"en-US\",\n \"builders\": {\n \"assets\": \"0.x\",\n \"styles\": \"2.x\",\n \"store\": \"0.x\",\n \"checkout-ui-custom\": \"0.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"peerDependencies\": {\n \"vtex.wish-list\": \"1.x\",\n \"vtex.reviews-and-ratings\": \"2.x\",\n \"vtex.quickorder\": \"3.x\",\n \"vtex.location-availability\": \"0.x\",\n \"vtex.shopper-location\": \"0.x\",\n \"vtex.orderquote\": \"1.x\",\n \"vtex.wordpress-integration\": \"2.x\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.store-header\": \"2.x\",\n \"vtex.product-summary\": \"2.x\",\n \"vtex.store-footer\": \"2.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.slider\": \"0.x\",\n \"vtex.carousel\": \"2.x\",\n \"vtex.shelf\": \"1.x\",\n \"vtex.menu\": \"2.x\",\n \"vtex.minicart\": \"2.x\",\n \"vtex.product-details\": \"1.x\",\n \"vtex.product-kit\": \"1.x\",\n \"vtex.search-result\": \"3.x\",\n \"vtex.login\": \"2.x\",\n \"vtex.my-account\": \"1.x\",\n \"vtex.flex-layout\": \"0.x\",\n \"vtex.rich-text\": \"0.x\",\n \"vtex.store-drawer\": \"0.x\",\n \"vtex.locale-switcher\": \"0.x\",\n \"vtex.product-quantity\": \"1.x\",\n \"vtex.product-identifier\": \"0.x\",\n \"vtex.product-specification-badges\": \"0.x\",\n \"vtex.product-review-interfaces\": \"1.x\",\n \"vtex.telemarketing\": \"2.x\",\n \"vtex.order-placed\": \"2.x\",\n \"vtex.stack-layout\": \"0.x\",\n \"vtex.tab-layout\": \"0.x\",\n \"vtex.responsive-layout\": \"0.x\",\n \"vtex.slider-layout\": \"0.x\",\n \"vtex.iframe\": \"0.x\",\n \"vtex.breadcrumb\": \"1.x\",\n \"vtex.sticky-layout\": \"0.x\",\n \"vtex.add-to-cart-button\": \"0.x\",\n \"vtex.search\": \"2.x\",\n \"vtex.admin-search\": \"1.x\",\n \"vtex.search-resolver\": \"1.x\",\n \"vtex.store-image\": \"0.x\",\n \"vtex.modal-layout\": \"0.x\",\n \"vtex.product-comparison\": \"0.x\",\n \"vtex.store-link\": \"0.x\",\n \"vtex.shopper-location\": \"0.x\",\n \"vtex.address-locator\": \"2.x\",\n \"vtex.checkout-summary\": \"0.x\",\n \"vtex.product-availability\": \"0.x\",\n \"vtex.product-list\": \"0.x\",\n \"vtex.store-icons\": \"0.x\",\n \"vtex.store-video\": \"1.x\",\n \"vtex.product-customizer\": \"2.x\",\n \"vtex.product-price\": \"1.x\",\n \"vtex.product-specifications\": \"1.x\",\n \"vtex.disclosure-layout\": \"1.x\",\n \"vtex.modal\": \"0.x\",\n \"vtex.store-form\": \"0.x\",\n \"vtex.sku-list\": \"1.x\",\n \"vtex.condition-layout\": \"2.x\",\n \"vtex.seller-selector\": \"0.x\",\n \"vtex.store-newsletter\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_audara_e5d8043a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of audara/manifest.json from the audara VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"audara\",\n \"vendor\": \"vtex\",\n \"version\": \"1.0.3\",\n \"title\": \"Audara\",\n \"description\": \"Audara\",\n \"mustUpdateAt\": \"2019-06-19\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"settingsSchema\": {\n \"title\": \"audara\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"title\": \"Audara\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_list-wallet_38aed63d
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of list-wallet/dangerfile.js from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_list-wallet_ed3c8a3c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of list-wallet/package.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"CHANGE_ME\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint:locales\": \"intl-equalizer\",\n \"test\": \"vtex-test-tools test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ],\n \"messages/*.json\": [\n \"yarn lint:locales\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/danger\": \"^0.2.7\",\n \"@vtex/intl-equalizer\": \"^2.5.0\",\n \"@vtex/prettier-config\": \"^0.3.5\",\n \"@vtex/test-tools\": \"^3.4.3\",\n \"eslint\": \"^7.14.0\",\n \"eslint-config-vtex\": \"^12.8.11\",\n \"eslint-config-vtex-react\": \"^6.8.3\",\n \"graphql\": \"^14.6.0\",\n \"husky\": \"^4.3.0\",\n \"lint-staged\": \"^10.5.1\",\n \"prettier\": \"^2.2.0\",\n \"typescript\": \"^3.9.6\"\n },\n \"version\": \"0.0.0\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```"
}
] |
code_list-wallet_25da2d9c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of list-wallet/manifest.json from the list-wallet VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"list-wallet\",\n \"version\": \"1.8.1\",\n \"title\": \"List Wallet\",\n \"description\": \"App to manage portfolio values from the list app\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.gift-card-list\": \"1.x\"\n },\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_product-summary_7feac80c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-summary/package.json from the product-summary VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"product-summary\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"babel-eslint\": \"^10.1.0\",\n \"eslint\": \"^7.4.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"eslint-config-vtex-react\": \"^6.7.0\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.6\"\n },\n \"dependencies\": {}\n}\n\n```"
}
] |
code_product-summary_77294923
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of product-summary/manifest.json from the product-summary VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"product-summary\",\n \"version\": \"2.91.0\",\n \"title\": \"Product Summary\",\n \"description\": \"Product summary component\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.native-types\": \"0.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.store-resources\": \"0.x\",\n \"vtex.product-summary-context\": \"0.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.pixel-manager\": \"1.x\",\n \"vtex.device-detector\": \"0.x\",\n \"vtex.product-specification-badges\": \"0.x\",\n \"vtex.responsive-values\": \"0.x\",\n \"vtex.css-handles\": \"1.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.list-context\": \"0.x\",\n \"vtex.product-list-context\": \"0.x\",\n \"vtex.search-page-context\": \"0.x\",\n \"vtex.structured-data\": \"0.x\",\n \"vtex.on-view\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_totalizer-translator_4fecc5ea
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of totalizer-translator/README.md from the totalizer-translator VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# Totalizer Translator\n\n> A React component that renders translated totalizer property from Checkout's OrderForm\n\n## Setup\n\nThrough **vtex.io**:\n\nAdd the following dependency to your `manifest.json` dependencies:\n\n```\n\"vtex.totalizer-translator\": \"1.x\"\n```\n\n## Usage\n\n```js\nimport TranslateTotalizer from 'vtex.totalizer-translator/TranslateTotalizer'\n\n<TranslateTotalizer id=\"Discounts\" />\n// Discount\n\n<TranslateTotalizer id=\"Items\" />\n// Subtotal\n\n<TranslateTotalizer id=\"Foo Custom\" />\n// Foo Custom\n\nconst totalizerObject = {\n id: 'CustomTax',\n name: 'COFINS-RETIDO',\n value: 29.97,\n}\n\n<TranslateTotalizer totalizer={totalizerObject}/>\n// COFINS-RETIDO\n```\n\n### Params\n\n- **id** | Type `string` | Id of the totalizer to be translated\n- **totalizer** | Type `TotalizerShape` | The totalizer object\n\n**TotalizerShape**:\n\n```ts\n{\n id: string\n name: string\n value: number\n}\n```\n\n### Returns\n\n- **Translated value** | Type `string`\n\n## Testing\n\n```sh\nyarn test\n```\n\n```"
}
] |
code_totalizer-translator_86d308d4
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of totalizer-translator/package.json from the totalizer-translator VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"version\": \"2.0.0\",\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.0.1\",\n \"babel-core\": \"^6.26.3\",\n \"babel-eslint\": \"7\",\n \"babel-jest\": \"^23.6.0\",\n \"babel-preset-env\": \"^1.6.1\",\n \"babel-preset-react\": \"^6.24.1\",\n \"babel-preset-react-app\": \"^3.1.1\",\n \"eslint\": \"^5.10.0\",\n \"eslint-config-prettier\": \"^3.3.0\",\n \"eslint-config-vtex\": \"^8.0.0\",\n \"eslint-config-vtex-react\": \"^3.0.3\",\n \"eslint-plugin-import\": \"^2.14.0\",\n \"eslint-plugin-lodash\": \"^5.1.0\",\n \"eslint-plugin-prettier\": \"^3.0.0\",\n \"husky\": \"^1.3.0\",\n \"jest\": \"^22.0.4\",\n \"prettier\": \"^1.15.3\",\n \"react\": \"^16.7.0\",\n \"react-dom\": \"^16.7.0\",\n \"react-intl\": \"^2.7.2\",\n \"react-testing-library\": \"^5.4.2\",\n \"regenerator-runtime\": \"^0.13.1\"\n },\n \"scripts\": {\n \"lint\": \"eslint react/**/*.js\",\n \"lint:locales\": \"intl-equalizer\",\n \"test\": \"jest\",\n \"test:watch\": \"jest --watch\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-push\": \"yarn run lint && yarn run test && yarn run lint:locales\"\n }\n },\n \"jest\": {\n \"collectCoverageFrom\": [\n \"react/**/*.{js,jsx}\"\n ],\n \"testPathIgnorePatterns\": [\n \"/node_modules/\",\n \"react/node_modules/\",\n \"react/__mocks__/\"\n ],\n \"transformIgnorePatterns\": [\n \"[/\\\\\\\\]node_modules[/\\\\\\\\].+\\\\.(js|jsx|mjs)$\"\n ],\n \"testMatch\": [\n \"<rootDir>/react/**/__tests__ /**/*.{js,jsx,ts,tsx}\",\n \"<rootDir>/react/**/?(*.)(spec|test).{js,jsx,ts,tsx}\"\n ],\n \"testURL\": \"http://localhost/\"\n }\n}\n\n```"
}
] |
code_totalizer-translator_429ba1b9
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of totalizer-translator/manifest.json from the totalizer-translator VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"totalizer-translator\",\n \"version\": \"2.6.1\",\n \"title\": \"A React component that renders translated totalizer property from Checkout's OrderForm\",\n \"description\": \"\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-12-19\",\n \"categories\": [],\n \"registries\": [\n \"smartcheckout\"\n ],\n \"settingsSchema\": {},\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_service-example_2cd452ee
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of service-example/dangerfile.js from the service-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_service-example_ac710cfb
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of service-example/package.json from the service-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"service-example\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^20.0.0\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"@vtex/danger\": \"^0.2.7\",\n \"eslint\": \"^7.16.0\",\n \"eslint-config-vtex\": \"^12.9.3\",\n \"husky\": \"^4.3.6\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"5.5.3\"\n }\n}\n\n```"
}
] |
code_service-example_655111f2
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of service-example/manifest.json from the service-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"service-example\",\n \"vendor\": \"vtex\",\n \"version\": \"0.3.0\",\n \"title\": \"Service Example\",\n \"description\": \"Reference app for VTEX IO Services\",\n \"mustUpdateAt\": \"2018-01-04\",\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"node\": \"7.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"httpstat.us\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_checkout-ui-custom_98ad1104
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-ui-custom/package.json from the checkout-ui-custom VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"checkout-ui-custom\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"cy-r\": \"cd cy-runner && node cy-runner\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"12.12.21\",\n \"@vtex/intl-equalizer\": \"^2.5.0\",\n \"@vtex/prettier-config\": \"0.1.4\",\n \"eslint\": \"7.12.1\",\n \"eslint-config-vtex\": \"^14.1.1\",\n \"eslint-config-vtex-react\": \"^6.8.3\",\n \"husky\": \"4.2.3\",\n \"lint-staged\": \"10.1.1\",\n \"prettier\": \"2.0.2\",\n \"typescript\": \"3.8.3\"\n },\n \"dependencies\": {\n \"@monaco-editor/react\": \"^4.6.0\"\n }\n}\n```"
}
] |
code_checkout-ui-custom_0d5a7519
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of checkout-ui-custom/manifest.json from the checkout-ui-custom VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"checkout-ui-custom\",\n \"vendor\": \"vtex\",\n \"version\": \"0.20.1\",\n \"title\": \"Checkout Custom\",\n \"description\": \"Make possible to customize the checkout layout using a easy to use interface from the admin\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"admin\": \"0.x\",\n \"react\": \"3.x\",\n \"node\": \"6.x\",\n \"graphql\": \"1.x\",\n \"messages\": \"1.x\",\n \"checkout-ui-custom\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.render-runtime\": \"8.x\",\n \"vtex.store-resources\": \"0.x\",\n \"vtex.checkout-ui-settings-server\": \"0.x\",\n \"vtex.email-checkout-conflict\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"vtex.checkout-ui-settings-server:save-build\"\n },\n {\n \"name\": \"read-write-any-workspace\"\n },\n {\n \"name\": \"update-app-settings\"\n },\n {\n \"name\": \"POWER_USER_DS\"\n },\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"LogisticsViewer\"\n },\n {\n \"name\": \"Get_User_By_Identifier\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"platform.io.vtex.com\",\n \"path\": \"/{{account}}/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/api/dataentities/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/dataentities/checkoutcustom/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/logistics/pvt/configuration/holidays/\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/vtexid/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/license-manager/*\"\n }\n }\n ],\n \"scripts\": {},\n \"credentialType\": \"absolute\",\n \"billingOptions\": {\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"type\": \"free\",\n \"availableCountries\": [\n \"*\"\n ]\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_tradetracker_4a46950e
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of tradetracker/manifest.json from the tradetracker VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"tradetracker\",\n \"version\": \"0.0.2\",\n \"title\": \"Tradetracker\",\n \"description\": \"Tradetracker\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-10-01\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Tradetracker\",\n \"type\": \"object\",\n \"properties\": {\n \"tradeTrackerCampaignID\": {\n \"title\": \"Campaign ID\",\n \"description\": \"Enter your Tradetracker Campaign ID\",\n \"type\": \"string\"\n },\n \"tradeTrackerProductID\": {\n \"title\": \"Product ID\",\n \"description\": \"Enter your Tradetracker Product ID\",\n \"type\": \"string\"\n },\n \"tradeTrackerDescrMerchant\": {\n \"title\": \"Tradetracker Merchant Description\",\n \"description\": \"Enter your Tradetracker Merchant Description\",\n \"type\": \"string\"\n },\n \"tradeTrackerDescrAffiliate\": {\n \"title\": \"Tradetracker Affiliate Description\",\n \"description\": \"Enter your Tradetracker Affiliate Description\",\n \"type\": \"string\"\n }\n }\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\",\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_countries-data_a95f2b48
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of countries-data/README.md from the countries-data VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# Countries Data\n\nMonorepo containing the configuration apps for each country. These apps configure\nthe [`vtex.country-data-settings`](https://github.com/vtex-apps/country-data-settings) service app,\nwhich is currently being used to power Checkout's profile and shipping forms.\n\n## Adding a new country\n\nTo add a new country configuration app, use the script `./scripts/create-country-app.js`. The syntax\nsupported by this script is the following:\n\n```sh\n# here you can supply multiple countries if needed\n./scripts/create-country-app.js [...country]\n```\n\nYou must supply the country [ISO-3 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) in lowercase,\nwhich will be used to create the app name and the folder inside `./packages`.\n\nAfter running the script, you must then fill the configuration for that country inside\n`./packages/[country-code]/vtex.country-data-settings/configuration.json`. You can take a look\nat how this was done for other countries and go from there.\n\n```"
}
] |
code_countries-data_f8fcc6ab
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of countries-data/package.json from the countries-data VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"private\": true,\n \"workspaces\": [\n \"packages/*\"\n ],\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^14.0.11\",\n \"@vtex/prettier-config\": \"^0.3.0\",\n \"eslint\": \"^7.2.0\",\n \"eslint-config-vtex\": \"^12.5.0\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.2.9\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.5\"\n }\n}\n\n```"
}
] |
code_store-link_f46e644a
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of store-link/package.json from the store-link VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"store-link\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\",\n \"test\": \"cd ./react && yarn test --verbose\",\n \"lint:locales\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"yarn lint && yarn lint:locales && yarn locales:fix\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.4.2\",\n \"@vtex/prettier-config\": \"^0.1.4\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"eslint-config-vtex-react\": \"^6.3.2\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.1.7\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.7.5\"\n },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```"
}
] |
code_store-link_daa53c6c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of store-link/manifest.json from the store-link VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"store-link\",\n \"version\": \"0.9.5\",\n \"title\": \"VTEX Store Link\",\n \"description\": \"A way to create links in the store\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.css-handles\": \"0.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.native-types\": \"0.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_country-data-settings_c73fac79
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of country-data-settings/package.json from the country-data-settings VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"country-data-settings\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_country-data-settings_05f4aa02
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of country-data-settings/manifest.json from the country-data-settings VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"country-data-settings\",\n \"version\": \"0.5.0\",\n \"builders\": {\n \"configuration\": \"0.x\",\n \"node\": \"6.x\",\n \"graphql\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
code_render-session_5e83d14f
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of render-session/README.md from the render-session VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```markdown\n# render-session\n> External session provider for vtex.render-runtime\n\n## Developing\nTo build run:\n```\nyarn && yarn clean && yarn build\n```\n\nThis will build the app and generate a bundle in the `/dist` folder. \n\nTo test it, run\n```\nyarn && yarn start\n```\n\nthis will start a webserver serving the file in the `/dist` folder.\n\n### Testing\nSet the `http:localhost:8080/index.min.js` in the render-runtime's externals and get ready for the fun :)\n\n> If your web browser complains about CORS, be sure to add [this extension](https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en) to chrome\n\n```"
}
] |
code_render-session_9ad1418c
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of render-session/package.json from the render-session VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"vtex-render-session\",\n \"version\": \"1.9.2\",\n \"description\": \"Adds session as external to render runtime\",\n \"scripts\": {\n \"clean\": \"rimraf dist\",\n \"start\": \"webpack-dev-server --open\",\n \"watch\": \"webpack --watch\",\n \"build\": \"npm run clean && npm run buildProd && npm run buildDev\",\n \"buildProd\": \"webpack --mode=\\\"production\\\" --config ./webpack.config.js\",\n \"buildDev\": \"webpack --mode=\\\"development\\\" --config ./webpack.config.js\",\n \"prereleasy\": \"npm run build\",\n \"postreleasy\": \"npm publish\"\n },\n \"main\": \"dist/index.min.js\",\n \"devDependencies\": {\n \"ts-loader\": \"^5.2.2\",\n \"tslint\": \"^5.11.0\",\n \"tslint-config-vtex\": \"^2.1.0\",\n \"tslint-loader\": \"^3.5.4\",\n \"typescript\": \"^3.1.3\",\n \"webpack\": \"^4.25.0\",\n \"webpack-cli\": \"^3.1.2\",\n \"webpack-dev-server\": \"^3.1.10\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git@github.com:vtex-apps/render-session.git\"\n },\n \"dependencies\": {},\n \"engines\": {\n \"node\": \">=6.0.0\"\n }\n}\n\n```"
}
] |
code_external-promotions-example_84f8b158
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of external-promotions-example/dangerfile.js from the external-promotions-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```javascript\n// dangerfile.js\nconst { verify } = require('@vtex/danger')\n\nconst config = {\n // Set to true to enforce keepachangelog rules.\n keepachangelog: {\n changeVersion: false,\n },\n rules: {\n description: ['fail', { minLength: 20 }],\n assignee: 'fail',\n reviewers: 'fail',\n pr_size: ['warn', { additionLimit: 800, deletionLimit: -1 }],\n lock_file: 'warn',\n no_ignored_test: ['fail', { pattern: /test|spec/i }],\n no_debugger: ['fail', { pattern: /\\.[tj]sx?$/i }],\n enforce_graphql_provider: 'off',\n },\n}\n\nverify(config)\n\n```"
}
] |
code_external-promotions-example_2d9d8197
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of external-promotions-example/package.json from the external-promotions-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"external-promotions-example\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"@vtex/danger\": \"^0.2.7\",\n \"eslint\": \"^7.16.0\",\n \"eslint-config-vtex\": \"^12.9.3\",\n \"husky\": \"^4.3.6\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```"
}
] |
code_external-promotions-example_0c012c47
|
[
{
"role": "system",
"content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms."
},
{
"role": "user",
"content": "Show me the implementation of external-promotions-example/manifest.json from the external-promotions-example VTEX app."
},
{
"role": "assistant",
"content": "Here's the implementation:\n\n```json\n{\n \"name\": \"external-promotions-example\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.2-beta.0\",\n \"title\": \"External Promotions Example\",\n \"description\": \"Reference app for handling external promotions in VTEX\",\n \"mustUpdateAt\": \"2018-01-04\",\n \"categories\": [],\n \"dependencies\": {\n \"vtex.external-promotions-middleware\": \"0.x\"\n },\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {},\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"myvtex.com\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"vtex.external-promotions-middleware:apply-external-promotions\"\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.