@akinon/projectzero 1.48.0-rc.7 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +2 -62
  2. package/README.md +2 -3
  3. package/app-template/.gitignore +0 -2
  4. package/app-template/.lintstagedrc.js +4 -5
  5. package/app-template/CHANGELOG.md +64 -1438
  6. package/app-template/docs/basic-setup.md +1 -1
  7. package/app-template/docs/plugins.md +7 -7
  8. package/app-template/package.json +20 -22
  9. package/app-template/public/locales/en/account.json +4 -4
  10. package/app-template/public/locales/tr/account.json +1 -1
  11. package/app-template/src/app/[commerce]/[locale]/[currency]/account/address/page.tsx +1 -1
  12. package/app-template/src/app/[commerce]/[locale]/[currency]/account/coupons/page.tsx +4 -4
  13. package/app-template/src/app/[commerce]/[locale]/[currency]/account/profile/page.tsx +0 -1
  14. package/app-template/src/app/[commerce]/[locale]/[currency]/category/[pk]/page.tsx +2 -5
  15. package/app-template/src/app/[commerce]/[locale]/[currency]/orders/completed/[token]/page.tsx +8 -12
  16. package/app-template/src/components/checkbox.tsx +2 -2
  17. package/app-template/src/components/input.tsx +7 -19
  18. package/app-template/src/components/pagination.tsx +18 -13
  19. package/app-template/src/components/price.tsx +4 -9
  20. package/app-template/src/redux/reducers/category.ts +1 -7
  21. package/app-template/src/settings.js +1 -6
  22. package/app-template/src/views/account/address-card.tsx +2 -2
  23. package/app-template/src/views/account/address-form.tsx +7 -22
  24. package/app-template/src/views/account/contact-form.tsx +6 -23
  25. package/app-template/src/views/account/favorite-item.tsx +2 -2
  26. package/app-template/src/views/account/favourite-products/favourite-products-list.tsx +1 -5
  27. package/app-template/src/views/breadcrumb.tsx +1 -4
  28. package/app-template/src/views/category/category-active-filters.tsx +6 -16
  29. package/app-template/src/views/category/category-info.tsx +17 -31
  30. package/app-template/src/views/category/filters/index.tsx +108 -16
  31. package/app-template/src/views/category/layout.tsx +3 -5
  32. package/app-template/src/views/checkout/steps/payment/options/credit-card/index.tsx +4 -33
  33. package/app-template/src/views/checkout/steps/payment/options/redirection.tsx +37 -43
  34. package/app-template/src/views/checkout/steps/payment/payment-option-buttons.tsx +3 -19
  35. package/app-template/src/views/checkout/steps/shipping/address-box.tsx +2 -2
  36. package/app-template/src/views/checkout/steps/shipping/addresses.tsx +1 -1
  37. package/app-template/src/views/checkout/steps/shipping/shipping-options.tsx +37 -230
  38. package/app-template/src/views/find-in-store/index.tsx +3 -2
  39. package/app-template/src/views/header/mobile-menu.tsx +8 -25
  40. package/app-template/src/views/product/product-info.tsx +2 -0
  41. package/app-template/tsconfig.json +4 -14
  42. package/app-template/yarn.lock +1953 -1824
  43. package/commands/create.ts +5 -29
  44. package/dist/commands/create.js +2 -25
  45. package/package.json +2 -2
  46. package/app-template/package-lock.json +0 -29303
  47. package/app-template/src/app/[commerce]/[locale]/[currency]/[...prettyurl]/page.tsx +0 -8
  48. package/app-template/src/views/category/filters/filter-item.tsx +0 -163
package/CHANGELOG.md CHANGED
@@ -1,38 +1,8 @@
1
1
  # @akinon/projectzero
2
2
 
3
- ## 1.48.0-rc.7
3
+ ## 1.49.0
4
4
 
5
- ## 1.48.0-rc.6
6
-
7
- ## 1.48.0-rc.5
8
-
9
- ## 1.48.0-rc.4
10
-
11
- ## 1.48.0-rc.3
12
-
13
- ### Minor Changes
14
-
15
- - 90282b53: ZERO-2729: Audit packages for yarn and npm and also update app-template
16
- - 03c4c3eb: ZERO-2731: Update Project Zero CLI command
17
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
18
- - 9b6bf91e: ZERO-2660: Change campaings to campaigns
19
- - 00ffde2f: ZERO-2637: enhance create command with improved messaging
20
- - d2f0f15c: ZERO-2723: Update sentry version and dependencies
21
-
22
- ## 1.48.0-rc.2
23
-
24
- ## 1.48.0-rc.1
25
-
26
- ## 1.48.0-rc.0
27
-
28
- ### Minor Changes
29
-
30
- - 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
31
- - 03c4c3e: ZERO-2731: Update Project Zero CLI command
32
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
33
- - 9b6bf91e: ZERO-2660: Change campaings to campaigns
34
- - 00ffde2f: ZERO-2637: enhance create command with improved messaging
35
- - d2f0f15: ZERO-2723: Update sentry version and dependencies
5
+ ## 1.48.0
36
6
 
37
7
  ## 1.47.0
38
8
 
@@ -79,36 +49,6 @@
79
49
  - cd78ddc: ZERO-2661: rename .npmignore to .gitignore during project creation
80
50
  - 735f4f0: ZERO-2661: create .npmignore in app-template
81
51
 
82
- ## 1.34.0-rc.16
83
-
84
- ### Minor Changes
85
-
86
- - cd78ddc: ZERO-2661: rename .npmignore to .gitignore during project creation
87
-
88
- ## 1.34.0-rc.15
89
-
90
- ### Minor Changes
91
-
92
- - 735f4f0: ZERO-2661: create .npmignore in app-template
93
-
94
- ## 1.34.0-rc.14
95
-
96
- ## 1.34.0-rc.13
97
-
98
- ## 1.34.0-rc.12
99
-
100
- ## 1.34.0-rc.11
101
-
102
- ## 1.34.0-rc.10
103
-
104
- ## 1.34.0-rc.9
105
-
106
- ## 1.34.0-rc.8
107
-
108
- ## 1.34.0-rc.7
109
-
110
- ## 1.34.0-rc.6
111
-
112
52
  ## 1.33.2
113
53
 
114
54
  ### Patch Changes
package/README.md CHANGED
@@ -11,9 +11,8 @@ npm install -g @akinon/projectzero
11
11
  ## Available Commands
12
12
 
13
13
  ### `create`
14
-
15
14
  It creates a new project.
16
15
 
17
16
  ```bash
18
- npx @akinon/projectzero@latest --create
19
- ```
17
+ npx @akinon/projectzero --create
18
+ ```
@@ -62,5 +62,3 @@ public/worker-*.js.map
62
62
  .sentryclirc
63
63
  next.config.original.js
64
64
  next.config.wizardcopy.js
65
-
66
- public/locales/*/index.json
@@ -1,11 +1,10 @@
1
1
  const path = require('path');
2
2
 
3
- const buildEslintCommand = (filenames) => {
4
- // Added --fix flag to automatically fix errors that can be fixed by ESLint
5
- return `next lint --file ${filenames
3
+ const buildEslintCommand = (filenames) =>
4
+ // TODO: Add --fix flag later
5
+ `next lint --file ${filenames
6
6
  .map((f) => path.relative(process.cwd(), f))
7
- .join(' --file ')} --fix`;
8
- };
7
+ .join(' --file ')}`;
9
8
 
10
9
  module.exports = {
11
10
  '**/*.(ts|tsx)': () => 'yarn tsc --noEmit',