@dofe/infra-i18n 0.1.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.
@@ -0,0 +1,6 @@
1
+ export declare const i18nPaths: {
2
+ readonly en: string;
3
+ readonly 'zh-CN': string;
4
+ readonly plaza: string;
5
+ };
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;CAIZ,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.i18nPaths = void 0;
4
+ // i18n resources are loaded at runtime by nestjs-i18n
5
+ // This file exists to satisfy TypeScript compilation
6
+ exports.i18nPaths = {
7
+ en: __dirname + '/en',
8
+ 'zh-CN': __dirname + '/zh-CN',
9
+ plaza: __dirname + '/plaza',
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,qDAAqD;AACxC,QAAA,SAAS,GAAG;IACvB,EAAE,EAAE,SAAS,GAAG,KAAK;IACrB,OAAO,EAAE,SAAS,GAAG,QAAQ;IAC7B,KAAK,EAAE,SAAS,GAAG,QAAQ;CACnB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@dofe/infra-i18n",
3
+ "version": "0.1.0",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "devDependencies": {
7
+ "rimraf": "^5.0.0",
8
+ "typescript": "^5.4.5"
9
+ },
10
+ "type": "commonjs",
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "license": "UNLICENSED",
18
+ "scripts": {
19
+ "build": "tsc",
20
+ "typecheck": "tsc --noEmit",
21
+ "clean": "rimraf dist"
22
+ }
23
+ }