@apps-in-toss/web-framework 0.0.7 → 0.0.9

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.
Files changed (88) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +20 -0
  3. package/bin.js +2 -1
  4. package/dist/cli/chunk-HDRFXOPA.js +63 -0
  5. package/dist/cli/chunk-RUDG2MMT.js +173587 -0
  6. package/dist/cli/index.js +96369 -521
  7. package/dist/cli/lib-NMFBQRQ2.js +1007 -0
  8. package/dist/cli/typescript-THSIDFIK.js +6 -0
  9. package/dist/config/index.d.ts +42 -46
  10. package/dist/config/index.js +4 -284
  11. package/dist/prebuilt/dev.android.js +155780 -0
  12. package/dist/prebuilt/dev.ios.js +155721 -0
  13. package/dist/prebuilt/prod.android.js +20 -0
  14. package/dist/prebuilt/prod.ios.js +20 -0
  15. package/dist/prebuilt/prod.json +14 -0
  16. package/hermesc/0_72_6/linux64-bin/hermesc +0 -0
  17. package/hermesc/0_72_6/osx-bin/hermesc +0 -0
  18. package/hermesc/0_72_6/win64-bin/hermesc.exe +0 -0
  19. package/hermesc/0_72_6/win64-bin/icudt64.dll +0 -0
  20. package/hermesc/0_72_6/win64-bin/icuin64.dll +0 -0
  21. package/hermesc/0_72_6/win64-bin/icuio64.dll +0 -0
  22. package/hermesc/0_72_6/win64-bin/icutest64.dll +0 -0
  23. package/hermesc/0_72_6/win64-bin/icutu64.dll +0 -0
  24. package/hermesc/0_72_6/win64-bin/icuuc64.dll +0 -0
  25. package/hermesc/0_72_6/win64-bin/msvcp140.dll +0 -0
  26. package/hermesc/0_72_6/win64-bin/vcruntime140.dll +0 -0
  27. package/hermesc/0_72_6/win64-bin/vcruntime140_1.dll +0 -0
  28. package/package.json +57 -32
  29. package/src-web/appLogin.d.ts +31 -0
  30. package/src-web/closeView.d.ts +24 -0
  31. package/{dist → src-web}/fetchAlbumPhotos.d.ts +1 -1
  32. package/src-web/generateHapticFeedback.d.ts +52 -0
  33. package/{dist → src-web}/getCurrentLocation.d.ts +47 -10
  34. package/src-web/getDeviceId.d.ts +32 -0
  35. package/src-web/getLocale.d.ts +31 -0
  36. package/src-web/getNetworkStatus.d.ts +55 -0
  37. package/src-web/getSchemeUri.d.ts +26 -0
  38. package/{dist → src-web}/index.d.ts +1 -0
  39. package/src-web/index.js +1 -0
  40. package/src-web/setScreenAwakeMode.d.ts +69 -0
  41. package/src-web/setSecureScreen.d.ts +34 -0
  42. package/src-web/share.d.ts +37 -0
  43. package/{dist → src-web}/startUpdateLocation.d.ts +44 -10
  44. package/dist/chunk-CH3CIAIW.js +0 -7688
  45. package/dist/chunk-DI2VGQ6M.js +0 -53
  46. package/dist/chunk-HL7M3JLX.js +0 -53
  47. package/dist/chunk-I3ZDGLIW.js +0 -19
  48. package/dist/chunk-LJBVSTWE.js +0 -7687
  49. package/dist/chunk-OMIGZ2S7.js +0 -7689
  50. package/dist/chunk-TZCMTMV7.js +0 -38
  51. package/dist/cli/index.cjs +0 -644
  52. package/dist/cli/index.d.cts +0 -2
  53. package/dist/cli/index.d.ts +0 -2
  54. package/dist/cli.cjs +0 -613
  55. package/dist/cli.d.cts +0 -2
  56. package/dist/cli.d.ts +0 -2
  57. package/dist/cli.js +0 -562
  58. package/dist/closeView.d.ts +0 -1
  59. package/dist/config/index.cjs +0 -7963
  60. package/dist/config/index.d.cts +0 -57
  61. package/dist/generateHapticFeedback.d.ts +0 -1
  62. package/dist/getDeviceId.d.ts +0 -1
  63. package/dist/getLocale.d.ts +0 -1
  64. package/dist/getNetworkStatus.d.ts +0 -1
  65. package/dist/getSchemeUri.d.ts +0 -1
  66. package/dist/index.cjs +0 -18
  67. package/dist/index.d.cts +0 -2
  68. package/dist/index.js +0 -1
  69. package/dist/plugins/index.cjs +0 -7682
  70. package/dist/plugins/index.d.cts +0 -15
  71. package/dist/plugins/index.d.ts +0 -15
  72. package/dist/plugins/index.js +0 -11
  73. package/dist/setScreenAwakeMode.d.ts +0 -1
  74. package/dist/setSecureScreen.d.ts +0 -1
  75. package/dist/share.d.ts +0 -1
  76. package/react-native/.babelrc +0 -41
  77. package/react-native/.bedrock/.env.js +0 -4
  78. package/react-native/ait.d.ts +0 -8
  79. package/react-native/context.ts +0 -10
  80. package/react-native/index.ts +0 -4
  81. package/react-native/pages/_404.tsx +0 -1
  82. package/react-native/pages/index.tsx +0 -10
  83. package/react-native/react-native.config.cjs +0 -3
  84. package/react-native/src/_app.tsx +0 -12
  85. /package/{dist → src-web}/fetchContacts.d.ts +0 -0
  86. /package/{dist → src-web}/getClipboardText.d.ts +0 -0
  87. /package/{dist → src-web}/openCamera.d.ts +0 -0
  88. /package/{dist → src-web}/setClipboardText.d.ts +0 -0
@@ -1,53 +0,0 @@
1
- import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
- }) : x)(function(x) {
5
- if (typeof require !== "undefined") return require.apply(this, arguments);
6
- throw Error('Dynamic require of "' + x + '" is not supported');
7
- });
8
-
9
- // ../../.yarn/__virtual__/tsup-virtual-dfda26f750/0/cache/tsup-npm-8.3.5-ed25596739-7794953cbc.zip/node_modules/tsup/assets/esm_shims.js
10
- import { fileURLToPath } from "url";
11
- import path from "path";
12
- var getFilename = () => fileURLToPath(import.meta.url);
13
- var getDirname = () => path.dirname(getFilename());
14
- var __dirname = /* @__PURE__ */ getDirname();
15
-
16
- // src/config/defineConfig.ts
17
- import { z } from "zod";
18
- var AppsInTossConfigSchema = z.object({
19
- appName: z.string(),
20
- web: z.object({
21
- port: z.number(),
22
- commands: z.object({
23
- dev: z.string(),
24
- build: z.string()
25
- })
26
- })
27
- });
28
- var defineConfig = (config) => {
29
- return AppsInTossConfigSchema.parse(config);
30
- };
31
-
32
- // src/config/loadConfig.ts
33
- import { cosmiconfig } from "cosmiconfig";
34
- import { TypeScriptLoader } from "cosmiconfig-typescript-loader";
35
- var loadConfig = async () => {
36
- const explorer = cosmiconfig("apps-in-toss", {
37
- searchPlaces: ["apps-in-toss.config.web.ts", "apps-in-toss.config.web.mts"],
38
- loaders: {
39
- ".ts": TypeScriptLoader(),
40
- ".mts": TypeScriptLoader()
41
- }
42
- });
43
- const result = await explorer.search(process.cwd());
44
- const config = defineConfig(result?.config ?? {});
45
- return config;
46
- };
47
-
48
- export {
49
- __require,
50
- __dirname,
51
- defineConfig,
52
- loadConfig
53
- };
@@ -1,53 +0,0 @@
1
- import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
- }) : x)(function(x) {
5
- if (typeof require !== "undefined") return require.apply(this, arguments);
6
- throw Error('Dynamic require of "' + x + '" is not supported');
7
- });
8
-
9
- // ../../.yarn/__virtual__/tsup-virtual-dfda26f750/0/cache/tsup-npm-8.3.5-ed25596739-7794953cbc.zip/node_modules/tsup/assets/esm_shims.js
10
- import { fileURLToPath } from "url";
11
- import path from "path";
12
- var getFilename = () => fileURLToPath(import.meta.url);
13
- var getDirname = () => path.dirname(getFilename());
14
- var __dirname = /* @__PURE__ */ getDirname();
15
-
16
- // src/defineConfig.ts
17
- import { z } from "zod";
18
- var AppsInTossConfigSchema = z.object({
19
- appName: z.string(),
20
- web: z.object({
21
- port: z.number(),
22
- commands: z.object({
23
- dev: z.string(),
24
- build: z.string()
25
- })
26
- })
27
- });
28
- var defineConfig = (config) => {
29
- return AppsInTossConfigSchema.parse(config);
30
- };
31
-
32
- // src/loadConfig.ts
33
- import { cosmiconfig } from "cosmiconfig";
34
- import { TypeScriptLoader } from "cosmiconfig-typescript-loader";
35
- var loadConfig = async () => {
36
- const explorer = cosmiconfig("apps-in-toss", {
37
- searchPlaces: ["apps-in-toss.config.web.ts", "apps-in-toss.config.web.mts"],
38
- loaders: {
39
- ".ts": TypeScriptLoader(),
40
- ".mts": TypeScriptLoader()
41
- }
42
- });
43
- const result = await explorer.search(process.cwd());
44
- const config = defineConfig(result?.config ?? {});
45
- return config;
46
- };
47
-
48
- export {
49
- __require,
50
- __dirname,
51
- defineConfig,
52
- loadConfig
53
- };
@@ -1,19 +0,0 @@
1
- import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
- }) : x)(function(x) {
5
- if (typeof require !== "undefined") return require.apply(this, arguments);
6
- throw Error('Dynamic require of "' + x + '" is not supported');
7
- });
8
-
9
- // ../../.yarn/__virtual__/tsup-virtual-dfda26f750/0/cache/tsup-npm-8.3.5-ed25596739-7794953cbc.zip/node_modules/tsup/assets/esm_shims.js
10
- import { fileURLToPath } from "url";
11
- import path from "path";
12
- var getFilename = () => fileURLToPath(import.meta.url);
13
- var getDirname = () => path.dirname(getFilename());
14
- var __dirname = /* @__PURE__ */ getDirname();
15
-
16
- export {
17
- __require,
18
- __dirname
19
- };