Skip to content

Commit 767413e

Browse files
bloodflsliwaradioluzBaroshemalefbarbelifilipsobol
authored
Merge in (#6242)
* 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 <[email protected]> * Update packages/core/docs/general/support.md Co-authored-by: igorwojciechowski <[email protected]> * Update packages/core/docs/general/support.md Co-authored-by: igorwojciechowski <[email protected]> * Update packages/core/docs/general/support.md Co-authored-by: igorwojciechowski <[email protected]> * 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 <[email protected]> * Update packages/core/docs/integrate/cms.md Co-authored-by: Filip Sobol <[email protected]> * Update packages/core/docs/integrate/cache-driver.md Co-authored-by: Filip Sobol <[email protected]> * docs: removed shopify from docs * Remove boilerplate.md * Update dependencies Co-authored-by: Filip Sobol <[email protected]> Co-authored-by: Filip Sobol <[email protected]> * 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 <[email protected]> * Update packages/core/docs/changelog/5891.js Co-authored-by: Filip Sobol <[email protected]> * Update packages/core/docs/changelog/5891.js Co-authored-by: Filip Sobol <[email protected]> * 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 <[email protected]> Co-authored-by: Filip Rakowski <[email protected]> * 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 <[email protected]> Co-authored-by: Heitor Ramon Ribeiro <[email protected]> * chore: added main as GutHub action possible branch Co-authored-by: Łukasz <[email protected]> Co-authored-by: Baroshem <[email protected]> Co-authored-by: Alef Barbeli <[email protected]> Co-authored-by: Filip Sobol <[email protected]> Co-authored-by: ljedrasik <[email protected]> Co-authored-by: Igor Wojciechowski <[email protected]> Co-authored-by: AdamPawlinski <[email protected]> Co-authored-by: Jakub Andrzejewski <[email protected]> Co-authored-by: Tom Anioł <[email protected]> Co-authored-by: Aureatelabs Team <[email protected]> Co-authored-by: Fifciuu <[email protected]> Co-authored-by: Filip Rakowski <[email protected]> Co-authored-by: lsliwaradioluz <[email protected]> Co-authored-by: Filip Jędrasik <[email protected]> Co-authored-by: Patryk Andrzejewski <[email protected]> Co-authored-by: lukasborawski <[email protected]> Co-authored-by: Filip Sobol <[email protected]> Co-authored-by: Georgiy Slobodenyuk <[email protected]> Co-authored-by: Jason Wolf <[email protected]> Co-authored-by: jason.wolf <[email protected]>
1 parent 915c33f commit 767413e

File tree

1,809 files changed

+86366
-80968
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,809 files changed

+86366
-80968
lines changed

.editorconfig

+8
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,11 @@ indent_size = 2
77
end_of_line = lf
88
insert_final_newline = true
99
trim_trailing_whitespace = true
10+
11+
[*.{js,jsx,ts,tsx,vue}]
12+
indent_style = space
13+
indent_size = 2
14+
end_of_line = lf
15+
trim_trailing_whitespace = true
16+
insert_final_newline = true
17+
max_line_length = 150

.env

-1
This file was deleted.

.eslintignore

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
core/build/*.js
2-
node_modules
3-
packages/module/*.js
1+
**/node_modules/**/*
2+
**/lib/*
3+
**/GraphQL.ts
4+
!**/.vuepress/**/*
5+
packages/boilerplate/composables/nuxt/plugin.js
6+
packages/commercetools/composables/nuxt/plugin.js
7+
packages/core/cache/nuxt/plugin.js

.eslintrc.js

-71
This file was deleted.

.eslintrc.json

+138
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
{
2+
"root": true,
3+
"extends": [
4+
"eslint:recommended",
5+
"plugin:@typescript-eslint/eslint-recommended",
6+
"plugin:@typescript-eslint/recommended"
7+
],
8+
"parser": "vue-eslint-parser",
9+
"parserOptions": {
10+
"parser": "@typescript-eslint/parser",
11+
"ecmaVersion": 2017,
12+
"sourceType": "module"
13+
},
14+
"plugins": ["vue", "@typescript-eslint"],
15+
"env": {
16+
"browser": true,
17+
"commonjs": true,
18+
"node": true,
19+
"jest": true
20+
},
21+
"globals": {
22+
"Promise": true,
23+
"process": true,
24+
"console": true,
25+
"Set": true,
26+
"Intl": true
27+
},
28+
"rules": {
29+
"eqeqeq": 2,
30+
"no-use-before-define": [
31+
2,
32+
{
33+
"functions": false
34+
}
35+
],
36+
"no-undef": 2,
37+
"no-unused-vars": 2,
38+
"brace-style": 2,
39+
"no-mixed-spaces-and-tabs": 2,
40+
"key-spacing": 2,
41+
"comma-spacing": 2,
42+
"array-bracket-spacing": 2,
43+
"space-in-parens": 2,
44+
"no-trailing-spaces": 2,
45+
"comma-dangle": 2,
46+
"comma-style": 2,
47+
"space-infix-ops": 2,
48+
"keyword-spacing": 2,
49+
"space-before-blocks": 2,
50+
"spaced-comment": 2,
51+
"no-multiple-empty-lines": [
52+
2,
53+
{
54+
"max": 1
55+
}
56+
],
57+
"complexity": 2,
58+
"max-depth": [
59+
2,
60+
{
61+
"max": 3
62+
}
63+
],
64+
"default-case": 0,
65+
"dot-notation": 2,
66+
"no-alert": 2,
67+
"no-empty-function": 0,
68+
"no-eval": 2,
69+
"no-extend-native": 2,
70+
"no-extra-bind": 2,
71+
"no-implicit-coercion": 2,
72+
"no-multi-spaces": 2,
73+
"no-useless-return": 2,
74+
"no-console": 0,
75+
"global-require": 1,
76+
"camelcase": 0,
77+
"computed-property-spacing": 2,
78+
"consistent-this": 2,
79+
"func-call-spacing": 2,
80+
"func-names": 0,
81+
"func-name-matching": 2,
82+
"func-style": [
83+
2,
84+
"declaration",
85+
{
86+
"allowArrowFunctions": true
87+
}
88+
],
89+
"indent": [
90+
2,
91+
2,
92+
{
93+
"SwitchCase": 1
94+
}
95+
],
96+
"line-comment-position": 2,
97+
"linebreak-style": 2,
98+
"lines-around-comment": 2,
99+
"max-statements-per-line": 2,
100+
"no-lonely-if": 2,
101+
"prefer-const": 2,
102+
"no-mixed-operators": 2,
103+
"no-multi-assign": 2,
104+
"no-unneeded-ternary": 2,
105+
"object-property-newline": [
106+
2,
107+
{
108+
"allowAllPropertiesOnSameLine": true
109+
}
110+
],
111+
"operator-linebreak": 2,
112+
"quote-props": [2, "as-needed"],
113+
"quotes": [2, "single"],
114+
"semi": 2,
115+
"semi-spacing": 2,
116+
"one-var": [2, "never"],
117+
"eol-last": 2,
118+
"newline-after-var": 0,
119+
"no-var": 2,
120+
"@typescript-eslint/no-empty-function": 0,
121+
"no-case-declarations": 0,
122+
"@typescript-eslint/no-var-requires": 0,
123+
"@typescript-eslint/no-explicit-any": 0,
124+
"@typescript-eslint/explicit-function-return-type": 0,
125+
"@typescript-eslint/no-unused-vars": 2,
126+
"@typescript-eslint/ban-ts-ignore": 0,
127+
"@typescript-eslint/explicit-module-boundary-types": 0
128+
},
129+
"overrides": [
130+
{
131+
"files": "*.ts",
132+
"rules": {
133+
"no-undef": "off",
134+
"no-unused-vars": "off"
135+
}
136+
}
137+
]
138+
}
+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: "🐛 Bug report"
2+
description: |
3+
Create a report to help us improve
4+
labels:
5+
- bug
6+
- triage-needed
7+
title: '[Bug]: '
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
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!
13+
- type: textarea
14+
attributes:
15+
label: Describe the Bug
16+
description: Can you provide a clear and concise description of the bug
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: currentbehavior
21+
attributes:
22+
label: Current behavior
23+
placeholder: Describe the current behavior pointing exactly why it's not working as intended
24+
- type: textarea
25+
id: expectedbehavior
26+
attributes:
27+
label: Expected behavior
28+
placeholder: Describe what the desired behavior should be
29+
validations:
30+
required: true
31+
- type: textarea
32+
id: reproduce
33+
attributes:
34+
label: Steps to reproduce
35+
placeholder: Please provide the steps to reproduce and if possible a minimal reproducible example of the problem
36+
- type: input
37+
attributes:
38+
label: What version of Vue Storefront are you using?
39+
description: 'For example: 2.3.4'
40+
validations:
41+
required: true
42+
- type: input
43+
attributes:
44+
label: What version of Node.js are you using?
45+
description: 'For example: 12.0.0'
46+
validations:
47+
required: true
48+
- type: input
49+
attributes:
50+
label: What browser (and version) are you using?
51+
description: 'For example: Chrome, Safari'
52+
validations:
53+
required: true
54+
- type: input
55+
attributes:
56+
label: What operating system (and version) are you using?
57+
description: 'For example: macOS, Windows'
58+
validations:
59+
required: true
60+
- type: textarea
61+
id: logs
62+
attributes:
63+
label: Relevant log output
64+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
65+
render: shell
66+
- type: checkboxes
67+
id: fixthebug
68+
attributes:
69+
label: Able to fix / change the documentation?
70+
description: Can you handle this change and create a Pull Request?
71+
options:
72+
- label: 'Yes'
73+
required: false
74+
- label: 'No'
75+
required: false
76+
- type: checkboxes
77+
id: terms
78+
attributes:
79+
label: Code of Conduct
80+
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)
81+
options:
82+
- label: I agree to follow this project's Code of Conduct
83+
required: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "📚 Documentation Issue"
2+
description: |
3+
Report issues in our documentation
4+
labels:
5+
- documentation
6+
- triage-needed
7+
body:
8+
- type: textarea
9+
attributes:
10+
label: Provide a description of requested docs changes
11+
placeholder: Briefly describe which document needs to be corrected.
12+
validations:
13+
required: true
14+
- type: checkboxes
15+
id: fixthebug
16+
attributes:
17+
label: Able to fix / change the documentation?
18+
description: Can you handle this change and create a Pull Request?
19+
options:
20+
- label: 'Yes'
21+
required: false
22+
- label: 'No'
23+
required: false
24+
- type: checkboxes
25+
id: terms
26+
attributes:
27+
label: Code of Conduct
28+
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)
29+
options:
30+
- label: I agree to follow this project's Code of Conduct
31+
required: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: "🚀 Feature Request"
2+
description: Sugest a new feature request or improvement on the project
3+
title: '[Feature]: '
4+
labels:
5+
- feature
6+
- enhancement
7+
- triage-needed
8+
9+
body:
10+
- type: markdown
11+
attributes:
12+
value: |
13+
Please, provide as many information, and knowledge so the feature can be correctly designed and developed.
14+
- type: textarea
15+
id: suggestion
16+
attributes:
17+
label: How the project can be improved?
18+
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.
19+
placeholder: Describe the motivation or the concrete use case
20+
validations:
21+
required: true
22+
- type: textarea
23+
id: acceptcriterea
24+
attributes:
25+
label: What are the acceptance criteria?
26+
description: List the acceptance criteria for this task in a form of a list.
27+
value: '- [ ]'
28+
- type: textarea
29+
id: additionalinfo
30+
attributes:
31+
label: Additional information
32+
description: If you think that any additional information would be useful please provide them here.
33+
- type: input
34+
attributes:
35+
label: What version of Vue Storefront this feature can be implemented?
36+
description: 'For example: 2.3.4'
37+
validations:
38+
required: true
39+
- type: checkboxes
40+
id: terms
41+
attributes:
42+
label: Code of Conduct
43+
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)
44+
options:
45+
- label: I agree to follow this project's Code of Conduct
46+
required: true

0 commit comments

Comments
 (0)