@akinon/projectzero 1.34.0-rc.15 → 1.34.0-rc.17

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @akinon/projectzero
2
2
 
3
+ ## 1.34.0-rc.17
4
+
5
+ ### Minor Changes
6
+
7
+ - cd78ddc: ZERO-2661: rename .npmignore to .gitignore during project creation
8
+ - 735f4f0: ZERO-2661: create .npmignore in app-template
9
+
10
+ ## 1.34.0-rc.16
11
+
12
+ ### Minor Changes
13
+
14
+ - cd78ddc: ZERO-2661: rename .npmignore to .gitignore during project creation
15
+
3
16
  ## 1.34.0-rc.15
4
17
 
5
18
  ### Minor Changes
@@ -1,5 +1,67 @@
1
1
  # projectzeronext
2
2
 
3
+ ## 1.34.0-rc.17
4
+
5
+ ### Minor Changes
6
+
7
+ - 567e4c1: ZERO-2580:Add checked attribute from props to checkbox
8
+ - d09b677: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
9
+ - 27a5296: ZERO-2631:Fix Checkbox Click
10
+ - ebb63ce: ZERO-2525: Fix category facet removal bug and add close icon to active filters
11
+ - 74a1269: ZERO-2658:Edit product name clickability on completed order page
12
+ - 0d0f36c: ZERO-2598: Fix eslint warnings and update dependencies
13
+ - 91265bb: ZERO-2551: Improve pretty url and caching performance
14
+ - f0c23bc: ZERO-2135: add custom not found page
15
+ - 3420416: ZERO-2533: extend eslint config from @akinon/next
16
+ - beb499e: ZERO-2551: Add new tsconfig paths
17
+ - 6c18543: ZERO-2542:Refactor and show error in OneClickCheckoutButtons
18
+ - 202f84e: ZERO-2569: Fix static keys
19
+ - 4614eee: ZERO-2602: The script that checks the build for standalone projects
20
+ - f046f8e: ZERO-2575: update version for react-number-format
21
+ - 12c10a4: ZERO-2570: Category filters routes to absolute url
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [d09b677]
26
+ - Updated dependencies [6d4aadb]
27
+ - Updated dependencies [8e6e8cf]
28
+ - Updated dependencies [ebb63ce]
29
+ - Updated dependencies [7cebe87]
30
+ - Updated dependencies [616690d]
31
+ - Updated dependencies [f3b595e]
32
+ - Updated dependencies [91265bb]
33
+ - Updated dependencies [59fb7c3]
34
+ - Updated dependencies [bbe18b9]
35
+ - Updated dependencies [f0c23bc]
36
+ - Updated dependencies [3420416]
37
+ - Updated dependencies [495d155]
38
+ - Updated dependencies [beb499e]
39
+ - Updated dependencies [6c18543]
40
+ - Updated dependencies [40ad73e]
41
+ - Updated dependencies [495d155]
42
+ - Updated dependencies [f046f8e]
43
+ - Updated dependencies [6b2972b]
44
+ - Updated dependencies [3e68768]
45
+ - @akinon/next@1.34.0-rc.17
46
+ - @akinon/pz-masterpass@1.34.0-rc.17
47
+ - @akinon/pz-one-click-checkout@1.34.0-rc.17
48
+ - @akinon/pz-b2b@1.34.0-rc.17
49
+ - @akinon/pz-gpay@1.34.0-rc.17
50
+ - @akinon/pz-otp@1.34.0-rc.17
51
+ - @akinon/pz-pay-on-delivery@1.34.0-rc.17
52
+
53
+ ## 1.34.0-rc.16
54
+
55
+ ### Patch Changes
56
+
57
+ - @akinon/next@1.34.0-rc.16
58
+ - @akinon/pz-b2b@1.34.0-rc.16
59
+ - @akinon/pz-gpay@1.34.0-rc.16
60
+ - @akinon/pz-masterpass@1.34.0-rc.16
61
+ - @akinon/pz-one-click-checkout@1.34.0-rc.16
62
+ - @akinon/pz-otp@1.34.0-rc.16
63
+ - @akinon/pz-pay-on-delivery@1.34.0-rc.16
64
+
3
65
  ## 1.34.0-rc.15
4
66
 
5
67
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "1.34.0-rc.15",
3
+ "version": "1.34.0-rc.17",
4
4
  "private": true,
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -22,13 +22,13 @@
22
22
  "prestart": "pz-prestart"
23
23
  },
24
24
  "dependencies": {
25
- "@akinon/next": "1.34.0-rc.15",
26
- "@akinon/pz-b2b": "1.34.0-rc.15",
27
- "@akinon/pz-gpay": "1.34.0-rc.15",
28
- "@akinon/pz-masterpass": "1.34.0-rc.15",
29
- "@akinon/pz-one-click-checkout": "1.34.0-rc.15",
30
- "@akinon/pz-otp": "1.34.0-rc.15",
31
- "@akinon/pz-pay-on-delivery": "1.34.0-rc.15",
25
+ "@akinon/next": "1.34.0-rc.17",
26
+ "@akinon/pz-b2b": "1.34.0-rc.17",
27
+ "@akinon/pz-gpay": "1.34.0-rc.17",
28
+ "@akinon/pz-masterpass": "1.34.0-rc.17",
29
+ "@akinon/pz-one-click-checkout": "1.34.0-rc.17",
30
+ "@akinon/pz-otp": "1.34.0-rc.17",
31
+ "@akinon/pz-pay-on-delivery": "1.34.0-rc.17",
32
32
  "@hookform/resolvers": "2.9.0",
33
33
  "@next/third-parties": "14.1.0",
34
34
  "@react-google-maps/api": "2.17.1",
@@ -52,7 +52,7 @@
52
52
  "yup": "0.32.11"
53
53
  },
54
54
  "devDependencies": {
55
- "@akinon/eslint-plugin-projectzero": "1.34.0-rc.15",
55
+ "@akinon/eslint-plugin-projectzero": "1.34.0-rc.17",
56
56
  "@semantic-release/changelog": "6.0.2",
57
57
  "@semantic-release/exec": "6.0.3",
58
58
  "@semantic-release/git": "10.0.1",
@@ -108,6 +108,17 @@ function createEnvironmentFile(projectDir: string) {
108
108
  fs.copyFileSync(`${projectDir}/.env.example`, `${projectDir}/.env`);
109
109
  }
110
110
 
111
+ function checkGitignore(projectDir: string) {
112
+ const gitignorePath = path.join(projectDir, '.gitignore');
113
+ const npmignorePath = path.join(projectDir, '.npmignore');
114
+
115
+ if (!fs.existsSync(gitignorePath)) {
116
+ fs.renameSync(npmignorePath, gitignorePath);
117
+ } else if (fs.existsSync(npmignorePath)) {
118
+ fs.rmSync(npmignorePath);
119
+ }
120
+ }
121
+
111
122
  export default async (): Promise<void> => {
112
123
  const minNodeVersion = 18;
113
124
  const currentNodeVersion = parseInt(
@@ -143,6 +154,7 @@ export default async (): Promise<void> => {
143
154
 
144
155
  updatePluginsFile(projectDir);
145
156
  createEnvironmentFile(projectDir);
157
+ checkGitignore(projectDir);
146
158
 
147
159
  if (answers.projectDescription) {
148
160
  updateFileContents(path.join(projectDir, 'akinon.json'), {
@@ -112,6 +112,13 @@ function updatePluginsFile(projectDir) {
112
112
  function createEnvironmentFile(projectDir) {
113
113
  fs.copyFileSync(`${projectDir}/.env.example`, `${projectDir}/.env`);
114
114
  }
115
+ function checkGitignore(projectDir) {
116
+ const gitignorePath = path_1.default.join(projectDir, '.gitignore');
117
+ const npmignorePath = path_1.default.join(projectDir, '.npmignore');
118
+ if (!fs.existsSync(gitignorePath)) {
119
+ fs.renameSync(npmignorePath, gitignorePath);
120
+ }
121
+ }
115
122
  exports.default = () => __awaiter(void 0, void 0, void 0, function* () {
116
123
  const minNodeVersion = 18;
117
124
  const currentNodeVersion = parseInt(process.version.replace('v', '').split('.')[0]);
@@ -129,6 +136,7 @@ exports.default = () => __awaiter(void 0, void 0, void 0, function* () {
129
136
  fs.cpSync(templatesDir, projectDir, { recursive: true });
130
137
  updatePluginsFile(projectDir);
131
138
  createEnvironmentFile(projectDir);
139
+ checkGitignore(projectDir);
132
140
  if (answers.projectDescription) {
133
141
  updateFileContents(path_1.default.join(projectDir, 'akinon.json'), {
134
142
  description: answers.projectDescription
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/projectzero",
3
- "version": "1.34.0-rc.15",
3
+ "version": "1.34.0-rc.17",
4
4
  "private": false,
5
5
  "description": "CLI tool to manage your Project Zero Next project",
6
6
  "bin": {