@cobre-npm/library-onboarding-core 0.1.0 → 0.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.
- package/package.json +7 -3
- package/src/index.d.ts +11 -0
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobre-npm/library-onboarding-core",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Shared configurations and resources for onboarding MFEs",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
|
+
"types": "./src/index.d.ts",
|
|
6
7
|
"exports": {
|
|
7
|
-
".":
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./src/index.d.ts",
|
|
10
|
+
"default": "./src/index.js"
|
|
11
|
+
},
|
|
8
12
|
"./locales/*": "./src/locales/*.json"
|
|
9
13
|
},
|
|
10
14
|
"files": [
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type SharedEn = typeof import("./locales/Shared/en.json")
|
|
2
|
+
type SharedEs = typeof import("./locales/Shared/es.json")
|
|
3
|
+
type SummaryEn = typeof import("./locales/Summary/en.json")
|
|
4
|
+
type SummaryEs = typeof import("./locales/Summary/es.json")
|
|
5
|
+
|
|
6
|
+
export interface Locales {
|
|
7
|
+
Shared: { en: SharedEn; es: SharedEs }
|
|
8
|
+
Summary: { en: SummaryEn; es: SummaryEs }
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const locales: Locales
|