@anythingai/launcher 0.1.7 → 0.1.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.
package/build/index.js CHANGED
@@ -1,4 +1 @@
1
- import AnythingLauncherModule from './AnythingLauncherModule';
2
- import AnythingLauncherReloadOverlayModule from './AnythingLauncherReloadOverlayModule';
3
- export { AnythingLauncherModule, AnythingLauncherReloadOverlayModule };
4
- //# sourceMappingURL=index.js.map
1
+ 'use strict';var expoModulesCore=require('expo-modules-core');var o=globalThis.expo?.modules?.ExpoGo,l=o?null:expoModulesCore.requireNativeModule("AnythingLauncherModule"),n=l;var r=globalThis.expo?.modules?.ExpoGo,t=r?null:expoModulesCore.requireNativeModule("AnythingLauncherReloadOverlayModule"),u=t;exports.AnythingLauncherModule=n;exports.AnythingLauncherReloadOverlayModule=u;
@@ -0,0 +1 @@
1
+ import {requireNativeModule}from'expo-modules-core';var o=globalThis.expo?.modules?.ExpoGo,l=o?null:requireNativeModule("AnythingLauncherModule"),n=l;var r=globalThis.expo?.modules?.ExpoGo,t=r?null:requireNativeModule("AnythingLauncherReloadOverlayModule"),u=t;export{n as AnythingLauncherModule,u as AnythingLauncherReloadOverlayModule};
package/package.json CHANGED
@@ -1,16 +1,22 @@
1
1
  {
2
2
  "name": "@anythingai/launcher",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "My new module",
5
5
  "main": "build/index.js",
6
- "types": "build/index.d.ts",
6
+ "module": "build/index.mjs",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./build/index.mjs",
10
+ "require": "./build/index.js"
11
+ }
12
+ },
7
13
  "scripts": {
8
- "build": "expo-module build",
9
- "clean": "expo-module clean",
14
+ "build": "tsup",
15
+ "clean": "rm -rf build",
10
16
  "lint": "expo lint --quiet",
11
17
  "test": "expo-module test",
12
- "prepare": "expo-module prepare",
13
- "prepublishOnly": "expo-module prepublishOnly",
18
+ "prepare": "tsup",
19
+ "prepublishOnly": "tsup",
14
20
  "expo-module": "expo-module",
15
21
  "open:ios": "xed example/ios",
16
22
  "open:android": "open -a \"Android Studio\" example/android"
@@ -34,7 +40,8 @@
34
40
  "@types/react": "~19.0.0",
35
41
  "expo": "^54.0.0",
36
42
  "expo-module-scripts": "^4.1.10",
37
- "react-native": "0.81.4"
43
+ "react-native": "0.81.4",
44
+ "tsup": "^8.5.1"
38
45
  },
39
46
  "peerDependencies": {
40
47
  "expo": "*",
@@ -42,6 +49,6 @@
42
49
  "react-native": "*"
43
50
  },
44
51
  "publishConfig": {
45
- "access": "restricted"
52
+ "access": "public"
46
53
  }
47
54
  }
@@ -1,12 +0,0 @@
1
- import { NativeModule } from "expo-modules-core";
2
- declare class AnythingLauncherModule extends NativeModule {
3
- open(url: string, showCloseButton: boolean, showProgress: boolean, isWeb: boolean): void;
4
- reset(): void;
5
- reload(): void;
6
- getAppLauncherURL(): string | null;
7
- setAppLauncherURL(url: string | null): void;
8
- isWeb(): boolean;
9
- }
10
- declare const anythingLauncherModule: AnythingLauncherModule | null;
11
- export default anythingLauncherModule;
12
- //# sourceMappingURL=AnythingLauncherModule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnythingLauncherModule.d.ts","sourceRoot":"","sources":["../src/AnythingLauncherModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAuB,MAAM,mBAAmB,CAAC;AAEtE,OAAO,OAAO,sBAAuB,SAAQ,YAAY;IACvD,IAAI,CACF,GAAG,EAAE,MAAM,EACX,eAAe,EAAE,OAAO,EACxB,YAAY,EAAE,OAAO,EACrB,KAAK,EAAE,OAAO,GACb,IAAI;IACP,KAAK,IAAI,IAAI;IACb,MAAM,IAAI,IAAI;IACd,iBAAiB,IAAI,MAAM,GAAG,IAAI;IAClC,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAC3C,KAAK,IAAI,OAAO;CACjB;AAID,QAAA,MAAM,sBAAsB,+BAE3B,CAAA;AAED,eAAe,sBAAsB,CAAA"}
@@ -1,5 +0,0 @@
1
- import { requireNativeModule } from "expo-modules-core";
2
- const isExpoGo = globalThis.expo?.modules?.ExpoGo;
3
- const anythingLauncherModule = isExpoGo ? null : requireNativeModule("AnythingLauncherModule");
4
- export default anythingLauncherModule;
5
- //# sourceMappingURL=AnythingLauncherModule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnythingLauncherModule.js","sourceRoot":"","sources":["../src/AnythingLauncherModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAgBtE,MAAM,QAAQ,GAAG,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAA;AAEjD,MAAM,sBAAsB,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAClE,wBAAwB,CACzB,CAAA;AAED,eAAe,sBAAsB,CAAA","sourcesContent":["import { NativeModule, requireNativeModule } from \"expo-modules-core\";\n\ndeclare class AnythingLauncherModule extends NativeModule {\n open(\n url: string,\n showCloseButton: boolean,\n showProgress: boolean,\n isWeb: boolean\n ): void;\n reset(): void;\n reload(): void;\n getAppLauncherURL(): string | null;\n setAppLauncherURL(url: string | null): void;\n isWeb(): boolean;\n}\n\nconst isExpoGo = globalThis.expo?.modules?.ExpoGo\n\nconst anythingLauncherModule = isExpoGo ? null : requireNativeModule<AnythingLauncherModule>(\n \"AnythingLauncherModule\"\n)\n\nexport default anythingLauncherModule\n"]}
@@ -1,9 +0,0 @@
1
- import { NativeModule } from "expo-modules-core";
2
- declare class AnythingLauncherReloadOverlayModule extends NativeModule {
3
- show(showCloseButton: boolean, showProgress: boolean): void;
4
- hide(): void;
5
- update(status: string, ratio: number): void;
6
- }
7
- declare const anythingLauncherReloadOverlayModule: AnythingLauncherReloadOverlayModule | null;
8
- export default anythingLauncherReloadOverlayModule;
9
- //# sourceMappingURL=AnythingLauncherReloadOverlayModule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnythingLauncherReloadOverlayModule.d.ts","sourceRoot":"","sources":["../src/AnythingLauncherReloadOverlayModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAuB,MAAM,mBAAmB,CAAC;AAEtE,OAAO,OAAO,mCAAoC,SAAQ,YAAY;IACpE,IAAI,CAAC,eAAe,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,GAAG,IAAI;IAC3D,IAAI,IAAI,IAAI;IACZ,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;CAC5C;AAID,QAAA,MAAM,mCAAmC,4CAExC,CAAA;AAED,eAAe,mCAAmC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { requireNativeModule } from "expo-modules-core";
2
- const isExpoGo = globalThis.expo?.modules?.ExpoGo;
3
- const anythingLauncherReloadOverlayModule = isExpoGo ? null : requireNativeModule("AnythingLauncherReloadOverlayModule");
4
- export default anythingLauncherReloadOverlayModule;
5
- //# sourceMappingURL=AnythingLauncherReloadOverlayModule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnythingLauncherReloadOverlayModule.js","sourceRoot":"","sources":["../src/AnythingLauncherReloadOverlayModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAQtE,MAAM,QAAQ,GAAG,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAA;AAEjD,MAAM,mCAAmC,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAC/E,qCAAqC,CACtC,CAAA;AAED,eAAe,mCAAmC,CAAA","sourcesContent":["import { NativeModule, requireNativeModule } from \"expo-modules-core\";\n\ndeclare class AnythingLauncherReloadOverlayModule extends NativeModule {\n show(showCloseButton: boolean, showProgress: boolean): void;\n hide(): void;\n update(status: string, ratio: number): void;\n}\n\nconst isExpoGo = globalThis.expo?.modules?.ExpoGo\n\nconst anythingLauncherReloadOverlayModule = isExpoGo ? null : requireNativeModule<AnythingLauncherReloadOverlayModule>(\n \"AnythingLauncherReloadOverlayModule\",\n)\n\nexport default anythingLauncherReloadOverlayModule\n"]}
package/build/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import AnythingLauncherModule from './AnythingLauncherModule';
2
- import AnythingLauncherReloadOverlayModule from './AnythingLauncherReloadOverlayModule';
3
- export { AnythingLauncherModule, AnythingLauncherReloadOverlayModule };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,mCAAmC,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,mCAAmC,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,mCAAmC,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,mCAAmC,EAAE,CAAC","sourcesContent":["import AnythingLauncherModule from './AnythingLauncherModule';\nimport AnythingLauncherReloadOverlayModule from './AnythingLauncherReloadOverlayModule';\nexport { AnythingLauncherModule, AnythingLauncherReloadOverlayModule };"]}