@akinon/projectzero 1.34.0-rc.2 → 1.34.0-rc.3

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,19 +1,19 @@
1
1
  # @akinon/projectzero
2
2
 
3
- ## 1.34.0-rc.2
3
+ ## 1.34.0-rc.3
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 10123f9: ZERO-2632: rename projectzero-cli to projectzero
7
+ - 0d1553f: ZERO-2633: fix .env file creation for create command
8
+
9
+ ## 1.34.0-rc.0
8
10
 
9
- ## 1.34.0-rc.1
11
+ ## 1.33.1
10
12
 
11
13
  ### Patch Changes
12
14
 
13
15
  - 10123f9: ZERO-2632: rename projectzero-cli to projectzero
14
16
 
15
- ## 1.34.0-rc.0
16
-
17
17
  ## 1.33.0
18
18
 
19
19
  ### Minor Changes
@@ -1,58 +1,16 @@
1
1
  # projectzeronext
2
2
 
3
- ## 1.34.0-rc.2
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
- - ebb63ce: ZERO-2525: Fix category facet removal bug and add close icon to active filters
10
- - f0c23bc: ZERO-2135: add custom not found page
11
- - 3420416: ZERO-2533: extend eslint config from @akinon/next
12
- - 6c18543: ZERO-2542:Refactor and show error in OneClickCheckoutButtons
13
- - 202f84e: ZERO-2569: Fix static keys
14
- - f046f8e: ZERO-2575: update version for react-number-format
15
- - 12c10a4: ZERO-2570: Category filters routes to absolute url
16
-
17
- ### Patch Changes
18
-
19
- - 10123f9: ZERO-2632: rename projectzero-cli to projectzero
20
- - Updated dependencies [d09b677]
21
- - Updated dependencies [6d4aadb]
22
- - Updated dependencies [ebb63ce]
23
- - Updated dependencies [7cebe87]
24
- - Updated dependencies [f3b595e]
25
- - Updated dependencies [10123f9]
26
- - Updated dependencies [f0c23bc]
27
- - Updated dependencies [3420416]
28
- - Updated dependencies [495d155]
29
- - Updated dependencies [6c18543]
30
- - Updated dependencies [40ad73e]
31
- - Updated dependencies [495d155]
32
- - Updated dependencies [f046f8e]
33
- - Updated dependencies [6b2972b]
34
- - Updated dependencies [3e68768]
35
- - @akinon/next@1.34.0-rc.2
36
- - @akinon/pz-masterpass@1.34.0-rc.2
37
- - @akinon/pz-one-click-checkout@1.34.0-rc.2
38
- - @akinon/pz-b2b@1.34.0-rc.2
39
- - @akinon/pz-gpay@1.34.0-rc.2
40
- - @akinon/pz-otp@1.34.0-rc.2
41
- - @akinon/pz-pay-on-delivery@1.34.0-rc.2
42
-
43
- ## 1.34.0-rc.1
3
+ ## 1.34.0-rc.3
44
4
 
45
5
  ### Patch Changes
46
6
 
47
- - 10123f9: ZERO-2632: rename projectzero-cli to projectzero
48
- - Updated dependencies [10123f9]
49
- - @akinon/next@1.34.0-rc.1
50
- - @akinon/pz-b2b@1.34.0-rc.1
51
- - @akinon/pz-gpay@1.34.0-rc.1
52
- - @akinon/pz-masterpass@1.34.0-rc.1
53
- - @akinon/pz-one-click-checkout@1.34.0-rc.1
54
- - @akinon/pz-otp@1.34.0-rc.1
55
- - @akinon/pz-pay-on-delivery@1.34.0-rc.1
7
+ - @akinon/next@1.34.0-rc.3
8
+ - @akinon/pz-b2b@1.34.0-rc.3
9
+ - @akinon/pz-gpay@1.34.0-rc.3
10
+ - @akinon/pz-masterpass@1.34.0-rc.3
11
+ - @akinon/pz-one-click-checkout@1.34.0-rc.3
12
+ - @akinon/pz-otp@1.34.0-rc.3
13
+ - @akinon/pz-pay-on-delivery@1.34.0-rc.3
56
14
 
57
15
  ## 1.34.0-rc.0
58
16
 
@@ -92,6 +50,20 @@
92
50
  - @akinon/pz-otp@1.34.0-rc.0
93
51
  - @akinon/pz-pay-on-delivery@1.34.0-rc.0
94
52
 
53
+ ## 1.33.1
54
+
55
+ ### Patch Changes
56
+
57
+ - 10123f9: ZERO-2632: rename projectzero-cli to projectzero
58
+ - Updated dependencies [10123f9]
59
+ - @akinon/next@1.33.1
60
+ - @akinon/pz-b2b@1.33.1
61
+ - @akinon/pz-gpay@1.33.1
62
+ - @akinon/pz-masterpass@1.33.1
63
+ - @akinon/pz-one-click-checkout@1.33.1
64
+ - @akinon/pz-otp@1.33.1
65
+ - @akinon/pz-pay-on-delivery@1.33.1
66
+
95
67
  ## 1.33.0
96
68
 
97
69
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectzeronext",
3
- "version": "1.34.0-rc.2",
3
+ "version": "1.34.0-rc.3",
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.2",
26
- "@akinon/pz-b2b": "1.34.0-rc.2",
27
- "@akinon/pz-gpay": "1.34.0-rc.2",
28
- "@akinon/pz-masterpass": "1.34.0-rc.2",
29
- "@akinon/pz-one-click-checkout": "1.34.0-rc.2",
30
- "@akinon/pz-otp": "1.34.0-rc.2",
31
- "@akinon/pz-pay-on-delivery": "1.34.0-rc.2",
25
+ "@akinon/next": "1.34.0-rc.3",
26
+ "@akinon/pz-b2b": "1.34.0-rc.3",
27
+ "@akinon/pz-gpay": "1.34.0-rc.3",
28
+ "@akinon/pz-masterpass": "1.34.0-rc.3",
29
+ "@akinon/pz-one-click-checkout": "1.34.0-rc.3",
30
+ "@akinon/pz-otp": "1.34.0-rc.3",
31
+ "@akinon/pz-pay-on-delivery": "1.34.0-rc.3",
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.2",
55
+ "@akinon/eslint-plugin-projectzero": "1.34.0-rc.3",
56
56
  "@semantic-release/changelog": "6.0.2",
57
57
  "@semantic-release/exec": "6.0.3",
58
58
  "@semantic-release/git": "10.0.1",
@@ -104,6 +104,10 @@ function updatePluginsFile(projectDir: string): void {
104
104
  fs.writeFileSync(pluginsFilePath, content, { encoding: 'utf8' });
105
105
  }
106
106
 
107
+ function createEnvironmentFile(projectDir: string) {
108
+ fs.copyFileSync(`${projectDir}/.env.example`, `${projectDir}/.env`);
109
+ }
110
+
107
111
  export default async (): Promise<void> => {
108
112
  const minNodeVersion = 18;
109
113
  const currentNodeVersion = parseInt(
@@ -138,6 +142,7 @@ export default async (): Promise<void> => {
138
142
  fs.cpSync(templatesDir, projectDir, { recursive: true });
139
143
 
140
144
  updatePluginsFile(projectDir);
145
+ createEnvironmentFile(projectDir);
141
146
 
142
147
  if (answers.projectDescription) {
143
148
  updateFileContents(path.join(projectDir, 'akinon.json'), {
@@ -109,6 +109,9 @@ function updatePluginsFile(projectDir) {
109
109
  const content = 'module.exports = [];';
110
110
  fs.writeFileSync(pluginsFilePath, content, { encoding: 'utf8' });
111
111
  }
112
+ function createEnvironmentFile(projectDir) {
113
+ fs.copyFileSync(`${projectDir}/.env.example`, `${projectDir}/.env`);
114
+ }
112
115
  exports.default = () => __awaiter(void 0, void 0, void 0, function* () {
113
116
  const minNodeVersion = 18;
114
117
  const currentNodeVersion = parseInt(process.version.replace('v', '').split('.')[0]);
@@ -125,6 +128,7 @@ exports.default = () => __awaiter(void 0, void 0, void 0, function* () {
125
128
  const templatesDir = path_1.default.resolve(__dirname, '../../../projectzero/app-template');
126
129
  fs.cpSync(templatesDir, projectDir, { recursive: true });
127
130
  updatePluginsFile(projectDir);
131
+ createEnvironmentFile(projectDir);
128
132
  if (answers.projectDescription) {
129
133
  updateFileContents(path_1.default.join(projectDir, 'akinon.json'), {
130
134
  description: answers.projectDescription
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/projectzero",
3
- "version": "1.34.0-rc.2",
3
+ "version": "1.34.0-rc.3",
4
4
  "private": false,
5
5
  "description": "CLI tool to manage your Project Zero Next project",
6
6
  "bin": {