@vibecodeapp/sdk 0.2.0 → 0.2.1
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/dist/dev/VibeDevWrapper.d.ts +9 -0
- package/dist/dev/VibeDevWrapper.d.ts.map +1 -0
- package/dist/dev/VibeDevWrapper.js +6 -0
- package/dist/dev/VibeDevWrapper.js.map +1 -0
- package/dist/dev/safe-insets.d.ts +9 -0
- package/dist/dev/safe-insets.d.ts.map +1 -0
- package/dist/dev/safe-insets.js +5 -0
- package/dist/dev/safe-insets.js.map +1 -0
- package/dist/dev/safe-insets.web.d.ts +9 -0
- package/dist/dev/safe-insets.web.d.ts.map +1 -0
- package/dist/dev/safe-insets.web.js +40 -0
- package/dist/dev/safe-insets.web.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/polyfills/alert.web.d.ts +1 -1
- package/dist/polyfills/alert.web.d.ts.map +1 -1
- package/dist/polyfills/alert.web.js +1 -1
- package/dist/polyfills/alert.web.js.map +1 -1
- package/dist/polyfills/fetch.web.d.ts +14 -0
- package/dist/polyfills/fetch.web.d.ts.map +1 -0
- package/dist/polyfills/fetch.web.js +160 -0
- package/dist/polyfills/fetch.web.js.map +1 -0
- package/dist/polyfills/haptics.web.d.ts.map +1 -1
- package/dist/polyfills/haptics.web.js +3 -3
- package/dist/polyfills/haptics.web.js.map +1 -1
- package/dist/polyfills/maps.web.d.ts +1 -1
- package/dist/polyfills/maps.web.d.ts.map +1 -1
- package/dist/polyfills/maps.web.js +4 -4
- package/dist/polyfills/maps.web.js.map +1 -1
- package/dist/polyfills/refresh-control-component.d.ts +1 -1
- package/dist/polyfills/refresh-control-component.d.ts.map +1 -1
- package/dist/polyfills/refresh-control-component.js +13 -9
- package/dist/polyfills/refresh-control-component.js.map +1 -1
- package/dist/polyfills/secure-store.web.d.ts.map +1 -1
- package/dist/polyfills/secure-store.web.js +6 -6
- package/dist/polyfills/secure-store.web.js.map +1 -1
- package/metro/index.cjs +121 -108
- package/metro/index.d.ts +18 -18
- package/metro/metro-http-store.cjs +254 -254
- package/metro/transformer.cjs +69 -0
- package/package.json +59 -57
package/package.json
CHANGED
|
@@ -1,61 +1,63 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
2
|
+
"name": "@vibecodeapp/sdk",
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "SDK for Vibecodeapp.com - Web polyfills and Metro configuration for React Native",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./package.json": "./package.json",
|
|
13
|
+
"./metro": {
|
|
14
|
+
"default": "./metro/index.cjs"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"metro"
|
|
20
|
+
],
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/vibecode/vibecode-sdk.git"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/vibecode/vibecode-sdk#readme",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/vibecode/vibecode-sdk/issues"
|
|
28
|
+
},
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"scripts": {
|
|
31
31
|
"build": "tsc",
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
"lint": "biome check .",
|
|
33
|
+
"lint:fix": "biome check --write .",
|
|
34
|
+
"type-check": "tsc --noEmit",
|
|
35
|
+
"clean": "rm -rf dist",
|
|
36
|
+
"prepublishOnly": "npm run clean && npm run build"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@blazejkustra/react-native-alert": "^1.0.0",
|
|
40
|
+
"@teovilla/react-native-web-maps": "^0.9.5",
|
|
41
41
|
"@stardazed/streams-text-encoding": "^1.0.2",
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
42
|
+
"assert": "^2.1.0",
|
|
43
|
+
"p-limit": "^3.1.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@biomejs/biome": "^2.3.8",
|
|
47
|
+
"@types/bun": "^1.3.4",
|
|
48
|
+
"@types/react": "19.1.11",
|
|
49
|
+
"react": "19.1.0",
|
|
50
|
+
"react-native": "0.81.4",
|
|
51
|
+
"react-native-web": "^0.21.2",
|
|
52
|
+
"typescript": "^5.9.3"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"react": "*",
|
|
56
|
+
"react-native": "*",
|
|
57
|
+
"react-native-web": "*",
|
|
58
|
+
"react-native-safe-area-context": "^5.6.2",
|
|
59
|
+
"react-native-svg-transformer": "*",
|
|
60
|
+
"metro-cache": "*"
|
|
61
|
+
},
|
|
62
|
+
"type": "module"
|
|
61
63
|
}
|