@commercetools-frontend/application-cli 2.1.1 → 2.1.2
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.
|
@@ -287,12 +287,23 @@ set -e
|
|
|
287
287
|
echo "Uploading static assets to Google Storage bucket ${bucketUrl}"
|
|
288
288
|
|
|
289
289
|
gcloud storage cp \\
|
|
290
|
-
${assetsPath}/public/{*.css,*.js,*.js.map,*.
|
|
290
|
+
${assetsPath}/public/{*.css,*.js,*.js.map,*.html} \\
|
|
291
291
|
"${bucketUrl}" \\
|
|
292
292
|
-n \\
|
|
293
293
|
-z js,css \\
|
|
294
294
|
--cache-control="public,max-age=31536000,no-transform"
|
|
295
295
|
|
|
296
|
+
# We need to upload the PNG and HTML files separately because we want them
|
|
297
|
+
# to be able to overwrite the existing files (if any). For instance, the
|
|
298
|
+
# file or the favicons.
|
|
299
|
+
# This is controlled with the '-n' option (which is used for the JS and CSS
|
|
300
|
+
# as we don't want to overwrite them)
|
|
301
|
+
gcloud storage cp \\
|
|
302
|
+
${assetsPath}/public/{*.png,robots.txt} \\
|
|
303
|
+
"${bucketUrl}" \\
|
|
304
|
+
-z txt \\
|
|
305
|
+
--cache-control="public,max-age=31536000,no-transform"
|
|
306
|
+
|
|
296
307
|
if ${skipMenu}; then
|
|
297
308
|
echo "Skipping menu.json upload"
|
|
298
309
|
else
|
|
@@ -857,7 +868,7 @@ async function command(cliFlags) {
|
|
|
857
868
|
|
|
858
869
|
var pkgJson = {
|
|
859
870
|
name: "@commercetools-frontend/application-cli",
|
|
860
|
-
version: "2.1.
|
|
871
|
+
version: "2.1.2",
|
|
861
872
|
description: "Internal CLI to manage Merchant Center application deployments across various environments.",
|
|
862
873
|
keywords: [
|
|
863
874
|
"commercetools",
|
|
@@ -882,16 +893,16 @@ var pkgJson = {
|
|
|
882
893
|
"@babel/core": "^7.22.11",
|
|
883
894
|
"@babel/runtime-corejs3": "^7.21.0",
|
|
884
895
|
"@babel/runtime": "^7.21.0",
|
|
885
|
-
"@commercetools-frontend/application-config": "22.17.
|
|
886
|
-
"@commercetools-frontend/constants": "22.17.
|
|
887
|
-
"@commercetools-frontend/l10n": "22.17.
|
|
896
|
+
"@commercetools-frontend/application-config": "22.17.1",
|
|
897
|
+
"@commercetools-frontend/constants": "22.17.1",
|
|
898
|
+
"@commercetools-frontend/l10n": "22.17.1",
|
|
888
899
|
"@manypkg/find-root": "2.2.1",
|
|
889
900
|
cac: "^6.7.14",
|
|
890
901
|
cosmiconfig: "9.0.0",
|
|
891
|
-
dotenv: "16.
|
|
902
|
+
dotenv: "16.4.1",
|
|
892
903
|
execa: "5.1.1",
|
|
893
904
|
jsonschema: "^1.4.1",
|
|
894
|
-
listr2: "8.0.
|
|
905
|
+
listr2: "8.0.2",
|
|
895
906
|
"node-fetch": "2.7.0",
|
|
896
907
|
"ts-deepmerge": "7.0.0"
|
|
897
908
|
},
|
|
@@ -287,12 +287,23 @@ set -e
|
|
|
287
287
|
echo "Uploading static assets to Google Storage bucket ${bucketUrl}"
|
|
288
288
|
|
|
289
289
|
gcloud storage cp \\
|
|
290
|
-
${assetsPath}/public/{*.css,*.js,*.js.map,*.
|
|
290
|
+
${assetsPath}/public/{*.css,*.js,*.js.map,*.html} \\
|
|
291
291
|
"${bucketUrl}" \\
|
|
292
292
|
-n \\
|
|
293
293
|
-z js,css \\
|
|
294
294
|
--cache-control="public,max-age=31536000,no-transform"
|
|
295
295
|
|
|
296
|
+
# We need to upload the PNG and HTML files separately because we want them
|
|
297
|
+
# to be able to overwrite the existing files (if any). For instance, the
|
|
298
|
+
# file or the favicons.
|
|
299
|
+
# This is controlled with the '-n' option (which is used for the JS and CSS
|
|
300
|
+
# as we don't want to overwrite them)
|
|
301
|
+
gcloud storage cp \\
|
|
302
|
+
${assetsPath}/public/{*.png,robots.txt} \\
|
|
303
|
+
"${bucketUrl}" \\
|
|
304
|
+
-z txt \\
|
|
305
|
+
--cache-control="public,max-age=31536000,no-transform"
|
|
306
|
+
|
|
296
307
|
if ${skipMenu}; then
|
|
297
308
|
echo "Skipping menu.json upload"
|
|
298
309
|
else
|
|
@@ -857,7 +868,7 @@ async function command(cliFlags) {
|
|
|
857
868
|
|
|
858
869
|
var pkgJson = {
|
|
859
870
|
name: "@commercetools-frontend/application-cli",
|
|
860
|
-
version: "2.1.
|
|
871
|
+
version: "2.1.2",
|
|
861
872
|
description: "Internal CLI to manage Merchant Center application deployments across various environments.",
|
|
862
873
|
keywords: [
|
|
863
874
|
"commercetools",
|
|
@@ -882,16 +893,16 @@ var pkgJson = {
|
|
|
882
893
|
"@babel/core": "^7.22.11",
|
|
883
894
|
"@babel/runtime-corejs3": "^7.21.0",
|
|
884
895
|
"@babel/runtime": "^7.21.0",
|
|
885
|
-
"@commercetools-frontend/application-config": "22.17.
|
|
886
|
-
"@commercetools-frontend/constants": "22.17.
|
|
887
|
-
"@commercetools-frontend/l10n": "22.17.
|
|
896
|
+
"@commercetools-frontend/application-config": "22.17.1",
|
|
897
|
+
"@commercetools-frontend/constants": "22.17.1",
|
|
898
|
+
"@commercetools-frontend/l10n": "22.17.1",
|
|
888
899
|
"@manypkg/find-root": "2.2.1",
|
|
889
900
|
cac: "^6.7.14",
|
|
890
901
|
cosmiconfig: "9.0.0",
|
|
891
|
-
dotenv: "16.
|
|
902
|
+
dotenv: "16.4.1",
|
|
892
903
|
execa: "5.1.1",
|
|
893
904
|
jsonschema: "^1.4.1",
|
|
894
|
-
listr2: "8.0.
|
|
905
|
+
listr2: "8.0.2",
|
|
895
906
|
"node-fetch": "2.7.0",
|
|
896
907
|
"ts-deepmerge": "7.0.0"
|
|
897
908
|
},
|
|
@@ -258,12 +258,23 @@ set -e
|
|
|
258
258
|
echo "Uploading static assets to Google Storage bucket ${bucketUrl}"
|
|
259
259
|
|
|
260
260
|
gcloud storage cp \\
|
|
261
|
-
${assetsPath}/public/{*.css,*.js,*.js.map,*.
|
|
261
|
+
${assetsPath}/public/{*.css,*.js,*.js.map,*.html} \\
|
|
262
262
|
"${bucketUrl}" \\
|
|
263
263
|
-n \\
|
|
264
264
|
-z js,css \\
|
|
265
265
|
--cache-control="public,max-age=31536000,no-transform"
|
|
266
266
|
|
|
267
|
+
# We need to upload the PNG and HTML files separately because we want them
|
|
268
|
+
# to be able to overwrite the existing files (if any). For instance, the
|
|
269
|
+
# file or the favicons.
|
|
270
|
+
# This is controlled with the '-n' option (which is used for the JS and CSS
|
|
271
|
+
# as we don't want to overwrite them)
|
|
272
|
+
gcloud storage cp \\
|
|
273
|
+
${assetsPath}/public/{*.png,robots.txt} \\
|
|
274
|
+
"${bucketUrl}" \\
|
|
275
|
+
-z txt \\
|
|
276
|
+
--cache-control="public,max-age=31536000,no-transform"
|
|
277
|
+
|
|
267
278
|
if ${skipMenu}; then
|
|
268
279
|
echo "Skipping menu.json upload"
|
|
269
280
|
else
|
|
@@ -828,7 +839,7 @@ async function command(cliFlags) {
|
|
|
828
839
|
|
|
829
840
|
var pkgJson = {
|
|
830
841
|
name: "@commercetools-frontend/application-cli",
|
|
831
|
-
version: "2.1.
|
|
842
|
+
version: "2.1.2",
|
|
832
843
|
description: "Internal CLI to manage Merchant Center application deployments across various environments.",
|
|
833
844
|
keywords: [
|
|
834
845
|
"commercetools",
|
|
@@ -853,16 +864,16 @@ var pkgJson = {
|
|
|
853
864
|
"@babel/core": "^7.22.11",
|
|
854
865
|
"@babel/runtime-corejs3": "^7.21.0",
|
|
855
866
|
"@babel/runtime": "^7.21.0",
|
|
856
|
-
"@commercetools-frontend/application-config": "22.17.
|
|
857
|
-
"@commercetools-frontend/constants": "22.17.
|
|
858
|
-
"@commercetools-frontend/l10n": "22.17.
|
|
867
|
+
"@commercetools-frontend/application-config": "22.17.1",
|
|
868
|
+
"@commercetools-frontend/constants": "22.17.1",
|
|
869
|
+
"@commercetools-frontend/l10n": "22.17.1",
|
|
859
870
|
"@manypkg/find-root": "2.2.1",
|
|
860
871
|
cac: "^6.7.14",
|
|
861
872
|
cosmiconfig: "9.0.0",
|
|
862
|
-
dotenv: "16.
|
|
873
|
+
dotenv: "16.4.1",
|
|
863
874
|
execa: "5.1.1",
|
|
864
875
|
jsonschema: "^1.4.1",
|
|
865
|
-
listr2: "8.0.
|
|
876
|
+
listr2: "8.0.2",
|
|
866
877
|
"node-fetch": "2.7.0",
|
|
867
878
|
"ts-deepmerge": "7.0.0"
|
|
868
879
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Internal CLI to manage Merchant Center application deployments across various environments.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"commercetools",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"@babel/core": "^7.22.11",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.21.0",
|
|
24
24
|
"@babel/runtime": "^7.21.0",
|
|
25
|
-
"@commercetools-frontend/application-config": "22.17.
|
|
26
|
-
"@commercetools-frontend/constants": "22.17.
|
|
27
|
-
"@commercetools-frontend/l10n": "22.17.
|
|
25
|
+
"@commercetools-frontend/application-config": "22.17.1",
|
|
26
|
+
"@commercetools-frontend/constants": "22.17.1",
|
|
27
|
+
"@commercetools-frontend/l10n": "22.17.1",
|
|
28
28
|
"@manypkg/find-root": "2.2.1",
|
|
29
29
|
"cac": "^6.7.14",
|
|
30
30
|
"cosmiconfig": "9.0.0",
|
|
31
|
-
"dotenv": "16.
|
|
31
|
+
"dotenv": "16.4.1",
|
|
32
32
|
"execa": "5.1.1",
|
|
33
33
|
"jsonschema": "^1.4.1",
|
|
34
|
-
"listr2": "8.0.
|
|
34
|
+
"listr2": "8.0.2",
|
|
35
35
|
"node-fetch": "2.7.0",
|
|
36
36
|
"ts-deepmerge": "7.0.0"
|
|
37
37
|
},
|