@apps-in-toss/framework 0.0.40 → 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.
@@ -0,0 +1,24 @@
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 __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // src/internal.ts
18
+ var internal_exports = {};
19
+ module.exports = __toCommonJS(internal_exports);
20
+ __reExport(internal_exports, require("@apps-in-toss/plugins/internal"), module.exports);
21
+ // Annotate the CommonJS export names for ESM import in node:
22
+ 0 && (module.exports = {
23
+ ...require("@apps-in-toss/plugins/internal")
24
+ });
@@ -0,0 +1 @@
1
+ export * from '@apps-in-toss/plugins/internal';
@@ -0,0 +1 @@
1
+ export * from '@apps-in-toss/plugins/internal';
@@ -0,0 +1,2 @@
1
+ // src/internal.ts
2
+ export * from "@apps-in-toss/plugins/internal";
@@ -17,8 +17,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
17
17
  // src/jest/index.ts
18
18
  var jest_exports = {};
19
19
  module.exports = __toCommonJS(jest_exports);
20
- __reExport(jest_exports, require("react-native-bedrock/jest"), module.exports);
20
+ __reExport(jest_exports, require("@granite-js/react-native/jest"), module.exports);
21
21
  // Annotate the CommonJS export names for ESM import in node:
22
22
  0 && (module.exports = {
23
- ...require("react-native-bedrock/jest")
23
+ ...require("@granite-js/react-native/jest")
24
24
  });
@@ -1 +1 @@
1
- export * from 'react-native-bedrock/jest';
1
+ export * from '@granite-js/react-native/jest';
@@ -1 +1 @@
1
- export * from 'react-native-bedrock/jest';
1
+ export * from '@granite-js/react-native/jest';
@@ -1,4 +1,4 @@
1
1
  import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
2
 
3
3
  // src/jest/index.ts
4
- export * from "react-native-bedrock/jest";
4
+ export * from "@granite-js/react-native/jest";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apps-in-toss/framework",
3
3
  "type": "module",
4
- "version": "0.0.40",
4
+ "version": "1.0.0",
5
5
  "description": "The framework for Apps In Toss",
6
6
  "scripts": {
7
7
  "prepack": "yarn build",
@@ -25,17 +25,15 @@
25
25
  "import": "./dist/plugins/index.js",
26
26
  "require": "./dist/plugins/index.cjs"
27
27
  },
28
- "./async-bridges": {
29
- "types": "./src/async-bridges.ts",
30
- "default": "./src/async-bridges.ts"
28
+ "./internal": {
29
+ "types": "./dist/internal.d.ts",
30
+ "import": "./dist/internal.js",
31
+ "require": "./dist/internal.cjs"
31
32
  },
32
- "./constant-bridges": {
33
- "types": "./src/constant-bridges.ts",
34
- "default": "./src/constant-bridges.ts"
35
- },
36
- "./event-bridges": {
37
- "types": "./src/event-bridges.ts",
38
- "default": "./src/event-bridges.ts"
33
+ "./bridge-entry": "./src/bridge-entry.ts",
34
+ "./bridge-meta": {
35
+ "types": "./dist/bridge-meta.d.ts",
36
+ "default": "./dist/bridge-meta.js"
39
37
  },
40
38
  "./jest": {
41
39
  "types": "./dist/jest/index.d.ts",
@@ -46,6 +44,7 @@
46
44
  },
47
45
  "files": [
48
46
  "dist/**/*",
47
+ "src/bridge-entry.ts",
49
48
  "src/async-bridges.ts",
50
49
  "src/constant-bridges.ts",
51
50
  "src/event-bridges.ts",
@@ -57,18 +56,21 @@
57
56
  "ait": "./bin/ait.js"
58
57
  },
59
58
  "dependencies": {
60
- "@apps-in-toss/analytics": "0.0.40",
61
- "@apps-in-toss/cli": "0.0.40",
62
- "@apps-in-toss/plugins": "0.0.40",
59
+ "@apps-in-toss/analytics": "1.0.0",
60
+ "@apps-in-toss/cli": "1.0.0",
61
+ "@apps-in-toss/plugins": "1.0.0",
63
62
  "es-hangul": "^2.3.2"
64
63
  },
65
64
  "devDependencies": {
66
- "@react-native-bedrock/mpack-next": "0.0.25",
67
- "@react-native-bedrock/native": "0.0.25",
68
- "@react-native-bedrock/plugin-core": "0.0.25",
69
- "@react-native-bedrock/utils": "0.0.25",
70
- "@toss-design-system/react-native": "0.7.2",
71
- "@types/kill-port": "^2.0.1",
65
+ "@apps-in-toss/native-modules": "1.0.0",
66
+ "@babel/runtime": "^7",
67
+ "@granite-js/mpack": "0.1.20",
68
+ "@granite-js/native": "0.1.20",
69
+ "@granite-js/plugin-core": "0.1.20",
70
+ "@granite-js/react-native": "0.1.20",
71
+ "@granite-js/utils": "0.1.20",
72
+ "@toss-design-system/react-native": "1.0.4",
73
+ "@types/kill-port": "^2.0.3",
72
74
  "@types/react": "18.3.3",
73
75
  "es-toolkit": "^1.34.1",
74
76
  "eslint": "^9.7.0",
@@ -77,22 +79,21 @@
77
79
  "kill-port": "^2.0.1",
78
80
  "react": "18.2.0",
79
81
  "react-native": "0.72.6",
80
- "react-native-bedrock": "0.0.25",
81
82
  "tsup": "^8.3.5",
82
83
  "typescript": "5.8.3",
83
84
  "vitest": "^3.0.3",
84
85
  "workspace-tools": "^0.38.2"
85
86
  },
86
87
  "peerDependencies": {
87
- "@react-native-bedrock/native": ">= 0.0.18",
88
- "@toss-design-system/react-native": ">= 0.7.0",
88
+ "@granite-js/native": "*",
89
+ "@granite-js/react-native": "*",
90
+ "@toss-design-system/react-native": ">=1.0.4",
89
91
  "@types/react": "*",
90
92
  "react": "*",
91
- "react-native": "*",
92
- "react-native-bedrock": ">= 0.0.18"
93
+ "react-native": "*"
93
94
  },
94
95
  "publishConfig": {
95
96
  "access": "public"
96
97
  },
97
- "gitHead": "3a5a037ebbe1292238d007a3e8f6a5bdb0681a72"
98
+ "gitHead": "1cf9898b323a17c789ff9f5d75e8c6ab68fe4a95"
98
99
  }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/naming-convention */
2
+ export * from '@apps-in-toss/native-modules/async-bridges';
3
+ export * from '@apps-in-toss/native-modules/constant-bridges';
4
+ export * from '@apps-in-toss/native-modules/event-bridges';
@@ -1,15 +0,0 @@
1
- export * from './native-modules/setClipboardText';
2
- export * from './native-modules/getClipboardText';
3
- export * from './native-modules/fetchContacts';
4
- export * from './native-modules/fetchAlbumPhotos';
5
- export * from './native-modules/getCurrentLocation';
6
- export * from './native-modules/openCamera';
7
- export * from './native-modules/appLogin';
8
- export * from './native-modules/checkoutPayment';
9
- export * from './native-modules/eventLog';
10
- export * from './native-modules/getTossShareLink';
11
- export * from './native-modules/setDeviceOrientation';
12
- export * from './native-modules/saveBase64Data';
13
- export * from './native-modules/getGameCenterGameProfile';
14
- export * from './native-modules/openGameCenterLeaderboard';
15
- export * from './native-modules/submitGameCenterLeaderBoardScore';
@@ -1,3 +0,0 @@
1
- export * from './native-modules/getOperationalEnvironment';
2
- export * from './native-modules/getTossAppVersion';
3
- export * from './native-modules/getDeviceId';
@@ -1,2 +0,0 @@
1
- export * from './native-event-emitter/startUpdateLocation';
2
- export * from './native-modules/contactsViral';