@commercetools-frontend/application-config 21.7.0 → 21.8.0
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/LICENSE +1 -1
- package/client.d.ts +19 -0
- package/dist/declarations/src/utils.d.ts +2 -0
- package/package.json +4 -3
package/LICENSE
CHANGED
package/client.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type CSSModuleClasses = { readonly [key: string]: string };
|
|
2
|
+
|
|
3
|
+
declare module '*.mod.css' {
|
|
4
|
+
const classes: CSSModuleClasses;
|
|
5
|
+
export default classes;
|
|
6
|
+
}
|
|
7
|
+
declare module '*.module.css' {
|
|
8
|
+
const classes: CSSModuleClasses;
|
|
9
|
+
export default classes;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare module '*.png' {
|
|
13
|
+
const src: string;
|
|
14
|
+
export default src;
|
|
15
|
+
}
|
|
16
|
+
declare module '*.svg' {
|
|
17
|
+
const src: string;
|
|
18
|
+
export default src;
|
|
19
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="webpack-env" />
|
|
1
3
|
import { CLOUD_IDENTIFIERS } from './constants';
|
|
2
4
|
declare const mapCloudIdentifierToApiUrl: (key: typeof CLOUD_IDENTIFIERS[keyof typeof CLOUD_IDENTIFIERS]) => string;
|
|
3
5
|
declare const getUniqueValues: (initialValues?: string[], additionalValues?: string[]) => string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-config",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.8.0",
|
|
4
4
|
"description": "Configuration utilities for building Custom Applications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"dist",
|
|
24
|
-
"ssr",
|
|
25
24
|
"scripts",
|
|
25
|
+
"ssr",
|
|
26
|
+
"client.d.ts",
|
|
26
27
|
"schema.json",
|
|
27
28
|
"tsconfig-mc-app.json",
|
|
28
29
|
"package.json",
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
"@babel/register": "^7.17.7",
|
|
37
38
|
"@babel/runtime": "^7.17.9",
|
|
38
39
|
"@babel/runtime-corejs3": "^7.17.9",
|
|
39
|
-
"@commercetools-frontend/babel-preset-mc-app": "21.
|
|
40
|
+
"@commercetools-frontend/babel-preset-mc-app": "21.8.0",
|
|
40
41
|
"ajv": "8.11.0",
|
|
41
42
|
"core-js": "^3.21.1",
|
|
42
43
|
"cosmiconfig": "7.0.1",
|