@atzentis/crossmedia-locales 1.0.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Atzentis
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # @atzentis/crossmedia-locales
2
+
3
+ Localization packs (EN/DE/EL) for Crossmedia SDK surfaces.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pnpm add @atzentis/crossmedia-locales
9
+ ```
@@ -0,0 +1,5 @@
1
+ import { C as CrossmediaLocalization } from '../index-D79RXBwl.js';
2
+
3
+ declare const de: CrossmediaLocalization;
4
+
5
+ export { de as default };
@@ -0,0 +1,6 @@
1
+ // src/de/index.ts
2
+ var de = {};
3
+ var de_default = de;
4
+ export {
5
+ de_default as default
6
+ };
@@ -0,0 +1,5 @@
1
+ import { C as CrossmediaLocalization } from '../index-D79RXBwl.js';
2
+
3
+ declare const el: CrossmediaLocalization;
4
+
5
+ export { el as default };
@@ -0,0 +1,6 @@
1
+ // src/el/index.ts
2
+ var el = {};
3
+ var el_default = el;
4
+ export {
5
+ el_default as default
6
+ };
@@ -0,0 +1,7 @@
1
+ import { C as CrossmediaLocalization } from '../index-D79RXBwl.js';
2
+
3
+ declare const en: CrossmediaLocalization;
4
+
5
+ declare const DEFAULT_CROSSMEDIA_LOCALIZATION: CrossmediaLocalization;
6
+
7
+ export { DEFAULT_CROSSMEDIA_LOCALIZATION, en as default };
@@ -0,0 +1,8 @@
1
+ // src/en/index.ts
2
+ var en = {};
3
+ var en_default = en;
4
+ var DEFAULT_CROSSMEDIA_LOCALIZATION = en;
5
+ export {
6
+ DEFAULT_CROSSMEDIA_LOCALIZATION,
7
+ en_default as default
8
+ };
@@ -0,0 +1,3 @@
1
+ type CrossmediaLocalization = Record<string, string>;
2
+
3
+ export type { CrossmediaLocalization as C };
@@ -0,0 +1,4 @@
1
+ export { C as CrossmediaLocalization } from './index-D79RXBwl.js';
2
+ export { DEFAULT_CROSSMEDIA_LOCALIZATION, default as en } from './en/index.js';
3
+ export { default as de } from './de/index.js';
4
+ export { default as el } from './el/index.js';
package/dist/index.js ADDED
@@ -0,0 +1,18 @@
1
+ // src/en/index.ts
2
+ var en = {};
3
+ var en_default = en;
4
+ var DEFAULT_CROSSMEDIA_LOCALIZATION = en;
5
+
6
+ // src/de/index.ts
7
+ var de = {};
8
+ var de_default = de;
9
+
10
+ // src/el/index.ts
11
+ var el = {};
12
+ var el_default = el;
13
+ export {
14
+ DEFAULT_CROSSMEDIA_LOCALIZATION,
15
+ de_default as de,
16
+ el_default as el,
17
+ en_default as en
18
+ };
package/package.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "@atzentis/crossmedia-locales",
3
+ "version": "1.0.0",
4
+ "description": "Language packs for @atzentis/crossmedia-react and @atzentis/crossmedia-expo",
5
+ "keywords": [
6
+ "atzentis",
7
+ "crossmedia",
8
+ "locales",
9
+ "localization",
10
+ "i18n"
11
+ ],
12
+ "license": "MIT",
13
+ "author": "Atzentis <dev@atzentis.com> (https://atzentis.com)",
14
+ "homepage": "https://github.com/atzentis/atzentis-crossmedia-sdk/tree/main/packages/locales#readme",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/atzentis/atzentis-crossmedia-sdk.git",
18
+ "directory": "packages/locales"
19
+ },
20
+ "type": "module",
21
+ "main": "./dist/index.js",
22
+ "types": "./dist/index.d.ts",
23
+ "exports": {
24
+ ".": {
25
+ "import": "./dist/index.js",
26
+ "types": "./dist/index.d.ts"
27
+ },
28
+ "./en": {
29
+ "import": "./dist/en/index.js",
30
+ "types": "./dist/en/index.d.ts"
31
+ },
32
+ "./el": {
33
+ "import": "./dist/el/index.js",
34
+ "types": "./dist/el/index.d.ts"
35
+ },
36
+ "./de": {
37
+ "import": "./dist/de/index.js",
38
+ "types": "./dist/de/index.d.ts"
39
+ }
40
+ },
41
+ "sideEffects": false,
42
+ "files": [
43
+ "dist",
44
+ "README.md",
45
+ "LICENSE"
46
+ ],
47
+ "devDependencies": {
48
+ "@vitest/coverage-v8": "^2.1.0",
49
+ "tsup": "^8.3.0",
50
+ "typescript": "^5.7.0",
51
+ "vitest": "^2.1.0"
52
+ },
53
+ "scripts": {
54
+ "build": "tsup",
55
+ "dev": "tsup --watch",
56
+ "test": "vitest run --passWithNoTests",
57
+ "test:coverage": "vitest run --passWithNoTests --coverage",
58
+ "type-check": "tsc --noEmit"
59
+ }
60
+ }