@akinon/projectzero 1.46.0 → 1.47.0-rc.1

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 (45) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +3 -2
  3. package/app-template/.lintstagedrc.js +5 -4
  4. package/app-template/CHANGELOG.md +1229 -33
  5. package/app-template/docs/basic-setup.md +1 -1
  6. package/app-template/docs/plugins.md +7 -7
  7. package/app-template/package-lock.json +29303 -0
  8. package/app-template/package.json +23 -21
  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]/[...prettyurl]/page.tsx +8 -0
  12. package/app-template/src/app/[commerce]/[locale]/[currency]/account/address/page.tsx +1 -1
  13. package/app-template/src/app/[commerce]/[locale]/[currency]/account/coupons/page.tsx +4 -4
  14. package/app-template/src/app/[commerce]/[locale]/[currency]/account/profile/page.tsx +1 -0
  15. package/app-template/src/app/[commerce]/[locale]/[currency]/category/[pk]/page.tsx +5 -2
  16. package/app-template/src/app/[commerce]/[locale]/[currency]/orders/completed/[token]/page.tsx +12 -8
  17. package/app-template/src/components/checkbox.tsx +2 -2
  18. package/app-template/src/components/input.tsx +19 -7
  19. package/app-template/src/components/price.tsx +9 -4
  20. package/app-template/src/redux/reducers/category.ts +7 -1
  21. package/app-template/src/settings.js +6 -1
  22. package/app-template/src/views/account/address-card.tsx +2 -2
  23. package/app-template/src/views/account/address-form.tsx +22 -7
  24. package/app-template/src/views/account/contact-form.tsx +23 -6
  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 +5 -1
  27. package/app-template/src/views/breadcrumb.tsx +4 -1
  28. package/app-template/src/views/category/category-info.tsx +31 -17
  29. package/app-template/src/views/category/filters/filter-item.tsx +131 -0
  30. package/app-template/src/views/category/filters/index.tsx +5 -105
  31. package/app-template/src/views/category/layout.tsx +5 -3
  32. package/app-template/src/views/checkout/steps/payment/options/credit-card/index.tsx +33 -4
  33. package/app-template/src/views/checkout/steps/payment/options/redirection.tsx +43 -37
  34. package/app-template/src/views/checkout/steps/payment/payment-option-buttons.tsx +19 -3
  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 +230 -37
  38. package/app-template/src/views/find-in-store/index.tsx +2 -3
  39. package/app-template/src/views/header/mobile-menu.tsx +25 -8
  40. package/app-template/src/views/product/product-info.tsx +0 -2
  41. package/app-template/tsconfig.json +14 -4
  42. package/app-template/yarn.lock +1824 -1953
  43. package/commands/create.ts +29 -5
  44. package/dist/commands/create.js +25 -2
  45. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 1.47.0-rc.1
4
+
5
+ ## 1.47.0-rc.0
6
+
7
+ ### Minor Changes
8
+
9
+ - 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
10
+ - 03c4c3e: ZERO-2731: Update Project Zero CLI command
11
+ - 64699d3: ZERO-2761: Fix invalid import for plugin module
12
+ - 9b6bf91: ZERO-2660: Change campaings to campaigns
13
+ - 00ffde2f: ZERO-2637: enhance create command with improved messaging
14
+ - d2f0f15: ZERO-2723: Update sentry version and dependencies
15
+
3
16
  ## 1.46.0
4
17
 
5
18
  ### Minor Changes
@@ -43,6 +56,36 @@
43
56
  - cd78ddc: ZERO-2661: rename .npmignore to .gitignore during project creation
44
57
  - 735f4f0: ZERO-2661: create .npmignore in app-template
45
58
 
59
+ ## 1.34.0-rc.16
60
+
61
+ ### Minor Changes
62
+
63
+ - cd78ddc: ZERO-2661: rename .npmignore to .gitignore during project creation
64
+
65
+ ## 1.34.0-rc.15
66
+
67
+ ### Minor Changes
68
+
69
+ - 735f4f0: ZERO-2661: create .npmignore in app-template
70
+
71
+ ## 1.34.0-rc.14
72
+
73
+ ## 1.34.0-rc.13
74
+
75
+ ## 1.34.0-rc.12
76
+
77
+ ## 1.34.0-rc.11
78
+
79
+ ## 1.34.0-rc.10
80
+
81
+ ## 1.34.0-rc.9
82
+
83
+ ## 1.34.0-rc.8
84
+
85
+ ## 1.34.0-rc.7
86
+
87
+ ## 1.34.0-rc.6
88
+
46
89
  ## 1.33.2
47
90
 
48
91
  ### Patch Changes
package/README.md CHANGED
@@ -11,8 +11,9 @@ npm install -g @akinon/projectzero
11
11
  ## Available Commands
12
12
 
13
13
  ### `create`
14
+
14
15
  It creates a new project.
15
16
 
16
17
  ```bash
17
- npx @akinon/projectzero --create
18
- ```
18
+ npx @akinon/projectzero@latest --create
19
+ ```
@@ -1,10 +1,11 @@
1
1
  const path = require('path');
2
2
 
3
- const buildEslintCommand = (filenames) =>
4
- // TODO: Add --fix flag later
5
- `next lint --file ${filenames
3
+ const buildEslintCommand = (filenames) => {
4
+ // Added --fix flag to automatically fix errors that can be fixed by ESLint
5
+ return `next lint --file ${filenames
6
6
  .map((f) => path.relative(process.cwd(), f))
7
- .join(' --file ')}`;
7
+ .join(' --file ')} --fix`;
8
+ };
8
9
 
9
10
  module.exports = {
10
11
  '**/*.(ts|tsx)': () => 'yarn tsc --noEmit',