Skip to content

Commit

Permalink
Merge in (#6242)
Browse files Browse the repository at this point in the history
* Same changes for billing and shipping address forms

* fix: fixed Nuxt-CLI spamming babel warning due plugin configuration (#6123)

* fix(commercetools:theme): fixed Nuxt-CLI spamming babel warning due plugin configuration

* fix(boilerplate:theme): fixed Nuxt-CLI spamming babel warning due plugin configuration

* docs(core): added the changelog for #6123

* fix(boilerplate:theme): applied eslint rules

* Move and refactor the helper

* Add unit tests

* Refactor unit tests to use AAA pattern

* Store expected statusCode in a separate const

* fix(ct/core): update locale links

* fix(ct/core): add changelog

* refactor: updates form validation scheme for street, number and city (#6122)

* refactor(commercetools:theme): updated form validation rules

* refactor(core:nuxt-theme-modules): updated form validation rules

* docs(core): added changelog file for PR #6122

* docs(commercetools): added changelog file for PR #6122

* fix-#6132(ct:api-client): add total to query

* fix-#6132(ct:composable): return all orders from query

* fix-#6132(core): change default orders value

* fix-#6132(ct:composable): create getOrdersTotal getter

* fix-#6132(core:theme): adjust template to new orders

* fix-#6132(core/ct): fix unit tests

* fix-#6132(core): add changelogs

* fix-#6132(docs): add docs for new changes

* fix-#6132(test): fix types and tests

* Fix validate boilerplate

* fix(ct/core): use object syntax for links

* [Docs] Update Integrations page (#6135)

* fix-#6132(ct): add other fields to query

* [Docs] Update integrations page (#6139)

* Minor fixes in core (#6061)

* Fix images in docs (#6140)

* test

* test

* test

* test

* test

* test

* test

* remove unused commands

* update docs build commands

* workaround for api-extractor

* remove typedoc

* Generate md flies command

* update

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test size 1024

* test size 2048

* test size 4096

* remove commands

* Synchronize with the Boilerplate repository (#6125)

* test

* uncomment deploy action

* docs: add migration guide v2.4.0

* docs: add 2.4.0 doc link to index.md

* fx: changes after CR

* fix: add i18n for boilerplate

* Update Readme (Supported platforms)

Update links & status of Supported platforms

* Update: Shopify DOC

* Add support section

* fix(core): use orderGetters for id

* docs: add missing changes in migration guide

* Update packages/core/docs/general/support.md

Co-authored-by: igorwojciechowski <igorxwojciechowski@gmail.com>

* Update packages/core/docs/general/support.md

Co-authored-by: igorwojciechowski <igorxwojciechowski@gmail.com>

* Update packages/core/docs/general/support.md

Co-authored-by: igorwojciechowski <igorxwojciechowski@gmail.com>

* Update packages/core/docs/general/support.md

Co-authored-by: igorwojciechowski <igorxwojciechowski@gmail.com>

* fix: lint and i18n interpolation

* fix: remove console

* test: Extend happy path e2e test for registered customer

  + Update templates with 'v-e2e' directive

* chore: algolia docs link and typo fix

* Update first page of Shopify Docs

* Shopify Docs first page - Links listing repair

* Updated suggessons

* fix: remove mobile observer causing infinite loop error

* Linking repaired

* Updated Shopify DOC

* Updated vuepress config.js

* refactor(api-cliente): removed Customer changes

* chore: removed beta tag from Shopify (#6143)

* chore(core:cli): removed beta tag from Shopify

* chore: removed beta tag from Shopify

* chore(docs): adds the changelog file to PR #6143

* chore(chore:cli): applied eslint rules

* feat(api-client): added getInventory api

* Updated maintainers pictures

* feat(commercetools:api-client): add config channel

* fix: change email submit event name

* refactor: generate api ref on server side

* feat(ct): add InventoryMode to createCart

  - extend middleware config with inventoryMode
  - update Cart fragment
  - update Payment template - notification is being displayed on make
  order error

* Add changelog file

* docs(ct): update configuration docs with inventoryMode

  - remove `inventoryMode` option from middleware config

* refactor(commercetools): fix the frontend client bundling the commercetools-sdk and apollo client (#6066)

* refactor: updated the applyCoupon interface to match the removeCoupon (#6126)

* chore: enterprise

* fix: fix conflicts with next branch

* fix(commercetools): removed wrong config

* fix: add api ref to gitignore

* new line at the end of file

* Add changelog file

* fix: MyAccount page rendering

* chore: add changelog

* fix-#5886: lint fix

* fix-#5886: cr fixes

* Revert "Sync next"

* docs: add inventory mode note to ct migration guide

* feat(commercetools): added changeChannel feature

* feat(commercetools): added product Availability

* fix(commercetools): wrong prop access

* fix(commercetools): fix object prop

* refactor(commercetools:api-client): updated the addToCart method to new signature

* refactor(commercetools:composeables): updated the useCart composable to match the addToCart

* docs(commercetools): added the base changelog

* refactor(commercetools): removed channel cookie

* refactor(commercetools): updated changelog

* Update packages/core/docs/commercetools/changelog/6161.js

* docs: add multistore note to ct migration guide

* docs: add missing punctuation

* chore: versions bump - core to 2.4 and ct to 1.3

* chore(docs): changelog update

* refactor(api-client): applied eslint rules

* refactor(composables): applied eslint rules

* refactor(composables): fixed useCart test

* refactor(composables): fixed addToCart test

* refactor(api-client): applied eslint rules

* fix(commercetools): fixed useStore tests

* fix: add missing mobile menu for ct

* chore: changelog

* revert onMounted

* fix

* docs: update demo url

* chore: version bump for ct theme

* fix: ct theme package schema

* test

* api refs generated correct

* fix

* add commands to yarn dev

* fix path to types

* Get rid of unnecessary part

* build test

* test

* Fix missing index.d.ts

* update path to types in package.json

* bp fix

* tsconfig update

* fix: remove merge conflict tags

* docs: restore missing changes

* Use tilde in VSF dependencies (#6197)

* Backport fixes from boilerplate repo (#6199)

* Fix `@vue-storefront/cache` package (#6198)

* Use `isomorphic-git` instead of native GIT client (#6201)

* Revert changes to Webpack configuration and Google font loading (#6203)

* tests(e2e): update addToCart request body

* docs: add changelog for #6205

* chore(e2e): change build mode in e2e workflows

* chore: version bump to 2.4.1 for core and 1.3.1 for ct

* chore: changelog update

* chore: ct changelog update

* tests(e2e): add e2e tests for MyAccount

  + add v-e2e directives to ProfileUpdateForm.vue

* chore: repository standardization (#6130)

* docs: added CODE_OF_CONDUCT.md

* docs: added CONTRIBUTING.md

* docs: added LICENSE.md

* chore: added .gitpod.yml

* chore: added .editorconfig

* chore: added commitlint and commitizen

* chore: updated package.json to fix commitizen

* chore: updated github issue template

* docs(docs): changed docs pointing to slack to Discord instead

* docs(docs): added contributing documentation

* docs: added docs for the integration boilerplate

* chore: updated PULL_REQUEST_TEMPLATE.md

* chore: updated README.md

* chore: removed pull request template folder

* chore: added missign commitlint cli package

* docs: added initial checklist for the integration

* docs: updated checklists

* docs: added good-practices.md

* docs: updated good-practices.md to add projects roadmap

* docs: fixed typo in the checklist.md

* chore: updated husky to 7.0.1

* docs: enhanced the good-practices.md documentation

* chore: rollback husky to 4

* chore: removed shopify from docs

* Update packages/core/docs/integrate/integration-guide.md

Co-authored-by: Filip Sobol <filipsobol@users.noreply.github.com>

* Update packages/core/docs/integrate/cms.md

Co-authored-by: Filip Sobol <filipsobol@users.noreply.github.com>

* Update packages/core/docs/integrate/cache-driver.md

Co-authored-by: Filip Sobol <filipsobol@users.noreply.github.com>

* docs: removed shopify from docs

* Remove boilerplate.md

* Update dependencies

Co-authored-by: Filip Sobol <filipsobol@users.noreply.github.com>
Co-authored-by: Filip Sobol <sobol.filip@gmail.com>

* tests(e2e): add e2e tests for MyAccount

* tests(e2e): add email assertion on Change Password tab

* tests(e2e): fix code formatting

* fix: redirect to 404 page when category page does not exist

* update

* fix(core): add debounce for updateCartQuantity

* chore: move vsf1 to separate folder

* chore: move vsf1 to separate folder

* chore: moved VSF-1 to https://github.com/vuestorefront/vue-storefront-1

* chore: added .gitignore

* Sync `next` with `release/next` (#6236)

* Remove old commands and fix core tests (#6097)

* remove unused checkoutGetters

* update changelog

* Update packages/core/docs/changelog/5891.js

Co-authored-by: Filip Sobol <filipsobol@users.noreply.github.com>

* Update packages/core/docs/changelog/5891.js

Co-authored-by: Filip Sobol <filipsobol@users.noreply.github.com>

* Update packages/core/docs/changelog/5891.js

Co-authored-by: Filip Sobol <filipsobol@users.noreply.github.com>

* chore: updated GitHub actions branches

* fix: remove 'download all' button

* update changelog

* chore: adds the stale-bot (#6247)

* chore: adds the stale-bot

* Update .github/stale.yml

Co-authored-by: Filip Rakowski <f.rakowskI@hotmail.com>

Co-authored-by: Filip Rakowski <f.rakowskI@hotmail.com>

* feat: add Vendure template beta to cli

* Fix typo (#5792)

integartions... => integrations...

* Bug/6099 missing dependency (#6100)

* bug/6089-incorrect-method --> resolved

* bug/6089-incorrect-method --> commit changelog

* bug/6099-missing-dependency

* bug/6099-missing-dependency -changelog

* Delete 6089.js

Co-authored-by: jason.wolf <jason.wolf@borngroup.com>
Co-authored-by: Heitor Ramon Ribeiro <heitor.ramon@gmail.com>

* chore: added main as GutHub action possible branch

Co-authored-by: Łukasz <lsliwaradioluz@gmail.com>
Co-authored-by: Baroshem <jakub.andrzejewski.dev@gmail.com>
Co-authored-by: Alef Barbeli <alefbarbeli@gmail.com>
Co-authored-by: Filip Sobol <filipsobol@users.noreply.github.com>
Co-authored-by: ljedrasik <ljedrasik@vuestorefront.io>
Co-authored-by: Igor Wojciechowski <igorxwojciechowski@gmail.com>
Co-authored-by: AdamPawlinski <apawlinski@vuestorefront.io>
Co-authored-by: Jakub Andrzejewski <37120330+Baroshem@users.noreply.github.com>
Co-authored-by: Tom Anioł <33483514+tom-aniol@users.noreply.github.com>
Co-authored-by: Aureatelabs Team <hello@aureatelabs.com>
Co-authored-by: Fifciuu <fjedrasik@vuestorefront.io>
Co-authored-by: Filip Rakowski <f.rakowskI@hotmail.com>
Co-authored-by: lsliwaradioluz <39009379+lsliwaradioluz@users.noreply.github.com>
Co-authored-by: Filip Jędrasik <filip.jdrasik@gmail.com>
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
Co-authored-by: lukasborawski <lukas.borawski@gmail.com>
Co-authored-by: Filip Sobol <sobol.filip@gmail.com>
Co-authored-by: Georgiy Slobodenyuk <georgiy@absoluteweb.com>
Co-authored-by: Jason Wolf <jaydubb12@gmail.com>
Co-authored-by: jason.wolf <jason.wolf@borngroup.com>
  • Loading branch information
21 people authored Sep 2, 2021
1 parent 915c33f commit 767413e
Show file tree
Hide file tree
Showing 1,809 changed files with 86,366 additions and 80,968 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 150
1 change: 0 additions & 1 deletion .env

This file was deleted.

10 changes: 7 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
core/build/*.js
node_modules
packages/module/*.js
**/node_modules/**/*
**/lib/*
**/GraphQL.ts
!**/.vuepress/**/*
packages/boilerplate/composables/nuxt/plugin.js
packages/commercetools/composables/nuxt/plugin.js
packages/core/cache/nuxt/plugin.js
71 changes: 0 additions & 71 deletions .eslintrc.js

This file was deleted.

138 changes: 138 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": 2017,
"sourceType": "module"
},
"plugins": ["vue", "@typescript-eslint"],
"env": {
"browser": true,
"commonjs": true,
"node": true,
"jest": true
},
"globals": {
"Promise": true,
"process": true,
"console": true,
"Set": true,
"Intl": true
},
"rules": {
"eqeqeq": 2,
"no-use-before-define": [
2,
{
"functions": false
}
],
"no-undef": 2,
"no-unused-vars": 2,
"brace-style": 2,
"no-mixed-spaces-and-tabs": 2,
"key-spacing": 2,
"comma-spacing": 2,
"array-bracket-spacing": 2,
"space-in-parens": 2,
"no-trailing-spaces": 2,
"comma-dangle": 2,
"comma-style": 2,
"space-infix-ops": 2,
"keyword-spacing": 2,
"space-before-blocks": 2,
"spaced-comment": 2,
"no-multiple-empty-lines": [
2,
{
"max": 1
}
],
"complexity": 2,
"max-depth": [
2,
{
"max": 3
}
],
"default-case": 0,
"dot-notation": 2,
"no-alert": 2,
"no-empty-function": 0,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-implicit-coercion": 2,
"no-multi-spaces": 2,
"no-useless-return": 2,
"no-console": 0,
"global-require": 1,
"camelcase": 0,
"computed-property-spacing": 2,
"consistent-this": 2,
"func-call-spacing": 2,
"func-names": 0,
"func-name-matching": 2,
"func-style": [
2,
"declaration",
{
"allowArrowFunctions": true
}
],
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"line-comment-position": 2,
"linebreak-style": 2,
"lines-around-comment": 2,
"max-statements-per-line": 2,
"no-lonely-if": 2,
"prefer-const": 2,
"no-mixed-operators": 2,
"no-multi-assign": 2,
"no-unneeded-ternary": 2,
"object-property-newline": [
2,
{
"allowAllPropertiesOnSameLine": true
}
],
"operator-linebreak": 2,
"quote-props": [2, "as-needed"],
"quotes": [2, "single"],
"semi": 2,
"semi-spacing": 2,
"one-var": [2, "never"],
"eol-last": 2,
"newline-after-var": 0,
"no-var": 2,
"@typescript-eslint/no-empty-function": 0,
"no-case-declarations": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-unused-vars": 2,
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/explicit-module-boundary-types": 0
},
"overrides": [
{
"files": "*.ts",
"rules": {
"no-undef": "off",
"no-unused-vars": "off"
}
}
]
}
83 changes: 83 additions & 0 deletions .github/ISSUE_TEMPLATE/1.bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: "🐛 Bug report"
description: |
Create a report to help us improve
labels:
- bug
- triage-needed
title: '[Bug]: '
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report, please make sure to [search for existing issues](https://github.com/vuestorefront/vue-storefront/issues) before filing a new one!
- type: textarea
attributes:
label: Describe the Bug
description: Can you provide a clear and concise description of the bug
validations:
required: true
- type: textarea
id: currentbehavior
attributes:
label: Current behavior
placeholder: Describe the current behavior pointing exactly why it's not working as intended
- type: textarea
id: expectedbehavior
attributes:
label: Expected behavior
placeholder: Describe what the desired behavior should be
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
placeholder: Please provide the steps to reproduce and if possible a minimal reproducible example of the problem
- type: input
attributes:
label: What version of Vue Storefront are you using?
description: 'For example: 2.3.4'
validations:
required: true
- type: input
attributes:
label: What version of Node.js are you using?
description: 'For example: 12.0.0'
validations:
required: true
- type: input
attributes:
label: What browser (and version) are you using?
description: 'For example: Chrome, Safari'
validations:
required: true
- type: input
attributes:
label: What operating system (and version) are you using?
description: 'For example: macOS, Windows'
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: checkboxes
id: fixthebug
attributes:
label: Able to fix / change the documentation?
description: Can you handle this change and create a Pull Request?
options:
- label: 'Yes'
required: false
- label: 'No'
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/vuestorefront/vue-storefront/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/2.documentation-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "📚 Documentation Issue"
description: |
Report issues in our documentation
labels:
- documentation
- triage-needed
body:
- type: textarea
attributes:
label: Provide a description of requested docs changes
placeholder: Briefly describe which document needs to be corrected.
validations:
required: true
- type: checkboxes
id: fixthebug
attributes:
label: Able to fix / change the documentation?
description: Can you handle this change and create a Pull Request?
options:
- label: 'Yes'
required: false
- label: 'No'
required: false
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/vuestorefront/vue-storefront/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/3.feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "🚀 Feature Request"
description: Sugest a new feature request or improvement on the project
title: '[Feature]: '
labels:
- feature
- enhancement
- triage-needed

body:
- type: markdown
attributes:
value: |
Please, provide as many information, and knowledge so the feature can be correctly designed and developed.
- type: textarea
id: suggestion
attributes:
label: How the project can be improved?
description: What is the motivation for adding / enhancing this feature? Can you describe a concrete use case for this feature or why one of current ones should be enhanced.
placeholder: Describe the motivation or the concrete use case
validations:
required: true
- type: textarea
id: acceptcriterea
attributes:
label: What are the acceptance criteria?
description: List the acceptance criteria for this task in a form of a list.
value: '- [ ]'
- type: textarea
id: additionalinfo
attributes:
label: Additional information
description: If you think that any additional information would be useful please provide them here.
- type: input
attributes:
label: What version of Vue Storefront this feature can be implemented?
description: 'For example: 2.3.4'
validations:
required: true
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/vuestorefront/vue-storefront/blob/master/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
Loading

0 comments on commit 767413e

Please sign in to comment.