@langlayer-sdk/react 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,3 @@
1
+ declare function useT(): {};
2
+
3
+ export { useT };
@@ -0,0 +1,3 @@
1
+ declare function useT(): {};
2
+
3
+ export { useT };
package/dist/index.js ADDED
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ useT: () => useT
24
+ });
25
+ module.exports = __toCommonJS(index_exports);
26
+ function useT() {
27
+ return {};
28
+ }
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {
31
+ useT
32
+ });
33
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export function useT() {\n return {}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,OAAO;AACrB,SAAO,CAAC;AACV;","names":[]}
package/dist/index.mjs ADDED
@@ -0,0 +1,8 @@
1
+ // src/index.ts
2
+ function useT() {
3
+ return {};
4
+ }
5
+ export {
6
+ useT
7
+ };
8
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export function useT() {\n return {}\n}\n"],"mappings":";AAAO,SAAS,OAAO;AACrB,SAAO,CAAC;AACV;","names":[]}
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@langlayer-sdk/react",
3
+ "license": "MIT",
4
+ "version": "0.1.0",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/index.mjs",
18
+ "require": "./dist/index.js"
19
+ }
20
+ },
21
+ "dependencies": {
22
+ "@langlayer-sdk/core": "0.2.0"
23
+ },
24
+ "devDependencies": {
25
+ "@types/node": "^22.15.3",
26
+ "@types/react": "19.2.2",
27
+ "@types/react-dom": "19.2.2",
28
+ "eslint": "^9.39.1",
29
+ "tsup": "^8.5.1",
30
+ "typescript": "5.9.2",
31
+ "@langlayer-sdk/eslint-config": "0.1.0",
32
+ "@langlayer-sdk/typescript-config": "0.1.0"
33
+ },
34
+ "peerDependencies": {
35
+ "react": ">=18"
36
+ },
37
+ "scripts": {
38
+ "build": "tsup src/index.ts --format cjs,esm --dts --sourcemap",
39
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
40
+ "lint": "eslint . --max-warnings 0",
41
+ "check-types": "tsc --noEmit"
42
+ }
43
+ }