@commercetools-frontend/application-config 20.12.0 → 20.12.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.
|
@@ -327,7 +327,7 @@ var schemaJson = {
|
|
|
327
327
|
type: "object",
|
|
328
328
|
properties: {
|
|
329
329
|
icon: {
|
|
330
|
-
description: "The SVG icon that represents this application. Pass the raw SVG string or a path to an SVG file, for example a relative path `${path:./app.svg}`, or a path from a module `${path:@commercetools-frontend/assets/application-icons/
|
|
330
|
+
description: "The SVG icon that represents this application. Pass the raw SVG string or a path to an SVG file, for example a relative path `${path:./app.svg}`, or a path from a module `${path:@commercetools-frontend/assets/application-icons/Rocket.svg}`.",
|
|
331
331
|
type: "string"
|
|
332
332
|
},
|
|
333
333
|
defaultLabel: {
|
|
@@ -570,7 +570,7 @@ var getOrThrow = function getOrThrow(fn, errorMessage) {
|
|
|
570
570
|
* Allows variable placeholders. Supported types are:
|
|
571
571
|
* - `env`: For example `${env:MC_API_URL}`.
|
|
572
572
|
* - `intl`: For example `${intl:en:Menu.title}`.
|
|
573
|
-
* - `path`: For example `${path:./app.svg}`, or `${path:@commercetools-frontend/assets/application-icons/
|
|
573
|
+
* - `path`: For example `${path:./app.svg}`, or `${path:@commercetools-frontend/assets/application-icons/Rocket.svg}`.
|
|
574
574
|
*/
|
|
575
575
|
var variableSyntax = /\${([ ~:\w.'",\-/()@]+?)}/g;
|
|
576
576
|
var envRefSyntax = /^env:/g;
|
|
@@ -327,7 +327,7 @@ var schemaJson = {
|
|
|
327
327
|
type: "object",
|
|
328
328
|
properties: {
|
|
329
329
|
icon: {
|
|
330
|
-
description: "The SVG icon that represents this application. Pass the raw SVG string or a path to an SVG file, for example a relative path `${path:./app.svg}`, or a path from a module `${path:@commercetools-frontend/assets/application-icons/
|
|
330
|
+
description: "The SVG icon that represents this application. Pass the raw SVG string or a path to an SVG file, for example a relative path `${path:./app.svg}`, or a path from a module `${path:@commercetools-frontend/assets/application-icons/Rocket.svg}`.",
|
|
331
331
|
type: "string"
|
|
332
332
|
},
|
|
333
333
|
defaultLabel: {
|
|
@@ -570,7 +570,7 @@ var getOrThrow = function getOrThrow(fn, errorMessage) {
|
|
|
570
570
|
* Allows variable placeholders. Supported types are:
|
|
571
571
|
* - `env`: For example `${env:MC_API_URL}`.
|
|
572
572
|
* - `intl`: For example `${intl:en:Menu.title}`.
|
|
573
|
-
* - `path`: For example `${path:./app.svg}`, or `${path:@commercetools-frontend/assets/application-icons/
|
|
573
|
+
* - `path`: For example `${path:./app.svg}`, or `${path:@commercetools-frontend/assets/application-icons/Rocket.svg}`.
|
|
574
574
|
*/
|
|
575
575
|
var variableSyntax = /\${([ ~:\w.'",\-/()@]+?)}/g;
|
|
576
576
|
var envRefSyntax = /^env:/g;
|
|
@@ -299,7 +299,7 @@ var schemaJson = {
|
|
|
299
299
|
type: "object",
|
|
300
300
|
properties: {
|
|
301
301
|
icon: {
|
|
302
|
-
description: "The SVG icon that represents this application. Pass the raw SVG string or a path to an SVG file, for example a relative path `${path:./app.svg}`, or a path from a module `${path:@commercetools-frontend/assets/application-icons/
|
|
302
|
+
description: "The SVG icon that represents this application. Pass the raw SVG string or a path to an SVG file, for example a relative path `${path:./app.svg}`, or a path from a module `${path:@commercetools-frontend/assets/application-icons/Rocket.svg}`.",
|
|
303
303
|
type: "string"
|
|
304
304
|
},
|
|
305
305
|
defaultLabel: {
|
|
@@ -542,7 +542,7 @@ var getOrThrow = function getOrThrow(fn, errorMessage) {
|
|
|
542
542
|
* Allows variable placeholders. Supported types are:
|
|
543
543
|
* - `env`: For example `${env:MC_API_URL}`.
|
|
544
544
|
* - `intl`: For example `${intl:en:Menu.title}`.
|
|
545
|
-
* - `path`: For example `${path:./app.svg}`, or `${path:@commercetools-frontend/assets/application-icons/
|
|
545
|
+
* - `path`: For example `${path:./app.svg}`, or `${path:@commercetools-frontend/assets/application-icons/Rocket.svg}`.
|
|
546
546
|
*/
|
|
547
547
|
var variableSyntax = /\${([ ~:\w.'",\-/()@]+?)}/g;
|
|
548
548
|
var envRefSyntax = /^env:/g;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-config",
|
|
3
|
-
"version": "20.12.
|
|
3
|
+
"version": "20.12.1",
|
|
4
4
|
"description": "Configuration utilities for building Custom Applications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"build:schema": "json2ts schema.json src/schema.ts --style.singleQuote --bannerComment '/* eslint-disable prettier/prettier */\n// This file was automatically generated by json-schema-to-typescript.\n// DO NOT MODIFY IT BY HAND. Instead, modify the source schema.json file.'"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@babel/register": "7.
|
|
32
|
-
"@babel/runtime": "7.
|
|
33
|
-
"@babel/runtime-corejs3": "7.
|
|
34
|
-
"@commercetools-frontend/babel-preset-mc-app": "20.
|
|
35
|
-
"ajv": "8.
|
|
36
|
-
"core-js": "3.19.
|
|
31
|
+
"@babel/register": "7.16.0",
|
|
32
|
+
"@babel/runtime": "7.16.3",
|
|
33
|
+
"@babel/runtime-corejs3": "7.16.3",
|
|
34
|
+
"@commercetools-frontend/babel-preset-mc-app": "20.12.1",
|
|
35
|
+
"ajv": "8.8.2",
|
|
36
|
+
"core-js": "3.19.3",
|
|
37
37
|
"cosmiconfig": "7.0.1",
|
|
38
38
|
"lodash": "4.17.21",
|
|
39
39
|
"omit-empty-es": "1.1.3"
|
package/schema.json
CHANGED
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"type": "object",
|
|
170
170
|
"properties": {
|
|
171
171
|
"icon": {
|
|
172
|
-
"description": "The SVG icon that represents this application. Pass the raw SVG string or a path to an SVG file, for example a relative path `${path:./app.svg}`, or a path from a module `${path:@commercetools-frontend/assets/application-icons/
|
|
172
|
+
"description": "The SVG icon that represents this application. Pass the raw SVG string or a path to an SVG file, for example a relative path `${path:./app.svg}`, or a path from a module `${path:@commercetools-frontend/assets/application-icons/Rocket.svg}`.",
|
|
173
173
|
"type": "string"
|
|
174
174
|
},
|
|
175
175
|
"defaultLabel": {
|