id
stringlengths
12
53
messages
listlengths
3
3
code_order-form-courier_dd0b58e6
[ { "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-form-courier/manifest.json from the order-form-courier VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"order-form-courier\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"Order Form Courier\",\n \"description\": \"App that sends Order Form updates to Courier by listening to the checkout events.\",\n \"categories\": [],\n \"dependencies\": {},\n \"builders\": {\n \"docs\": \"0.x\",\n \"pages\": \"0.x\",\n \"react\": \"2.x\",\n \"node\": \"6.x\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"colossus-fire-event\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_auth-challenge_96897466
[ { "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 auth-challenge/package.json from the auth-challenge VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.2\",\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.3.0\",\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"eslint\": \"^7.6.0\",\n \"eslint-config-vtex\": \"^12.8.1\",\n \"eslint-config-vtex-react\": \"^6.7.3\",\n \"husky\": \"^2.4.1\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.7\"\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_auth-challenge_03dd7301
[ { "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 auth-challenge/manifest.json from the auth-challenge VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"auth-challenge\",\n \"version\": \"1.1.1\",\n \"title\": \"Challenge block for Store Framework\",\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\": \"0.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_b2b-login-challenge_1126555f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of b2b-login-challenge/package.json from the b2b-login-challenge VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.0\",\n \"name\": \"CHANGE_ME\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint:locales\": \"intl-equalizer\",\n \"test\": \"cd ./react && yarn test\"\n },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged && intl-equalizer && intl-equalizer --fix\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.5.0\",\n \"@vtex/prettier-config\": \"^0.3.5\",\n \"eslint\": \"^7.14.0\",\n \"eslint-config-vtex\": \"^12.8.11\",\n \"eslint-config-vtex-react\": \"^6.8.3\",\n \"husky\": \"^4.3.0\",\n \"lint-staged\": \"^10.5.1\",\n \"prettier\": \"^2.2.0\",\n \"typescript\": \"^3.9.6\"\n }\n}\n\n```" } ]
code_b2b-login-challenge_efa24f97
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of b2b-login-challenge/manifest.json from the b2b-login-challenge VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"b2bstore\",\n \"name\": \"b2b-login-challenge\",\n \"version\": \"1.0.0\",\n \"title\": \"Challenge block for login\",\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\": \"0.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_category-menu_c2ec4ef4
[ { "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 category-menu/package.json from the category-menu VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"private\": true,\n \"dependencies\": {},\n \"devDependencies\": {\n \"@types/node\": \"^12.7.2\",\n \"eslint\": \"^6.2.2\",\n \"eslint-config-vtex\": \"^11.0.0\",\n \"eslint-config-vtex-react\": \"^5.0.1\",\n \"prettier\": \"^1.18.2\",\n \"typescript\": \"^3.5.3\"\n }\n}\n\n```" } ]
code_category-menu_3d5dfefa
[ { "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 category-menu/manifest.json from the category-menu VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"category-menu\",\n \"version\": \"2.18.1\",\n \"title\": \"Category Menu\",\n \"description\": \"Displays the categories for the store in a menu\",\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-09\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.store-components\": \"3.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.use-svg\": \"1.x\",\n \"vtex.store-icons\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_amp-store_3a637249
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of amp-store/package.json from the amp-store VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"private\": true,\n \"devDependencies\": {\n \"@types/node\": \"^12.7.0\",\n \"eslint\": \"^6.1.0\",\n \"eslint-config-vtex\": \"^11.0.0\",\n \"prettier\": \"^1.18.2\",\n \"typescript\": \"^3.5.3\"\n },\n \"dependencies\": {\n \"eslint-config-vtex-react\": \"^5.0.1\"\n }\n}\n\n```" } ]
code_amp-store_2dd1c6c1
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of amp-store/manifest.json from the amp-store VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"amp-store\",\n \"version\": \"0.1.5\",\n \"title\": \"VTEX base AMP store.\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"peerDependencies\": {\n \"vtex.store\": \"2.x\"\n },\n \"dependencies\": {\n \"vtex.store-header\": \"2.x\",\n \"vtex.store-footer\": \"2.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_mkp-seller-auth_8a74e9ee
[ { "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 mkp-seller-auth/dangerfile.js from the mkp-seller-auth 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_mkp-seller-auth_78f11afd
[ { "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 mkp-seller-auth/package.json from the mkp-seller-auth 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_mkp-seller-auth_5f7620c0
[ { "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 mkp-seller-auth/manifest.json from the mkp-seller-auth VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"mkp-seller-auth\",\n \"vendor\": \"vtex\",\n \"version\": \"0.2.1\",\n \"title\": \"Marketplace Seller Comunication\",\n \"description\": \"Send call to the related account without a token for that account to execute tasks in his name\",\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\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"view-seller\"\n },\n {\n \"name\": \"suggestions\"\n },\n {\n \"name\": \"get_company\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_cybersource-payer-auth_054275b4
[ { "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 cybersource-payer-auth/package.json from the cybersource-payer-auth VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"cybersource-payer-auth\",\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\": \"^14.1.1\",\n \"eslint-config-vtex-react\": \"^6.8.3\",\n \"husky\": \"4.2.3\",\n \"lint-staged\": \"10.1.1\",\n \"prettier\": \"2.0.2\",\n \"typescript\": \"3.8.3\"\n },\n \"version\": \"1.0.7\"\n}\n\n```" } ]
code_cybersource-payer-auth_81846a90
[ { "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 cybersource-payer-auth/manifest.json from the cybersource-payer-auth VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"cybersource-payer-auth\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.6\",\n \"title\": \"Payer Authentication App\",\n \"description\": \"Implements Cybersource Payer Authentication\",\n \"defaultLocale\": \"en\",\n \"mustUpdateAt\": \"2019-01-08\",\n \"dependencies\": {\n \"vtex.styleguide\": \"8.x\",\n \"vtex.apps-graphql\": \"2.x\",\n \"vtex.cybersource\": \"1.x\"\n },\n \"builders\": {\n \"react\": \"2.x\",\n \"pages\": \"0.x\",\n \"messages\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --public\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_b2b-supplier_5166709c
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of b2b-supplier/package.json from the b2b-supplier VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"b2b-supplier\",\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 \"@types/node\": \"^12.12.21\",\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 \"version\": \"0.0.0\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n```" } ]
code_b2b-supplier_9c343e45
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of b2b-supplier/manifest.json from the b2b-supplier VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"b2b-supplier\",\n \"version\": \"2.3.0\",\n \"title\": \"B2B Supplier\",\n \"description\": \"A app for b2b suppliers, with components related to authentication and authorization\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\",\n \"graphql\": \"1.x\",\n \"node\": \"6.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"0.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercebeta.com.br\",\n \"path\": \"/api/profile-system/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/profile-system/*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_barcode-generator_3c7744c5
[ { "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 barcode-generator/dangerfile.js from the barcode-generator 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_barcode-generator_6653ff0a
[ { "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 barcode-generator/package.json from the barcode-generator 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_barcode-generator_73767bb2
[ { "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 barcode-generator/manifest.json from the barcode-generator VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"service-example\",\n \"vendor\": \"vtex\",\n \"version\": \"0.2.26\",\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 \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_order-sms-notification_4658d9d4
[ { "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-sms-notification/manifest.json from the order-sms-notification VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"order-sms-notification\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.10\",\n \"title\": \"New Order SMS Notification\",\n \"description\": \"If like most retailers you must manage all your systems in one single computer, this little feature will notify you when a new VTEX order is approved (ready-for-handling) so you can go about fullfilment.\",\n \"mustUpdateAt\": \"2018-09-22\",\n \"settingsSchema\": {\n \"title\": \"VTEX Pay\",\n \"description\": \"Mobile number to receive notifications\",\n \"type\": \"object\",\n \"properties\": {\n \"mobilePhone\": {\n \"title\": \"Number\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"mobilePhone\"\n ]\n },\n \"settingsUiSchema\": {\n \"mobilePhone\": {\n \"ui:placeholder\": \"+5521999888777\"\n }\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"builders\": {\n \"node\": \"3.x\",\n \"masterdata\": \"0.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --public --verbose\"\n },\n \"billingOptions\": {\n \"free\": true,\n \"support\": {\n \"email\": \"oms@vtex.com.br\",\n \"url\": \"https://support.vtex.com/hc/requests\"\n }\n },\n \"dependencies\": {\n \"vtex.legacy-settings\": \"0.x\"\n },\n \"peerDependencies\": {\n \"vtex.sms-provider\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcrm.com.br\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"splunk-heavyforwarder-public.vtex.com\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"read-workspace-apps\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"vbase-read-write\",\n \"attrs\": {\n \"bucket\": \"order-sms-notification\"\n }\n },\n {\n \"name\": \"vtex.sms-provider:send-sms\"\n },\n {\n \"name\": \"READONLY_USER_DS\"\n },\n {\n \"name\": \"FeedSubscription\"\n },\n {\n \"name\": \"OMSViewer\"\n },\n {\n \"name\": \"WorkflowAction\"\n },\n {\n \"name\": \"ShippingAction\"\n },\n {\n \"name\": \"CancelAction\"\n },\n {\n \"name\": \"ShowTotalizers\"\n },\n {\n \"name\": \"PaymentAction\"\n }\n ]\n}\n\n```" } ]
code_sponsored-banners_0c904cfe
[ { "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-banners/dangerfile.js from the sponsored-banners 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-banners_55c2fa6d
[ { "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-banners/package.json from the sponsored-banners VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.0.1\",\n \"name\": \"sponsored-banners\",\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/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}\n```" } ]
code_sponsored-banners_6d5dfba4
[ { "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-banners/manifest.json from the sponsored-banners VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"sponsored-banners\",\n \"version\": \"0.0.6\",\n \"title\": \"VTEX Sponsored Banners\",\n \"description\": \"Frontend apps that configure VTEX Ads sponsored banners 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.device-detector\": \"0.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.adserver-graphql\": \"0.x\"\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_render-runtime_a4c87eab
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of render-runtime/manifest.json from the render-runtime VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"render-runtime\",\n \"version\": \"8.136.1\",\n \"title\": \"VTEX Render runtime\",\n \"description\": \"The VTEX Render framework runtime\",\n \"builders\": {\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pages-graphql\": \"2.x\"\n },\n \"mustUpdateAt\": \"2018-09-05\",\n \"settingsSchema\": {},\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_my-account_a98d076b
[ { "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 my-account/package.json from the my-account VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"my-account\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"cd ./react && yarn lint\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"test\": \"cd ./react && yarn test\",\n \"verify\": \"yarn lint && yarn test\",\n \"upgrade:all\": \"yarn upgrade && cd ./react && yarn upgrade && cd ../node && yarn upgrade && cd ../my-account-extension-example/react && yarn upgrade\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\",\n \"pre-push\": \"yarn verify\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\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 \"json-schema\": \"^0.2.5\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^2.2.0\",\n \"typescript\": \"^3.7.5\"\n },\n \"version\": \"1.11.1\"\n}\n\n```" } ]
code_my-account_b8550100
[ { "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 my-account/manifest.json from the my-account VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"my-account\",\n \"vendor\": \"vtex\",\n \"version\": \"1.30.0\",\n \"title\": \"My Account\",\n \"description\": \"User's my account page.\",\n \"registries\": [\n \"smartcheckout\"\n ],\n \"dependencies\": {\n \"vtex.my-cards\": \"1.x\",\n \"vtex.my-orders-app\": \"3.x\",\n \"vtex.my-account-commons\": \"1.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.profile-form\": \"3.x\",\n \"vtex.country-codes\": \"2.x\",\n \"vtex.address-form\": \"4.x\",\n \"vtex.pixel-manager\": \"1.x\",\n \"vtex.store-messages\": \"0.x\",\n \"vtex.css-handles\": \"0.x\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"node\": \"6.x\",\n \"graphql\": \"1.x\",\n \"docs\": \"0.x\",\n \"messages\": \"1.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"settingsSchema\": {\n \"title\": \"My Account\",\n \"type\": \"object\",\n \"properties\": {\n \"profile\": {\n \"type\": \"object\",\n \"title\": \"Profile\",\n \"properties\": {\n \"showGenders\": {\n \"title\": \"Show non-binary genders when editing profile\",\n \"type\": \"boolean\",\n \"default\": false\n }\n }\n },\n \"cards\": {\n \"type\": \"object\",\n \"title\": \"Cards\",\n \"properties\": {\n \"showMyCards\": {\n \"type\": \"boolean\",\n \"title\": \"Visible\",\n \"default\": true\n }\n }\n },\n \"orders\": {\n \"type\": \"object\",\n \"title\": \"Orders\",\n \"properties\": {\n \"showMyOrders\": {\n \"type\": \"boolean\",\n \"title\": \"Visible\",\n \"default\": true\n }\n }\n },\n \"addresses\": {\n \"type\": \"object\",\n \"title\": \"Addresses\",\n \"properties\": {\n \"showMyAddresses\": {\n \"type\": \"boolean\",\n \"title\": \"Visible\",\n \"default\": true\n }\n }\n },\n \"authentication\": {\n \"type\": \"object\",\n \"title\": \"Authentication\",\n \"properties\": {\n \"showMyAuthentication\": {\n \"type\": \"boolean\",\n \"title\": \"Visible\",\n \"default\": true\n }\n }\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_vega-graphql_1503e491
[ { "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 vega-graphql/README.md from the vega-graphql VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Vega GraphQL\nA vega spec server for the VTEX IO platform\n\n```" } ]
code_vega-graphql_27a659f4
[ { "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 vega-graphql/manifest.json from the vega-graphql VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"vega-graphql\",\n \"vendor\": \"vtex\",\n \"version\": \"0.2.1\",\n \"title\": \"Vega Server\",\n \"description\": \"Vega spec server for the VTEX IO platform\",\n \"mustUpdateAt\": \"2019-10-16\",\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\",\n \"postreleasy\": \"vtex publish --public\"\n },\n \"builders\": {\n \"node\": \"3.x\",\n \"graphql\": \"1.x\"\n },\n \"credential\": \"relative\",\n \"policies\": [\n {\n \"name\": \"read-workspace-apps\"\n }\n ]\n}\n\n```" } ]
code_component-library_04c12676
[ { "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 component-library/README.md from the component-library VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# VTEX React App Template\n\nOur guide repository to structure for react apps, that should be used as a template.\n\nWe use `yarn` as our default package manager, before coding make sure to run yarn on: `root` and `react` folders.\n\n## Some features:\n\n### Tests\n\nFor testing we use `@vtex/test-tools`, our own testing framework based on `react-testing-library`, the tests should be located on the `r\u001deact/__tests__` folder. For references, visit our [repository](https://github.com/vtex/test-tools).\n\n### Hooks\n\nHusky hooks tha runs on every `pre-commit` and `pre-push`.\n\n### Intl Equalizer\n\nTool for equalizing the messages located on the `\u001dmessages` folder/builder. It's configured to use the **en.json** as the default file for comparison. For references, visit our [repository](https://github.com/vtex/intl-equalizer).\n\n### Lint + Formatting\n\nTS lint configured with Prettier and .Config.\n\n### Available Scripts\n\n```json\n{\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```\n\n### Ci\n\n#### Install:\n\n```yml\ninstall:\n commands:\n - echo Installing Packages...\n - cd react\n - npm install\n - echo Packages installed!\n```\n\n#### Pre-build:\n\n```yml\npre_build:\n commands:\n - echo Running tests...\n - npm run verify\n - echo Lint and tests finished!\n```\n\n```" } ]
code_component-library_c75fd6a0
[ { "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 component-library/package.json from the component-library 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_component-library_f0fddddf
[ { "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 component-library/manifest.json from the component-library VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"react-app-template\",\n \"version\": \"1.0.0\",\n \"title\": \"CHANGE_ME\",\n \"description\": \"CHANGE_ME\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\"\n },\n \"dependencies\": {},\n \"registries\": [\"smartcheckout\"],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_storefront-permissions_63830ce7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of storefront-permissions/policies.json from the storefront-permissions 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.storefront-permissions:{{region}}:{{account}}:{{workspace}}:/_v/graphql\"\n ]\n }\n ]\n }\n]\n\n```" } ]
code_storefront-permissions_9e17f4a9
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of storefront-permissions/package.json from the storefront-permissions VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"storefront-permissions\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"cy-r\": \"cd ./cy-runner && node cy-runner\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.2.0\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.4.0\",\n \"eslint-config-vtex-react\": \"^6.4.0\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.2.2\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.8.3\"\n },\n \"dependencies\": {}\n}\n\n```" } ]
code_storefront-permissions_64689749
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of storefront-permissions/manifest.json from the storefront-permissions VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"storefront-permissions\",\n \"vendor\": \"vtex\",\n \"version\": \"3.2.1\",\n \"title\": \"Storefront Permissions\",\n \"description\": \"Manage User's permissions on apps that relates to this app\",\n \"mustUpdateAt\": \"2022-08-28\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish\"\n },\n \"dependencies\": {\n \"vtex.profile-session\": \"0.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.graphql-server\": \"1.x\",\n \"vtex.search-session\": \"0.x\"\n },\n \"builders\": {\n \"configuration\": \"0.x\",\n \"node\": \"6.x\",\n \"graphql\": \"1.x\",\n \"docs\": \"0.x\",\n \"vtex.session\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"update-app-settings\"\n },\n {\n \"name\": \"POWER_USER_DS\"\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"OMSViewer\"\n },\n {\n \"name\": \"Televendas\"\n },\n {\n \"name\": \"LogisticsViewer\"\n },\n {\n \"name\": \"SaveOrderFormConfiguration\"\n },\n {\n \"name\": \"Get_User_By_Identifier\"\n },\n {\n \"name\": \"Get_Users_Paged\"\n },\n {\n \"name\": \"Get_Roles_Paged\"\n },\n {\n \"name\": \"Get_Role\"\n },\n {\n \"name\": \"Create_Role\"\n },\n {\n \"name\": \"Get_User_By_Identifier\"\n },\n {\n \"name\": \"AcessaTodosCarrinhos\"\n },\n {\n \"name\": \"Save_User\"\n },\n {\n \"name\": \"vtex.graphql-server:resolve-graphql\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/license-manager/site/pvt/logins/list/paged/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/api/dataentities/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/scheduler/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/license-manager/site/pvt/logins/list/paged/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/profile-system/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/scheduler/master/vtex.gmc-keep-alive\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"rc.vtex.com\",\n \"path\": \"/api/analytics/schemaless-events\"\n }\n },\n {\n \"name\": \"buyer_organization_view\"\n },\n {\n \"name\": \"buyer_organization_edit\"\n }\n ],\n \"settingsSchema\": {\n \"title\": \"Storefront Permissions Settings\",\n \"type\": \"object\",\n \"properties\": {\n \"disableSellersNameFacets\": {\n \"title\": \"Disable Sellers Name Facets\",\n \"description\": \"When enabled, the sellers name facets will be disabled\",\n \"type\": \"boolean\",\n \"default\": false\n },\n \"disablePrivateSellersFacets\": {\n \"title\": \"Disable Private Sellers Facets\",\n \"description\": \"When enabled, the private sellers facets will be disabled\",\n \"type\": \"boolean\",\n \"default\": false\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_tawk-to_1eadd063
[ { "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 tawk-to/package.json from the tawk-to VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"tawk-to\",\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_tawk-to_f468c5d8
[ { "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 tawk-to/manifest.json from the tawk-to VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"tawk-to\",\n \"vendor\": \"vtex\",\n \"version\": \"0.2.4\",\n \"title\": \"Tawk.to\",\n \"description\": \"Message your customers, they'll love you for it.\",\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\": \"Tawk.to\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"title\": \"Property ID\",\n \"type\": \"string\"\n },\n \"channelId\": {\n \"title\": \"Channel ID\",\n \"type\": \"string\",\n \"default\": \"default\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_mycheckout-payments-service_765a4446
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of mycheckout-payments-service/nest-cli.json from the mycheckout-payments-service VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"collection\": \"@nestjs/schematics\",\n \"sourceRoot\": \"src\",\n \"compilerOptions\": {\n \"plugins\": [\"@nestjs/swagger\"]\n }\n}\n\n```" } ]
code_mycheckout-payments-service_92dd8cee
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of mycheckout-payments-service/README.md from the mycheckout-payments-service VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n<p align=\"center\">\n <a href=\"http://nestjs.com/\" target=\"blank\"><img src=\"https://nestjs.com/img/logo_text.svg\" width=\"320\" alt=\"Nest Logo\" /></a>\n</p>\n\n[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456\n[circleci-url]: https://circleci.com/gh/nestjs/nest\n\n <p align=\"center\">A progressive <a href=\"http://nodejs.org\" target=\"_blank\">Node.js</a> framework for building efficient and scalable server-side applications.</p>\n <p align=\"center\">\n<a href=\"https://www.npmjs.com/~nestjscore\" target=\"_blank\"><img src=\"https://img.shields.io/npm/v/@nestjs/core.svg\" alt=\"NPM Version\" /></a>\n<a href=\"https://www.npmjs.com/~nestjscore\" target=\"_blank\"><img src=\"https://img.shields.io/npm/l/@nestjs/core.svg\" alt=\"Package License\" /></a>\n<a href=\"https://www.npmjs.com/~nestjscore\" target=\"_blank\"><img src=\"https://img.shields.io/npm/dm/@nestjs/common.svg\" alt=\"NPM Downloads\" /></a>\n<a href=\"https://circleci.com/gh/nestjs/nest\" target=\"_blank\"><img src=\"https://img.shields.io/circleci/build/github/nestjs/nest/master\" alt=\"CircleCI\" /></a>\n<a href=\"https://coveralls.io/github/nestjs/nest?branch=master\" target=\"_blank\"><img src=\"https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9\" alt=\"Coverage\" /></a>\n<a href=\"https://discord.gg/G7Qnnhy\" target=\"_blank\"><img src=\"https://img.shields.io/badge/discord-online-brightgreen.svg\" alt=\"Discord\"/></a>\n<a href=\"https://opencollective.com/nest#backer\" target=\"_blank\"><img src=\"https://opencollective.com/nest/backers/badge.svg\" alt=\"Backers on Open Collective\" /></a>\n<a href=\"https://opencollective.com/nest#sponsor\" target=\"_blank\"><img src=\"https://opencollective.com/nest/sponsors/badge.svg\" alt=\"Sponsors on Open Collective\" /></a>\n <a href=\"https://paypal.me/kamilmysliwiec\" target=\"_blank\"><img src=\"https://img.shields.io/badge/Donate-PayPal-ff3f59.svg\"/></a>\n <a href=\"https://opencollective.com/nest#sponsor\" target=\"_blank\"><img src=\"https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg\" alt=\"Support us\"></a>\n <a href=\"https://twitter.com/nestframework\" target=\"_blank\"><img src=\"https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow\"></a>\n</p>\n <!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)\n [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->\n\n## Description\n\n[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.\n\n## Installation\n\n```bash\n$ npm install\n```\n\n## Running the app\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\n\n## Test\n\n```bash\n# unit tests\n$ npm run test\n\n# e2e tests\n$ npm run test:e2e\n\n# test coverage\n$ npm run test:cov\n```\n\n## Support\n\nNest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).\n\n## Stay in touch\n\n- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)\n- Website - [https://nestjs.com](https://nestjs.com/)\n- Twitter - [@nestframework](https://twitter.com/nestframework)\n\n## License\n\nNest is [MIT licensed](LICENSE).\n\n```" } ]
code_mycheckout-payments-service_60fd90cb
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of mycheckout-payments-service/package.json from the mycheckout-payments-service VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"kuikpay-payments\",\n \"version\": \"0.0.1\",\n \"description\": \"\",\n \"author\": \"\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"prebuild\": \"rimraf dist\",\n \"build\": \"nest build\",\n \"format\": \"prettier --write \\\"src/**/*.ts\\\" \\\"test/**/*.ts\\\"\",\n \"start\": \"nest start\",\n \"start:dev\": \"nest start --watch\",\n \"start:debug\": \"nest start --debug --watch\",\n \"start:prod\": \"node dist/main\",\n \"lint\": \"eslint \\\"{src,apps,libs,test}/**/*.ts\\\" --fix\",\n \"test\": \"jest\",\n \"test:watch\": \"jest --watch\",\n \"test:cov\": \"jest --coverage\",\n \"test:debug\": \"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand\",\n \"test:e2e\": \"jest --config ./test/jest-e2e.json\",\n \"lint:locales\": \"intl-equalizer\"\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 \"dependencies\": {\n \"@nestjs/axios\": \"0.0.3\",\n \"@nestjs/common\": \"^8.0.0\",\n \"@nestjs/config\": \"^1.1.0\",\n \"@nestjs/core\": \"^8.0.0\",\n \"@nestjs/mapped-types\": \"^1.0.0\",\n \"@nestjs/mongoose\": \"^9.0.1\",\n \"@nestjs/platform-express\": \"^8.0.0\",\n \"@nestjs/swagger\": \"^5.1.4\",\n \"@nestjs/throttler\": \"^2.0.0\",\n \"@types/crypto-js\": \"^4.0.2\",\n \"class-transformer\": \"^0.4.0\",\n \"class-validator\": \"^0.13.1\",\n \"crypto-js\": \"^4.1.1\",\n \"joi\": \"^17.4.2\",\n \"mongodb\": \"^4.1.4\",\n \"mongoose\": \"^6.0.12\",\n \"reflect-metadata\": \"^0.1.13\",\n \"rimraf\": \"^3.0.2\",\n \"rxjs\": \"^7.2.0\",\n \"swagger-ui-express\": \"^4.1.6\"\n },\n \"devDependencies\": {\n \"@babel/eslint-parser\": \"^7.15.0\",\n \"@nestjs/cli\": \"^8.0.0\",\n \"@nestjs/schematics\": \"^8.0.0\",\n \"@nestjs/testing\": \"^8.0.0\",\n \"@types/express\": \"^4.17.13\",\n \"@types/jest\": \"^27.0.1\",\n \"@types/mongodb\": \"^4.0.7\",\n \"@types/node\": \"^16.0.0\",\n \"@types/supertest\": \"^2.0.11\",\n \"@typescript-eslint/eslint-plugin\": \"^4.28.2\",\n \"@typescript-eslint/parser\": \"^4.28.2\",\n \"@vtex/danger\": \"^0.2.7\",\n \"@vtex/intl-equalizer\": \"^2.5.0\",\n \"@vtex/prettier-config\": \"^0.3.5\",\n \"eslint\": \"^7.30.0\",\n \"eslint-config-prettier\": \"^8.3.0\",\n \"eslint-config-vtex\": \"^12.8.11\",\n \"eslint-config-vtex-react\": \"^6.8.3\",\n \"eslint-plugin-prettier\": \"^3.4.0\",\n \"husky\": \"^4.3.0\",\n \"jest\": \"^27.0.6\",\n \"lint-staged\": \"^10.5.1\",\n \"prettier\": \"^2.3.2\",\n \"supertest\": \"^6.1.3\",\n \"ts-jest\": \"^27.0.3\",\n \"ts-loader\": \"^9.2.3\",\n \"ts-node\": \"^10.0.0\",\n \"tsconfig-paths\": \"^3.10.1\",\n \"typescript\": \"^4.3.5\"\n },\n \"jest\": {\n \"moduleFileExtensions\": [\n \"js\",\n \"json\",\n \"ts\"\n ],\n \"rootDir\": \"src\",\n \"testRegex\": \".*\\\\.spec\\\\.ts$\",\n \"transform\": {\n \"^.+\\\\.(t|j)s$\": \"ts-jest\"\n },\n \"collectCoverageFrom\": [\n \"**/*.(t|j)s\"\n ],\n \"coverageDirectory\": \"../coverage\",\n \"testEnvironment\": \"node\"\n }\n}\n\n```" } ]
code_mycheckout-payments-service_96071982
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of mycheckout-payments-service/tsconfig.build.json from the mycheckout-payments-service VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"extends\": \"./tsconfig.json\",\n \"exclude\": [\"node_modules\", \"test\", \"dist\", \"**/*spec.ts\"]\n}\n\n```" } ]
code_docs-bot_c45eb419
[ { "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 docs-bot/manifest.json from the docs-bot VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"docs-bot\",\n \"vendor\": \"vtex\",\n \"version\": \"0.3.0\",\n \"title\": \"VTEX IO Docs Bot\",\n \"description\": \"A bot responsible for VTEX IO documentation scalability\",\n \"mustUpdateAt\": \"2020-08-06\",\n \"categories\": [\n \"bot\"\n ],\n \"dependencies\": {},\n \"builders\": {\n \"node\": \"4.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.github.com\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"vbase-read-write\"\n }\n ],\n \"registries\": [\n \"smartcheckout\"\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_store-image_fbcf400e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of store-image/package.json from the store-image VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"store-image\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --quiet --fix --ext ts,tsx ./react\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\",\n \"test\": \"cd ./react && yarn test\",\n \"lint:locales\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint && yarn lint:locales && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"yarn lint && yarn lint:locales && yarn locales:fix\",\n \"pre-push\": \"yarn verify\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.4.2\",\n \"@vtex/prettier-config\": \"^0.3.3\",\n \"eslint\": \"^7.13.0\",\n \"eslint-config-vtex\": \"^12.8.8\",\n \"eslint-config-vtex-react\": \"^6.7.10\",\n \"husky\": \"^4.3.0\",\n \"lint-staged\": \"^10.5.1\",\n \"prettier\": \"^2.1.2\",\n \"typescript\": \"^3.8.3\"\n },\n \"version\": \"0.2.0\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n```" } ]
code_store-image_7676f480
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of store-image/manifest.json from the store-image VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"store-image\",\n \"version\": \"0.24.0\",\n \"title\": \"VTEX Image\",\n \"description\": \"Set of VTEX components to handle images\",\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.native-types\": \"0.x\",\n \"vtex.device-detector\": \"0.x\",\n \"vtex.css-handles\": \"1.x\",\n \"vtex.slider-layout\": \"0.x\",\n \"vtex.list-context\": \"0.x\",\n \"vtex.pixel-manager\": \"1.x\",\n \"vtex.on-view\": \"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_logrocket_d122c154
[ { "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 logrocket/manifest.json from the logrocket VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"logrocket\",\n \"version\": \"1.0.1\",\n \"title\": \"LogRocket\",\n \"description\": \"LogRocket\",\n \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-10-01\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"LogRocket\",\n \"type\": \"object\",\n \"properties\": {\n \"accountId\": {\n \"title\": \"Account ID\",\n \"description\": \"Enter your Account ID\",\n \"type\": \"string\"\n }\n }\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_minicart-freeshipping-bar_f1bca717
[ { "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 minicart-freeshipping-bar/README.md from the minicart-freeshipping-bar VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# ⚠️ Maintenance ⚠️\n*Starting June 1st 2023, this application will no longer be maintained by VTEX. The VTEX repository shall remain archived private and unchanged with the original version. Please don't share this repository with anyone external to VTEX. Internal questions only for VTEXers in this [Slack channel](https://app.slack.com/client/T02BCPD0X/C022S6QNM5X).*\n\n# ---\n\n# Mini Cart Free Shipping Bar\n\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors-)\n\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\nThe **Mini Cart Free Shipping Bar** is a MiniCart.v2 component that adds a progress bar to the minicart in order to display how much progress a customer has to **win** free shipping.\n\nThis block is **only a visual guide**, meaning it will not make any calculation or deduct the shipping amount from your store. You should pair this app with a **Free Shipping Promotion** of the same **amount**\nThe **amount** value, can be edited inside the **App Settings**\n\nThe app is compatible with 5 different languages including: English, Spanish, Italian, Portuguese and Romanian.\n\n## Settings\n\nThe app has one configurable setting under My Apps section inside VTEX Admin.\nThe setting is the **amount** for free shipping: expects a number.\nThis free shipping will be indicated for the different commercial policies, in this case 4 policies have been added\nThis will be the amount customers have to reach for the progress bar to completely fill up.\n\n## Configuration\n\nYou should first install the app on the desired **Account**. To install run: `vtex install vtexeurope.minicart-freeshipping-bar@2.x` inside the Toolbelt.\nAfter that you should declare the app as a **peerDependency** on your **Manifest** inside your store's **Store Theme**:\n\n```\n\"peerDependencies\": {\n \"vtexeurope.minicart-freeshipping-bar\": \"2.x\"\n}\n```\n\nAfter this is completed, you should add the block **minicart-bar** inside your **Store-Theme's Header** under the **MiniCart** section:\n\n```\n{\n \"minicart.v2\": {\n \"props\": {\n \"MinicartIcon\": \"icon-cart#minicart-icon\"\n },\n \"children\": [\"minicart-base-content\"]\n },\n \"icon-cart#minicart-icon\": {\n \"props\": {\n \"size\": 24\n }\n },\n \"minicart-base-content\": {\n \"blocks\": [\"minicart-empty-state\"],\n \"children\": [\"minicart-product-list\", \"flex-layout.row#minicart-footer\"]\n },\n \"flex-layout.row#minicart-footer\": {\n \"props\": {\n \"blockClass\": \"minicart-footer\"\n },\n \"children\": [\"flex-layout.col#minicart-footer\"]\n },\n \"flex-layout.col#minicart-footer\": {\n \"children\": [\"minicart-bar\",\"minicart-summary\", \"minicart-checkout-button\"]\n },\n \"minicart-product-list\": {\n \"blocks\": [\"product-list#minicart\"]\n },\n \"product-list#minicart\": {\n \"blocks\": [\"product-list-content-mobile\"]\n },\n \"minicart-summary\": {\n \"blocks\": [\"checkout-summary.compact#minicart\"]\n },\n\n \"checkout-summary.compact#minicart\": {\n \"children\": [\"summary-totalizers#minicart\"],\n \"props\": {\n \"totalizersToShow\": [\"Items\", \"Discounts\"]\n }\n },\n \"summary-totalizers#minicart\": {\n \"props\": {\n \"showTotal\": true,\n \"showDeliveryTotal\": false\n }\n },\n \"minicart-empty-state\": {\n \"children\": [\"flex-layout.row#empty-state\"]\n },\n \"flex-layout.row#empty-state\": {\n \"children\": [\"flex-layout.col#empty-state\"]\n },\n \"flex-layout.col#empty-state\": {\n \"children\": [\n \"icon-cart#minicart-empty-state\",\n \"rich-text#minicart-default-empty-state\"\n ],\n \"props\": {\n \"horizontalAlign\": \"center\",\n \"verticalAlign\": \"middle\",\n \"rowGap\": 5\n }\n },\n \"icon-cart#minicart-empty-state\": {\n \"props\": {\n \"size\": 64,\n \"blockClass\": \"minicart-empty-state\"\n }\n },\n \"rich-text#minicart-default-empty-state\": {\n \"props\": {\n \"text\": \"Your cart is empty.\"\n }\n }\n}\n```\n\n## Customization\n\nHere is the list of available CSS Handles you can use on the store\n| CSS Handles |\n| ----------- |\n| `freigthScaleContainer` |\n| `.sliderContainer` |\n| `.barContainer` |\n| `.sliderText` |\n| `.text0` |\n| `.text1` |\n| `.text2` |\n| `.text3` |\n| `.text4` |\n| `.currencyText` |\n\n```" } ]
code_minicart-freeshipping-bar_7a7eb774
[ { "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 minicart-freeshipping-bar/package.json from the minicart-freeshipping-bar VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"version\": \"0.1.3\",\n \"name\": \"minicart-freeshipping-bar\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"lint:locales\": \"intl-equalizer\",\n \"format\": \"prettier --write \\\"**/*.{ts,js,json}\\\"\",\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 && intl-equalizer && intl-equalizer --fix\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/intl-equalizer\": \"^2.4.2\",\n \"@vtex/prettier-config\": \"^0.1.4\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"eslint-config-vtex-react\": \"^6.3.2\",\n \"husky\": \"^4.2.3\",\n \"lint-staged\": \"^10.1.1\",\n \"prettier\": \"^2.0.2\",\n \"typescript\": \"^3.8.3\"\n },\n \"dependencies\": {\n \"@vtex/css-handles\": \"^1.1.3\",\n \"react-intl\": \"^4.6.9\"\n }\n}\n\n```" } ]
code_minicart-freeshipping-bar_1581b016
[ { "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 minicart-freeshipping-bar/manifest.json from the minicart-freeshipping-bar VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtexeurope\",\n \"name\": \"minicart-freeshipping-bar\",\n \"version\": \"2.1.3\",\n \"title\": \"Minicart Free Shipping Bar\",\n \"description\": \"Minicart Free Shipping Bar\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\"\n },\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.order-manager\": \"0.x\",\n \"vtex.store-components\": \"3.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.order-details\": \"1.x\",\n \"vtex.store-resources\": \"0.x\",\n \"vtex.react-portal\": \"0.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.pixel-manager\": \"1.x\",\n \"vtex.checkout-resources\": \"0.x\",\n \"vtex.shipping-estimate-translator\": \"2.x\",\n \"vtex.format-currency\": \"0.x\",\n \"vtex.store-graphql\": \"2.x\",\n \"vtex.apps-graphql\": \"3.x\",\n \"vtex.session-client\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Minicart Free Shipping progress\",\n \"type\": \"object\",\n \"access\": \"public\",\n \"bindingBounded\": true,\n \"properties\": {\n \"freeShippingTradePolicies\": {\n \"title\": \"Trade Policies\",\n \"description\": \"Free shipping per trade policies\",\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"tradePolicy\": {\n \"title\": \"Trade Policy (Sales Channel)\",\n \"type\": \"string\"\n },\n \"freeShippingAmount\": {\n \"title\": \"Free Shipping Amount\",\n \"description\": \"Enter the minimum amount for free shipping on this trade policy\",\n \"type\": \"number\"\n }\n }\n }\n }\n }\n },\n \"registries\": [\n \"smartcheckout\"\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_google-adwords_e46c32b7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of google-adwords/manifest.json from the google-adwords VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"google-adwords\",\n \"vendor\": \"vtex\",\n \"version\": \"1.3.2\",\n \"title\": \"Google Adwords\",\n \"description\": \"Google Adwords\",\n \"mustUpdateAt\": \"2019-04-03\",\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\",\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"dependencies\": {\n \"vtex.pixel-manager\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"pixel\"\n }\n ],\n \"settingsSchema\": {\n \"title\": \"Google Adwords\",\n \"type\": \"object\",\n \"properties\": {\n \"conversionId\": {\n \"title\": \"Conversion ID\",\n \"type\": \"string\",\n \"description\": \"Enter the Conversion ID (AW-XXXX) from your Google Adwords\"\n },\n \"conversionLabel\": {\n \"title\": \"Conversion Label\",\n \"type\": \"string\",\n \"description\": \"Enter the Conversion Label from your Google Adwords\"\n }\n },\n \"required\": [\n \"conversionId\"\n ]\n }\n}\n\n```" } ]
code_availability-notify-worker_389c29a9
[ { "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 availability-notify-worker/policies.json from the availability-notify-worker VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n[\n {\n \"name\": \"forward-notification\",\n \"description\": \"Allows access to send notification to the marketplace from a seller\",\n \"statements\": [\n {\n \"effect\": \"allow\",\n \"actions\": [\"post\"],\n \"resources\": [\n \"vrn:vtex.availability-notify-worker:{{*}}:{{*}}:{{*}}:/forward-notification\"\n ]\n }\n ]\n }\n]\n\n```" } ]
code_availability-notify-worker_05ed1f74
[ { "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 availability-notify-worker/dangerfile.js from the availability-notify-worker 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_availability-notify-worker_259c7cd5
[ { "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 availability-notify-worker/package.json from the availability-notify-worker VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"availability-notify-worker\",\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_availability-notify-worker_bbd53296
[ { "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 availability-notify-worker/manifest.json from the availability-notify-worker VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"availability-notify-worker\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1-beta.0\",\n \"title\": \"Availability Notify Worker\",\n \"description\": \"Availability notify forwarder for seller to marketplace notifications\",\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\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/vtex.availability-notify/*\"\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_store-graphql_ff61ed8e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of store-graphql/policies.json from the store-graphql 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.store-graphql:{{region}}:{{account}}:{{workspace}}:/_v/graphql\"\n ]\n }\n ]\n }\n]\n\n```" } ]
code_store-graphql_4733b294
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of store-graphql/package.json from the store-graphql VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"store-graphql\",\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 \"prepare\": \"husky install\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^14.14.7\",\n \"@vtex/prettier-config\": \"^0.3.3\",\n \"eslint\": \"^7.12.1\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"husky\": \"^8.0.0\",\n \"lint-staged\": \"^10.1.1\",\n \"prettier\": \"^2.0.2\",\n \"typescript\": \"^4.0.5\"\n }\n}\n\n```" } ]
code_store-graphql_025fce66
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of store-graphql/manifest.json from the store-graphql VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"store-graphql\",\n \"version\": \"2.173.2\",\n \"title\": \"GraphQL API for the VTEX store APIs\",\n \"description\": \"GraphQL schema and resolvers for the VTEX API for the catalog and orders.\",\n \"credentialType\": \"absolute\",\n \"builders\": {\n \"graphql\": \"1.x\",\n \"node\": \"4.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.messages\": \"1.x\",\n \"vtex.rewriter\": \"1.x\",\n \"vtex.catalog-api-proxy\": \"0.x\",\n \"vtex.file-manager\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/oms/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/checkout/pub/orderForm/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/checkout/pub/orders/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"logistics.vtexcommercestable.com.br\",\n \"path\": \"/api/logistics/pvt/configuration/pickuppoints/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/logistics/pub/shipping/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"vtexid.vtex.com.br\",\n \"path\": \"/api/vtexid/pub/authenticated/user\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"vtexid.vtex.com.br\",\n \"path\": \"/api/vtexid/pub/authentication/start\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"vtexid.vtex.com.br\",\n \"path\": \"/api/vtexid/pub/authentication/accesskey/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/vtexid/credential/validate\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexpayments.com.br\",\n \"path\": \"/api/pvt/sessions\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexpayments.com.br\",\n \"path\": \"/pub/sessions/*/tokens\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/{{account}}/dataentities/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/sessions/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/segments/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercebeta.com.br\",\n \"path\": \"/api/segments/*\"\n }\n },\n {\n \"name\": \"POWER_USER_DS\"\n },\n {\n \"name\": \"LogisticsAdmin\"\n },\n {\n \"name\": \"AdminPortal\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/license-manager/*\"\n }\n },\n {\n \"name\": \"Get_Account_By_Identifier\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"licensemanager.vtex.com.br\",\n \"path\": \"/api/pvt/accounts/*\"\n }\n },\n {\n \"name\": \"vtex.messages:translate-messages\"\n },\n {\n \"name\": \"vtex.catalog-api-proxy:catalog-proxy\"\n },\n {\n \"name\": \"vtex.catalog-api-proxy:authenticated-catalog-proxy\"\n },\n {\n \"name\": \"vtex.file-manager:file-manager-read-write\"\n },\n {\n \"name\": \"GetItemResource\"\n },\n {\n \"name\": \"PutItemResource\"\n },\n {\n \"name\": \"DeleteItemResource\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"profile-system-beta.vtex.systems\",\n \"path\": \"/api/profile-system/profiles/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/storage/profile-system/profiles/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/profile-system/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercebeta.com.br\",\n \"path\": \"/api/profile-system/*\"\n }\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-availability-gallery_ccdb5a0d
[ { "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-availability-gallery/package.json from the product-availability-gallery 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.20.28\",\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_product-availability-gallery_2df05945
[ { "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-availability-gallery/manifest.json from the product-availability-gallery VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"product-availability-gallery\",\n \"vendor\": \"vtexarg\",\n \"version\": \"1.1.2\",\n \"title\": \"Custom product availability component\",\n \"description\": \"To display available stock x product\",\n \"mustUpdateAt\": \"2018-01-04\",\n \"categories\": [],\n \"dependencies\": {\n \"vtex.product-context\": \"0.x\",\n \"vtex.css-handles\": \"1.x\",\n \"vtex.session-client\": \"1.x\",\n \"vtex.store-graphql\": \"2.x\"\n },\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"node\": \"6.x\",\n \"docs\": \"0.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"billingOptions\": {\n \"support\": {\n \"email\": \"help@vtex.com\"\n },\n \"type\": \"free\",\n \"availableCountries\": [\n \"*\"\n ]\n },\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercebeta.com.br\",\n \"path\": \"/api/logistics/pvt/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/logistics/pvt/*\"\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\": \"api.vtex.com\",\n \"path\": \"/api/dataentities/*\"\n }\n },\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"POWER_USER_DS\"\n },\n {\n \"name\": \"READONLY_USER_DS\"\n },\n {\n \"name\": \"1_dataentity_edit\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_livestreaming-utils_daec9d35
[ { "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 livestreaming-utils/package.json from the livestreaming-utils VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"livestreaming-utils\",\n \"private\": true,\n \"version\": \"0.1.0\",\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --quiet --fix --ext ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"verify\": \"yarn lint && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"yarn lint\",\n \"pre-push\": \"yarn verify\"\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 \"@vtex/tsconfig\": \"^0.4.4\",\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\": \"^2.8.0\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```" } ]
code_livestreaming-utils_a8abf136
[ { "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 livestreaming-utils/manifest.json from the livestreaming-utils VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtexventures\",\n \"name\": \"livestreaming-utils\",\n \"version\": \"0.1.0\",\n \"title\": \"live streaming utils\",\n \"description\": \"utilities for live shopping\",\n \"builders\": {\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {},\n \"registries\": [\"smartcheckout\"],\n \"policies\": [],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_zopim_b0a9a5e7
[ { "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 zopim/manifest.json from the zopim VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"zopim\",\n \"version\": \"1.2.3\",\n \"title\": \"Zopim\",\n \"description\": \"Zopim\",\n \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-10-01\",\n \"billingOptions\": {\n \"termsURL\": \"\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"free\": true\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Zopim\",\n \"description\": \"You can have either an Account Key or Subdomain. It depends on the type of account you have.\",\n \"type\": \"object\",\n \"properties\": {\n \"accountKey\": {\n \"title\": \"Account Key\",\n \"type\": \"string\"\n },\n \"subdomain\": {\n \"title\": \"Subdomain\",\n \"type\": \"string\"\n },\n \"departmentsFilter\": {\n \"title\": \"Advanced Custom API: departments.filter(value)\",\n \"description\": \"(optional)\",\n \"type\": \"string\"\n },\n \"departmentsSetVisitorDepartment\": {\n \"title\": \"Advanced Custom API: departments.setVisitorDepartment(value)\",\n \"description\": \"(optional) Type space for empty string\",\n \"type\": \"string\"\n }\n }\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_b2b-approved-message_021f6ef4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of b2b-approved-message/package.json from the b2b-approved-message VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"b2b-approved-message\",\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 },\n \"version\": \"0.0.0\",\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n\n```" } ]
code_b2b-approved-message_1d0607a4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of b2b-approved-message/manifest.json from the b2b-approved-message VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"b2b-approved-message\",\n \"version\": \"0.1.0\",\n \"title\": \"B2B Approved Message\",\n \"description\": \"App to display if logged user is approved to buy in supplier\",\n \"builders\": {\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\"\n },\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_shipment-tracker_cbb6c064
[ { "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 shipment-tracker/package.json from the shipment-tracker VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"shipping-tracker\",\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 }\n}\n\n```" } ]
code_shipment-tracker_4f7e3e92
[ { "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 shipment-tracker/manifest.json from the shipment-tracker VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"shipping-tracker\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"Shipping Tracker\",\n \"description\": \"\",\n \"mustUpdateAt\": \"2022-08-28\",\n \"scripts\": {\n \"postreleasy\": \"vtex publish\"\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.render-runtime\": \"7.x\",\n \"vtex.apps-graphql\": \"2.x\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"admin\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\",\n \"node\": \"6.x\",\n \"graphql\": \"1.x\"\n },\n \"billingOptions\": {\n \"termsURL\": \"https://compliance.vtex.com/gdpr/policies/vtex-privacy-policy\",\n \"support\": {\n \"url\": \"https://help-tickets.vtex.com/en/support?app=vtex.shipping-tracker\"\n },\n \"free\": true,\n \"type\": \"free\",\n \"availableCountries\": [\n \"*\"\n ]\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"update-app-settings\"\n },\n {\n \"name\": \"POWER_USER_DS\"\n },\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"OMSViewer\"\n },\n {\n \"name\": \"ShippingAction\"\n },\n {\n \"name\": \"LogisticsViewer\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/api/dataentities/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"secure.shippingapis.com\",\n \"path\": \"/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"wsbeta.fedex.com\",\n \"path\": \"/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"wwwcie.ups.com\",\n \"path\": \"/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"ct.soa-gw.canadapost.ca\",\n \"path\": \"/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"soa-gw.canadapost.ca\",\n \"path\": \"/*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_places-graphql_09ca1570
[ { "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 places-graphql/package.json from the places-graphql VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"places-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\": \"^14.0.20\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```" } ]
code_places-graphql_711036c4
[ { "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 places-graphql/manifest.json from the places-graphql VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"places-graphql\",\n \"version\": \"0.4.1\",\n \"title\": \"Places GraphQL\",\n \"description\": \"Service related to address geolocation\",\n \"builders\": {\n \"docs\": \"0.x\",\n \"graphql\": \"1.x\",\n \"node\": \"6.x\"\n },\n \"settingsSchema\": {\n \"title\": \"Places GraphQL\",\n \"description\": \"Service related to address geolocation\",\n \"type\": \"object\",\n \"properties\": {\n \"apiKey\": {\n \"title\": \"API Key\",\n \"description\": \"API key used to access external geocoding service\",\n \"type\": \"string\",\n \"default\": \"API KEY\"\n }\n }\n },\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"maps.googleapis.com\",\n \"path\": \"/maps/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_encryption-service_a8d21773
[ { "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 encryption-service/dangerfile.js from the encryption-service 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_encryption-service_776cd2f5
[ { "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 encryption-service/README.md from the encryption-service VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# encryption-service\nAn encryption service for the Profitshare pixel application\n\n```" } ]
code_encryption-service_aa35bef8
[ { "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 encryption-service/package.json from the encryption-service 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/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.5.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```" } ]
code_encryption-service_8c3dd8b9
[ { "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 encryption-service/manifest.json from the encryption-service VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"profitshare-encryption\",\n \"vendor\": \"vtex\",\n \"version\": \"0.1.0\",\n \"title\": \"Profitshare Encryption\",\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\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"profitshare.ro\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_pixel-app-template_172cc440
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of pixel-app-template/package.json from the pixel-app-template VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"YOURAPPNAME\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.1.4\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"eslint-config-vtex-react\": \"^6.3.2\",\n \"husky\": \"^4.2.3\",\n \"lint-staged\": \"^10.1.1\",\n \"prettier\": \"^2.0.2\",\n \"typescript\": \"^3.8.3\"\n }\n}\n\n```" } ]
code_pixel-app-template_5557d61d
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of pixel-app-template/manifest.json from the pixel-app-template VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"YOURAPPNAME\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"CHANGEME\",\n \"description\": \"CHANGEME\",\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 \"settingsSchema\": {\n \"title\": \"YOUR APP NAME\",\n \"type\": \"object\",\n \"properties\": {\n \"gtmId\": {\n \"title\": \"SAMPLE FIELD\",\n \"description\": \"Enter the ID (GTM-XXXX) from your Google Tag Manager\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_hardsport-theme_7289508c
[ { "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 hardsport-theme/manifest.json from the hardsport-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"partnerchallenge29\",\n \"name\": \"hardsport-theme\",\n \"version\": \"0.0.3\",\n \"builders\": {\n \"styles\": \"1.x\",\n \"store\": \"0.x\",\n \"docs\": \"0.x\"\n },\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 },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_product-availability_2978aa4b
[ { "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-availability/README.md from the product-availability VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Product Availability\n\n## Description\n\nThe Product Availability component shows different messages set by the user, depending on the available quantity of the product.\n\nIt is only available to be used on the `store.product` block, in your product page.\n\n:loudspeaker: **Disclaimer:** Don't fork this project; use, contribute, or open issue with your feature request\n\n## Table of Contents\n\n- [Usage](#usage)\n - [Blocks API](#blocks-api)\n - [Configuration](#configuration)\n - [Styles API](#styles-api)\n - [CSS Namespaces](#css-namespaces)\n- [Troubleshooting](#troubleshooting)\n- [Tests](#tests)\n\n## Usage\n\nThis app uses our store builder with the blocks architecture. To know more about Store Builder [click here.](https://help.vtex.com/en/tutorial/understanding-storebuilder-and-stylesbuilder#structuring-and-configuring-our-store-with-object-object)\n\nTo use this app or override the default CSS you need import it in your dependencies on `manifest.json` file.\n\n```json\n \"dependencies\": {\n \"vtex.product-availability\": \"0.x\"\n }\n```\n\nThen, add `product-availability` block to your `blocks.json`\n\nNow, you can change the behavior of the `product-availability` block that is in the minicart. See an example of how to configure **without** showing availability:\n\n```json\n \"product-availability\": {\n \"props\": {\n \"threshold\":\"10\",\n \"lowStockMessage\":\"Only {quantity} left!\",\n \"highStockMessage\":\"Item in stock!\"\n }\n }\n```\n\nSee an example of how to configure **showing availability**:\n\n```json\n \"product-availability\": {\n \"props\": {\n \"showAvailability\": \"stock\",\n \"showAvailabilityMessage\": \"There are {quantity} available!\"\n }\n }\n```\n\n### Blocks API\n\nWhen implementing this app as a block, various inner blocks may be available. The following interface lists the available blocks within product-availability and describes if they are required or optional.\n\n```json\n{\n \"product-availability\": {\n \"component\": \"ProductAvailability\"\n }\n}\n```\n\nFor now this block does not have any required or optional blocks.\n\n#### Configuration\n\nThrough the Storefront, you can change the product-availability's behavior and interface. However, you also can make in your theme app, as Store theme does.\n\n| Prop name | Type | Description |\n| ------------------- | --------- | ------------------------------------------------------------------------------------------- |\n| `threshold` | `Number` | DefineMinimum quantity that makes low stock message appear (if message is set). Default: 0 |\n| `lowStockMessage` | `String` | String to be shown to user when stock is lower than threshold. Should have {quantity} inside the given string, to be replaced for the threshold property. Example: \\\"Only {quantity} left!\\\". Leave empty to not show. Default: \"\" |\n| `highStockMessage` | `String` | String to be shown when stock is higher or equal than threshold. If left empty, won\\'t show. Default: \"\" |\n| `showAvailability` | `'disabled' \\ 'stock'` | Enables the possibility to show the available items instead of lowStockMessage or highStockMessage. Default `'disabled'`. To enable it, string should be `'stock'` |\n| `showAvailabilityMessage` | `String` | String to be shown when show available option is true. Should have {quantity} inside the given string, to be replaced for the available property. Example: \\\"There are {quantity} available!\\\". Leave empty to not show. Default: \"\" |\n\n### Styles API\n\nThis app provides some CSS classes as an API for style customization.\n\nTo use this CSS API, you must add the `styles` builder and create an app styling CSS file.\n\n1. Add the `styles` builder to your `manifest.json`:\n\n```json\n \"builders\": {\n \"styles\": \"1.x\"\n }\n```\n\n2. Create a file called `vtex.product-availability.css` inside the `styles/css` folder. Add your custom styles:\n\n```css\n.container {\n margin-top: 10px;\n}\n```\n\n#### CSS Namespaces\n\nBelow, we describe the namespaces that are defined in the product-availability.\n\n| Token name | Component | Description |\n| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |\n| `container` | [index](https://github.com/vtex-apps/product-availability/blob/master/react/components/ProductAvailability.tsx) | The main container of `ProductAvailability` |\n| `lowStockText` | [index](https://github.com/vtex-apps/product-availability/blob/master/react/components/LowStock.tsx) | Normal text for the low stock message.\n| `lowStockHighlight` | [index](https://github.com/vtex-apps/product-availability/blob/master/react/components/LowStock.tsx) | Number of the low stock message that is supposed to be highlighted. |\n| `highStockText` | [index](https://github.com/vtex-apps/product-availability/blob/master/react/components/HighStock.tsx) | Text of the hight stock message. |\n| `showAvailableText` | [index](https://github.com/vtex-apps/product-availability/blob/master/react/components/ShowAvailable.tsx) | Text of the show available message. |\n| `showAvailableTextHighlight` | [index](https://github.com/vtex-apps/product-availability/blob/master/react/components/ShowAvailable.tsx) | Number of the available items that is supposed to be highlighted.\n\n## Troubleshooting\n\nYou can check if others are passing through similar issues [here](https://github.com/vtex-apps/product-availability/issues). Also feel free to [open issues](https://github.com/vtex-apps/product-availability/issues/new) or contribute with pull requests.\n\n## Tests\n\nTo execute our tests go to `react/` folder and run `yarn test`\n\n### Travis CI\n\n[![Build Status](https://travis-ci.org/vtex-apps/product-availability.svg?branch=master)](https://travis-ci.org/vtex-apps/product-availability)\n[![Coverage Status](https://coveralls.io/repos/github/vtex-apps/product-availability/badge.svg?branch=master)](https://coveralls.io/github/vtex-apps/product-availability?branch=master)\n\n```" } ]
code_product-availability_d680dffc
[ { "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-availability/package.json from the product-availability VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"product-availability\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"test\": \"cd ./react && yarn test\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,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 },\n \"devDependencies\": {\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}\n\n```" } ]
code_product-availability_4ea70ebd
[ { "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-availability/manifest.json from the product-availability VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"product-availability\",\n \"version\": \"0.3.2\",\n \"title\": \"Product Availability\",\n \"description\": \"Show different messages depending on your product available quantity\",\n \"defaultLocale\": \"en-US\",\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 \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"dependencies\": {\n \"vtex.product-context\": \"0.x\",\n \"vtex.css-handles\": \"1.x\",\n \"vtex.native-types\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_favourite-colors_1b2b24b1
[ { "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 favourite-colors/dangerfile.js from the favourite-colors 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_favourite-colors_e279ea71
[ { "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 favourite-colors/package.json from the favourite-colors VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"favourite-colors\",\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_favourite-colors_10f9db16
[ { "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 favourite-colors/manifest.json from the favourite-colors VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"favourite-colors\",\n \"vendor\": \"vtexarg\",\n \"version\": \"0.0.3\",\n \"title\": \"Service Example\",\n \"description\": \"Reference app for VTEX IO Services\",\n \"mustUpdateAt\": \"2018-01-04\",\n \"categories\": [],\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.css-handles\": \"0.x\"\n },\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\",\n \"graphql\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\"\n },\n \"scripts\": {\n \"prereleasy\": \"bash lint.sh\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"*.vtexcommercestable.com.br\",\n \"path\": \"/api/dataentities/*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"POWER_USER_DS\"\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_return-app_aa8cc1b6
[ { "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 return-app/package.json from the return-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"return-app\",\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\": \"^1.0.0\",\n \"eslint\": \"^7.4.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"eslint-config-vtex-react\": \"^6.7.0\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.2.2\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.6\"\n },\n \"dependencies\": {\n \"@typescript-eslint/eslint-plugin\": \"^4.14.1\",\n \"@typescript-eslint/parser\": \"^4.14.1\",\n \"axios\": \"^0.20.0\"\n }\n}\n```" } ]
code_return-app_219c6101
[ { "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 return-app/manifest.json from the return-app VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"return-app\",\n \"version\": \"3.11.0\",\n \"title\": \"Return app\",\n \"description\": \"Return app\",\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\",\n \"vtex.format-currency\": \"0.x\",\n \"vtex.my-account\": \"1.x\",\n \"vtex.my-account-commons\": \"1.x\",\n \"vtex.render-runtime\": \"8.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.easypost\": \"0.x\",\n \"vtex.tenant-graphql\": \"0.x\",\n \"vtex.catalog-graphql\": \"1.x\"\n },\n \"builders\": {\n \"admin\": \"0.x\",\n \"react\": \"3.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\",\n \"store\": \"0.x\",\n \"node\": \"6.x\",\n \"graphql\": \"1.x\",\n \"masterdata\": \"1.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"portal.vtexcommercestable.com.br\",\n \"path\": \"/api/oms/pvt/orders/*\"\n }\n },\n {\n \"name\": \"vbase-read-write\"\n },\n {\n \"name\": \"ADMIN_DS\"\n },\n {\n \"name\": \"POWER_USER_DS\"\n },\n {\n \"name\": \"OMSViewer\"\n },\n {\n \"name\": \"ListOrders\"\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"api.vtex.com\",\n \"path\": \"/dataentities/*\"\n }\n },\n {\n \"name\": \"sphinx-is-admin\"\n },\n {\n \"name\": \"vtex.catalog-graphql:resolve-graphql\"\n }\n ],\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 \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_render-guide_2f186a2d
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of render-guide/README.md from the render-guide VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n # VTEX IO Web Framework Best-Practices\n\n ## Welcome\n While coding apps, developers face common problems and patterns that are not strictly related to their business logic, like pagination and editing entities. To help you focuss more on your business logic, and less on reinventing the wheel, this repo was created aimming to contain all common patterns, all while respecting **Web Framework's** best practices and performance.\n\n ## What can I learn in this code base?\n In this repo you will learn how to:\n\n - Use [VTEX Styleguide](https://styleguide.vtex.com/)\n - Internationalize your app\n - GraphQL (Back-End):\n - Architecture a GraphQL Schema\n - Create resolvers\n - Use Datasources\n - Front-End\n - Use extension points\n - Automatic cache updates\n - Preview with GraphQL cache\n - Pagination\n\n ## Can I use this repo in my projects ?\n Sure! this repository was designed with this goal in mind. If you are not able to easily port this code into your app, feel free to make a PR and start [contributing](https://github.com/vtex-apps/awesome-io#contributing).\n\n ## Getting Started\n This repo is an IO app like any other, so getting started is easy, just clone it, open your terminal, and type:\n\n \\`\\`\\`sh\n vtex link\n \\`\\`\\`\n\n just enter the \\`/guide\\` route and play a little\n\n ## How to read this repo\n An antipattern present in this repo is that the front and back-end code are in the same app. Usually they are split into different apps, given their differences in development cycle. Also, if your project is big enought, it's suggested you split your front-end app into a components app and a **Pages** app (app that places and instanciates these components). For the sake of simplicity and example efficiency, all these apps are joined into this one\n\n ### Basic architecture\n Since *web-framework-guide* is a VTEX IO app like any other, its folder structure is well known. In the root folder you can find a \\`manifest.json\\`, containing all of the app's metadata, like name, vendor, version etc. Also, you will find the following folders, each one matching it's corresponding builder\n\n - node - *where you actually implement your back-end app*\n - graphql - *where you define your graphql schema*\n - react - *where you write your react components*\n - pages - *where you place and instanciate the components*\n\n ### What if I didn't understand something ?\n If you didn't understand something or if you think this doc is incomplete, please open an issue in GitHub!\n\n```" } ]
code_render-guide_81f00987
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of render-guide/manifest.json from the render-guide VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"web-framework-guide\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.0\",\n \"title\": \"VTEX IO Web Framework Guide\",\n \"description\": \"A sample app for introducing some VTEX IO Web Framework concepts and best practices\",\n \"scripts\": {\n \"prereleasy\": \"bash pre.sh\"\n },\n \"builders\": {\n \"pages\": \"1.x\",\n \"react\": \"3.x\"\n },\n \"dependencies\": {\n \"vtex.graphql-example\": \"0.x\",\n \"vtex.styleguide\": \"9.x\"\n }\n}\n\n```" } ]
code_order-placed_e926cff2
[ { "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-placed/package.json from the order-placed VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"order-placed\",\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\": \"yarn --cwd react test\",\n \"locales:lint\": \"intl-equalizer\",\n \"locales:fix\": \"intl-equalizer --fix\",\n \"verify\": \"yarn lint && yarn locales:lint && yarn test\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged && yarn locales:lint && yarn locales:fix\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@types/node\": \"^14.0.13\",\n \"@vtex/intl-equalizer\": \"^2.4.2\",\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"eslint\": \"^7.3.0\",\n \"eslint-config-vtex\": \"^12.5.1\",\n \"eslint-config-vtex-react\": \"^6.5.1\",\n \"husky\": \"^4.2.5\",\n \"lint-staged\": \"^10.2.11\",\n \"prettier\": \"^2.0.5\",\n \"typescript\": \"^3.9.5\"\n },\n \"version\": \"1.3.0\"\n}\n\n```" } ]
code_order-placed_ad13c9e4
[ { "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-placed/manifest.json from the order-placed VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"order-placed\",\n \"version\": \"2.19.0\",\n \"title\": \"Order Placed\",\n \"description\": \"\",\n \"registries\": [\n \"smartcheckout\"\n ],\n \"scripts\": {\n \"postreleasy\": \"vtex publish --public\"\n },\n \"builders\": {\n \"react\": \"3.x\",\n \"store\": \"0.x\",\n \"messages\": \"1.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.order-placed-graphql\": \"1.x\",\n \"vtex.styleguide\": \"9.x\",\n \"vtex.order-details\": \"1.x\",\n \"vtex.shipping-estimate-translator\": \"2.x\",\n \"vtex.address-form\": \"4.x\",\n \"vtex.profile-form\": \"3.x\",\n \"vtex.pixel-manager\": \"1.x\",\n \"vtex.pwa-components\": \"0.x\",\n \"vtex.store-resources\": \"0.x\",\n \"vtex.totalizer-translator\": \"2.x\",\n \"vtex.flex-layout\": \"0.x\",\n \"vtex.responsive-layout\": \"0.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.responsive-values\": \"0.x\"\n },\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/checkout/pub/orders/*\"\n }\n }\n ],\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_speedy_1828e417
[ { "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 speedy/nodemon.json from the speedy VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"watch\": [\"src/\"],\n \"ext\": \"js,json\",\n \"exec\": \"yarn build\"\n}\n\n```" } ]
code_speedy_ece3c3cf
[ { "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 speedy/package.json from the speedy VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"speedy\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ignore-pattern pixel --ext js,jsx,ts,tsx .\",\n \"build\": \"webpack\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"dev\": \"nodemon\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"src*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"src*.{json,graphql,gql}\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.23.9\",\n \"@babel/preset-env\": \"^7.23.9\",\n \"@vtex/prettier-config\": \"^0.1.3\",\n \"babel-loader\": \"^9.1.3\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.2.1\",\n \"eslint-config-vtex-react\": \"^6.2.1\",\n \"html-webpack-inline-source-plugin\": \"^1.0.0-beta.2\",\n \"html-webpack-plugin\": \"^5.6.0\",\n \"husky\": \"^4.2.0\",\n \"inline-chunk-html-plugin\": \"^1.1.1\",\n \"lint-staged\": \"^10.0.2\",\n \"nodemon\": \"^3.1.0\",\n \"prettier\": \"^1.19.1\",\n \"pug\": \"^2.0.2\",\n \"pug-loader\": \"^2.4.0\",\n \"terser-webpack-plugin\": \"^5.3.10\",\n \"typescript\": \"^3.7.5\",\n \"webpack\": \"^5.90.3\",\n \"webpack-cli\": \"^5.1.4\"\n },\n \"dependencies\": {\n \"@builder.io/partytown\": \"^0.10.1\",\n \"copy-webpack-plugin\": \"^12.0.2\"\n }\n}\n\n```" } ]
code_speedy_437f17da
[ { "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 speedy/manifest.json from the speedy VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"speedy\",\n \"vendor\": \"vtex\",\n \"version\": \"0.7.2\",\n \"title\": \"Speedy\",\n \"description\": \"Speedy is a VTEX IO app that improves the performance of your store by optimizing the loading of third-party scripts, prefetching data. It will allow you to improve the TBT and INP metrics\",\n \"scripts\": {\n \"postreleasy\": \"npm run build && git add . && git commit -m 'build' && git push && vtex publish --verbose\"\n },\n \"billingOptions\": {\n \"type\": \"free\",\n \"support\": {\n \"url\": \"https://support.vtex.com/hc/requests\"\n },\n \"availableCountries\": [\n \"*\"\n ]\n },\n \"builders\": {\n \"pixel\": \"0.x\",\n \"docs\": \"0.x\"\n },\n \"dependencies\": {\n \"vtex.pixel-interfaces\": \"1.x\",\n \"vtex.pixel-server\": \"0.x\",\n \"vtex.pixel-server-ui\": \"0.x\"\n },\n \"policies\": [\n {\n \"name\": \"pixel\"\n }\n ],\n \"settingsSchema\": {\n \"title\": \"VTEX Speedy\",\n \"type\": \"object\",\n \"bindingBounded\": true,\n \"properties\": {\n \"timeToPush3rdParty\": {\n \"title\": \"Time in seconds to push the 3rd party\",\n \"description\": \"Time in seconds ex: 5s (default is 10s)\",\n \"type\": \"string\"\n },\n \"block3rdParty\": {\n \"title\": \"Block all 3rd party\",\n \"description\": \"Block all 3rd party\",\n \"type\": \"boolean\"\n },\n \"customTimeToPush\": {\n \"title\": \"[CUSTOM] - List of 3rd party to push\",\n \"description\": \"Pattern: domain,seconds;domain,seconds;\",\n \"type\": \"string\",\n \"default\": \"googletagmanager,0;\"\n },\n \"preconnect\": {\n \"title\": \"[PRECONNECT] - List of domains to preconnect\",\n \"description\": \"Pattern: domain;domain;domain...\",\n \"type\": \"string\",\n \"default\": \"www.googletagmanager.com;fonts.googleapis.com;fonts.gstatic.com\"\n },\n \"blacklist\": {\n \"title\": \"[BLACKLIST] - List of domains to block\",\n \"description\": \"Pattern: domain;domain;domain...\",\n \"type\": \"string\"\n },\n \"enablePartytown\": {\n \"title\": \"Enable Partytown integration \",\n \"description\": \"Use with caution and enable the scripts on the on Pixel UI\",\n \"type\": \"boolean\",\n \"default\": false\n },\n \"partytownForward\": {\n \"title\": \"Partytown Forward\",\n \"description\": \"Visit the Partytown documentation to get more details, separated by comma\",\n \"type\": \"string\",\n \"default\": \"dataLayer.push,fbq,gtag\"\n },\n \"prefetchAnchors\": {\n \"title\": \"Prefetch Anchors\",\n \"description\": \"Prefetch anchors on the page\",\n \"type\": \"boolean\",\n \"default\": true\n },\n \"prefetchAnchorsDesktop\": {\n \"title\": \"Prefetch Anchors Desktop\",\n \"description\": \"Prefetch anchors on the page for desktop\",\n \"type\": \"boolean\",\n \"default\": false\n },\n \"prefetchAnchorsMobile\": {\n \"title\": \"Prefetch Anchors Mobile\",\n \"description\": \"Prefetch anchors on the page for mobile\",\n \"type\": \"boolean\",\n \"default\": true\n },\n \"queueDelay\": {\n \"title\": \"Queue Delay\",\n \"description\": \"Delay in seconds to load each item of the queue\",\n \"type\": \"string\",\n \"default\": \"1.5\"\n },\n \"prefetchRule\": {\n \"title\": \"Prefetch Anchors Rule\",\n \"description\": \"Put the classNames anchors that should be prefetched separated by comma (You can add manually 'speedy')\",\n \"type\": \"string\",\n \"default\": \"product-summary\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_product-review-interfaces_52d0ffdc
[ { "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-review-interfaces/README.md from the product-review-interfaces VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Product Review Interfaces\n\n> Interfaces for a product review app.\n\nThis app provides extensible interfaces that can be used by the `vtex.store` and a theme app. A review 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 review app [here](/example).\n\n```" } ]
code_product-review-interfaces_042502cb
[ { "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-review-interfaces/manifest.json from the product-review-interfaces VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"product-review-interfaces\",\n \"version\": \"1.0.2\",\n \"title\": \"Product Review Interfaces\",\n \"description\": \"Interfaces for a product review app\",\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 \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n```" } ]
code_icommkt_e80fbcb7
[ { "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 icommkt/package.json from the icommkt VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"YOURAPPNAME\",\n \"private\": true,\n \"license\": \"UNLICENSED\",\n \"scripts\": {\n \"lint\": \"eslint --ext js,jsx,ts,tsx .\",\n \"format\": \"prettier --write \\\"**/*.{ts,tsx,js,jsx,json}\\\"\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"lint-staged\"\n }\n },\n \"lint-staged\": {\n \"*.{ts,js,tsx,jsx}\": [\n \"eslint --fix\",\n \"prettier --write\"\n ],\n \"*.json\": [\n \"prettier --write\"\n ]\n },\n \"devDependencies\": {\n \"@vtex/prettier-config\": \"^0.1.4\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-vtex\": \"^12.3.2\",\n \"eslint-config-vtex-react\": \"^6.3.2\",\n \"husky\": \"^4.2.3\",\n \"lint-staged\": \"^10.1.1\",\n \"prettier\": \"^2.0.2\",\n \"typescript\": \"^3.8.3\"\n }\n}\n\n```" } ]
code_icommkt_1a473965
[ { "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 icommkt/manifest.json from the icommkt VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"icommkt\",\n \"vendor\": \"vtex\",\n \"version\": \"0.0.1\",\n \"title\": \"Icommkt\",\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\": \"Icommkt\",\n \"type\": \"object\",\n \"properties\": {\n \"url\": {\n \"title\": \"Public domain\",\n \"description\": \"Enter the domain of the store. Example: www.store.com\",\n \"type\": \"string\"\n }\n }\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_checkout-summary_e1d620b3
[ { "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-summary/package.json from the checkout-summary VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"checkout-summary\",\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\": \"^12.12.21\",\n \"@vtex/prettier-config\": \"^0.3.1\",\n \"eslint\": \"^7.4.0\",\n \"eslint-config-vtex\": \"^12.7.0\",\n \"eslint-config-vtex-react\": \"^6.7.0\",\n \"husky\": \"^4.2.0\",\n \"lint-staged\": \"^10.0.2\",\n \"prettier\": \"^1.19.1\",\n \"typescript\": \"^3.7.5\"\n }\n}\n\n```" } ]
code_checkout-summary_7e9d4795
[ { "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-summary/manifest.json from the checkout-summary VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"checkout-summary\",\n \"version\": \"0.23.0\",\n \"title\": \"IO Summary Component\",\n \"description\": \"IO summary component to checkout\",\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 \"vtex.coupon\": \"0.x\",\n \"vtex.format-currency\": \"0.x\",\n \"vtex.order-coupon\": \"0.x\",\n \"vtex.formatted-price\": \"0.x\",\n \"vtex.flex-layout\": \"0.x\",\n \"vtex.css-handles\": \"0.x\",\n \"vtex.store-drawer\": \"0.x\",\n \"vtex.native-types\": \"0.x\",\n \"vtex.checkout-graphql\": \"0.x\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_salesforce-connector_075a402c
[ { "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 salesforce-connector/dangerfile.js from the salesforce-connector 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_salesforce-connector_2e7554ff
[ { "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 salesforce-connector/package.json from the salesforce-connector 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 \"messages/*.json\": [\n \"yarn lint:locales\"\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 \"eslint-config-vtex-react\": \"^6.8.3\",\n \"husky\": \"^4.3.6\",\n \"lint-staged\": \"^10.5.3\",\n \"prettier\": \"^2.2.1\",\n \"typescript\": \"^3.7.5\"\n },\n \"intl-equalizer\": {\n \"referenceLocale\": \"en\",\n \"localeDirectory\": \"messages\"\n }\n}\n```" } ]
code_salesforce-connector_fa210169
[ { "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 salesforce-connector/manifest.json from the salesforce-connector VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"salesforce-connector\",\n \"vendor\": \"vtex\",\n \"version\": \"3.0.5\",\n \"title\": \"Salesforce Connector\",\n \"description\": \"Reference app for VTEX IO Services\",\n \"mustUpdateAt\": \"2018-01-04\",\n \"categories\": [],\n \"billingOptions\": {\n \"type\": \"free\",\n \"support\": {\n \"email\": \"vtex-apps-support@titamedia.com\"\n },\n \"availableCountries\": [\"*\"]\n },\n \"dependencies\": {\n \"vtex.styleguide\": \"9.x\"\n },\n \"builders\": {\n \"node\": \"6.x\",\n \"docs\": \"0.x\",\n \"react\": \"3.x\",\n \"admin\": \"0.x\",\n \"messages\": \"1.x\"\n },\n \"scripts\": {},\n \"credentialType\": \"absolute\",\n \"policies\": [\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"*\",\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\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"httpstat.us\",\n \"path\": \"*\"\n }\n },\n {\n \"name\": \"outbound-access\",\n \"attrs\": {\n \"host\": \"{{account}}.vtexcommercestable.com.br\",\n \"path\": \"/api/*\"\n }\n },\n {\n \"name\": \"colossus-fire-event\"\n },\n {\n \"name\": \"colossus-write-logs\"\n },\n {\n \"name\": \"read-workspace-apps-assets\"\n },\n {\n \"name\": \"update-app-settings\"\n },\n {\n \"name\": \"install-apps\"\n }\n ],\n \"resolutions\": {\n \"graphql\": \"14.2.1\",\n \"expect\": \"28.1.3\",\n \"pretty-format\": \"28.1.3\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_sandbox_484bc641
[ { "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 sandbox/README.md from the sandbox VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# VTEX IO Sandbox Component\n\nAllows mounting arbitrary HTML content in extension points from the comfort and safety of an iframe.\n\n## Usage\n\nTo use this app, you need to include it in your `manifest.json` dependencies.\n\n```json\n \"dependencies\": {\n \"vtex.sandbox\": \"0.x\"\n }\n```\n\n### Example block\n\n```\n \"sandbox.product\": {\n \"props\": {\n \"width\": \"200px\",\n \"height\": \"60px\",\n \"initialContent\": \"<script src='https://unpkg.com/jquery@3.3.1/dist/jquery.min.js'></script><h1 id='test'>initial</h1><script>function render(){ current = window.props.productQuery.product.items.findIndex(function(p){ return p.itemId === window.props.query.skuId }); if (current === -1) {current = 0}; $('#test').html(window.props.productQuery.product.items[current].sellers[0].commertialOffer.ListPrice)}; window.addEventListener('message', function(e){ console.log('got message in product', e.data, window.props); render();});</script>\",\n \"allowCookies\": true\n }\n },\n \"sandbox.order\": {\n \"props\": {\n \"width\": \"200px\",\n \"height\": \"60px\",\n \"initialContent\": \"<script>console.log('Current orderForm: ', window.props.orderForm)</script>\",\n \"allowCookies\": true\n }\n },\n \"sandbox#home\": {\n \"props\": {\n \"width\": \"200px\",\n \"height\": \"60px\",\n \"initialContent\": \"<h1 id='test'>home</h1><script>console.log(props, document.cookie); window.addEventListener('message', function(e){ console.log('got message in home', window.props) });</script>\",\n \"allowCookies\": true\n }\n },\n \"store.home\": {\n \"blocks\": [\"carousel#home\", \"shelf#home\", \"sandbox#home\"]\n },\n \"store.product\": {\n \"blocks\": [\n \"product-details#default\",\n \"sandbox#product\"\n ]\n },\n```\n\n```" } ]
code_sandbox_217f949b
[ { "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 sandbox/manifest.json from the sandbox VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vendor\": \"vtex\",\n \"name\": \"sandbox\",\n \"version\": \"0.5.1\",\n \"title\": \"IO Sandbox Component\",\n \"description\": \"IO Sandbox component\",\n \"defaultLocale\": \"pt-BR\",\n \"builders\": {\n \"messages\": \"1.x\",\n \"store\": \"0.x\",\n \"react\": \"3.x\",\n \"docs\": \"0.x\"\n },\n \"mustUpdateAt\": \"2019-04-02\",\n \"dependencies\": {\n \"vtex.product-context\": \"0.x\",\n \"vtex.store-resources\": \"0.x\"\n },\n \"scripts\": {\n \"postreleasy\": \"vtex publish --verbose\"\n },\n \"$schema\": \"https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema\"\n}\n\n```" } ]
code_adyen-platforms_d6611875
[ { "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 adyen-platforms/package.json from the adyen-platforms VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"name\": \"adyen-platforms\",\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 \"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```" } ]