id
stringlengths
12
53
messages
listlengths
3
3
code_policies-example-2_5f31e36c
[ { "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 policies-example-2/policies.json from the policies-example-2 VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n[\n {\n \"name\": \"constructor-policie\",\n \"statements\": [\n {\n \"actions\": [\"get\"],\n \"effect\": \"allow\",\n \"resources\": [\n \"vrn:vtex.policies-example-2:{{region}}:{{account}}:{{workspace}}:/_v/test-policies-route\"\n ]\n }\n ]\n }\n]\n\n```" } ]
code_policies-example-2_2cd57bf9
[ { "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 policies-example-2/dangerfile.js from the policies-example-2 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_policies-example-2_ebb5422a
[ { "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 policies-example-2/package.json from the policies-example-2 VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"policies-example-2\",\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/danger\": \"^0.2.7\",\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 \"dependencies\": {\n \"dom-parser\": \"^0.1.6\"\n }\n}\n\n```" } ]
code_policies-example-2_e5e60c82
[ { "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 policies-example-2/manifest.json from the policies-example-2 VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"policies-example-2\",\n \"vendor\": \"vtex\",\n \"version\": \"0.7.5\",\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\": \"6.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 \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"ergast.com\",\n \"path\": \"/api/f1/2020/*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_admin-ley-gondolas-arg_a7d96b2d
[ { "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 admin-ley-gondolas-arg/package.json from the admin-ley-gondolas-arg VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"admin-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 \"@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}\n\n```" } ]
code_admin-ley-gondolas-arg_68198790
[ { "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 admin-ley-gondolas-arg/manifest.json from the admin-ley-gondolas-arg VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"admin-ley-gondolas-arg\",\n \"vendor\": \"vtexarg\",\n \"version\": \"0.2.1\",\n \"title\": \"Admin Ley de Gondolas\",\n \"description\": \"\",\n \"mustUpdateAt\": \"2022-08-28\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.catalog-graphql\": \"1.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 \"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\": \"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_blocks-inspector_0988b308
[ { "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 blocks-inspector/manifest.json from the blocks-inspector VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"base-store-component\",\n \"version\": \"0.2.1\",\n \"title\": \"IO Base Component\",\n \"description\": \"IO Base 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.styleguide\": \"9.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_outbrain_46b04db2
[ { "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 outbrain/manifest.json from the outbrain VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"outbrain\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.0\",\n \"title\": \"outbrain\",\n \"description\": \"outbrain\",\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\": \"Outbrain Options\",\n \"type\": \"object\",\n \"properties\": {\n \"OB_ADV_ID\": {\n \"title\": \"Outbrain Id\",\n \"description\": \"Enter your Outbrain 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_calling-commerce-apis-example_c5f6e484
[ { "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 calling-commerce-apis-example/package.json from the calling-commerce-apis-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\": \"^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_calling-commerce-apis-example_10860106
[ { "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 calling-commerce-apis-example/manifest.json from the calling-commerce-apis-example VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"service-example-commerce-apis\",\n \"vendor\": \"vtex\",\n \"version\": \"0.2.0\",\n \"title\": \"Service Example - Commerce Apis\",\n \"description\": \"Reference app for VTEX IO Services using VTEX Core Commerce APIs\",\n \"mustUpdateAt\": \"2018-01-04\",\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\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"api/catalog\"\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_KI-367339_7930b88f
[ { "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-367339/README.md from the KI-367339 VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# [KI-367339] When arriving at the checkout with more than 23 items, some items in the display of the purchase summary in the interface end up being duplicated\n\nThis script solves the KI https://vtexhelp.zendesk.com/agent/tickets/367339. \n\nYou need to add the script to the checkout at the `checkout6-custom.js`.\n\n## Contributors ✨\n\nThanks goes to these wonderful people:\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n <tr>\n <td align=\"center\"><a href=\"https://github.com/germanBonacchi\"><img src=\"https://avatars.githubusercontent.com/u/55905671?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Germán Bonacchi</b></sub></a><br /><a href=\"https://github.com/vtex-apps/vtex-logger-react/commits?author=germanBonacchi\" title=\"Code\">💻</a></td>\n</tr>\n</table>\n\n```" } ]
code_KI-367339_55a7455b
[ { "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-367339/KI-367339.js from the KI-367339 VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nfunction observeChangesOnCartItems(oldItems) {\n const cartItems = document.querySelector(\"ul.cart-items\");\n\n const observer = new MutationObserver((mutationsList, observer) => {\n const items = cartItems.querySelectorAll(\"li\");\n if (oldItems != items.length) {\n //Descomentar para verificar la diferencia de items\n /*\n const startItems = []\n items.forEach((item) => startItems.push(item.getAttribute(\"data-sku\")+ '-' + item.querySelector(\"[data-bind='text: sellingPriceLabel']\").textContent.split(\" \")[1]));\n console.log('startItems', startItems);\n */\n const uniqueItems = [];\n items.forEach((item) => {\n const itemId = item.getAttribute(\"data-sku\");\n //El sellingPrice es diferente entre los productos que comparten id pero uno tiene aplicado una promocion y otro no\n const sellingPrice = item.querySelector(\"[data-bind='text: sellingPriceLabel']\").textContent.split(\" \")[1] \n if (!uniqueItems.includes(`${itemId}-${sellingPrice}`)) {\n uniqueItems.push(`${itemId}-${sellingPrice}`);\n } else {\n item.remove();\n }\n });\n oldItems = uniqueItems.length;\n //Descomentar para verificar la diferencia de items\n //console.log(\"uniqueItems\", uniqueItems);\n }\n });\n\n observer.observe(cartItems, {\n attributes: true,\n childList: true,\n subtree: true,\n });\n}\n\n$(document).ready(function () {\n let oldItems = -1\n const cartItems = document.querySelector(\"ul.cart-items\");\n\n const observerCartItems = new MutationObserver((mutations, obsCI) => {\n if (document.contains(cartItems)) {\n observeChangesOnCartItems(oldItems);\n window.addEventListener(\"hashchange\", () => {\n observeChangesOnCartItems(oldItems);\n });\n obsCI.disconnect();\n return;\n }\n });\n\n observerCartItems.observe(document, {\n childList: true,\n subtree: true,\n });\n});\n\n```" } ]
code_graphql-example_47e15aa3
[ { "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 graphql-example/graphql-markdown-generator.js from the graphql-example VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nconst { execSync } = require('child_process')\nconst fs = require('fs')\n\nconst argv = require('minimist')(process.argv.slice(2))\nconst { nativeSchemaDirectivesTypeDefs } = require('@vtex/api')\nconst graphql = require('graphql')\nconst { loadFilesSync } = require('@graphql-tools/load-files')\nconst { makeExecutableSchema } = require('@graphql-tools/schema')\nconst { mergeTypeDefs } = require('@graphql-tools/merge')\nconst { stitchingDirectives } = require('@graphql-tools/stitching-directives')\n\nconst { allStitchingDirectivesTypeDefs } = stitchingDirectives()\n\nconst DEFAULT_GRAPHQL_PATH = './graphql/**/*.{gql,graphql}'\nconst DEFAULT_MERGED_PATH = './merged.graphql'\nconst DEFAULT_MARKDOWN_PATH = './schema.md'\n\nconst GRAPHQL_ARG = argv['graphql-path']\nconst MERGED_ARG = argv['merged-path']\nconst MARKDOWN_ARG = argv['markdown-path']\n\nconst GRAPHQL_PATH = GRAPHQL_ARG || DEFAULT_GRAPHQL_PATH\nconst MERGED_PATH = MERGED_ARG || DEFAULT_MERGED_PATH\nconst MARKDOWN_PATH = MARKDOWN_ARG || DEFAULT_MARKDOWN_PATH\n\nconst loadedFiles = loadFilesSync(GRAPHQL_PATH)\n\nconst typeDefs = mergeTypeDefs(loadedFiles)\n\nconst schema = makeExecutableSchema({\n typeDefs: [\n allStitchingDirectivesTypeDefs,\n typeDefs,\n nativeSchemaDirectivesTypeDefs,\n ],\n})\n\nconst printedSchema = graphql.printSchema(schema)\n\nfs.writeFileSync(MERGED_PATH, printedSchema)\n\nexecSync(\n `graphql-markdown ${MERGED_PATH} > ${MARKDOWN_PATH} && rm ${MERGED_PATH}`\n)\n\n```" } ]
code_graphql-example_bf737adc
[ { "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 graphql-example/dangerfile.js from the graphql-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_graphql-example_81e1dcaa
[ { "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 graphql-example/package.json from the graphql-example 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 \"graphql-markdown\": \"node graphql-markdown-generator.js\"\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 \"@graphql-tools/load-files\": \"^6.5.3\",\n \"@graphql-tools/merge\": \"^8.2.13\",\n \"@graphql-tools/schema\": \"^8.3.13\",\n \"@graphql-tools/stitching-directives\": \"^2.2.17\",\n \"@types/node\": \"^12.12.21\",\n \"@vtex/api\": \"^6.45.12\",\n \"@vtex/danger\": \"^0.2.7\",\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"graphql\": \"^15.0.0\",\n \"graphql-markdown\": \"^6.0.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_graphql-example_960a8acf
[ { "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 graphql-example/manifest.json from the graphql-example VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"graphql-example\",\n \"vendor\": \"vtex\",\n \"version\": \"0.4.0\",\n \"title\": \"GraphQL Example\",\n \"description\": \"Reference app for VTEX IO GraphQL Services\",\n \"mustUpdateAt\": \"2022-01-04\",\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"docs\": \"0.x\",\n \"graphql\": \"2.x\",\n \"node\": \"7.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\": \"graphql-query\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_organizations-challenge_3d7c4b8a
[ { "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 organizations-challenge/package.json from the organizations-challenge VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"organizations-challenge\",\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 \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint && yarn lint:locales && yarn test\",\n \"postinstall\": \"husky install\"\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.3.0\",\n \"@vtex/prettier-config\": \"^0.1.4\",\n \"eslint\": \"^7.12.1\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"eslint-config-vtex-react\": \"^6.3.2\",\n \"husky\": \"^5.0.9\",\n \"lint-staged\": \"^10.1.1\",\n \"prettier\": \"^2.0.2\",\n \"typescript\": \"^3.8.3\"\n },\n \"version\": \"0.0.2\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```" } ]
code_organizations-challenge_1690a779
[ { "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 organizations-challenge/manifest.json from the organizations-challenge VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"organizations-challenge\",\n \"version\": \"1.2.2\",\n \"title\": \"VTEX Organizations 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 \"vtex.css-handles\": \"1.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_rich-text_b713578d
[ { "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 rich-text/package.json from the rich-text VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"rich-text\",\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 \"eslint\": \"^7.15.0\",\n \"eslint-config-vtex\": \"^12.9.2\",\n \"eslint-config-vtex-react\": \"^6.9.2\",\n \"husky\": \"^4.3.5\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```" } ]
code_rich-text_30e45097
[ { "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 rich-text/manifest.json from the rich-text VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"rich-text\",\n \"version\": \"0.16.1\",\n \"title\": \"Rich Text\",\n \"description\": \"Rich text 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.css-handles\": \"1.x\",\n \"vtex.responsive-values\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_storetheme-black-beauty_c2a9755f
[ { "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 storetheme-black-beauty/manifest.json from the storetheme-black-beauty VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"beautytheme\",\n \"name\": \"afrodeities\",\n \"version\": \"0.1.1-beta.0\",\n \"builders\": {\n \"styles\": \"1.x\",\n \"store\": \"0.x\",\n \"sitemap\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2020-10-31\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\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.breadcrumb\": \"1.x\",\n \"vtex.sticky-layout\": \"0.x\",\n \"vtex.product-customizer\": \"2.x\",\n \"vtex.stack-layout\": \"0.x\",\n \"vtex.product-specification-badges\": \"0.x\",\n \"vtex.responsive-layout\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\",\n \"title\": \"Afrodeities\",\n \"description\": \"VTEX IO Store Theme\",\n \"registries\": [\n \"smartcheckout\"\n ]\n}\n```" } ]
code_condition-layout_93d8b874
[ { "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 condition-layout/package.json from the condition-layout VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"condition-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 },\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.3.1\",\n \"eslint\": \"^7.9.0\",\n \"eslint-config-vtex\": \"^12.8.6\",\n \"eslint-config-vtex-react\": \"^6.7.8\",\n \"husky\": \"^4.3.0\",\n \"lint-staged\": \"^10.4.0\",\n \"prettier\": \"^2.1.2\",\n \"typescript\": \"^4.0.3\"\n }\n}\n\n```" } ]
code_condition-layout_fb60b1c2
[ { "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 condition-layout/manifest.json from the condition-layout VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"condition-layout\",\n \"version\": \"2.8.2\",\n \"title\": \"IO Base Component\",\n \"description\": \"IO Base component\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"messages\": \"1.x\",\n \"react\": \"3.x\",\n \"store\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.session-client\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_facebook-pixel_028468ad
[ { "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 facebook-pixel/manifest.json from the facebook-pixel VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"facebook-pixel\",\n \"version\": \"2.2.3\",\n \"title\": \"Facebook Pixel\",\n \"description\": \"Integrate with Facebook advertising tools.\",\n \"defaultLocale\": \"pt-BR\",\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\": \"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 },\n \"settingsSchema\": {\n \"title\": \"Facebook Pixel\",\n \"type\": \"object\",\n \"bindingBounded\": true,\n \"properties\": {\n \"pixelId\": {\n \"title\": \"Facebook Pixel ID\",\n \"description\": \"Enter your facebook app ID\",\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_sponsored-products_3df27526
[ { "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 sponsored-products/dangerfile.js from the sponsored-products 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_sponsored-products_fb5ac1ce
[ { "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 sponsored-products/package.json from the sponsored-products VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.0\",\n \"name\": \"sponsored-products\",\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 },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\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 \"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 \"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_sponsored-products_2f0d125a
[ { "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 sponsored-products/manifest.json from the sponsored-products VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"sponsored-products\",\n \"version\": \"0.2.0\",\n \"title\": \"VTEX Sponsored Products\",\n \"description\": \"Frontend apps that configure VTEX Ads in your storefront.\",\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\": \"1.x\",\n \"vtex.product-summary-context\": \"0.x\"\n },\n \"registries\": [\"smartcheckout\"],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_criteo_7d052953
[ { "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 criteo/manifest.json from the criteo VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"criteo\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.5\",\n \"description\": \"Criteo\",\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"pixel\": \"0.x\"\n },\n \"credentialType\": \"absolute\",\n \"settingsSchema\": {\n \"title\": \"Criteo\",\n \"type\": \"object\",\n \"properties\": {\n \"criteo_id\": {\n \"title\": \"Criteo ID\",\n \"description\": \"Enter your Criteo ID\",\n \"type\": \"string\"\n }\n }\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_structured-data_c18201d3
[ { "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 structured-data/package.json from the structured-data VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"structured-data\",\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 \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\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.5\",\n \"lint-staged\": \"^10.2.11\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.6\"\n },\n \"version\": \"0.0.0\"\n}\n\n```" } ]
code_structured-data_5d87b124
[ { "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 structured-data/manifest.json from the structured-data VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"structured-data\",\n \"version\": \"0.16.1\",\n \"title\": \"Structured data\",\n \"description\": \"Structured data\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"react\": \"3.x\",\n \"docs\": \"0.x\",\n \"messages\": \"1.x\"\n },\n \"mustUpdateAt\": \"2019-08-29\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.render-runtime\": \"8.x\",\n \"vtex.apps-graphql\": \"3.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Structured data\",\n \"type\": \"object\",\n \"access\": \"public\",\n \"properties\": {\n \"disableOffers\": {\n \"title\": \"Disable Offers\",\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"Disable product offers\"\n },\n \"decimals\": {\n \"title\": \"Number of decimals\",\n \"type\": \"number\",\n \"default\": 2,\n \"description\": \"Set the number of decimals you want the prices to show\"\n },\n \"pricesWithTax\": {\n \"title\": \"Prices with tax\",\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"Add tax to the price shown on Google\"\n },\n \"useSellerDefault\": {\n \"title\": \"Use seller default\",\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"Use seller default price in AggregateOffer\"\n },\n \"useImagesArray\": {\n \"title\": \"Use images array\",\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"Use images array for product instead of single one\"\n },\n \"disableAggregateOffer\": {\n \"title\": \"Disable aggregate offer\",\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"Use single Offer insteand of AggregateOffer\"\n },\n \"gtinValue\": {\n \"title\": \"GTIN Value\",\n \"type\": \"string\",\n \"anyOf\": [\n {\n \"type\": \"string\",\n \"enum\": [\n \"ean\"\n ],\n \"title\": \"EAN\"\n },\n {\n \"type\": \"string\",\n \"enum\": [\n \"itemId\"\n ],\n \"title\": \"SKU ID\"\n }\n ],\n \"default\": \"ean\",\n \"description\": \"Set the value used for GTIN\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_supply-lots_f16f3d99
[ { "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 supply-lots/package.json from the supply-lots VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"admin-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.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 \"msw\": \"^0.30.0\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.8.3\"\n },\n \"dependencies\": {\n \"react-intl\": \"^5.18.2\",\n \"yup\": \"^0.32.9\"\n },\n \"version\": \"0.0.0\"\n}\n\n```" } ]
code_supply-lots_f7a1a16e
[ { "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 supply-lots/manifest.json from the supply-lots VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"supply-lots\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.2\",\n \"title\": \"Example Admin App\",\n \"description\": \"\",\n \"mustUpdateAt\": \"2022-08-28\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.render-runtime\": \"8.x\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"admin\": \"0.x\",\n \"messages\": \"1.x\",\n \"graphql\": \"1.x\",\n \"node\": \"6.x\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/logistics/pvt/inventory/items/*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_broadcaster_db3a6f79
[ { "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 broadcaster/package.json from the broadcaster VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"broadcaster\",\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.4\",\n \"eslint\": \"7.12.1\",\n \"eslint-config-vtex\": \"12.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_broadcaster_b93e7db1
[ { "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 broadcaster/manifest.json from the broadcaster 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\": \"broadcaster\",\n \"vendor\": \"vtex\",\n \"version\": \"0.10.2\",\n \"title\": \"Broadcaster Adapter\",\n \"description\": \"Notifies other apps of changes to the catalog\",\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 \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"Get_Account_By_Identifier\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n }\n ],\n \"settingsSchema\": {\n \"title\": \"VTEX Catalog Broadcaster\",\n \"type\": \"object\",\n \"properties\": {\n \"notifySubaccounts\": {\n \"title\": \"Notify Subaccounts\",\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"If enabled, if this app is installed in a main account, notifications will also be sent to any related subaccounts\"\n },\n \"targetWorkspace\": {\n \"title\": \"Notify Target Workspace\",\n \"type\": \"string\",\n \"description\": \"Send notifications to a target workspace in addition to the main workspace\"\n }\n }\n }\n}\n\n```" } ]
code_place-components_defd15ee
[ { "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 place-components/package.json from the place-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"place-components\",\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 \"*.{json,graphql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.6\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.9.4\",\n \"eslint-config-vtex-react\": \"^6.9.4\",\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_place-components_d9fce7bb
[ { "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 place-components/manifest.json from the place-components VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"place-components\",\n \"version\": \"0.15.0\",\n \"title\": \"Place Components\",\n \"description\": \"Place Components\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"dependencies\": {\n \"vtex.address-context\": \"0.x\",\n \"vtex.country-data-settings\": \"0.x\",\n \"vtex.checkout-components\": \"0.x\",\n \"vtex.checkout-graphql\": \"0.x\",\n \"vtex.country-flags\": \"0.x\",\n \"vtex.places-graphql\": \"0.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.geolocation-graphql-interface\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_broadcaster-adapter_c427f603
[ { "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 broadcaster-adapter/manifest.json from the broadcaster-adapter 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\": \"broadcaster-adapter\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"Broadcaster Adapter\",\n \"description\": \"Reference app for VTEX IO Services\",\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 \"name\": \"vbase-read-write\"\n }\n ]\n}\n\n```" } ]
code_shipping-estimate-translator_db71f7fe
[ { "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 shipping-estimate-translator/package.json from the shipping-estimate-translator VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"shipping-estimate-translator\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint react/**/*.js\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint:locales\": \"intl-equalizer\",\n \"test\": \"jest\",\n \"test:watch\": \"jest --watch\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\",\n \"pre-push\": \"yarn run lint && yarn run test && yarn run lint:locales\"\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.0.1\",\n \"@vtex/prettier-config\": \"^0.1.4\",\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\": \"^7.12.1\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"eslint-config-vtex-react\": \"^8.0.0\",\n \"eslint-plugin-lodash\": \"^5.1.0\",\n \"husky\": \"^4.2.3\",\n \"jest\": \"^22.0.4\",\n \"lint-staged\": \"^10.1.1\",\n \"prettier\": \"^2.0.2\",\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 \"typescript\": \"^3.8.3\"\n },\n \"version\": \"1.1.4\",\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_shipping-estimate-translator_f23f5dec
[ { "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 shipping-estimate-translator/manifest.json from the shipping-estimate-translator VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"shipping-estimate-translator\",\n \"version\": \"1.5.0\",\n \"title\": \"Shipping Estimate Translator\",\n \"description\": \"\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"react\": \"2.x\",\n \"messages\": \"0.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_storecomponents-checkout-ui-settings_57a44193
[ { "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 storecomponents-checkout-ui-settings/manifest.json from the storecomponents-checkout-ui-settings VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"checkout-ui-settings\",\n \"vendor\": \"storecomponents\",\n \"version\": \"0.1.2\",\n \"title\": \"Checkout UI Settings for Storecomponents\",\n \"description\": \"Declare custom settings to be used by checkout ui\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"checkout-ui-custom\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_iubenda_6135b448
[ { "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 iubenda/package.json from the iubenda VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.0\",\n \"name\": \"iubenda\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.1.4\",\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 \"prettier\": \"^2.0.2\",\n \"typescript\": \"^3.8.3\"\n }\n}\n\n```" } ]
code_iubenda_e46270d8
[ { "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 iubenda/manifest.json from the iubenda VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"iubenda\",\n \"vendor\": \"vtex\",\n \"version\": \"0.3.2\",\n \"title\": \"Iubenda\",\n \"description\": \"Easy to implement solutions to make your website compliant with the law in various countries and laws.\",\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 \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {},\n \"settingsSchema\": {\n \"title\": \"Iubenda\",\n \"type\": \"object\",\n \"bindingBounded\": true,\n \"properties\": {\n \"siteId\": {\n \"title\": \"Site ID\",\n \"type\": \"number\"\n },\n \"cookiePolicyId\": {\n \"title\": \"Cookie Policy ID\",\n \"type\": \"number\"\n },\n \"consentOnScroll\": {\n \"title\": \"Consent on scroll\",\n \"type\": \"boolean\",\n \"default\": true\n },\n \"banner\": {\n \"type\": \"object\",\n \"properties\": {\n \"position\": {\n \"title\": \"Position\",\n \"type\": \"string\",\n \"enum\": [\n \"top\",\n \"bottom\",\n \"float-top-left\",\n \"float-top-right\",\n \"float-bottom-left\",\n \"float-bottom-right\",\n \"float-top-center\",\n \"float-bottom-center\",\n \"float-center\"\n ],\n \"enumNames\": [\n \"Top\",\n \"Bottom\",\n \"Float top left\",\n \"Float top right\",\n \"Float bottom left\",\n \"Float bottom right\",\n \"Float top center (default)\",\n \"Float bottom center\",\n \"Float center\"\n ],\n \"default\": \"float-top-center\"\n },\n \"rejectButtonDisplay\": {\n \"title\": \"Display \\\"Reject\\\" button\",\n \"type\": \"boolean\",\n \"default\": false\n }\n }\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_buybox-context_c8568a15
[ { "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-context/dangerfile.js from the buybox-context 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-context_6dd8b47c
[ { "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-context/package.json from the buybox-context VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"buybox-context\",\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 },\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/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 \"@vtex/danger\": \"^0.2.7\"\n },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```" } ]
code_buybox-context_bcdb6380
[ { "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-context/manifest.json from the buybox-context VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtexbr\",\n \"name\": \"buybox-context\",\n \"version\": \"1.1.0\",\n \"title\": \"Buybox context\",\n \"description\": \"Context with product features\",\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.product-context\": \"0.x\",\n \"vtex.order-manager\": \"0.x\",\n \"vtex.seller-selector\": \"0.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.render-runtime\": \"8.x\",\n \"vtex.buybox-graphql\": \"0.x\",\n \"vtex.store\": \"2.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"billingOptions\": {\n \"type\": \"free\",\n \"availableCountries\": [\n \"*\"\n ],\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_search-listener_52a02c78
[ { "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 search-listener/package.json from the search-listener VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"url-listener\",\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 \"@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```" } ]
code_search-listener_4184c446
[ { "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 search-listener/manifest.json from the search-listener VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"search-listener\",\n \"vendor\": \"vtexarg\",\n \"version\": \"1.0.1\",\n \"title\": \"Search listener\",\n \"description\": \"Search listener\",\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 \"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 \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_order-profile_68173c4a
[ { "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-profile/package.json from the order-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"order-profile\",\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\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^13.7.7\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.0.3\",\n \"eslint-config-vtex-react\": \"^5.1.0\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"react\": \"^16.13.0\",\n \"typescript\": \"^3.7.5\"\n },\n \"version\": \"0.0.0\"\n}\n\n```" } ]
code_order-profile_fdcb9e7e
[ { "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-profile/manifest.json from the order-profile VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"order-profile\",\n \"version\": \"0.3.1\",\n \"title\": \"Order Profile\",\n \"description\": \"Centralizes all profile related requests to the Checkout API\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"react\": \"3.x\"\n },\n \"dependencies\": {\n \"vtex.checkout-resources\": \"0.x\",\n \"vtex.checkout-graphql\": \"0.x\",\n \"vtex.order-manager\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_product-teaser-interfaces_834de976
[ { "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-teaser-interfaces/README.md from the product-teaser-interfaces VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Product Teaser Interfaces\n\n> Interfaces for a product teaser app.\n\nThis app provides extensible interfaces that can be used by the `vtex.store` and a theme app. A product teaser app would depend on this app and extend the interfaces provided to become available in the store.\n\nYou can see an [example of a product teaser app here](/example).\n\n## Use cases\n\n1. Display promotional data related to a product.\n2. Promote special conditions of payments.\n\n```" } ]
code_product-teaser-interfaces_a1cd8447
[ { "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-teaser-interfaces/manifest.json from the product-teaser-interfaces VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"product-teaser-interfaces\",\n \"version\": \"1.0.2\",\n \"title\": \"Product Teaser Interfaces\",\n \"description\": \"Interfaces for a product teaser app\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\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```" } ]
code_formatted-price_bccb8b27
[ { "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 formatted-price/package.json from the formatted-price VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"formatted-price\",\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.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_formatted-price_7efb0c29
[ { "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 formatted-price/manifest.json from the formatted-price VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"formatted-price\",\n \"version\": \"0.8.1\",\n \"title\": \"Price component\",\n \"description\": \"\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"dependencies\": {\n \"vtex.css-handles\": \"0.x\",\n \"vtex.format-currency\": \"0.x\",\n \"vtex.styleguide\": \"9.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_smartlook_f540def5
[ { "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 smartlook/manifest.json from the smartlook VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"smartlook\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.0\",\n \"title\": \"Smartlook\",\n \"description\": \"With one click, start monitoring your customers' behavior with the Smartlook data analysis tool.\",\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 },\n \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {},\n \"settingsSchema\": {\n \"title\": \"Smartlook\",\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_cookie-script_ac3c0511
[ { "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 cookie-script/package.json from the cookie-script VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"cookie-script\",\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_cookie-script_c5fff037
[ { "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 cookie-script/manifest.json from the cookie-script VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"cookie-script\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.10\",\n \"title\": \"Cookie Script\",\n \"description\": \"Make your website cookies comply with GDPR and CCPA.\",\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 \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {},\n \"settingsSchema\": {\n \"title\": \"Cookie Script\",\n \"type\": \"object\",\n \"bindingBounded\": true,\n \"properties\": {\n \"cookieScriptId\": {\n \"title\": \"ID\",\n \"type\": \"string\"\n },\n \"geoTargeting\": {\n \"title\": \"Geo-targeting\",\n \"type\": \"string\",\n \"default\": \"eu\",\n \"enum\": [\n \"cdn\",\n \"eu\",\n \"ca\",\n \"ca-eu\"\n ],\n \"enumNames\": [\n \"All visitors\",\n \"EU\",\n \"California\",\n \"EU + California\"\n ]\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_hello-support_97e97877
[ { "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 hello-support/README.md from the hello-support VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Hello Support #\n\nA quick setup for a support app in VTEX.\n\n### Installation ###\n```\n$ git clone https://github.com/vtex/hello-support support-app\n$ cd support-app\n$ vtex link\n```\n\nBe sure to have [VTEX's toolbelt](https://github.com/vtex/toolbelt)\ninstalled.\n\n### FAQ ###\n\n#### What is a support app? ####\n\nA support app is one of the simplest examples of apps\nthat run in VTEX IO.\n\nIts purpose is to declare groups of users in the VTEX\nplatform, and which roles they have access to.\n\nIf someone decides to install this app in a workspace,\nthey will be giving these groups of users the declared\naccesses.\n\nThis enables app developers to support users having \ntrouble with the app functionality. \nSay you're an app developer (which, by reading this, \nyou probably are) and a customer is having trouble with \nsome feature your apps have. By publishing a support app\nwith the adequate policies, you can ask your customer\nto install it and help them hand-in-hand on their own\nworkspace!\n\n#### How does it work? ####\n\nBy adding the `support` builder into the `builders`\nobject in `manifest.json`, the app declares that\nit contains a `support.json`.\n\nThe `support.json` file must be like the example given:\n\n```json\n[\n {\n \"role\": \"app-developer\",\n \"policies\": [\n {\n \"name\": \"read-write-workspace\"\n },\n {\n \"name\": \"read-workspace-info\"\n },\n {\n \"name\": \"link-apps\",\n \"attrs\": {\n \"appName\": \"vendor.appName\"\n },\n \"reason\": \"Insert reason here.\"\n },\n {\n \"name\": \"read-workspace-apps\"\n },\n ]\n },\n {\n \"role\": \"support-agent\",\n \"policies\": [\n {\n \"name\": \"read-workspace-info\"\n },\n {\n \"name\": \"read-workspace-apps\"\n }\n ]\n }\n]\n```\n\nwhere `groupName` is the name of the group of people\nthat will have access to such policies,\nand `policies` is an array of object of policies, which can\nhave\n```ts\n{\n name: string,\n reason: string,\n attrs: object,\n}\n```\n\nThis allows VTEX IO infrastructure to get this apps' support\npolicies and add to someone assuming a support role **with the\nsame vendor as the support app**. That is, having a support\napp with vendor A linked to your workspace doesn't mean\na Support Agent from vendor B will have access to those policies.\n\n\n```" } ]
code_hello-support_3a322c49
[ { "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 hello-support/manifest.json from the hello-support VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"hello-support\",\n \"version\": \"0.3.2\",\n \"title\": \"Getting Started with VTEX Support Apps\",\n \"description\": \"A sample support app with a basic support.json\",\n \"defaultLocale\": \"en-US\",\n \"builders\": {\n \"support\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-12-28\",\n \"categories\": [\n \"support-app\"\n ],\n \"dependencies\": {\n \"vtex.support-authority\": \"0.x\"\n },\n \"peerDpendencies\": {\n \"vtex.support-browse-session\": \"0.x\"\n },\n \"billingOptions\": {\n \"free\": true\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_checkout-graphql_5cc8cdbe
[ { "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-graphql/package.json from the checkout-graphql VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"checkout-graphql\",\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 \"@types/node\": \"^12.7.12\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.1.1\",\n \"eslint-config-vtex-react\": \"^5.1.0\",\n \"husky\": \"^4.2.3\",\n \"lint-staged\": \"^10.0.7\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.3\"\n }\n}\n```" } ]
code_checkout-graphql_d46623e1
[ { "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-graphql/manifest.json from the checkout-graphql VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"checkout-graphql\",\n \"vendor\": \"vtex\",\n \"version\": \"0.67.1\",\n \"title\": \"Checkout GraphQL\",\n \"description\": \"Checkout GraphQL API\",\n \"builders\": {\n \"graphql\": \"1.x\",\n \"node\": \"6.x\"\n },\n \"dependencies\": {\n \"vtex.country-data-settings\": \"0.x\",\n \"vtex.graphql-server\": \"1.x\",\n \"vtex.messages\": \"1.x\"\n },\n \"credentialType\": \"absolute\",\n \"mustUpdateAt\": \"2019-11-05\",\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [\n {\n \"name\": \"vtex.messages:translate-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\": \"portal.vtexcommercebeta.com.br\",\n \"path\": \"/api/checkout/pub/*\"\n }\n },\n {\n \"name\": \"vtex.graphql-server:resolve-graphql\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_2performant_24bcbd8f
[ { "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 2performant/README.md from the 2performant VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n## 2performant\n\nThis app and all affiliated services are provided “as is”, without warranty of any kind, either express or implied. Neither the publisher nor its partners, affiliates, employees, or contractors guarantee that this app will meet your requirements, provide uninterrupted use, or operate without delay or without error. Neither the publisher nor its partners, affiliates, employees, or contractors assume any responsibility for any errors and malfunctions within the app and will not provide support or maintenance of any kind.\n \n\nAll provisions and warranties of any kind, express or implied, including but not limited to any guarantees of performance, process integrity, or particular functionalities, are hereby disclaimed and excluded unless otherwise prohibited or restricted by applicable law.\n\n_Developed under EE FPA._\n```" } ]
code_2performant_c2d98d23
[ { "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 2performant/manifest.json from the 2performant VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"twoperformant\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.7\",\n \"title\": \"2performant\",\n \"description\": \"\",\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\": \"2performant\",\n \"type\": \"object\",\n \"properties\": {\n \"confirm\": {\n \"title\": \"Confirm\",\n \"description\": \"You received it by e-mail\",\n \"type\": \"string\"\n },\n \"subtractTVA\": {\n \"title\": \"Subtract 19% TVA from total order\",\n \"description\": \"If this is checked then 19% will be subtracted from the total\",\n \"type\": \"boolean\",\n \"default\": false\n },\n \"campaignUnique\": {\n \"title\": \"Campaign Unique\",\n \"description\": \"You received it by e-mail\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_delivery-theme_daed665e
[ { "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 delivery-theme/manifest.json from the delivery-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"delivery-dreamstore\",\n \"version\": \"1.0.6\",\n \"builders\": {\n \"store\": \"0.x\",\n \"styles\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2018-09-05\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.store-resources\": \"0.x\",\n \"vtex.store-header\": \"2.x\",\n \"vtex.store-footer\": \"2.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.search-result\": \"3.x\",\n \"vtex.carousel\": \"2.x\",\n \"vtex.shelf\": \"1.x\",\n \"vtex.login\": \"2.x\",\n \"vtex.my-account\": \"1.x\",\n \"vtex.product-kit\": \"1.x\",\n \"vtex.product-customizer\": \"2.x\",\n \"vtex.address-locator\": \"2.x\",\n \"vtex.rebuy\": \"1.x\",\n \"vtex.modal\": \"0.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.telemarketing\": \"2.x\",\n \"vtex.minicart\": \"2.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_shelf_393ef234
[ { "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 shelf/package.json from the shelf VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"shelf\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"test\": \"cd ./react && yarn test\",\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.3\",\n \"babel-eslint\": \"^10.1.0\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"eslint-config-vtex-react\": \"^6.2.1\",\n \"eslint-plugin-react\": \"^7.19.0\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```" } ]
code_shelf_e51c79d2
[ { "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 shelf/manifest.json from the shelf VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"shelf\",\n \"vendor\": \"vtex\",\n \"version\": \"1.49.0\",\n \"title\": \"VTEX Shelf\",\n \"description\": \"A shelf component\",\n \"mustUpdateAt\": \"2019-04-03\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.native-types\": \"0.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.product-summary\": \"2.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.slider\": \"0.x\",\n \"vtex.store-icons\": \"0.x\",\n \"vtex.pixel-manager\": \"1.x\",\n \"vtex.device-detector\": \"0.x\",\n \"vtex.search-graphql\": \"0.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.product-list-context\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_blueknow_1d56280b
[ { "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 blueknow/package.json from the blueknow VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"blueknow\",\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_blueknow_b0ca7b70
[ { "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 blueknow/manifest.json from the blueknow VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"blueknow\",\n \"vendor\": \"vtex\",\n \"version\": \"1.0.0\",\n \"title\": \"Blueknow first party integration\",\n \"description\": \"\",\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 \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Blueknow\",\n \"type\": \"object\",\n \"properties\": {\n \"blueknowId\": {\n \"title\": \"BK Number\",\n \"description\": \"Enter the BK Number (BK-XXXX) from your Blueknow 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_assemblers-theme_06d37a5b
[ { "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 assemblers-theme/manifest.json from the assemblers-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"assemblers-appliance-theme\",\n \"version\": \"3.16.21\",\n \"builders\": {\n \"styles\": \"1.x\",\n \"store\": \"0.x\",\n \"sitemap\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2018-09-05\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.store\": \"2.x\",\n \"vtex.order-placed\": \"1.x\",\n \"vtex.product-review-interfaces\": \"1.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.iframe\": \"0.x\",\n \"vtex.sandbox\": \"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.breadcrumb\": \"1.x\",\n \"vtex.sticky-layout\": \"0.x\",\n \"vtex.product-customizer\": \"2.x\",\n \"vtex.stack-layout\": \"0.x\",\n \"vtex.product-specification-badges\": \"0.x\",\n \"vtex.slider-layout\": \"0.x\",\n \"vtex.responsive-layout\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_bubbles_2a897929
[ { "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 bubbles/README.md from the bubbles VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Bubbles - The VTEX Order Map Visualization\n\n\nhttps://vtex.io/bubbles\n\n```" } ]
code_bubbles_f989eed7
[ { "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 bubbles/manifest.json from the bubbles VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"bubbles\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.18\",\n \"title\": \"VTEX Bubbles\",\n \"description\": \"Visualization of VTEX orders around the world\",\n \"credentialType\": \"absolute\",\n \"settingsSchema\": {},\n \"builders\": {\n \"pages\": \"0.x\",\n \"react\": \"2.x\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/vtex-apps/bubbles.git\"\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_lomadee_2e05151d
[ { "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 lomadee/manifest.json from the lomadee VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"lomadee\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.4\",\n \"description\": \"Lomadee\",\n \"builders\": {\n \"pixel\": \"0.x\",\n \"react\": \"3.x\",\n \"store\": \"0.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Lomadee Options\",\n \"type\": \"object\",\n \"properties\": {\n \"lomadeeAdvertiserId\": {\n \"title\": \"Lomadee Advertiser ID\",\n \"description\": \"Enter your Lomadee Advertiser ID\",\n \"type\": \"string\"\n },\n \"lomadeeEventId\": {\n \"title\": \"Lomade Event ID\",\n \"description\": \"Enter your Lomade Event ID\",\n \"type\": \"string\"\n }\n }\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_black-friday-timer_8f37aa41
[ { "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 black-friday-timer/README.md from the black-friday-timer VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# VTEX IO Store Component Template\n\nThis demo component shows you how to make a simple yet complete VTEX IO store component.\n\nIt shows a simple demonstration of the following features:\n\n- Declaring a component interface in `store/interfaces.json`.\n- Declaring a schema to receive props via Storefront.\n- Using the `messages` feature to have localized strings.\n- Using an NPM package like `react-intl`\n- Using another VTEX IO App like `vtex.styleguide`.\n- Using CSS Modules to make your component customizable via CSS on a store theme.\n- Using tachyons tokens to quickly style your components.\n- Creating tests for your VTEX IO app.\n\n```" } ]
code_black-friday-timer_ced5388d
[ { "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 black-friday-timer/manifest.json from the black-friday-timer VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"blackfriday-timer\",\n \"version\": \"0.1.0\",\n \"title\": \"IO Base Component\",\n \"description\": \"IO Base component\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"pages\": \"0.x\",\n \"react\": \"2.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_tetrix_15d14d25
[ { "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 tetrix/manifest.json from the tetrix VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"tetrix\",\n \"version\": \"1.7.0\",\n \"title\": \"TETRIX - O desafio universitário\",\n \"description\": \"TETRIX landing page\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"store\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\"\n },\n \"mustUpdateAt\": \"2018-09-05\",\n \"categories\": [],\n \"registries\": [\n \"smartcheckout\"\n ],\n \"settingsSchema\": {},\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_admin-messages_f4bfee2e
[ { "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 admin-messages/manifest.json from the admin-messages VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"admin-messages\",\n \"vendor\": \"vtex\",\n \"version\": \"1.3.0\",\n \"title\": \"Admin Messages\",\n \"description\": \"Contains all admin messages for vendor VTEX\",\n \"builders\": {\n \"messages\": \"1.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_hermes_ed683a93
[ { "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 hermes/package.json from the hermes VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.0\",\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.3.0\",\n \"husky\": \"^2.4.1\"\n },\n \"scripts\": {\n \"lint\": \"cd ./react && yarn lint\",\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 \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```" } ]
code_hermes_156b112e
[ { "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 hermes/manifest.json from the hermes VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtexpages\",\n \"name\": \"heres\",\n \"version\": \"0.0.0\",\n \"title\": \"HERMES\",\n \"description\": \"a simple app to centralize some service status\",\n \"builders\": {\n \"node\": \"4.x\",\n \"graphql\": \"1.x\",\n \"react\": \"3.x\",\n \"pages\": \"1.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\"\n },\n\n \"registries\": [\"smartcheckout\"],\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"kctbh9vrtdwd.statuspage.io\",\n \"path\": \"*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_rewriter-pages-draft_dc5f6d5a
[ { "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 rewriter-pages-draft/dangerfile.js from the rewriter-pages-draft 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_rewriter-pages-draft_4c1a6a68
[ { "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 rewriter-pages-draft/package.json from the rewriter-pages-draft 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\": \"^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_rewriter-pages-draft_85f56242
[ { "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 rewriter-pages-draft/manifest.json from the rewriter-pages-draft VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"rewriter-pages-draft\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"Draft Pages feature\",\n \"description\": \"Application to allow pages in draft mode\",\n \"mustUpdateAt\": \"2022-05-30\",\n \"categories\": [],\n \"dependencies\": {\n \"vtex.rewriter\": \"1.x\"\n },\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"app.io.vtex.com\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"read-workspace-apps\"\n },\n {\n \"name\": \"sphinx-is-admin\"\n },\n {\n \"name\": \"vtex.rewriter:route-evaluation\"\n },\n {\n \"name\": \"vtex.rewriter:resolve-graphql\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_product-kit_a37f390b
[ { "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-kit/manifest.json from the product-kit VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"product-kit\",\n \"version\": \"1.10.2\",\n \"title\": \"VTEX Product Kit\",\n \"description\": \"The VTEX Product Kit which display a list of Products as a kit\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-06-12\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.product-summary\": \"2.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.store-icons\": \"0.x\"\n }\n}\n\n```" } ]
code_order-items_241faa46
[ { "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-items/lint-staged.config.js from the order-items VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\nmodule.exports = {\n '*.{ts,js,tsx,jsx}': ['eslint --fix', 'prettier --write'],\n '*.{json,graphql,gql}': ['prettier --write'],\n '*.json': ['prettier --write'],\n}\n\n```" } ]
code_order-items_65fb958c
[ { "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-items/package.json from the order-items VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"order-items\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"prepare\": \"husky install\",\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\"\n },\n \"devDependencies\": {\n \"@types/node\": \"^14.14.9\",\n \"@vtex/prettier-config\": \"^0.3.5\",\n \"eslint\": \"^7.14.0\",\n \"eslint-config-vtex\": \"^12.8.10\",\n \"eslint-config-vtex-react\": \"^6.8.2\",\n \"husky\": \"^8.0.1\",\n \"lint-staged\": \"^13.0.3\",\n \"prettier\": \"^2.2.0\",\n \"react\": \"^16.13.1\",\n \"typescript\": \"^4.0.2\"\n }\n}\n\n```" } ]
code_order-items_d54aa65a
[ { "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-items/manifest.json from the order-items VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"order-items\",\n \"version\": \"0.14.0\",\n \"title\": \"Order Items\",\n \"description\": \"Order Items\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"dependencies\": {\n \"vtex.checkout-graphql\": \"0.x\",\n \"vtex.checkout-resources\": \"0.x\",\n \"vtex.checkout-splunk\": \"0.x\",\n \"vtex.order-manager\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_checkout-shipping_5d7e3ac3
[ { "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-shipping/package.json from the checkout-shipping VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"checkout-shipping\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\",\n \"postinstall\": \"husky install\"\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/prettier-config\": \"^0.3.6\",\n \"eslint\": \"^7.19.0\",\n \"eslint-config-vtex\": \"^12.9.4\",\n \"eslint-config-vtex-react\": \"^6.9.4\",\n \"husky\": \"^5.0.9\",\n \"lint-staged\": \"^10.5.4\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```" } ]
code_checkout-shipping_78f9cb44
[ { "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-shipping/manifest.json from the checkout-shipping VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"checkout-shipping\",\n \"version\": \"0.9.0\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"messages\": \"1.x\",\n \"react\": \"3.x\"\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.checkout-resources\": \"0.x\",\n \"vtex.country-data-settings\": \"0.x\",\n \"vtex.format-currency\": \"0.x\",\n \"vtex.formatted-price\": \"0.x\",\n \"vtex.order-manager\": \"0.x\",\n \"vtex.order-shipping\": \"0.x\",\n \"vtex.place-components\": \"0.x\",\n \"vtex.places-graphql\": \"0.x\",\n \"vtex.shipping-estimate-translator\": \"2.x\",\n \"vtex.styleguide\": \"9.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_wine-meter_28d700d2
[ { "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 wine-meter/dangerfile.js from the wine-meter 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_wine-meter_d182baaa
[ { "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 wine-meter/README.md from the wine-meter VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# wine-meter - Wine meter graphical widget\n\nConfigurable attributes should be created via settings, the canvas only requires coordinates.\n\n## Configuration \n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\nCanvas attributes : \nwinemeter_fructe\nwinemeter_dulceata\nwinemeter_aciditate\nwinemeter_tanini\n\nSpecs attributes :\nwinespec_decantare\nwinespec_invechire \nwinespec_temperatura\nwinespec_mancare\n\n```" } ]
code_wine-meter_86fd9cf8
[ { "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 wine-meter/package.json from the wine-meter VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"wine-meter\",\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 },\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/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 \"@vtex/danger\": \"^0.2.7\"\n },\n \"version\": \"0.0.2\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n },\n \"dependencies\": {\n \"@types/polygon\": \"^1.0.0\",\n \"konva\": \"^8.3.1\",\n \"react-apollo\": \"^3.1.5\",\n \"react-konva\": \"^17.0.2-5\",\n \"react-polygon\": \"^0.2.0\"\n }\n}\n\n```" } ]
code_wine-meter_c54f2c94
[ { "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 wine-meter/manifest.json from the wine-meter VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"wine-meter\",\n \"version\": \"1.0.1\",\n \"title\": \"Winemeter\",\n \"description\": \"Winemeter graphic widget\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.product-context\": \"0.x\"\n },\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_proxy-mailing-flow_7f81c827
[ { "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 proxy-mailing-flow/package.json from the proxy-mailing-flow VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"proxy-mailing-flow\",\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_proxy-mailing-flow_e9c24614
[ { "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 proxy-mailing-flow/manifest.json from the proxy-mailing-flow VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"proxy-mailing-flow\",\n \"vendor\": \"vtexarg\",\n \"version\": \"3.0.8\",\n \"title\": \"Proxy mailing Flow\",\n \"description\": \"Proxy that handle the mailing flow\",\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"billingOptions\": {\n \"type\": \"free\",\n \"availableCountries\": [\n \"*\"\n ]\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/oms/*\"\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\": \"serv-11.carrefour.com.ar\",\n \"path\": \"/*\"\n }\n },\n {\n \"name\": \"OMSViewer\"\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 \"settingsSchema\": {\n \"title\": \"VTEX Proxy Mailing Flow\",\n \"type\": \"object\",\n \"properties\": {\n \"defaultEmail\": {\n \"title\": \"Default Email\",\n \"type\": \"string\"\n },\n \"subscriberEntityList\": {\n \"title\": \"Suscriber MasterData Entity List\",\n \"description\": \"Separated by commas (,)\",\n \"type\": \"string\"\n },\n \"clientTemplateCreated\": {\n \"title\": \"Client Mailing Template Name (order-created)\",\n \"description\": \"The name at the end of the message-center template url.\",\n \"type\": \"string\"\n },\n \"clientTemplateInvoiced\": {\n \"title\": \"Client Mailing Template Name (invoiced)\",\n \"description\": \"The name at the end of the message-center template url.\",\n \"type\": \"string\"\n },\n \"subscribersTemplateCreated\": {\n \"title\": \"Subscribers Mailing Template Name (order-created)\",\n \"description\": \"The name at the end of the message-center template url.\",\n \"type\": \"string\"\n },\n \"subscribersTemplateInvoiced\": {\n \"title\": \"Subscribers Mailing Template Name (invoiced)\",\n \"description\": \"The name at the end of the message-center template url.\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_breadcrumb_4c24c5db
[ { "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 breadcrumb/package.json from the breadcrumb VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.0\",\n \"name\": \"breadcrumb\",\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\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"@vtex/tsconfig\": \"^0.4.4\",\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}\n\n```" } ]
code_breadcrumb_255323b5
[ { "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 breadcrumb/manifest.json from the breadcrumb VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"breadcrumb\",\n \"version\": \"1.9.5\",\n \"title\": \"VTEX Breadcrumb\",\n \"description\": \"Breadcrumb Component\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\",\n \"messages\": \"1.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"categories\": [],\n \"registries\": [\n \"smartcheckout\"\n ],\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.store-icons\": \"0.x\",\n \"vtex.product-context\": \"0.x\",\n \"vtex.search-page-context\": \"0.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.device-detector\": \"0.x\",\n \"vtex.structured-data\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_KI-414863_b03d8095
[ { "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-414863/README.md from the KI-414863 VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# [KI-414863] Unavailable products removed from the cart on the shipping step still being claimed while going to the payment step\n\nThis script solves the KI https://vtexhelp.zendesk.com/agent/tickets/414863\n\nYou need to add the script to the checkout at the `checkout6-custom.js`.\n\n## Contributors ✨\n\nThanks goes to these wonderful people:\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n <tr>\n <td align=\"center\"><a href=\"https://github.com/germanBonacchi\"><img src=\"https://avatars.githubusercontent.com/u/55905671?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Germán Bonacchi</b></sub></a><br /><a href=\"https://github.com/vtex-apps/KI-627261/commits?author=germanBonacchi\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"https://github.com/vtexDavidev\"><img src=\"https://avatars.githubusercontent.com/u/89089657?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>David Leal Peláez</b></sub></a><br /><a href=\"https://github.com/vtex-apps/KI-627261/commits?author=vtexDavidev\" title=\"Code\">💻</a></td>\n </tr>\n</table>\n\n```" } ]
code_KI-414863_773c3581
[ { "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-414863/KI-414863.js from the KI-414863 VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```javascript\n$(document).ready(function () {\n let listenerCreated = false;\n const observerRemoveUnavailableItems = new MutationObserver(\n (mutations, obsRUI) => {\n const removeUnavailableItems = document.querySelector(\n \"#remove-unavailable-items\"\n );\n\n const buttonCartRemoveUnavailableItems = document.querySelector(\n \"#checkedEmpty\"\n );\n\n if (document.contains(removeUnavailableItems)) {\n if (!listenerCreated) {\n listenerCreated = true;\n createListener(listenerCreated, removeUnavailableItems);\n }\n } else if (document.contains(buttonCartRemoveUnavailableItems)) {\n if (!listenerCreated) {\n listenerCreated = true;\n createListener(listenerCreated, buttonCartRemoveUnavailableItems);\n }\n } else {\n listenerCreated = false;\n }\n }\n );\n\n observerRemoveUnavailableItems.observe(document, {\n childList: true,\n subtree: true,\n });\n});\n\nfunction createListener(listenerFlag, element) {\n if (listenerFlag) {\n element.addEventListener(\"click\", (event) => {\n //console.log(\"remove unavailable items\");\n changeAfterRemove();\n });\n }\n}\n\nfunction changeAfterRemove() {\n $(window).on(\"orderFormUpdated.vtex\", async function (_evt, orderForm) {\n //console.log(\"orderFormUpdated\");\n location.reload();\n });\n}\n\n```" } ]
code_pocfamiliabercomat-multifront_7ac7b270
[ { "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 pocfamiliabercomat-multifront/policies.json from the pocfamiliabercomat-multifront VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n[\n {\n \"name\": \"resolve-graphql\",\n \"description\": \"Allows access to resolve a graphql request\",\n \"statements\": [\n {\n \"actions\": [\"post\", \"get\"],\n \"effect\": \"allow\",\n \"resources\": [\n \"vrn:vtex.search-segment-resolver:{{region}}:{{account}}:{{workspace}}:/_v/graphql\"\n ]\n }\n ]\n }\n]\n\n```" } ]
code_pocfamiliabercomat-multifront_76f3bf5a
[ { "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 pocfamiliabercomat-multifront/README.md from the pocfamiliabercomat-multifront VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n## ⚠️ Maintenance ⚠️\n*Starting September 1st 2022, this application will no longer be maintained by VTEX. Code is released for free under the GNU/PL Agreement for you to use and modify at your convenience. The VTEX repository shall remain unchanged with the original version.*\n\n---\n\n# pocfamiliabercomat multifront\n\n## Regionalization scripts\n\n#### (postalCode < 3500)\n\n```javascript\nfunction regionalization () {\n\n let postalCode = 3434;\n\n const dataPOST = JSON.stringify({\n public: {\n country: {\n value: \"ARG\",\n },\n postalCode:{\n value: postalCode + \"\"\n },\n },\n });\n const xhrPOST = new XMLHttpRequest();\n xhrPOST.addEventListener(\"readystatechange\", function () {\n if (this.readyState === this.DONE) {\n console.log(this.responseText);\n localStorage.setItem('CP', postalCode + \"\");\n window.location.reload();\n }\n });\n xhrPOST.open(\"POST\", \"/api/sessions\");\n xhrPOST.setRequestHeader(\"content-type\", \"application/json\");\n xhrPOST.send(dataPOST);\n}\n\nregionalization();\n```\n\n#### (postalCode > 3500 && postalCode < 3790)\n\n```javascript\nfunction regionalization () {\n\n let postalCode = 3636;\n\n const dataPOST = JSON.stringify({\n public: {\n country: {\n value: \"ARG\",\n },\n postalCode:{\n value: postalCode + \"\"\n },\n },\n });\n const xhrPOST = new XMLHttpRequest();\n xhrPOST.addEventListener(\"readystatechange\", function () {\n if (this.readyState === this.DONE) {\n console.log(this.responseText);\n localStorage.setItem('CP', postalCode + \"\");\n window.location.reload();\n }\n });\n xhrPOST.open(\"POST\", \"/api/sessions\");\n xhrPOST.setRequestHeader(\"content-type\", \"application/json\");\n xhrPOST.send(dataPOST);\n}\n\nregionalization();\n```\n\n#### (postalCode > 4000 && postalCode < 4242)\n\n```javascript\nfunction regionalization () {\n\n let postalCode = 4141;\n\n const dataPOST = JSON.stringify({\n public: {\n country: {\n value: \"ARG\",\n },\n postalCode:{\n value: postalCode + \"\"\n },\n },\n });\n const xhrPOST = new XMLHttpRequest();\n xhrPOST.addEventListener(\"readystatechange\", function () {\n if (this.readyState === this.DONE) {\n console.log(this.responseText);\n localStorage.setItem('CP', postalCode + \"\");\n window.location.reload();\n }\n });\n xhrPOST.open(\"POST\", \"/api/sessions\");\n xhrPOST.setRequestHeader(\"content-type\", \"application/json\");\n xhrPOST.send(dataPOST);\n}\n\nregionalization();\n```\n\n```" } ]
code_pocfamiliabercomat-multifront_45eedc12
[ { "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 pocfamiliabercomat-multifront/package.json from the pocfamiliabercomat-multifront VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"multisite-segment-results\",\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 \"@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 \"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 \"dependencies\": {\n \"@vtex/api\": \"^6.45.0\",\n \"atob\": \"^2.1.2\"\n }\n}\n```" } ]
code_pocfamiliabercomat-multifront_e22e4e72
[ { "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 pocfamiliabercomat-multifront/manifest.json from the pocfamiliabercomat-multifront VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtexarg\",\n \"name\": \"multi-front\",\n \"version\": \"2.0.1\",\n \"title\": \"Multi front\",\n \"description\": \"Multi front component\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\",\n \"node\": \"6.x\"\n },\n \"dependencies\": {\n \"vtex.native-types\": \"0.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.messages\": \"1.x\",\n \"vtex.search-segment-graphql\": \"0.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.search-session\": \"0.x\"\n },\n \"billingOptions\": {\n \"free\": true,\n \"availableCountries\": [\n \"*\"\n ]\n },\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]