vxrn 2.13.0 → 2.13.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/exports/prebuildWithoutExpo.mjs +2 -46
- package/dist/exports/prebuildWithoutExpo.mjs.map +1 -1
- package/dist/exports/prebuildWithoutExpo.native.js +14 -59
- package/dist/exports/prebuildWithoutExpo.native.js.map +1 -1
- package/package.json +12 -12
- package/src/exports/prebuildWithoutExpo.ts +2 -48
- package/types/exports/prebuildWithoutExpo.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxrn",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.1",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
"@react-native-community/cli": "^20.2.0",
|
|
81
81
|
"@react-native-community/cli-config": "^20.2.0",
|
|
82
82
|
"@react-native/dev-middleware": "^0.88.0",
|
|
83
|
-
"@vxrn/compiler": "2.13.
|
|
84
|
-
"@vxrn/debug": "2.13.
|
|
85
|
-
"@vxrn/query-string": "2.13.
|
|
86
|
-
"@vxrn/resolve": "2.13.
|
|
87
|
-
"@vxrn/url-parse": "2.13.
|
|
88
|
-
"@vxrn/utils": "2.13.
|
|
89
|
-
"@vxrn/vendor": "2.13.
|
|
90
|
-
"@vxrn/vite-flow": "2.13.
|
|
83
|
+
"@vxrn/compiler": "2.13.1",
|
|
84
|
+
"@vxrn/debug": "2.13.1",
|
|
85
|
+
"@vxrn/query-string": "2.13.1",
|
|
86
|
+
"@vxrn/resolve": "2.13.1",
|
|
87
|
+
"@vxrn/url-parse": "2.13.1",
|
|
88
|
+
"@vxrn/utils": "2.13.1",
|
|
89
|
+
"@vxrn/vendor": "2.13.1",
|
|
90
|
+
"@vxrn/vite-flow": "2.13.1",
|
|
91
91
|
"citty": "^0.1.6",
|
|
92
92
|
"dotenv": "^17.2.1",
|
|
93
93
|
"dotenv-expand": "^12.0.2",
|
|
@@ -127,20 +127,20 @@
|
|
|
127
127
|
"react-native": "0.88.0",
|
|
128
128
|
"typescript": "7.0.2",
|
|
129
129
|
"vitest": "^4.1.0",
|
|
130
|
-
"@vxrn/vite-plugin-metro": "2.13.
|
|
130
|
+
"@vxrn/vite-plugin-metro": "2.13.1"
|
|
131
131
|
},
|
|
132
132
|
"publishConfig": {
|
|
133
133
|
"access": "public"
|
|
134
134
|
},
|
|
135
135
|
"peerDependencies": {
|
|
136
|
-
"@vxrn/vite-plugin-metro": "2.13.
|
|
136
|
+
"@vxrn/vite-plugin-metro": "2.13.1"
|
|
137
137
|
},
|
|
138
138
|
"peerDependenciesMeta": {
|
|
139
139
|
"@vxrn/vite-plugin-metro": {
|
|
140
140
|
"optional": true
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
-
"releaseSourceCommit": "
|
|
143
|
+
"releaseSourceCommit": "7a20439ac72b4e1e7cc5232404e296661f634d41",
|
|
144
144
|
"repository": {
|
|
145
145
|
"type": "git",
|
|
146
146
|
"url": "git+https://github.com/onejs/one.git",
|
|
@@ -6,6 +6,7 @@ import { pathToFileURL } from 'node:url'
|
|
|
6
6
|
import {
|
|
7
7
|
androidIconSuffix,
|
|
8
8
|
appIconPreviewResources,
|
|
9
|
+
iosUsageDescriptions,
|
|
9
10
|
validateNativeApp,
|
|
10
11
|
type NativeAppIcon,
|
|
11
12
|
type NativeAppManifest,
|
|
@@ -2769,54 +2770,7 @@ ${schemes.map((scheme) => ` <data android:scheme="${scheme}" />`).joi
|
|
|
2769
2770
|
if (platform === 'ios' && relativePath.endsWith('/Info.plist')) {
|
|
2770
2771
|
// schemes, usesNonExemptEncryption, and fileSharing stamp above in one
|
|
2771
2772
|
// anchored block; only the usage descriptions stamp here.
|
|
2772
|
-
const usage =
|
|
2773
|
-
if (app.imagePicker?.camera !== undefined) {
|
|
2774
|
-
usage.set('NSCameraUsageDescription', app.imagePicker.camera)
|
|
2775
|
-
}
|
|
2776
|
-
if (app.imagePicker?.microphone !== undefined) {
|
|
2777
|
-
usage.set('NSMicrophoneUsageDescription', app.imagePicker.microphone)
|
|
2778
|
-
}
|
|
2779
|
-
if (app.photoLibrary !== undefined) {
|
|
2780
|
-
if (app.photoLibrary.addOnly !== undefined) {
|
|
2781
|
-
usage.set('NSPhotoLibraryAddUsageDescription', app.photoLibrary.addOnly)
|
|
2782
|
-
}
|
|
2783
|
-
if (app.photoLibrary.readWrite !== undefined) {
|
|
2784
|
-
usage.set('NSPhotoLibraryUsageDescription', app.photoLibrary.readWrite)
|
|
2785
|
-
}
|
|
2786
|
-
}
|
|
2787
|
-
if (app.contacts !== undefined) {
|
|
2788
|
-
usage.set('NSContactsUsageDescription', app.contacts.usage)
|
|
2789
|
-
}
|
|
2790
|
-
if (app.calendar !== undefined) {
|
|
2791
|
-
if (app.calendar.usage !== undefined) {
|
|
2792
|
-
usage.set('NSCalendarsFullAccessUsageDescription', app.calendar.usage)
|
|
2793
|
-
}
|
|
2794
|
-
if (app.calendar.remindersUsage !== undefined) {
|
|
2795
|
-
usage.set('NSRemindersFullAccessUsageDescription', app.calendar.remindersUsage)
|
|
2796
|
-
}
|
|
2797
|
-
}
|
|
2798
|
-
if (app.location !== undefined) {
|
|
2799
|
-
usage.set('NSLocationWhenInUseUsageDescription', app.location.whenInUse)
|
|
2800
|
-
if (app.location.alwaysAndWhenInUse !== undefined) {
|
|
2801
|
-
usage.set(
|
|
2802
|
-
'NSLocationAlwaysAndWhenInUseUsageDescription',
|
|
2803
|
-
app.location.alwaysAndWhenInUse
|
|
2804
|
-
)
|
|
2805
|
-
}
|
|
2806
|
-
}
|
|
2807
|
-
if (app.pedometer !== undefined) {
|
|
2808
|
-
usage.set('NSMotionUsageDescription', app.pedometer.usage)
|
|
2809
|
-
}
|
|
2810
|
-
if (app.ios?.faceIdUsageDescription !== undefined) {
|
|
2811
|
-
usage.set('NSFaceIDUsageDescription', app.ios.faceIdUsageDescription)
|
|
2812
|
-
}
|
|
2813
|
-
if (app.speech !== undefined) {
|
|
2814
|
-
usage.set('NSSpeechRecognitionUsageDescription', app.speech.recognition)
|
|
2815
|
-
usage.set('NSMicrophoneUsageDescription', app.speech.microphone)
|
|
2816
|
-
}
|
|
2817
|
-
if (app.audio?.microphone !== undefined) {
|
|
2818
|
-
usage.set('NSMicrophoneUsageDescription', app.audio.microphone)
|
|
2819
|
-
}
|
|
2773
|
+
const usage = iosUsageDescriptions(app)
|
|
2820
2774
|
const additions: [string, string][] = []
|
|
2821
2775
|
for (const [key, text] of usage) {
|
|
2822
2776
|
const existing = new RegExp(`(<key>${key}</key>\\s*<string>)[^<]*(</string>)`)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prebuildWithoutExpo.d.ts","sourceRoot":"","sources":["../../src/exports/prebuildWithoutExpo.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"prebuildWithoutExpo.d.ts","sourceRoot":"","sources":["../../src/exports/prebuildWithoutExpo.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,iBAAiB,EAEjB,KAAK,iBAAiB,EAEvB,MAAM,+BAA+B,CAAA;AAuEtC,YAAY,EAAE,iBAAiB,IAAI,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AAE3F,eAAO,MAAM,mBAAmB,0BAAoB,CAAA;AA6EpD,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAwChE;AAyJD,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,WAAW,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,MAAM,CA8CrI;AAg8BD,MAAM,WAAW,oBAAoB;IACnC,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AA6sBD,wB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