react-native-kookit 0.1.0 → 0.1.3
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/ANDROID_SETUP.md +188 -0
- package/EXPO_PLUGIN_README.md +136 -0
- package/README.md +219 -3
- package/README_NEW.md +133 -0
- package/android/src/main/java/expo/modules/kookit/ReactNativeKookitModule.kt +12 -1
- package/android/src/main/java/expo/modules/kookit/VolumeKeyReflectionHandler.kt +54 -0
- package/app.plugin.js +1 -0
- package/build/ReactNativeKookitModule.d.ts +16 -0
- package/build/ReactNativeKookitModule.d.ts.map +1 -1
- package/build/ReactNativeKookitModule.js.map +1 -1
- package/package-with-plugin.json +51 -0
- package/package.json +14 -3
- package/plugin/build/withVolumeKeyIntercept.d.ts +7 -0
- package/plugin/build/withVolumeKeyIntercept.d.ts.map +1 -0
- package/plugin/build/withVolumeKeyIntercept.js +143 -0
- package/plugin/build/withVolumeKeyIntercept.js.map +1 -0
- package/plugin/node_modules/.package-lock.json +752 -0
- package/plugin/node_modules/@babel/code-frame/LICENSE +22 -0
- package/plugin/node_modules/@babel/code-frame/README.md +19 -0
- package/plugin/node_modules/@babel/code-frame/lib/index.js +167 -0
- package/plugin/node_modules/@babel/code-frame/package.json +25 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/README.md +19 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/plugin/node_modules/@babel/highlight/LICENSE +22 -0
- package/plugin/node_modules/@babel/highlight/README.md +19 -0
- package/plugin/node_modules/@babel/highlight/lib/index.js +119 -0
- package/plugin/node_modules/@babel/highlight/lib/index.js.map +1 -0
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +165 -0
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/license +9 -0
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +56 -0
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +147 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js +228 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +93 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/license +9 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/package.json +71 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/readme.md +314 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/templates.js +128 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +97 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +54 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +21 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/README.md +68 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +868 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/index.js +78 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/package.json +46 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/route.js +97 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +43 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/LICENSE +8 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/README.md +11 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/index.js +152 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/package.json +25 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/test.js +7 -0
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/index.js +8 -0
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/license +9 -0
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/package.json +44 -0
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/readme.md +70 -0
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/browser.js +5 -0
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/index.js +131 -0
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/license +9 -0
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/package.json +53 -0
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/readme.md +66 -0
- package/plugin/node_modules/@babel/highlight/package.json +30 -0
- package/plugin/node_modules/@expo/config-plugins/LICENSE +22 -0
- package/plugin/node_modules/@expo/config-plugins/README.md +34 -0
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.d.ts +177 -0
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js +51 -0
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.d.ts +6 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js +45 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.d.ts +28 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js +93 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.d.ts +29 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js +106 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.d.ts +3 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js +67 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.d.ts +2 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js +82 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.d.ts +5 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js +46 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.d.ts +17 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js +138 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.d.ts +8 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js +83 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.d.ts +157 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js +221 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.js +91 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.d.ts +6 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js +39 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.d.ts +23 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.js +323 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.d.ts +30 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js +154 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js +207 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.d.ts +6 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js +62 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.d.ts +12 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js +55 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.d.ts +87 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js +150 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js +217 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.d.ts +16 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js +112 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.d.ts +6 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js +54 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.d.ts +61 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js +169 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.d.ts +21 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js +159 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.d.ts +16 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.js +87 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.d.ts +6 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js +48 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js +93 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/index.d.ts +25 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/index.js +308 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/index.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/index.d.ts +36 -0
- package/plugin/node_modules/@expo/config-plugins/build/index.js +428 -0
- package/plugin/node_modules/@expo/config-plugins/build/index.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.d.ts +33 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js +110 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.d.ts +27 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js +67 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.d.ts +10 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js +112 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.d.ts +50 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js +241 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.d.ts +19 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js +92 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.d.ts +9 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js +132 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.d.ts +14 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js +139 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.d.ts +48 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js +2 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.d.ts +14 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js +132 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.d.ts +17 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js +211 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js +111 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.d.ts +7 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js +42 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.d.ts +38 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js +311 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.d.ts +9 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js +58 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js +129 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.d.ts +8 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js +67 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.d.ts +5 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js +101 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.d.ts +11 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js +111 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.d.ts +34 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js +196 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.d.ts +27 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js +136 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.d.ts +17 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js +121 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.d.ts +5 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js +38 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.d.ts +8 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js +44 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.d.ts +31 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js +99 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.d.ts +81 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js +264 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.d.ts +27 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.js +342 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.d.ts +93 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js +484 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.d.ts +12 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js +49 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.d.ts +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js +10 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.d.ts +89 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js +210 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.d.ts +31 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js +129 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.d.ts +77 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js +205 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.d.ts +39 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js +226 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.d.ts +40 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js +510 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.d.ts +10 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js +30 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.d.ts +10 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js +30 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.d.ts +33 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js +442 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.d.ts +46 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js +208 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.d.ts +8 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js +35 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js +55 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.d.ts +17 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js +138 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.d.ts +25 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js +2 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.d.ts +29 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js +217 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.d.ts +27 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js +161 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.d.ts +32 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js +63 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.d.ts +15 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js +27 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.d.ts +4 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js +45 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.d.ts +36 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js +128 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.d.ts +11 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.js +24 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.d.ts +7 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js +65 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.d.ts +3 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js +42 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.d.ts +2 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.d.ts +33 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js +218 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.d.ts +4 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js +42 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.d.ts +3 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js +42 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.d.ts +26 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js +52 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/package.json +62 -0
- package/plugin/node_modules/@expo/config-types/LICENSE +22 -0
- package/plugin/node_modules/@expo/config-types/README.md +38 -0
- package/plugin/node_modules/@expo/config-types/build/ExpoConfig.d.ts +878 -0
- package/plugin/node_modules/@expo/config-types/build/ExpoConfig.js +6 -0
- package/plugin/node_modules/@expo/config-types/package.json +48 -0
- package/plugin/node_modules/@expo/json-file/LICENSE +22 -0
- package/plugin/node_modules/@expo/json-file/README.md +29 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFile.d.ts +61 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFile.js +283 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFile.js.map +1 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.d.ts +13 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.js +35 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.js.map +1 -0
- package/plugin/node_modules/@expo/json-file/package.json +47 -0
- package/plugin/node_modules/@expo/plist/README.md +8 -0
- package/plugin/node_modules/@expo/plist/build/build.d.ts +11 -0
- package/plugin/node_modules/@expo/plist/build/build.js +152 -0
- package/plugin/node_modules/@expo/plist/build/build.js.map +1 -0
- package/plugin/node_modules/@expo/plist/build/index.d.ts +16 -0
- package/plugin/node_modules/@expo/plist/build/index.js +6 -0
- package/plugin/node_modules/@expo/plist/build/index.js.map +1 -0
- package/plugin/node_modules/@expo/plist/build/parse.d.ts +8 -0
- package/plugin/node_modules/@expo/plist/build/parse.js +201 -0
- package/plugin/node_modules/@expo/plist/build/parse.js.map +1 -0
- package/plugin/node_modules/@expo/plist/package.json +45 -0
- package/plugin/node_modules/@expo/sdk-runtime-versions/README.md +5 -0
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.d.ts +4 -0
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js +21 -0
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js.map +1 -0
- package/plugin/node_modules/@expo/sdk-runtime-versions/package.json +29 -0
- package/plugin/node_modules/@types/node/LICENSE +21 -0
- package/plugin/node_modules/@types/node/README.md +15 -0
- package/plugin/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/plugin/node_modules/@types/node/assert.d.ts +1044 -0
- package/plugin/node_modules/@types/node/async_hooks.d.ts +605 -0
- package/plugin/node_modules/@types/node/buffer.buffer.d.ts +462 -0
- package/plugin/node_modules/@types/node/buffer.d.ts +1932 -0
- package/plugin/node_modules/@types/node/child_process.d.ts +1548 -0
- package/plugin/node_modules/@types/node/cluster.d.ts +578 -0
- package/plugin/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/plugin/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/plugin/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/plugin/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/plugin/node_modules/@types/node/console.d.ts +452 -0
- package/plugin/node_modules/@types/node/constants.d.ts +21 -0
- package/plugin/node_modules/@types/node/crypto.d.ts +4570 -0
- package/plugin/node_modules/@types/node/dgram.d.ts +596 -0
- package/plugin/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/plugin/node_modules/@types/node/dns/promises.d.ts +479 -0
- package/plugin/node_modules/@types/node/dns.d.ts +871 -0
- package/plugin/node_modules/@types/node/dom-events.d.ts +99 -0
- package/plugin/node_modules/@types/node/domain.d.ts +170 -0
- package/plugin/node_modules/@types/node/events.d.ts +931 -0
- package/plugin/node_modules/@types/node/fs/promises.d.ts +1248 -0
- package/plugin/node_modules/@types/node/fs.d.ts +4362 -0
- package/plugin/node_modules/@types/node/globals.d.ts +335 -0
- package/plugin/node_modules/@types/node/globals.typedarray.d.ts +21 -0
- package/plugin/node_modules/@types/node/http.d.ts +2031 -0
- package/plugin/node_modules/@types/node/http2.d.ts +2623 -0
- package/plugin/node_modules/@types/node/https.d.ts +544 -0
- package/plugin/node_modules/@types/node/index.d.ts +91 -0
- package/plugin/node_modules/@types/node/inspector.d.ts +3966 -0
- package/plugin/node_modules/@types/node/module.d.ts +539 -0
- package/plugin/node_modules/@types/node/net.d.ts +1011 -0
- package/plugin/node_modules/@types/node/os.d.ts +495 -0
- package/plugin/node_modules/@types/node/package.json +140 -0
- package/plugin/node_modules/@types/node/path.d.ts +200 -0
- package/plugin/node_modules/@types/node/perf_hooks.d.ts +963 -0
- package/plugin/node_modules/@types/node/process.d.ts +1956 -0
- package/plugin/node_modules/@types/node/punycode.d.ts +117 -0
- package/plugin/node_modules/@types/node/querystring.d.ts +152 -0
- package/plugin/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/plugin/node_modules/@types/node/readline.d.ts +589 -0
- package/plugin/node_modules/@types/node/repl.d.ts +430 -0
- package/plugin/node_modules/@types/node/sea.d.ts +153 -0
- package/plugin/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/plugin/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/plugin/node_modules/@types/node/stream/web.d.ts +533 -0
- package/plugin/node_modules/@types/node/stream.d.ts +1668 -0
- package/plugin/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/plugin/node_modules/@types/node/test.d.ts +1807 -0
- package/plugin/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/plugin/node_modules/@types/node/timers.d.ts +286 -0
- package/plugin/node_modules/@types/node/tls.d.ts +1231 -0
- package/plugin/node_modules/@types/node/trace_events.d.ts +197 -0
- package/plugin/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +460 -0
- package/plugin/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
- package/plugin/node_modules/@types/node/ts5.6/index.d.ts +91 -0
- package/plugin/node_modules/@types/node/tty.d.ts +208 -0
- package/plugin/node_modules/@types/node/url.d.ts +964 -0
- package/plugin/node_modules/@types/node/util.d.ts +2331 -0
- package/plugin/node_modules/@types/node/v8.d.ts +808 -0
- package/plugin/node_modules/@types/node/vm.d.ts +1030 -0
- package/plugin/node_modules/@types/node/wasi.d.ts +181 -0
- package/plugin/node_modules/@types/node/worker_threads.d.ts +724 -0
- package/plugin/node_modules/@types/node/zlib.d.ts +539 -0
- package/plugin/node_modules/@xmldom/xmldom/CHANGELOG.md +401 -0
- package/plugin/node_modules/@xmldom/xmldom/LICENSE +8 -0
- package/plugin/node_modules/@xmldom/xmldom/index.d.ts +43 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/conventions.js +177 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/dom-parser.js +268 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/dom.js +1808 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/index.js +4 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/sax.js +656 -0
- package/plugin/node_modules/@xmldom/xmldom/package.json +60 -0
- package/plugin/node_modules/@xmldom/xmldom/readme.md +338 -0
- package/plugin/node_modules/ansi-styles/index.d.ts +345 -0
- package/plugin/node_modules/ansi-styles/index.js +163 -0
- package/plugin/node_modules/ansi-styles/license +9 -0
- package/plugin/node_modules/ansi-styles/package.json +56 -0
- package/plugin/node_modules/ansi-styles/readme.md +152 -0
- package/plugin/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/plugin/node_modules/balanced-match/LICENSE.md +21 -0
- package/plugin/node_modules/balanced-match/README.md +97 -0
- package/plugin/node_modules/balanced-match/index.js +62 -0
- package/plugin/node_modules/balanced-match/package.json +48 -0
- package/plugin/node_modules/base64-js/LICENSE +21 -0
- package/plugin/node_modules/base64-js/README.md +34 -0
- package/plugin/node_modules/base64-js/base64js.min.js +1 -0
- package/plugin/node_modules/base64-js/index.d.ts +3 -0
- package/plugin/node_modules/base64-js/index.js +150 -0
- package/plugin/node_modules/base64-js/package.json +47 -0
- package/plugin/node_modules/big-integer/BigInteger.d.ts +2393 -0
- package/plugin/node_modules/big-integer/BigInteger.js +1453 -0
- package/plugin/node_modules/big-integer/BigInteger.min.js +1 -0
- package/plugin/node_modules/big-integer/LICENSE +24 -0
- package/plugin/node_modules/big-integer/README.md +589 -0
- package/plugin/node_modules/big-integer/bower.json +29 -0
- package/plugin/node_modules/big-integer/package.json +48 -0
- package/plugin/node_modules/big-integer/tsconfig.json +24 -0
- package/plugin/node_modules/bplist-creator/LICENSE +18 -0
- package/plugin/node_modules/bplist-creator/README.md +64 -0
- package/plugin/node_modules/bplist-creator/bplistCreator.js +460 -0
- package/plugin/node_modules/bplist-creator/package.json +28 -0
- package/plugin/node_modules/bplist-creator/test/airplay.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/binaryData.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/creatorTest.js +211 -0
- package/plugin/node_modules/bplist-creator/test/iTunes-small.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/integers.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/sample1.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/sample2.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/uid.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/utf16.bplist +0 -0
- package/plugin/node_modules/bplist-parser/.editorconfig +12 -0
- package/plugin/node_modules/bplist-parser/.eslintignore +1 -0
- package/plugin/node_modules/bplist-parser/.eslintrc.js +295 -0
- package/plugin/node_modules/bplist-parser/README.md +48 -0
- package/plugin/node_modules/bplist-parser/bplistParser.d.ts +6 -0
- package/plugin/node_modules/bplist-parser/bplistParser.js +366 -0
- package/plugin/node_modules/bplist-parser/package.json +35 -0
- package/plugin/node_modules/brace-expansion/LICENSE +21 -0
- package/plugin/node_modules/brace-expansion/README.md +129 -0
- package/plugin/node_modules/brace-expansion/index.js +201 -0
- package/plugin/node_modules/brace-expansion/package.json +50 -0
- package/plugin/node_modules/chalk/index.d.ts +415 -0
- package/plugin/node_modules/chalk/license +9 -0
- package/plugin/node_modules/chalk/package.json +68 -0
- package/plugin/node_modules/chalk/readme.md +341 -0
- package/plugin/node_modules/chalk/source/index.js +229 -0
- package/plugin/node_modules/chalk/source/templates.js +134 -0
- package/plugin/node_modules/chalk/source/util.js +39 -0
- package/plugin/node_modules/color-convert/CHANGELOG.md +54 -0
- package/plugin/node_modules/color-convert/LICENSE +21 -0
- package/plugin/node_modules/color-convert/README.md +68 -0
- package/plugin/node_modules/color-convert/conversions.js +839 -0
- package/plugin/node_modules/color-convert/index.js +81 -0
- package/plugin/node_modules/color-convert/package.json +48 -0
- package/plugin/node_modules/color-convert/route.js +97 -0
- package/plugin/node_modules/color-name/LICENSE +8 -0
- package/plugin/node_modules/color-name/README.md +11 -0
- package/plugin/node_modules/color-name/index.js +152 -0
- package/plugin/node_modules/color-name/package.json +28 -0
- package/plugin/node_modules/concat-map/.travis.yml +4 -0
- package/plugin/node_modules/concat-map/LICENSE +18 -0
- package/plugin/node_modules/concat-map/README.markdown +62 -0
- package/plugin/node_modules/concat-map/example/map.js +6 -0
- package/plugin/node_modules/concat-map/index.js +13 -0
- package/plugin/node_modules/concat-map/package.json +43 -0
- package/plugin/node_modules/concat-map/test/map.js +39 -0
- package/plugin/node_modules/debug/LICENSE +20 -0
- package/plugin/node_modules/debug/README.md +481 -0
- package/plugin/node_modules/debug/package.json +64 -0
- package/plugin/node_modules/debug/src/browser.js +272 -0
- package/plugin/node_modules/debug/src/common.js +292 -0
- package/plugin/node_modules/debug/src/index.js +10 -0
- package/plugin/node_modules/debug/src/node.js +263 -0
- package/plugin/node_modules/escape-string-regexp/index.js +11 -0
- package/plugin/node_modules/escape-string-regexp/license +21 -0
- package/plugin/node_modules/escape-string-regexp/package.json +41 -0
- package/plugin/node_modules/escape-string-regexp/readme.md +27 -0
- package/plugin/node_modules/find-up/index.d.ts +138 -0
- package/plugin/node_modules/find-up/index.js +89 -0
- package/plugin/node_modules/find-up/license +9 -0
- package/plugin/node_modules/find-up/package.json +54 -0
- package/plugin/node_modules/find-up/readme.md +151 -0
- package/plugin/node_modules/fs.realpath/LICENSE +43 -0
- package/plugin/node_modules/fs.realpath/README.md +33 -0
- package/plugin/node_modules/fs.realpath/index.js +66 -0
- package/plugin/node_modules/fs.realpath/old.js +303 -0
- package/plugin/node_modules/fs.realpath/package.json +26 -0
- package/plugin/node_modules/getenv/LICENSE.md +20 -0
- package/plugin/node_modules/getenv/README.md +197 -0
- package/plugin/node_modules/getenv/index.js +150 -0
- package/plugin/node_modules/getenv/package.json +38 -0
- package/plugin/node_modules/glob/LICENSE +21 -0
- package/plugin/node_modules/glob/README.md +375 -0
- package/plugin/node_modules/glob/changelog.md +67 -0
- package/plugin/node_modules/glob/common.js +240 -0
- package/plugin/node_modules/glob/glob.js +790 -0
- package/plugin/node_modules/glob/package.json +46 -0
- package/plugin/node_modules/glob/sync.js +486 -0
- package/plugin/node_modules/graceful-fs/LICENSE +15 -0
- package/plugin/node_modules/graceful-fs/README.md +143 -0
- package/plugin/node_modules/graceful-fs/clone.js +23 -0
- package/plugin/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/plugin/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/plugin/node_modules/graceful-fs/package.json +53 -0
- package/plugin/node_modules/graceful-fs/polyfills.js +355 -0
- package/plugin/node_modules/has-flag/index.d.ts +39 -0
- package/plugin/node_modules/has-flag/index.js +8 -0
- package/plugin/node_modules/has-flag/license +9 -0
- package/plugin/node_modules/has-flag/package.json +46 -0
- package/plugin/node_modules/has-flag/readme.md +89 -0
- package/plugin/node_modules/imurmurhash/README.md +122 -0
- package/plugin/node_modules/imurmurhash/imurmurhash.js +138 -0
- package/plugin/node_modules/imurmurhash/imurmurhash.min.js +12 -0
- package/plugin/node_modules/imurmurhash/package.json +40 -0
- package/plugin/node_modules/inflight/LICENSE +15 -0
- package/plugin/node_modules/inflight/README.md +37 -0
- package/plugin/node_modules/inflight/inflight.js +54 -0
- package/plugin/node_modules/inflight/package.json +29 -0
- package/plugin/node_modules/inherits/LICENSE +16 -0
- package/plugin/node_modules/inherits/README.md +42 -0
- package/plugin/node_modules/inherits/inherits.js +9 -0
- package/plugin/node_modules/inherits/inherits_browser.js +27 -0
- package/plugin/node_modules/inherits/package.json +29 -0
- package/plugin/node_modules/js-tokens/CHANGELOG.md +151 -0
- package/plugin/node_modules/js-tokens/LICENSE +21 -0
- package/plugin/node_modules/js-tokens/README.md +240 -0
- package/plugin/node_modules/js-tokens/index.js +23 -0
- package/plugin/node_modules/js-tokens/package.json +30 -0
- package/plugin/node_modules/json5/LICENSE.md +23 -0
- package/plugin/node_modules/json5/README.md +282 -0
- package/plugin/node_modules/json5/dist/index.js +1737 -0
- package/plugin/node_modules/json5/dist/index.min.js +1 -0
- package/plugin/node_modules/json5/dist/index.min.mjs +1 -0
- package/plugin/node_modules/json5/dist/index.mjs +1426 -0
- package/plugin/node_modules/json5/lib/cli.js +152 -0
- package/plugin/node_modules/json5/lib/index.d.ts +4 -0
- package/plugin/node_modules/json5/lib/index.js +9 -0
- package/plugin/node_modules/json5/lib/parse.d.ts +15 -0
- package/plugin/node_modules/json5/lib/parse.js +1114 -0
- package/plugin/node_modules/json5/lib/register.js +13 -0
- package/plugin/node_modules/json5/lib/require.js +4 -0
- package/plugin/node_modules/json5/lib/stringify.d.ts +89 -0
- package/plugin/node_modules/json5/lib/stringify.js +261 -0
- package/plugin/node_modules/json5/lib/unicode.d.ts +3 -0
- package/plugin/node_modules/json5/lib/unicode.js +4 -0
- package/plugin/node_modules/json5/lib/util.d.ts +5 -0
- package/plugin/node_modules/json5/lib/util.js +35 -0
- package/plugin/node_modules/json5/package.json +72 -0
- package/plugin/node_modules/locate-path/index.d.ts +83 -0
- package/plugin/node_modules/locate-path/index.js +68 -0
- package/plugin/node_modules/locate-path/license +9 -0
- package/plugin/node_modules/locate-path/package.json +46 -0
- package/plugin/node_modules/locate-path/readme.md +125 -0
- package/plugin/node_modules/minimatch/LICENSE +15 -0
- package/plugin/node_modules/minimatch/README.md +230 -0
- package/plugin/node_modules/minimatch/minimatch.js +947 -0
- package/plugin/node_modules/minimatch/package.json +33 -0
- package/plugin/node_modules/ms/index.js +162 -0
- package/plugin/node_modules/ms/license.md +21 -0
- package/plugin/node_modules/ms/package.json +38 -0
- package/plugin/node_modules/ms/readme.md +59 -0
- package/plugin/node_modules/once/LICENSE +15 -0
- package/plugin/node_modules/once/README.md +79 -0
- package/plugin/node_modules/once/once.js +42 -0
- package/plugin/node_modules/once/package.json +33 -0
- package/plugin/node_modules/p-limit/index.d.ts +42 -0
- package/plugin/node_modules/p-limit/index.js +71 -0
- package/plugin/node_modules/p-limit/license +9 -0
- package/plugin/node_modules/p-limit/package.json +52 -0
- package/plugin/node_modules/p-limit/readme.md +101 -0
- package/plugin/node_modules/p-locate/index.d.ts +53 -0
- package/plugin/node_modules/p-locate/index.js +50 -0
- package/plugin/node_modules/p-locate/license +9 -0
- package/plugin/node_modules/p-locate/package.json +54 -0
- package/plugin/node_modules/p-locate/readme.md +93 -0
- package/plugin/node_modules/path-exists/index.d.ts +28 -0
- package/plugin/node_modules/path-exists/index.js +23 -0
- package/plugin/node_modules/path-exists/license +9 -0
- package/plugin/node_modules/path-exists/package.json +39 -0
- package/plugin/node_modules/path-exists/readme.md +52 -0
- package/plugin/node_modules/path-is-absolute/index.js +20 -0
- package/plugin/node_modules/path-is-absolute/license +21 -0
- package/plugin/node_modules/path-is-absolute/package.json +43 -0
- package/plugin/node_modules/path-is-absolute/readme.md +59 -0
- package/plugin/node_modules/picocolors/LICENSE +15 -0
- package/plugin/node_modules/picocolors/README.md +21 -0
- package/plugin/node_modules/picocolors/package.json +25 -0
- package/plugin/node_modules/picocolors/picocolors.browser.js +4 -0
- package/plugin/node_modules/picocolors/picocolors.d.ts +5 -0
- package/plugin/node_modules/picocolors/picocolors.js +75 -0
- package/plugin/node_modules/picocolors/types.d.ts +51 -0
- package/plugin/node_modules/plist/.github/workflows/ci.yml +24 -0
- package/plugin/node_modules/plist/.jshintrc +4 -0
- package/plugin/node_modules/plist/History.md +196 -0
- package/plugin/node_modules/plist/LICENSE +24 -0
- package/plugin/node_modules/plist/Makefile +75 -0
- package/plugin/node_modules/plist/README.md +146 -0
- package/plugin/node_modules/plist/dist/plist-build.js +5348 -0
- package/plugin/node_modules/plist/dist/plist-parse.js +7456 -0
- package/plugin/node_modules/plist/dist/plist.js +9888 -0
- package/plugin/node_modules/plist/examples/browser/index.html +14 -0
- package/plugin/node_modules/plist/index.js +13 -0
- package/plugin/node_modules/plist/lib/build.js +143 -0
- package/plugin/node_modules/plist/lib/parse.js +227 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/CHANGELOG.md +459 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/LICENSE +8 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/SECURITY.md +50 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/index.d.ts +43 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/conventions.js +203 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom-parser.js +322 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom.js +1840 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/index.js +4 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/sax.js +662 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/package.json +71 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/readme.md +356 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/.nycrc +6 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/.vscode/launch.json +23 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/CHANGELOG.md +593 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/LICENSE +21 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/README.md +103 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Derivation.js +10 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/NodeType.js +25 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/OperationType.js +11 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Utility.js +88 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/WriterState.js +10 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLAttribute.js +130 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCData.js +41 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCharacterData.js +86 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLComment.js +41 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +80 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +20 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +55 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMStringList.js +44 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDAttList.js +66 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDElement.js +44 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDEntity.js +115 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDNotation.js +66 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDeclaration.js +51 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocType.js +235 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocument.js +282 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentCB.js +650 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +21 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDummy.js +39 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLElement.js +334 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +77 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNode.js +999 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeFilter.js +51 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeList.js +45 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +56 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLRaw.js +40 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStreamWriter.js +209 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringWriter.js +40 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringifier.js +291 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLText.js +82 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLTypeInfo.js +23 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +27 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLWriterBase.js +485 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/index.js +120 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/package.json +51 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/escaping.coffee +244 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/object.coffee +21 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/index.coffee +161 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/perf.list +11 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/typings/index.d.ts +1771 -0
- package/plugin/node_modules/plist/package.json +44 -0
- package/plugin/node_modules/resolve-from/index.d.ts +31 -0
- package/plugin/node_modules/resolve-from/index.js +47 -0
- package/plugin/node_modules/resolve-from/license +9 -0
- package/plugin/node_modules/resolve-from/package.json +36 -0
- package/plugin/node_modules/resolve-from/readme.md +72 -0
- package/plugin/node_modules/sax/LICENSE +41 -0
- package/plugin/node_modules/sax/README.md +228 -0
- package/plugin/node_modules/sax/lib/sax.js +1597 -0
- package/plugin/node_modules/sax/package.json +29 -0
- package/plugin/node_modules/semver/LICENSE +15 -0
- package/plugin/node_modules/semver/README.md +664 -0
- package/plugin/node_modules/semver/bin/semver.js +191 -0
- package/plugin/node_modules/semver/classes/comparator.js +143 -0
- package/plugin/node_modules/semver/classes/index.js +7 -0
- package/plugin/node_modules/semver/classes/range.js +556 -0
- package/plugin/node_modules/semver/classes/semver.js +319 -0
- package/plugin/node_modules/semver/functions/clean.js +8 -0
- package/plugin/node_modules/semver/functions/cmp.js +54 -0
- package/plugin/node_modules/semver/functions/coerce.js +62 -0
- package/plugin/node_modules/semver/functions/compare-build.js +9 -0
- package/plugin/node_modules/semver/functions/compare-loose.js +5 -0
- package/plugin/node_modules/semver/functions/compare.js +7 -0
- package/plugin/node_modules/semver/functions/diff.js +60 -0
- package/plugin/node_modules/semver/functions/eq.js +5 -0
- package/plugin/node_modules/semver/functions/gt.js +5 -0
- package/plugin/node_modules/semver/functions/gte.js +5 -0
- package/plugin/node_modules/semver/functions/inc.js +21 -0
- package/plugin/node_modules/semver/functions/lt.js +5 -0
- package/plugin/node_modules/semver/functions/lte.js +5 -0
- package/plugin/node_modules/semver/functions/major.js +5 -0
- package/plugin/node_modules/semver/functions/minor.js +5 -0
- package/plugin/node_modules/semver/functions/neq.js +5 -0
- package/plugin/node_modules/semver/functions/parse.js +18 -0
- package/plugin/node_modules/semver/functions/patch.js +5 -0
- package/plugin/node_modules/semver/functions/prerelease.js +8 -0
- package/plugin/node_modules/semver/functions/rcompare.js +5 -0
- package/plugin/node_modules/semver/functions/rsort.js +5 -0
- package/plugin/node_modules/semver/functions/satisfies.js +12 -0
- package/plugin/node_modules/semver/functions/sort.js +5 -0
- package/plugin/node_modules/semver/functions/valid.js +8 -0
- package/plugin/node_modules/semver/index.js +91 -0
- package/plugin/node_modules/semver/internal/constants.js +37 -0
- package/plugin/node_modules/semver/internal/debug.js +11 -0
- package/plugin/node_modules/semver/internal/identifiers.js +25 -0
- package/plugin/node_modules/semver/internal/lrucache.js +42 -0
- package/plugin/node_modules/semver/internal/parse-options.js +17 -0
- package/plugin/node_modules/semver/internal/re.js +223 -0
- package/plugin/node_modules/semver/package.json +78 -0
- package/plugin/node_modules/semver/preload.js +4 -0
- package/plugin/node_modules/semver/range.bnf +16 -0
- package/plugin/node_modules/semver/ranges/gtr.js +6 -0
- package/plugin/node_modules/semver/ranges/intersects.js +9 -0
- package/plugin/node_modules/semver/ranges/ltr.js +6 -0
- package/plugin/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/plugin/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/plugin/node_modules/semver/ranges/min-version.js +63 -0
- package/plugin/node_modules/semver/ranges/outside.js +82 -0
- package/plugin/node_modules/semver/ranges/simplify.js +49 -0
- package/plugin/node_modules/semver/ranges/subset.js +249 -0
- package/plugin/node_modules/semver/ranges/to-comparators.js +10 -0
- package/plugin/node_modules/semver/ranges/valid.js +13 -0
- package/plugin/node_modules/signal-exit/LICENSE.txt +16 -0
- package/plugin/node_modules/signal-exit/README.md +39 -0
- package/plugin/node_modules/signal-exit/index.js +202 -0
- package/plugin/node_modules/signal-exit/package.json +38 -0
- package/plugin/node_modules/signal-exit/signals.js +53 -0
- package/plugin/node_modules/simple-plist/LICENSE +20 -0
- package/plugin/node_modules/simple-plist/README.md +130 -0
- package/plugin/node_modules/simple-plist/dist/index.d.ts +24 -0
- package/plugin/node_modules/simple-plist/dist/index.js +41 -0
- package/plugin/node_modules/simple-plist/dist/parse.d.ts +8 -0
- package/plugin/node_modules/simple-plist/dist/parse.js +45 -0
- package/plugin/node_modules/simple-plist/dist/readFile.d.ts +4 -0
- package/plugin/node_modules/simple-plist/dist/readFile.js +36 -0
- package/plugin/node_modules/simple-plist/dist/readFileSync.d.ts +3 -0
- package/plugin/node_modules/simple-plist/dist/readFileSync.js +26 -0
- package/plugin/node_modules/simple-plist/dist/stringify.d.ts +2 -0
- package/plugin/node_modules/simple-plist/dist/stringify.js +21 -0
- package/plugin/node_modules/simple-plist/dist/types.d.ts +4 -0
- package/plugin/node_modules/simple-plist/dist/types.js +12 -0
- package/plugin/node_modules/simple-plist/dist/writeBinaryFile.d.ts +5 -0
- package/plugin/node_modules/simple-plist/dist/writeBinaryFile.js +30 -0
- package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.d.ts +4 -0
- package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.js +22 -0
- package/plugin/node_modules/simple-plist/dist/writeFile.d.ts +5 -0
- package/plugin/node_modules/simple-plist/dist/writeFile.js +30 -0
- package/plugin/node_modules/simple-plist/dist/writeFileSync.d.ts +4 -0
- package/plugin/node_modules/simple-plist/dist/writeFileSync.js +23 -0
- package/plugin/node_modules/simple-plist/package.json +53 -0
- package/plugin/node_modules/slash/index.d.ts +25 -0
- package/plugin/node_modules/slash/index.js +11 -0
- package/plugin/node_modules/slash/license +9 -0
- package/plugin/node_modules/slash/package.json +35 -0
- package/plugin/node_modules/slash/readme.md +44 -0
- package/plugin/node_modules/slugify/CHANGELOG.md +94 -0
- package/plugin/node_modules/slugify/LICENSE +21 -0
- package/plugin/node_modules/slugify/README.md +98 -0
- package/plugin/node_modules/slugify/package.json +42 -0
- package/plugin/node_modules/slugify/slugify.d.ts +24 -0
- package/plugin/node_modules/slugify/slugify.js +69 -0
- package/plugin/node_modules/stream-buffers/.mailmap +2 -0
- package/plugin/node_modules/stream-buffers/.travis.yml +28 -0
- package/plugin/node_modules/stream-buffers/README.md +157 -0
- package/plugin/node_modules/stream-buffers/UNLICENSE +24 -0
- package/plugin/node_modules/stream-buffers/coverage/coverage.json +1 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/base.css +182 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/index.html +73 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +63 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +112 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +453 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +54 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +336 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.css +1 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.js +1 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/sorter.js +156 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov.info +305 -0
- package/plugin/node_modules/stream-buffers/lib/constants.js +6 -0
- package/plugin/node_modules/stream-buffers/lib/readable_streambuffer.js +136 -0
- package/plugin/node_modules/stream-buffers/lib/streambuffer.js +3 -0
- package/plugin/node_modules/stream-buffers/lib/writable_streambuffer.js +97 -0
- package/plugin/node_modules/stream-buffers/package.json +28 -0
- package/plugin/node_modules/supports-color/browser.js +5 -0
- package/plugin/node_modules/supports-color/index.js +135 -0
- package/plugin/node_modules/supports-color/license +9 -0
- package/plugin/node_modules/supports-color/package.json +53 -0
- package/plugin/node_modules/supports-color/readme.md +76 -0
- package/plugin/node_modules/typescript/LICENSE.txt +55 -0
- package/plugin/node_modules/typescript/README.md +50 -0
- package/plugin/node_modules/typescript/SECURITY.md +41 -0
- package/plugin/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
- package/plugin/node_modules/typescript/bin/tsc +2 -0
- package/plugin/node_modules/typescript/bin/tsserver +2 -0
- package/plugin/node_modules/typescript/lib/_tsc.js +133792 -0
- package/plugin/node_modules/typescript/lib/_tsserver.js +659 -0
- package/plugin/node_modules/typescript/lib/_typingsInstaller.js +222 -0
- package/plugin/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/lib.d.ts +22 -0
- package/plugin/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
- package/plugin/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
- package/plugin/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
- package/plugin/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
- package/plugin/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
- package/plugin/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
- package/plugin/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
- package/plugin/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
- package/plugin/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
- package/plugin/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
- package/plugin/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
- package/plugin/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
- package/plugin/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
- package/plugin/node_modules/typescript/lib/lib.es6.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.float16.d.ts +443 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
- package/plugin/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
- package/plugin/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
- package/plugin/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
- package/plugin/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
- package/plugin/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/tsc.js +8 -0
- package/plugin/node_modules/typescript/lib/tsserver.js +8 -0
- package/plugin/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
- package/plugin/node_modules/typescript/lib/tsserverlibrary.js +21 -0
- package/plugin/node_modules/typescript/lib/typesMap.json +497 -0
- package/plugin/node_modules/typescript/lib/typescript.d.ts +11438 -0
- package/plugin/node_modules/typescript/lib/typescript.js +200253 -0
- package/plugin/node_modules/typescript/lib/typingsInstaller.js +8 -0
- package/plugin/node_modules/typescript/lib/watchGuard.js +53 -0
- package/plugin/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/package.json +120 -0
- package/plugin/node_modules/undici-types/LICENSE +21 -0
- package/plugin/node_modules/undici-types/README.md +6 -0
- package/plugin/node_modules/undici-types/agent.d.ts +31 -0
- package/plugin/node_modules/undici-types/api.d.ts +43 -0
- package/plugin/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/plugin/node_modules/undici-types/cache.d.ts +36 -0
- package/plugin/node_modules/undici-types/client.d.ts +108 -0
- package/plugin/node_modules/undici-types/connector.d.ts +34 -0
- package/plugin/node_modules/undici-types/content-type.d.ts +21 -0
- package/plugin/node_modules/undici-types/cookies.d.ts +28 -0
- package/plugin/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/plugin/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/plugin/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/plugin/node_modules/undici-types/errors.d.ts +149 -0
- package/plugin/node_modules/undici-types/eventsource.d.ts +61 -0
- package/plugin/node_modules/undici-types/fetch.d.ts +209 -0
- package/plugin/node_modules/undici-types/file.d.ts +39 -0
- package/plugin/node_modules/undici-types/filereader.d.ts +54 -0
- package/plugin/node_modules/undici-types/formdata.d.ts +108 -0
- package/plugin/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/plugin/node_modules/undici-types/global-origin.d.ts +7 -0
- package/plugin/node_modules/undici-types/handlers.d.ts +15 -0
- package/plugin/node_modules/undici-types/header.d.ts +4 -0
- package/plugin/node_modules/undici-types/index.d.ts +71 -0
- package/plugin/node_modules/undici-types/interceptors.d.ts +17 -0
- package/plugin/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/plugin/node_modules/undici-types/mock-client.d.ts +25 -0
- package/plugin/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/plugin/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/plugin/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/plugin/node_modules/undici-types/package.json +55 -0
- package/plugin/node_modules/undici-types/patch.d.ts +33 -0
- package/plugin/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/plugin/node_modules/undici-types/pool.d.ts +39 -0
- package/plugin/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/plugin/node_modules/undici-types/readable.d.ts +65 -0
- package/plugin/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/plugin/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/plugin/node_modules/undici-types/util.d.ts +18 -0
- package/plugin/node_modules/undici-types/webidl.d.ts +228 -0
- package/plugin/node_modules/undici-types/websocket.d.ts +150 -0
- package/plugin/node_modules/uuid/CHANGELOG.md +156 -0
- package/plugin/node_modules/uuid/CONTRIBUTING.md +20 -0
- package/plugin/node_modules/uuid/LICENSE.md +21 -0
- package/plugin/node_modules/uuid/README.md +406 -0
- package/plugin/node_modules/uuid/deprecate.js +20 -0
- package/plugin/node_modules/uuid/dist/bin/uuid +2 -0
- package/plugin/node_modules/uuid/dist/bytesToUuid.js +27 -0
- package/plugin/node_modules/uuid/dist/esm-browser/bytesToUuid.js +18 -0
- package/plugin/node_modules/uuid/dist/esm-browser/index.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-browser/md5.js +218 -0
- package/plugin/node_modules/uuid/dist/esm-browser/rng.js +15 -0
- package/plugin/node_modules/uuid/dist/esm-browser/sha1.js +91 -0
- package/plugin/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/plugin/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-browser/v35.js +56 -0
- package/plugin/node_modules/uuid/dist/esm-browser/v4.js +27 -0
- package/plugin/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-node/bytesToUuid.js +18 -0
- package/plugin/node_modules/uuid/dist/esm-node/index.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/plugin/node_modules/uuid/dist/esm-node/rng.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/plugin/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/plugin/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-node/v35.js +56 -0
- package/plugin/node_modules/uuid/dist/esm-node/v4.js +27 -0
- package/plugin/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/plugin/node_modules/uuid/dist/index.js +39 -0
- package/plugin/node_modules/uuid/dist/md5-browser.js +225 -0
- package/plugin/node_modules/uuid/dist/md5.js +24 -0
- package/plugin/node_modules/uuid/dist/rng-browser.js +23 -0
- package/plugin/node_modules/uuid/dist/rng.js +16 -0
- package/plugin/node_modules/uuid/dist/sha1-browser.js +96 -0
- package/plugin/node_modules/uuid/dist/sha1.js +24 -0
- package/plugin/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/plugin/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/plugin/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/plugin/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/plugin/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/plugin/node_modules/uuid/dist/uuid-bin.js +67 -0
- package/plugin/node_modules/uuid/dist/v1.js +108 -0
- package/plugin/node_modules/uuid/dist/v3.js +17 -0
- package/plugin/node_modules/uuid/dist/v35.js +69 -0
- package/plugin/node_modules/uuid/dist/v4.js +41 -0
- package/plugin/node_modules/uuid/dist/v5.js +17 -0
- package/plugin/node_modules/uuid/package.json +115 -0
- package/plugin/node_modules/uuid/v1.js +8 -0
- package/plugin/node_modules/uuid/v3.js +8 -0
- package/plugin/node_modules/uuid/v4.js +8 -0
- package/plugin/node_modules/uuid/v5.js +8 -0
- package/plugin/node_modules/wrappy/LICENSE +15 -0
- package/plugin/node_modules/wrappy/README.md +36 -0
- package/plugin/node_modules/wrappy/package.json +29 -0
- package/plugin/node_modules/wrappy/wrappy.js +33 -0
- package/plugin/node_modules/write-file-atomic/CHANGELOG.md +25 -0
- package/plugin/node_modules/write-file-atomic/LICENSE +6 -0
- package/plugin/node_modules/write-file-atomic/README.md +56 -0
- package/plugin/node_modules/write-file-atomic/index.js +238 -0
- package/plugin/node_modules/write-file-atomic/package.json +41 -0
- package/plugin/node_modules/xcode/AUTHORS +6 -0
- package/plugin/node_modules/xcode/CONTRIBUTING.md +37 -0
- package/plugin/node_modules/xcode/LICENSE +202 -0
- package/plugin/node_modules/xcode/Makefile +24 -0
- package/plugin/node_modules/xcode/NOTICE +5 -0
- package/plugin/node_modules/xcode/README.md +72 -0
- package/plugin/node_modules/xcode/RELEASENOTES.md +77 -0
- package/plugin/node_modules/xcode/index.js +18 -0
- package/plugin/node_modules/xcode/lib/parseJob.js +32 -0
- package/plugin/node_modules/xcode/lib/parser/pbxproj.js +1904 -0
- package/plugin/node_modules/xcode/lib/parser/pbxproj.pegjs +280 -0
- package/plugin/node_modules/xcode/lib/pbxFile.js +233 -0
- package/plugin/node_modules/xcode/lib/pbxProject.js +2201 -0
- package/plugin/node_modules/xcode/lib/pbxWriter.js +309 -0
- package/plugin/node_modules/xcode/package.json +61 -0
- package/plugin/node_modules/xml2js/LICENSE +19 -0
- package/plugin/node_modules/xml2js/README.md +507 -0
- package/plugin/node_modules/xml2js/lib/bom.js +12 -0
- package/plugin/node_modules/xml2js/lib/builder.js +127 -0
- package/plugin/node_modules/xml2js/lib/defaults.js +72 -0
- package/plugin/node_modules/xml2js/lib/parser.js +396 -0
- package/plugin/node_modules/xml2js/lib/processors.js +34 -0
- package/plugin/node_modules/xml2js/lib/xml2js.js +39 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +470 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +21 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/README.md +86 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +20 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +10 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +23 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +11 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +83 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +10 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +108 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +36 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +79 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +36 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +64 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +16 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +32 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +28 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +55 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +38 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +97 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +52 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +43 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +186 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +242 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +528 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +24 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +31 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +298 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +58 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +785 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +48 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +28 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +49 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +35 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +176 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +35 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +240 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +69 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +21 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +16 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +428 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +65 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/package.json +39 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +153 -0
- package/plugin/node_modules/xml2js/package.json +93 -0
- package/plugin/node_modules/xmlbuilder/.nycrc +6 -0
- package/plugin/node_modules/xmlbuilder/CHANGELOG.md +568 -0
- package/plugin/node_modules/xmlbuilder/LICENSE +21 -0
- package/plugin/node_modules/xmlbuilder/README.md +103 -0
- package/plugin/node_modules/xmlbuilder/lib/Derivation.js +10 -0
- package/plugin/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
- package/plugin/node_modules/xmlbuilder/lib/NodeType.js +25 -0
- package/plugin/node_modules/xmlbuilder/lib/OperationType.js +11 -0
- package/plugin/node_modules/xmlbuilder/lib/Utility.js +88 -0
- package/plugin/node_modules/xmlbuilder/lib/WriterState.js +10 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLAttribute.js +130 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLCData.js +41 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLCharacterData.js +86 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLComment.js +41 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +80 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +20 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +55 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMStringList.js +44 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDAttList.js +66 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDElement.js +44 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDEntity.js +115 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDNotation.js +66 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDeclaration.js +51 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDocType.js +235 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDocument.js +282 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDocumentCB.js +650 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +21 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDummy.js +39 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLElement.js +334 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +77 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLNode.js +999 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLNodeFilter.js +51 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLNodeList.js +45 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +56 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLRaw.js +40 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLStreamWriter.js +209 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLStringWriter.js +40 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLStringifier.js +287 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLText.js +82 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLTypeInfo.js +23 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +27 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLWriterBase.js +485 -0
- package/plugin/node_modules/xmlbuilder/lib/index.js +120 -0
- package/plugin/node_modules/xmlbuilder/package.json +51 -0
- package/plugin/node_modules/xmlbuilder/perf/basic/escaping.coffee +244 -0
- package/plugin/node_modules/xmlbuilder/perf/basic/object.coffee +21 -0
- package/plugin/node_modules/xmlbuilder/perf/index.coffee +161 -0
- package/plugin/node_modules/xmlbuilder/perf/perf.list +11 -0
- package/plugin/node_modules/xmlbuilder/typings/index.d.ts +1761 -0
- package/plugin/node_modules/yocto-queue/index.d.ts +56 -0
- package/plugin/node_modules/yocto-queue/index.js +68 -0
- package/plugin/node_modules/yocto-queue/license +9 -0
- package/plugin/node_modules/yocto-queue/package.json +43 -0
- package/plugin/node_modules/yocto-queue/readme.md +64 -0
- package/plugin/package-lock.json +763 -0
- package/plugin/package.json +16 -0
- package/plugin/src/withVolumeKeyIntercept.ts +184 -0
- package/plugin/tsconfig.json +18 -0
- package/plugin/tsconfig.tsbuildinfo +1 -0
- package/src/ReactNativeKookitModule.ts +20 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.createBuildPodfilePropsConfigPlugin = createBuildPodfilePropsConfigPlugin;
|
|
7
|
+
exports.updateIosBuildPropertiesFromConfig = updateIosBuildPropertiesFromConfig;
|
|
8
|
+
exports.updateIosBuildProperty = updateIosBuildProperty;
|
|
9
|
+
exports.withJsEnginePodfileProps = void 0;
|
|
10
|
+
function _iosPlugins() {
|
|
11
|
+
const data = require("../plugins/ios-plugins");
|
|
12
|
+
_iosPlugins = function () {
|
|
13
|
+
return data;
|
|
14
|
+
};
|
|
15
|
+
return data;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Creates a `withPodfileProperties` config-plugin based on given config to property mapping rules.
|
|
19
|
+
*
|
|
20
|
+
* The factory supports two modes from generic type inference
|
|
21
|
+
* ```ts
|
|
22
|
+
* // config-plugin without `props`, it will implicitly use the expo config as source config.
|
|
23
|
+
* createBuildPodfilePropsConfigPlugin<ExpoConfig>(): ConfigPlugin<void>;
|
|
24
|
+
*
|
|
25
|
+
* // config-plugin with a parameter `props: CustomType`, it will use the `props` as source config.
|
|
26
|
+
* createBuildPodfilePropsConfigPlugin<CustomType>(): ConfigPlugin<CustomType>;
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @param configToPropertyRules config to property mapping rules
|
|
30
|
+
* @param name the config plugin name
|
|
31
|
+
*/
|
|
32
|
+
function createBuildPodfilePropsConfigPlugin(configToPropertyRules, name) {
|
|
33
|
+
const withUnknown = (config, sourceConfig) => (0, _iosPlugins().withPodfileProperties)(config, config => {
|
|
34
|
+
config.modResults = updateIosBuildPropertiesFromConfig(sourceConfig ?? config, config.modResults, configToPropertyRules);
|
|
35
|
+
return config;
|
|
36
|
+
});
|
|
37
|
+
if (name) {
|
|
38
|
+
Object.defineProperty(withUnknown, 'name', {
|
|
39
|
+
value: name
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
return withUnknown;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* A config-plugin to update `ios/Podfile.properties.json` from the `jsEngine` in expo config
|
|
47
|
+
*/
|
|
48
|
+
const withJsEnginePodfileProps = exports.withJsEnginePodfileProps = createBuildPodfilePropsConfigPlugin([{
|
|
49
|
+
propName: 'expo.jsEngine',
|
|
50
|
+
propValueGetter: config => config.ios?.jsEngine ?? config.jsEngine ?? 'hermes'
|
|
51
|
+
}], 'withJsEnginePodfileProps');
|
|
52
|
+
function updateIosBuildPropertiesFromConfig(config, podfileProperties, configToPropertyRules) {
|
|
53
|
+
for (const configToProperty of configToPropertyRules) {
|
|
54
|
+
const value = configToProperty.propValueGetter(config);
|
|
55
|
+
updateIosBuildProperty(podfileProperties, configToProperty.propName, value);
|
|
56
|
+
}
|
|
57
|
+
return podfileProperties;
|
|
58
|
+
}
|
|
59
|
+
function updateIosBuildProperty(podfileProperties, name, value, options) {
|
|
60
|
+
if (value) {
|
|
61
|
+
podfileProperties[name] = value;
|
|
62
|
+
} else if (options?.removePropWhenValueIsNull) {
|
|
63
|
+
delete podfileProperties[name];
|
|
64
|
+
}
|
|
65
|
+
return podfileProperties;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=BuildProperties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuildProperties.js","names":["_iosPlugins","data","require","createBuildPodfilePropsConfigPlugin","configToPropertyRules","name","withUnknown","config","sourceConfig","withPodfileProperties","modResults","updateIosBuildPropertiesFromConfig","Object","defineProperty","value","withJsEnginePodfileProps","exports","propName","propValueGetter","ios","jsEngine","podfileProperties","configToProperty","updateIosBuildProperty","options","removePropWhenValueIsNull"],"sources":["../../src/ios/BuildProperties.ts"],"sourcesContent":["import type { ExpoConfig } from '@expo/config-types';\n\nimport type { ConfigPlugin } from '../Plugin.types';\nimport { withPodfileProperties } from '../plugins/ios-plugins';\nimport { BuildPropertiesConfig, ConfigToPropertyRuleType } from '../utils/BuildProperties.types';\n\n/**\n * Creates a `withPodfileProperties` config-plugin based on given config to property mapping rules.\n *\n * The factory supports two modes from generic type inference\n * ```ts\n * // config-plugin without `props`, it will implicitly use the expo config as source config.\n * createBuildPodfilePropsConfigPlugin<ExpoConfig>(): ConfigPlugin<void>;\n *\n * // config-plugin with a parameter `props: CustomType`, it will use the `props` as source config.\n * createBuildPodfilePropsConfigPlugin<CustomType>(): ConfigPlugin<CustomType>;\n * ```\n *\n * @param configToPropertyRules config to property mapping rules\n * @param name the config plugin name\n */\nexport function createBuildPodfilePropsConfigPlugin<SourceConfigType extends BuildPropertiesConfig>(\n configToPropertyRules: ConfigToPropertyRuleType<SourceConfigType>[],\n name?: string\n) {\n const withUnknown: ConfigPlugin<SourceConfigType extends ExpoConfig ? void : SourceConfigType> = (\n config,\n sourceConfig\n ) =>\n withPodfileProperties(config, (config) => {\n config.modResults = updateIosBuildPropertiesFromConfig(\n (sourceConfig ?? config) as SourceConfigType,\n config.modResults,\n configToPropertyRules\n );\n return config;\n });\n if (name) {\n Object.defineProperty(withUnknown, 'name', {\n value: name,\n });\n }\n return withUnknown;\n}\n\n/**\n * A config-plugin to update `ios/Podfile.properties.json` from the `jsEngine` in expo config\n */\nexport const withJsEnginePodfileProps = createBuildPodfilePropsConfigPlugin<ExpoConfig>(\n [\n {\n propName: 'expo.jsEngine',\n propValueGetter: (config) => config.ios?.jsEngine ?? config.jsEngine ?? 'hermes',\n },\n ],\n 'withJsEnginePodfileProps'\n);\n\nexport function updateIosBuildPropertiesFromConfig<SourceConfigType extends BuildPropertiesConfig>(\n config: SourceConfigType,\n podfileProperties: Record<string, string>,\n configToPropertyRules: ConfigToPropertyRuleType<SourceConfigType>[]\n) {\n for (const configToProperty of configToPropertyRules) {\n const value = configToProperty.propValueGetter(config);\n updateIosBuildProperty(podfileProperties, configToProperty.propName, value);\n }\n return podfileProperties;\n}\n\nexport function updateIosBuildProperty(\n podfileProperties: Record<string, string>,\n name: string,\n value: string | null | undefined,\n options?: { removePropWhenValueIsNull?: boolean }\n) {\n if (value) {\n podfileProperties[name] = value;\n } else if (options?.removePropWhenValueIsNull) {\n delete podfileProperties[name];\n }\n return podfileProperties;\n}\n"],"mappings":";;;;;;;;;AAGA,SAAAA,YAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,WAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASE,mCAAmCA,CACjDC,qBAAmE,EACnEC,IAAa,EACb;EACA,MAAMC,WAAwF,GAAGA,CAC/FC,MAAM,EACNC,YAAY,KAEZ,IAAAC,mCAAqB,EAACF,MAAM,EAAGA,MAAM,IAAK;IACxCA,MAAM,CAACG,UAAU,GAAGC,kCAAkC,CACnDH,YAAY,IAAID,MAAM,EACvBA,MAAM,CAACG,UAAU,EACjBN,qBACF,CAAC;IACD,OAAOG,MAAM;EACf,CAAC,CAAC;EACJ,IAAIF,IAAI,EAAE;IACRO,MAAM,CAACC,cAAc,CAACP,WAAW,EAAE,MAAM,EAAE;MACzCQ,KAAK,EAAET;IACT,CAAC,CAAC;EACJ;EACA,OAAOC,WAAW;AACpB;;AAEA;AACA;AACA;AACO,MAAMS,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,GAAGZ,mCAAmC,CACzE,CACE;EACEc,QAAQ,EAAE,eAAe;EACzBC,eAAe,EAAGX,MAAM,IAAKA,MAAM,CAACY,GAAG,EAAEC,QAAQ,IAAIb,MAAM,CAACa,QAAQ,IAAI;AAC1E,CAAC,CACF,EACD,0BACF,CAAC;AAEM,SAAST,kCAAkCA,CAChDJ,MAAwB,EACxBc,iBAAyC,EACzCjB,qBAAmE,EACnE;EACA,KAAK,MAAMkB,gBAAgB,IAAIlB,qBAAqB,EAAE;IACpD,MAAMU,KAAK,GAAGQ,gBAAgB,CAACJ,eAAe,CAACX,MAAM,CAAC;IACtDgB,sBAAsB,CAACF,iBAAiB,EAAEC,gBAAgB,CAACL,QAAQ,EAAEH,KAAK,CAAC;EAC7E;EACA,OAAOO,iBAAiB;AAC1B;AAEO,SAASE,sBAAsBA,CACpCF,iBAAyC,EACzChB,IAAY,EACZS,KAAgC,EAChCU,OAAiD,EACjD;EACA,IAAIV,KAAK,EAAE;IACTO,iBAAiB,CAAChB,IAAI,CAAC,GAAGS,KAAK;EACjC,CAAC,MAAM,IAAIU,OAAO,EAAEC,yBAAyB,EAAE;IAC7C,OAAOJ,iBAAiB,CAAChB,IAAI,CAAC;EAChC;EACA,OAAOgB,iBAAiB;AAC1B","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function getSchemesFromXcodeproj(projectRoot: string): string[];
|
|
2
|
+
export declare function getRunnableSchemesFromXcodeproj(projectRoot: string, { configuration }?: {
|
|
3
|
+
configuration?: 'Debug' | 'Release';
|
|
4
|
+
}): {
|
|
5
|
+
name: string;
|
|
6
|
+
osType: string;
|
|
7
|
+
type: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare function getApplicationTargetNameForSchemeAsync(projectRoot: string, scheme: string): Promise<string>;
|
|
10
|
+
export declare function getArchiveBuildConfigurationForSchemeAsync(projectRoot: string, scheme: string): Promise<string>;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getApplicationTargetNameForSchemeAsync = getApplicationTargetNameForSchemeAsync;
|
|
7
|
+
exports.getArchiveBuildConfigurationForSchemeAsync = getArchiveBuildConfigurationForSchemeAsync;
|
|
8
|
+
exports.getRunnableSchemesFromXcodeproj = getRunnableSchemesFromXcodeproj;
|
|
9
|
+
exports.getSchemesFromXcodeproj = getSchemesFromXcodeproj;
|
|
10
|
+
function _Paths() {
|
|
11
|
+
const data = require("./Paths");
|
|
12
|
+
_Paths = function () {
|
|
13
|
+
return data;
|
|
14
|
+
};
|
|
15
|
+
return data;
|
|
16
|
+
}
|
|
17
|
+
function _Target() {
|
|
18
|
+
const data = require("./Target");
|
|
19
|
+
_Target = function () {
|
|
20
|
+
return data;
|
|
21
|
+
};
|
|
22
|
+
return data;
|
|
23
|
+
}
|
|
24
|
+
function _Xcodeproj() {
|
|
25
|
+
const data = require("./utils/Xcodeproj");
|
|
26
|
+
_Xcodeproj = function () {
|
|
27
|
+
return data;
|
|
28
|
+
};
|
|
29
|
+
return data;
|
|
30
|
+
}
|
|
31
|
+
function _XML() {
|
|
32
|
+
const data = require("../utils/XML");
|
|
33
|
+
_XML = function () {
|
|
34
|
+
return data;
|
|
35
|
+
};
|
|
36
|
+
return data;
|
|
37
|
+
}
|
|
38
|
+
function getSchemesFromXcodeproj(projectRoot) {
|
|
39
|
+
return (0, _Paths().findSchemeNames)(projectRoot);
|
|
40
|
+
}
|
|
41
|
+
function getRunnableSchemesFromXcodeproj(projectRoot, {
|
|
42
|
+
configuration = 'Debug'
|
|
43
|
+
} = {}) {
|
|
44
|
+
const project = (0, _Xcodeproj().getPbxproj)(projectRoot);
|
|
45
|
+
return (0, _Target().findSignableTargets)(project).map(([, target]) => {
|
|
46
|
+
let osType = 'iOS';
|
|
47
|
+
const type = (0, _Xcodeproj().unquote)(target.productType);
|
|
48
|
+
if (type === _Target().TargetType.WATCH) {
|
|
49
|
+
osType = 'watchOS';
|
|
50
|
+
} else if (
|
|
51
|
+
// (apps) com.apple.product-type.application
|
|
52
|
+
// (app clips) com.apple.product-type.application.on-demand-install-capable
|
|
53
|
+
// NOTE(EvanBacon): This matches against `watchOS` as well so we check for watch first.
|
|
54
|
+
type.startsWith(_Target().TargetType.APPLICATION)) {
|
|
55
|
+
// Attempt to resolve the platform SDK for each target so we can filter devices.
|
|
56
|
+
const xcConfigurationList = project.hash.project.objects.XCConfigurationList[target.buildConfigurationList];
|
|
57
|
+
if (xcConfigurationList) {
|
|
58
|
+
const buildConfiguration = xcConfigurationList.buildConfigurations.find(value => value.comment === configuration) || xcConfigurationList.buildConfigurations[0];
|
|
59
|
+
if (buildConfiguration?.value) {
|
|
60
|
+
const xcBuildConfiguration = project.hash.project.objects.XCBuildConfiguration?.[buildConfiguration.value];
|
|
61
|
+
const buildSdkRoot = xcBuildConfiguration.buildSettings.SDKROOT;
|
|
62
|
+
if (buildSdkRoot === 'appletvos' || 'TVOS_DEPLOYMENT_TARGET' in xcBuildConfiguration.buildSettings) {
|
|
63
|
+
// Is a TV app...
|
|
64
|
+
osType = 'tvOS';
|
|
65
|
+
} else if (buildSdkRoot === 'iphoneos') {
|
|
66
|
+
osType = 'iOS';
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
name: (0, _Xcodeproj().unquote)(target.name),
|
|
73
|
+
osType,
|
|
74
|
+
type: (0, _Xcodeproj().unquote)(target.productType)
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
async function readSchemeAsync(projectRoot, scheme) {
|
|
79
|
+
const allSchemePaths = (0, _Paths().findSchemePaths)(projectRoot);
|
|
80
|
+
const re = new RegExp(`/${scheme}.xcscheme`, 'i');
|
|
81
|
+
const schemePath = allSchemePaths.find(i => re.exec(i));
|
|
82
|
+
if (schemePath) {
|
|
83
|
+
return await (0, _XML().readXMLAsync)({
|
|
84
|
+
path: schemePath
|
|
85
|
+
});
|
|
86
|
+
} else {
|
|
87
|
+
throw new Error(`scheme '${scheme}' does not exist, make sure it's marked as shared`);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
async function getApplicationTargetNameForSchemeAsync(projectRoot, scheme) {
|
|
91
|
+
const schemeXML = await readSchemeAsync(projectRoot, scheme);
|
|
92
|
+
const buildActionEntry = schemeXML?.Scheme?.BuildAction?.[0]?.BuildActionEntries?.[0]?.BuildActionEntry;
|
|
93
|
+
const targetName = buildActionEntry?.length === 1 ? getBlueprintName(buildActionEntry[0]) : getBlueprintName(buildActionEntry?.find(entry => {
|
|
94
|
+
return entry.BuildableReference?.[0]?.['$']?.BuildableName?.endsWith('.app');
|
|
95
|
+
}));
|
|
96
|
+
if (!targetName) {
|
|
97
|
+
throw new Error(`${scheme}.xcscheme seems to be corrupted`);
|
|
98
|
+
}
|
|
99
|
+
return targetName;
|
|
100
|
+
}
|
|
101
|
+
async function getArchiveBuildConfigurationForSchemeAsync(projectRoot, scheme) {
|
|
102
|
+
const schemeXML = await readSchemeAsync(projectRoot, scheme);
|
|
103
|
+
const buildConfiguration = schemeXML?.Scheme?.ArchiveAction?.[0]?.['$']?.buildConfiguration;
|
|
104
|
+
if (!buildConfiguration) {
|
|
105
|
+
throw new Error(`${scheme}.xcscheme seems to be corrupted`);
|
|
106
|
+
}
|
|
107
|
+
return buildConfiguration;
|
|
108
|
+
}
|
|
109
|
+
function getBlueprintName(entry) {
|
|
110
|
+
return entry?.BuildableReference?.[0]?.['$']?.BlueprintName;
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=BuildScheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuildScheme.js","names":["_Paths","data","require","_Target","_Xcodeproj","_XML","getSchemesFromXcodeproj","projectRoot","findSchemeNames","getRunnableSchemesFromXcodeproj","configuration","project","getPbxproj","findSignableTargets","map","target","osType","type","unquote","productType","TargetType","WATCH","startsWith","APPLICATION","xcConfigurationList","hash","objects","XCConfigurationList","buildConfigurationList","buildConfiguration","buildConfigurations","find","value","comment","xcBuildConfiguration","XCBuildConfiguration","buildSdkRoot","buildSettings","SDKROOT","name","readSchemeAsync","scheme","allSchemePaths","findSchemePaths","re","RegExp","schemePath","i","exec","readXMLAsync","path","Error","getApplicationTargetNameForSchemeAsync","schemeXML","buildActionEntry","Scheme","BuildAction","BuildActionEntries","BuildActionEntry","targetName","length","getBlueprintName","entry","BuildableReference","BuildableName","endsWith","getArchiveBuildConfigurationForSchemeAsync","ArchiveAction","BlueprintName"],"sources":["../../src/ios/BuildScheme.ts"],"sourcesContent":["import { findSchemeNames, findSchemePaths } from './Paths';\nimport { findSignableTargets, TargetType } from './Target';\nimport { getPbxproj, unquote } from './utils/Xcodeproj';\nimport { readXMLAsync } from '../utils/XML';\n\ninterface SchemeXML {\n Scheme?: {\n BuildAction?: {\n BuildActionEntries?: {\n BuildActionEntry?: BuildActionEntryType[];\n }[];\n }[];\n ArchiveAction?: {\n $?: {\n buildConfiguration?: string;\n };\n }[];\n };\n}\n\ninterface BuildActionEntryType {\n BuildableReference?: {\n $?: {\n BlueprintName?: string;\n BuildableName?: string;\n };\n }[];\n}\n\nexport function getSchemesFromXcodeproj(projectRoot: string): string[] {\n return findSchemeNames(projectRoot);\n}\n\nexport function getRunnableSchemesFromXcodeproj(\n projectRoot: string,\n { configuration = 'Debug' }: { configuration?: 'Debug' | 'Release' } = {}\n): { name: string; osType: string; type: string }[] {\n const project = getPbxproj(projectRoot);\n\n return findSignableTargets(project).map(([, target]) => {\n let osType = 'iOS';\n const type = unquote(target.productType);\n\n if (type === TargetType.WATCH) {\n osType = 'watchOS';\n } else if (\n // (apps) com.apple.product-type.application\n // (app clips) com.apple.product-type.application.on-demand-install-capable\n // NOTE(EvanBacon): This matches against `watchOS` as well so we check for watch first.\n type.startsWith(TargetType.APPLICATION)\n ) {\n // Attempt to resolve the platform SDK for each target so we can filter devices.\n const xcConfigurationList =\n project.hash.project.objects.XCConfigurationList[target.buildConfigurationList];\n\n if (xcConfigurationList) {\n const buildConfiguration =\n xcConfigurationList.buildConfigurations.find(\n (value: { comment: string; value: string }) => value.comment === configuration\n ) || xcConfigurationList.buildConfigurations[0];\n if (buildConfiguration?.value) {\n const xcBuildConfiguration =\n project.hash.project.objects.XCBuildConfiguration?.[buildConfiguration.value];\n\n const buildSdkRoot = xcBuildConfiguration.buildSettings.SDKROOT;\n if (\n buildSdkRoot === 'appletvos' ||\n 'TVOS_DEPLOYMENT_TARGET' in xcBuildConfiguration.buildSettings\n ) {\n // Is a TV app...\n osType = 'tvOS';\n } else if (buildSdkRoot === 'iphoneos') {\n osType = 'iOS';\n }\n }\n }\n }\n\n return {\n name: unquote(target.name),\n osType,\n type: unquote(target.productType),\n };\n });\n}\n\nasync function readSchemeAsync(\n projectRoot: string,\n scheme: string\n): Promise<SchemeXML | undefined> {\n const allSchemePaths = findSchemePaths(projectRoot);\n const re = new RegExp(`/${scheme}.xcscheme`, 'i');\n const schemePath = allSchemePaths.find((i) => re.exec(i));\n if (schemePath) {\n return (await readXMLAsync({ path: schemePath })) as unknown as SchemeXML | undefined;\n } else {\n throw new Error(`scheme '${scheme}' does not exist, make sure it's marked as shared`);\n }\n}\n\nexport async function getApplicationTargetNameForSchemeAsync(\n projectRoot: string,\n scheme: string\n): Promise<string> {\n const schemeXML = await readSchemeAsync(projectRoot, scheme);\n const buildActionEntry =\n schemeXML?.Scheme?.BuildAction?.[0]?.BuildActionEntries?.[0]?.BuildActionEntry;\n const targetName =\n buildActionEntry?.length === 1\n ? getBlueprintName(buildActionEntry[0])\n : getBlueprintName(\n buildActionEntry?.find((entry) => {\n return entry.BuildableReference?.[0]?.['$']?.BuildableName?.endsWith('.app');\n })\n );\n if (!targetName) {\n throw new Error(`${scheme}.xcscheme seems to be corrupted`);\n }\n return targetName;\n}\n\nexport async function getArchiveBuildConfigurationForSchemeAsync(\n projectRoot: string,\n scheme: string\n): Promise<string> {\n const schemeXML = await readSchemeAsync(projectRoot, scheme);\n const buildConfiguration = schemeXML?.Scheme?.ArchiveAction?.[0]?.['$']?.buildConfiguration;\n if (!buildConfiguration) {\n throw new Error(`${scheme}.xcscheme seems to be corrupted`);\n }\n return buildConfiguration;\n}\n\nfunction getBlueprintName(entry?: BuildActionEntryType): string | undefined {\n return entry?.BuildableReference?.[0]?.['$']?.BlueprintName;\n}\n"],"mappings":";;;;;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,QAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,OAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,WAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,UAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,KAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,IAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AA0BO,SAASK,uBAAuBA,CAACC,WAAmB,EAAY;EACrE,OAAO,IAAAC,wBAAe,EAACD,WAAW,CAAC;AACrC;AAEO,SAASE,+BAA+BA,CAC7CF,WAAmB,EACnB;EAAEG,aAAa,GAAG;AAAiD,CAAC,GAAG,CAAC,CAAC,EACvB;EAClD,MAAMC,OAAO,GAAG,IAAAC,uBAAU,EAACL,WAAW,CAAC;EAEvC,OAAO,IAAAM,6BAAmB,EAACF,OAAO,CAAC,CAACG,GAAG,CAAC,CAAC,GAAGC,MAAM,CAAC,KAAK;IACtD,IAAIC,MAAM,GAAG,KAAK;IAClB,MAAMC,IAAI,GAAG,IAAAC,oBAAO,EAACH,MAAM,CAACI,WAAW,CAAC;IAExC,IAAIF,IAAI,KAAKG,oBAAU,CAACC,KAAK,EAAE;MAC7BL,MAAM,GAAG,SAAS;IACpB,CAAC,MAAM;IACL;IACA;IACA;IACAC,IAAI,CAACK,UAAU,CAACF,oBAAU,CAACG,WAAW,CAAC,EACvC;MACA;MACA,MAAMC,mBAAmB,GACvBb,OAAO,CAACc,IAAI,CAACd,OAAO,CAACe,OAAO,CAACC,mBAAmB,CAACZ,MAAM,CAACa,sBAAsB,CAAC;MAEjF,IAAIJ,mBAAmB,EAAE;QACvB,MAAMK,kBAAkB,GACtBL,mBAAmB,CAACM,mBAAmB,CAACC,IAAI,CACzCC,KAAyC,IAAKA,KAAK,CAACC,OAAO,KAAKvB,aACnE,CAAC,IAAIc,mBAAmB,CAACM,mBAAmB,CAAC,CAAC,CAAC;QACjD,IAAID,kBAAkB,EAAEG,KAAK,EAAE;UAC7B,MAAME,oBAAoB,GACxBvB,OAAO,CAACc,IAAI,CAACd,OAAO,CAACe,OAAO,CAACS,oBAAoB,GAAGN,kBAAkB,CAACG,KAAK,CAAC;UAE/E,MAAMI,YAAY,GAAGF,oBAAoB,CAACG,aAAa,CAACC,OAAO;UAC/D,IACEF,YAAY,KAAK,WAAW,IAC5B,wBAAwB,IAAIF,oBAAoB,CAACG,aAAa,EAC9D;YACA;YACArB,MAAM,GAAG,MAAM;UACjB,CAAC,MAAM,IAAIoB,YAAY,KAAK,UAAU,EAAE;YACtCpB,MAAM,GAAG,KAAK;UAChB;QACF;MACF;IACF;IAEA,OAAO;MACLuB,IAAI,EAAE,IAAArB,oBAAO,EAACH,MAAM,CAACwB,IAAI,CAAC;MAC1BvB,MAAM;MACNC,IAAI,EAAE,IAAAC,oBAAO,EAACH,MAAM,CAACI,WAAW;IAClC,CAAC;EACH,CAAC,CAAC;AACJ;AAEA,eAAeqB,eAAeA,CAC5BjC,WAAmB,EACnBkC,MAAc,EACkB;EAChC,MAAMC,cAAc,GAAG,IAAAC,wBAAe,EAACpC,WAAW,CAAC;EACnD,MAAMqC,EAAE,GAAG,IAAIC,MAAM,CAAC,IAAIJ,MAAM,WAAW,EAAE,GAAG,CAAC;EACjD,MAAMK,UAAU,GAAGJ,cAAc,CAACX,IAAI,CAAEgB,CAAC,IAAKH,EAAE,CAACI,IAAI,CAACD,CAAC,CAAC,CAAC;EACzD,IAAID,UAAU,EAAE;IACd,OAAQ,MAAM,IAAAG,mBAAY,EAAC;MAAEC,IAAI,EAAEJ;IAAW,CAAC,CAAC;EAClD,CAAC,MAAM;IACL,MAAM,IAAIK,KAAK,CAAC,WAAWV,MAAM,mDAAmD,CAAC;EACvF;AACF;AAEO,eAAeW,sCAAsCA,CAC1D7C,WAAmB,EACnBkC,MAAc,EACG;EACjB,MAAMY,SAAS,GAAG,MAAMb,eAAe,CAACjC,WAAW,EAAEkC,MAAM,CAAC;EAC5D,MAAMa,gBAAgB,GACpBD,SAAS,EAAEE,MAAM,EAAEC,WAAW,GAAG,CAAC,CAAC,EAAEC,kBAAkB,GAAG,CAAC,CAAC,EAAEC,gBAAgB;EAChF,MAAMC,UAAU,GACdL,gBAAgB,EAAEM,MAAM,KAAK,CAAC,GAC1BC,gBAAgB,CAACP,gBAAgB,CAAC,CAAC,CAAC,CAAC,GACrCO,gBAAgB,CACdP,gBAAgB,EAAEvB,IAAI,CAAE+B,KAAK,IAAK;IAChC,OAAOA,KAAK,CAACC,kBAAkB,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,EAAEC,aAAa,EAAEC,QAAQ,CAAC,MAAM,CAAC;EAC9E,CAAC,CACH,CAAC;EACP,IAAI,CAACN,UAAU,EAAE;IACf,MAAM,IAAIR,KAAK,CAAC,GAAGV,MAAM,iCAAiC,CAAC;EAC7D;EACA,OAAOkB,UAAU;AACnB;AAEO,eAAeO,0CAA0CA,CAC9D3D,WAAmB,EACnBkC,MAAc,EACG;EACjB,MAAMY,SAAS,GAAG,MAAMb,eAAe,CAACjC,WAAW,EAAEkC,MAAM,CAAC;EAC5D,MAAMZ,kBAAkB,GAAGwB,SAAS,EAAEE,MAAM,EAAEY,aAAa,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,EAAEtC,kBAAkB;EAC3F,IAAI,CAACA,kBAAkB,EAAE;IACvB,MAAM,IAAIsB,KAAK,CAAC,GAAGV,MAAM,iCAAiC,CAAC;EAC7D;EACA,OAAOZ,kBAAkB;AAC3B;AAEA,SAASgC,gBAAgBA,CAACC,KAA4B,EAAsB;EAC1E,OAAOA,KAAK,EAAEC,kBAAkB,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,EAAEK,aAAa;AAC7D","ignoreList":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ExpoConfig } from '@expo/config-types';
|
|
2
|
+
import { InfoPlist } from './IosConfig.types';
|
|
3
|
+
import { ConfigPlugin } from '../Plugin.types';
|
|
4
|
+
export declare const withBundleIdentifier: ConfigPlugin<{
|
|
5
|
+
bundleIdentifier?: string;
|
|
6
|
+
}>;
|
|
7
|
+
declare function getBundleIdentifier(config: Pick<ExpoConfig, 'ios'>): string | null;
|
|
8
|
+
/**
|
|
9
|
+
* In Turtle v1 we set the bundleIdentifier directly on Info.plist rather
|
|
10
|
+
* than in pbxproj
|
|
11
|
+
*/
|
|
12
|
+
declare function setBundleIdentifier(config: ExpoConfig, infoPlist: InfoPlist): InfoPlist;
|
|
13
|
+
/**
|
|
14
|
+
* Gets the bundle identifier defined in the Xcode project found in the project directory.
|
|
15
|
+
*
|
|
16
|
+
* A bundle identifier is stored as a value in XCBuildConfiguration entry.
|
|
17
|
+
* Those entries exist for every pair (build target, build configuration).
|
|
18
|
+
* Unless target name is passed, the first target defined in the pbxproj is used
|
|
19
|
+
* (to keep compatibility with the inaccurate legacy implementation of this function).
|
|
20
|
+
* The build configuration is usually 'Release' or 'Debug'. However, it could be any arbitrary string.
|
|
21
|
+
* Defaults to 'Release'.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} projectRoot Path to project root containing the ios directory
|
|
24
|
+
* @param {string} targetName Target name
|
|
25
|
+
* @param {string} buildConfiguration Build configuration. Defaults to 'Release'.
|
|
26
|
+
* @returns {string | null} bundle identifier of the Xcode project or null if the project is not configured
|
|
27
|
+
*/
|
|
28
|
+
declare function getBundleIdentifierFromPbxproj(projectRoot: string, { targetName, buildConfiguration, }?: {
|
|
29
|
+
targetName?: string;
|
|
30
|
+
buildConfiguration?: string;
|
|
31
|
+
}): string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Updates the bundle identifier for a given pbxproj
|
|
34
|
+
*
|
|
35
|
+
* @param {string} pbxprojPath Path to pbxproj file
|
|
36
|
+
* @param {string} bundleIdentifier Bundle identifier to set in the pbxproj
|
|
37
|
+
* @param {boolean} [updateProductName=true] Whether to update PRODUCT_NAME
|
|
38
|
+
*/
|
|
39
|
+
declare function updateBundleIdentifierForPbxproj(pbxprojPath: string, bundleIdentifier: string, updateProductName?: boolean): void;
|
|
40
|
+
/**
|
|
41
|
+
* Updates the bundle identifier for pbx projects inside the ios directory of the given project root
|
|
42
|
+
*
|
|
43
|
+
* @param {string} projectRoot Path to project root containing the ios directory
|
|
44
|
+
* @param {string} bundleIdentifier Desired bundle identifier
|
|
45
|
+
* @param {boolean} [updateProductName=true] Whether to update PRODUCT_NAME
|
|
46
|
+
*/
|
|
47
|
+
declare function setBundleIdentifierForPbxproj(projectRoot: string, bundleIdentifier: string, updateProductName?: boolean): void;
|
|
48
|
+
declare function resetAllPlistBundleIdentifiers(projectRoot: string): void;
|
|
49
|
+
declare function resetPlistBundleIdentifier(plistPath: string): void;
|
|
50
|
+
export { getBundleIdentifier, setBundleIdentifier, getBundleIdentifierFromPbxproj, updateBundleIdentifierForPbxproj, setBundleIdentifierForPbxproj, resetAllPlistBundleIdentifiers, resetPlistBundleIdentifier, };
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getBundleIdentifier = getBundleIdentifier;
|
|
7
|
+
exports.getBundleIdentifierFromPbxproj = getBundleIdentifierFromPbxproj;
|
|
8
|
+
exports.resetAllPlistBundleIdentifiers = resetAllPlistBundleIdentifiers;
|
|
9
|
+
exports.resetPlistBundleIdentifier = resetPlistBundleIdentifier;
|
|
10
|
+
exports.setBundleIdentifier = setBundleIdentifier;
|
|
11
|
+
exports.setBundleIdentifierForPbxproj = setBundleIdentifierForPbxproj;
|
|
12
|
+
exports.updateBundleIdentifierForPbxproj = updateBundleIdentifierForPbxproj;
|
|
13
|
+
exports.withBundleIdentifier = void 0;
|
|
14
|
+
function _plist() {
|
|
15
|
+
const data = _interopRequireDefault(require("@expo/plist"));
|
|
16
|
+
_plist = function () {
|
|
17
|
+
return data;
|
|
18
|
+
};
|
|
19
|
+
return data;
|
|
20
|
+
}
|
|
21
|
+
function _assert() {
|
|
22
|
+
const data = _interopRequireDefault(require("assert"));
|
|
23
|
+
_assert = function () {
|
|
24
|
+
return data;
|
|
25
|
+
};
|
|
26
|
+
return data;
|
|
27
|
+
}
|
|
28
|
+
function _fs() {
|
|
29
|
+
const data = _interopRequireDefault(require("fs"));
|
|
30
|
+
_fs = function () {
|
|
31
|
+
return data;
|
|
32
|
+
};
|
|
33
|
+
return data;
|
|
34
|
+
}
|
|
35
|
+
function _xcode() {
|
|
36
|
+
const data = _interopRequireDefault(require("xcode"));
|
|
37
|
+
_xcode = function () {
|
|
38
|
+
return data;
|
|
39
|
+
};
|
|
40
|
+
return data;
|
|
41
|
+
}
|
|
42
|
+
function _Paths() {
|
|
43
|
+
const data = require("./Paths");
|
|
44
|
+
_Paths = function () {
|
|
45
|
+
return data;
|
|
46
|
+
};
|
|
47
|
+
return data;
|
|
48
|
+
}
|
|
49
|
+
function _Target() {
|
|
50
|
+
const data = require("./Target");
|
|
51
|
+
_Target = function () {
|
|
52
|
+
return data;
|
|
53
|
+
};
|
|
54
|
+
return data;
|
|
55
|
+
}
|
|
56
|
+
function _Xcodeproj() {
|
|
57
|
+
const data = require("./utils/Xcodeproj");
|
|
58
|
+
_Xcodeproj = function () {
|
|
59
|
+
return data;
|
|
60
|
+
};
|
|
61
|
+
return data;
|
|
62
|
+
}
|
|
63
|
+
function _string() {
|
|
64
|
+
const data = require("./utils/string");
|
|
65
|
+
_string = function () {
|
|
66
|
+
return data;
|
|
67
|
+
};
|
|
68
|
+
return data;
|
|
69
|
+
}
|
|
70
|
+
function _iosPlugins() {
|
|
71
|
+
const data = require("../plugins/ios-plugins");
|
|
72
|
+
_iosPlugins = function () {
|
|
73
|
+
return data;
|
|
74
|
+
};
|
|
75
|
+
return data;
|
|
76
|
+
}
|
|
77
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
78
|
+
const withBundleIdentifier = (config, {
|
|
79
|
+
bundleIdentifier
|
|
80
|
+
}) => {
|
|
81
|
+
return (0, _iosPlugins().withXcodeProject)(config, async config => {
|
|
82
|
+
const bundleId = bundleIdentifier ?? config.ios?.bundleIdentifier;
|
|
83
|
+
// Should never happen.
|
|
84
|
+
(0, _assert().default)(bundleId, '`bundleIdentifier` must be defined in the app config (`ios.bundleIdentifier`) or passed to the plugin `withBundleIdentifier`.');
|
|
85
|
+
config.modResults = updateBundleIdentifierForPbxprojObject(config.modResults, bundleId, false);
|
|
86
|
+
return config;
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
exports.withBundleIdentifier = withBundleIdentifier;
|
|
90
|
+
function getBundleIdentifier(config) {
|
|
91
|
+
return config.ios?.bundleIdentifier ?? null;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* In Turtle v1 we set the bundleIdentifier directly on Info.plist rather
|
|
96
|
+
* than in pbxproj
|
|
97
|
+
*/
|
|
98
|
+
function setBundleIdentifier(config, infoPlist) {
|
|
99
|
+
const bundleIdentifier = getBundleIdentifier(config);
|
|
100
|
+
if (!bundleIdentifier) {
|
|
101
|
+
return infoPlist;
|
|
102
|
+
}
|
|
103
|
+
return {
|
|
104
|
+
...infoPlist,
|
|
105
|
+
CFBundleIdentifier: bundleIdentifier
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Gets the bundle identifier defined in the Xcode project found in the project directory.
|
|
111
|
+
*
|
|
112
|
+
* A bundle identifier is stored as a value in XCBuildConfiguration entry.
|
|
113
|
+
* Those entries exist for every pair (build target, build configuration).
|
|
114
|
+
* Unless target name is passed, the first target defined in the pbxproj is used
|
|
115
|
+
* (to keep compatibility with the inaccurate legacy implementation of this function).
|
|
116
|
+
* The build configuration is usually 'Release' or 'Debug'. However, it could be any arbitrary string.
|
|
117
|
+
* Defaults to 'Release'.
|
|
118
|
+
*
|
|
119
|
+
* @param {string} projectRoot Path to project root containing the ios directory
|
|
120
|
+
* @param {string} targetName Target name
|
|
121
|
+
* @param {string} buildConfiguration Build configuration. Defaults to 'Release'.
|
|
122
|
+
* @returns {string | null} bundle identifier of the Xcode project or null if the project is not configured
|
|
123
|
+
*/
|
|
124
|
+
function getBundleIdentifierFromPbxproj(projectRoot, {
|
|
125
|
+
targetName,
|
|
126
|
+
buildConfiguration = 'Release'
|
|
127
|
+
} = {}) {
|
|
128
|
+
let pbxprojPath;
|
|
129
|
+
try {
|
|
130
|
+
pbxprojPath = (0, _Paths().getPBXProjectPath)(projectRoot);
|
|
131
|
+
} catch {
|
|
132
|
+
return null;
|
|
133
|
+
}
|
|
134
|
+
const project = _xcode().default.project(pbxprojPath);
|
|
135
|
+
project.parseSync();
|
|
136
|
+
const xcBuildConfiguration = (0, _Target().getXCBuildConfigurationFromPbxproj)(project, {
|
|
137
|
+
targetName,
|
|
138
|
+
buildConfiguration
|
|
139
|
+
});
|
|
140
|
+
if (!xcBuildConfiguration) {
|
|
141
|
+
return null;
|
|
142
|
+
}
|
|
143
|
+
return getProductBundleIdentifierFromBuildConfiguration(xcBuildConfiguration);
|
|
144
|
+
}
|
|
145
|
+
function getProductBundleIdentifierFromBuildConfiguration(xcBuildConfiguration) {
|
|
146
|
+
const bundleIdentifierRaw = xcBuildConfiguration.buildSettings.PRODUCT_BUNDLE_IDENTIFIER;
|
|
147
|
+
if (bundleIdentifierRaw) {
|
|
148
|
+
const bundleIdentifier = (0, _string().trimQuotes)(bundleIdentifierRaw);
|
|
149
|
+
return (0, _Xcodeproj().resolveXcodeBuildSetting)(bundleIdentifier, setting => xcBuildConfiguration.buildSettings[setting]);
|
|
150
|
+
} else {
|
|
151
|
+
return null;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Updates the bundle identifier for a given pbxproj
|
|
157
|
+
*
|
|
158
|
+
* @param {string} pbxprojPath Path to pbxproj file
|
|
159
|
+
* @param {string} bundleIdentifier Bundle identifier to set in the pbxproj
|
|
160
|
+
* @param {boolean} [updateProductName=true] Whether to update PRODUCT_NAME
|
|
161
|
+
*/
|
|
162
|
+
function updateBundleIdentifierForPbxproj(pbxprojPath, bundleIdentifier, updateProductName = true) {
|
|
163
|
+
const project = _xcode().default.project(pbxprojPath);
|
|
164
|
+
project.parseSync();
|
|
165
|
+
_fs().default.writeFileSync(pbxprojPath, updateBundleIdentifierForPbxprojObject(project, bundleIdentifier, updateProductName).writeSync());
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Updates the bundle identifier for a given pbxproj
|
|
170
|
+
*
|
|
171
|
+
* @param {string} project pbxproj file
|
|
172
|
+
* @param {string} bundleIdentifier Bundle identifier to set in the pbxproj
|
|
173
|
+
* @param {boolean} [updateProductName=true] Whether to update PRODUCT_NAME
|
|
174
|
+
*/
|
|
175
|
+
function updateBundleIdentifierForPbxprojObject(project, bundleIdentifier, updateProductName = true) {
|
|
176
|
+
const [, nativeTarget] = (0, _Target().findFirstNativeTarget)(project);
|
|
177
|
+
(0, _Xcodeproj().getBuildConfigurationsForListId)(project, nativeTarget.buildConfigurationList).forEach(([, item]) => {
|
|
178
|
+
if (item.buildSettings.PRODUCT_BUNDLE_IDENTIFIER === bundleIdentifier) {
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
item.buildSettings.PRODUCT_BUNDLE_IDENTIFIER = `"${bundleIdentifier}"`;
|
|
182
|
+
if (updateProductName) {
|
|
183
|
+
const productName = bundleIdentifier.split('.').pop();
|
|
184
|
+
if (!productName?.includes('$')) {
|
|
185
|
+
item.buildSettings.PRODUCT_NAME = productName;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
return project;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Updates the bundle identifier for pbx projects inside the ios directory of the given project root
|
|
194
|
+
*
|
|
195
|
+
* @param {string} projectRoot Path to project root containing the ios directory
|
|
196
|
+
* @param {string} bundleIdentifier Desired bundle identifier
|
|
197
|
+
* @param {boolean} [updateProductName=true] Whether to update PRODUCT_NAME
|
|
198
|
+
*/
|
|
199
|
+
function setBundleIdentifierForPbxproj(projectRoot, bundleIdentifier, updateProductName = true) {
|
|
200
|
+
// Get all pbx projects in the ${projectRoot}/ios directory
|
|
201
|
+
let pbxprojPaths = [];
|
|
202
|
+
try {
|
|
203
|
+
pbxprojPaths = (0, _Paths().getAllPBXProjectPaths)(projectRoot);
|
|
204
|
+
} catch {}
|
|
205
|
+
for (const pbxprojPath of pbxprojPaths) {
|
|
206
|
+
updateBundleIdentifierForPbxproj(pbxprojPath, bundleIdentifier, updateProductName);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Reset bundle identifier field in Info.plist to use PRODUCT_BUNDLE_IDENTIFIER, as recommended by Apple.
|
|
212
|
+
*/
|
|
213
|
+
|
|
214
|
+
const defaultBundleId = '$(PRODUCT_BUNDLE_IDENTIFIER)';
|
|
215
|
+
function resetAllPlistBundleIdentifiers(projectRoot) {
|
|
216
|
+
const infoPlistPaths = (0, _Paths().getAllInfoPlistPaths)(projectRoot);
|
|
217
|
+
for (const plistPath of infoPlistPaths) {
|
|
218
|
+
resetPlistBundleIdentifier(plistPath);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
function resetPlistBundleIdentifier(plistPath) {
|
|
222
|
+
const rawPlist = _fs().default.readFileSync(plistPath, 'utf8');
|
|
223
|
+
const plistObject = _plist().default.parse(rawPlist);
|
|
224
|
+
if (plistObject.CFBundleIdentifier) {
|
|
225
|
+
if (plistObject.CFBundleIdentifier === defaultBundleId) return;
|
|
226
|
+
|
|
227
|
+
// attempt to match default Info.plist format
|
|
228
|
+
const format = {
|
|
229
|
+
pretty: true,
|
|
230
|
+
indent: `\t`
|
|
231
|
+
};
|
|
232
|
+
const xml = _plist().default.build({
|
|
233
|
+
...plistObject,
|
|
234
|
+
CFBundleIdentifier: defaultBundleId
|
|
235
|
+
}, format);
|
|
236
|
+
if (xml !== rawPlist) {
|
|
237
|
+
_fs().default.writeFileSync(plistPath, xml);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
//# sourceMappingURL=BundleIdentifier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BundleIdentifier.js","names":["_plist","data","_interopRequireDefault","require","_assert","_fs","_xcode","_Paths","_Target","_Xcodeproj","_string","_iosPlugins","obj","__esModule","default","withBundleIdentifier","config","bundleIdentifier","withXcodeProject","bundleId","ios","assert","modResults","updateBundleIdentifierForPbxprojObject","exports","getBundleIdentifier","setBundleIdentifier","infoPlist","CFBundleIdentifier","getBundleIdentifierFromPbxproj","projectRoot","targetName","buildConfiguration","pbxprojPath","getPBXProjectPath","project","xcode","parseSync","xcBuildConfiguration","getXCBuildConfigurationFromPbxproj","getProductBundleIdentifierFromBuildConfiguration","bundleIdentifierRaw","buildSettings","PRODUCT_BUNDLE_IDENTIFIER","trimQuotes","resolveXcodeBuildSetting","setting","updateBundleIdentifierForPbxproj","updateProductName","fs","writeFileSync","writeSync","nativeTarget","findFirstNativeTarget","getBuildConfigurationsForListId","buildConfigurationList","forEach","item","productName","split","pop","includes","PRODUCT_NAME","setBundleIdentifierForPbxproj","pbxprojPaths","getAllPBXProjectPaths","defaultBundleId","resetAllPlistBundleIdentifiers","infoPlistPaths","getAllInfoPlistPaths","plistPath","resetPlistBundleIdentifier","rawPlist","readFileSync","plistObject","plist","parse","format","pretty","indent","xml","build"],"sources":["../../src/ios/BundleIdentifier.ts"],"sourcesContent":["import { ExpoConfig } from '@expo/config-types';\nimport plist, { PlistObject } from '@expo/plist';\nimport assert from 'assert';\nimport fs from 'fs';\nimport xcode, { XCBuildConfiguration } from 'xcode';\n\nimport { InfoPlist } from './IosConfig.types';\nimport { getAllInfoPlistPaths, getAllPBXProjectPaths, getPBXProjectPath } from './Paths';\nimport { findFirstNativeTarget, getXCBuildConfigurationFromPbxproj } from './Target';\nimport {\n ConfigurationSectionEntry,\n getBuildConfigurationsForListId,\n resolveXcodeBuildSetting,\n} from './utils/Xcodeproj';\nimport { trimQuotes } from './utils/string';\nimport { ConfigPlugin, XcodeProject } from '../Plugin.types';\nimport { withXcodeProject } from '../plugins/ios-plugins';\n\nexport const withBundleIdentifier: ConfigPlugin<{ bundleIdentifier?: string }> = (\n config,\n { bundleIdentifier }\n) => {\n return withXcodeProject(config, async (config) => {\n const bundleId = bundleIdentifier ?? config.ios?.bundleIdentifier;\n // Should never happen.\n assert(\n bundleId,\n '`bundleIdentifier` must be defined in the app config (`ios.bundleIdentifier`) or passed to the plugin `withBundleIdentifier`.'\n );\n\n config.modResults = updateBundleIdentifierForPbxprojObject(config.modResults, bundleId, false);\n\n return config;\n });\n};\n\nfunction getBundleIdentifier(config: Pick<ExpoConfig, 'ios'>): string | null {\n return config.ios?.bundleIdentifier ?? null;\n}\n\n/**\n * In Turtle v1 we set the bundleIdentifier directly on Info.plist rather\n * than in pbxproj\n */\nfunction setBundleIdentifier(config: ExpoConfig, infoPlist: InfoPlist): InfoPlist {\n const bundleIdentifier = getBundleIdentifier(config);\n\n if (!bundleIdentifier) {\n return infoPlist;\n }\n\n return {\n ...infoPlist,\n CFBundleIdentifier: bundleIdentifier,\n };\n}\n\n/**\n * Gets the bundle identifier defined in the Xcode project found in the project directory.\n *\n * A bundle identifier is stored as a value in XCBuildConfiguration entry.\n * Those entries exist for every pair (build target, build configuration).\n * Unless target name is passed, the first target defined in the pbxproj is used\n * (to keep compatibility with the inaccurate legacy implementation of this function).\n * The build configuration is usually 'Release' or 'Debug'. However, it could be any arbitrary string.\n * Defaults to 'Release'.\n *\n * @param {string} projectRoot Path to project root containing the ios directory\n * @param {string} targetName Target name\n * @param {string} buildConfiguration Build configuration. Defaults to 'Release'.\n * @returns {string | null} bundle identifier of the Xcode project or null if the project is not configured\n */\nfunction getBundleIdentifierFromPbxproj(\n projectRoot: string,\n {\n targetName,\n buildConfiguration = 'Release',\n }: { targetName?: string; buildConfiguration?: string } = {}\n): string | null {\n let pbxprojPath: string;\n try {\n pbxprojPath = getPBXProjectPath(projectRoot);\n } catch {\n return null;\n }\n const project = xcode.project(pbxprojPath);\n project.parseSync();\n\n const xcBuildConfiguration = getXCBuildConfigurationFromPbxproj(project, {\n targetName,\n buildConfiguration,\n });\n if (!xcBuildConfiguration) {\n return null;\n }\n return getProductBundleIdentifierFromBuildConfiguration(xcBuildConfiguration);\n}\n\nfunction getProductBundleIdentifierFromBuildConfiguration(\n xcBuildConfiguration: XCBuildConfiguration\n): string | null {\n const bundleIdentifierRaw = xcBuildConfiguration.buildSettings.PRODUCT_BUNDLE_IDENTIFIER;\n if (bundleIdentifierRaw) {\n const bundleIdentifier = trimQuotes(bundleIdentifierRaw);\n return resolveXcodeBuildSetting(\n bundleIdentifier,\n (setting) => xcBuildConfiguration.buildSettings[setting] as string | undefined\n );\n } else {\n return null;\n }\n}\n\n/**\n * Updates the bundle identifier for a given pbxproj\n *\n * @param {string} pbxprojPath Path to pbxproj file\n * @param {string} bundleIdentifier Bundle identifier to set in the pbxproj\n * @param {boolean} [updateProductName=true] Whether to update PRODUCT_NAME\n */\nfunction updateBundleIdentifierForPbxproj(\n pbxprojPath: string,\n bundleIdentifier: string,\n updateProductName: boolean = true\n): void {\n const project = xcode.project(pbxprojPath);\n project.parseSync();\n fs.writeFileSync(\n pbxprojPath,\n updateBundleIdentifierForPbxprojObject(project, bundleIdentifier, updateProductName).writeSync()\n );\n}\n\n/**\n * Updates the bundle identifier for a given pbxproj\n *\n * @param {string} project pbxproj file\n * @param {string} bundleIdentifier Bundle identifier to set in the pbxproj\n * @param {boolean} [updateProductName=true] Whether to update PRODUCT_NAME\n */\nfunction updateBundleIdentifierForPbxprojObject(\n project: XcodeProject,\n bundleIdentifier: string,\n updateProductName: boolean = true\n) {\n const [, nativeTarget] = findFirstNativeTarget(project);\n\n getBuildConfigurationsForListId(project, nativeTarget.buildConfigurationList).forEach(\n ([, item]: ConfigurationSectionEntry) => {\n if (item.buildSettings.PRODUCT_BUNDLE_IDENTIFIER === bundleIdentifier) {\n return;\n }\n\n item.buildSettings.PRODUCT_BUNDLE_IDENTIFIER = `\"${bundleIdentifier}\"`;\n\n if (updateProductName) {\n const productName = bundleIdentifier.split('.').pop();\n if (!productName?.includes('$')) {\n item.buildSettings.PRODUCT_NAME = productName;\n }\n }\n }\n );\n return project;\n}\n\n/**\n * Updates the bundle identifier for pbx projects inside the ios directory of the given project root\n *\n * @param {string} projectRoot Path to project root containing the ios directory\n * @param {string} bundleIdentifier Desired bundle identifier\n * @param {boolean} [updateProductName=true] Whether to update PRODUCT_NAME\n */\nfunction setBundleIdentifierForPbxproj(\n projectRoot: string,\n bundleIdentifier: string,\n updateProductName: boolean = true\n): void {\n // Get all pbx projects in the ${projectRoot}/ios directory\n let pbxprojPaths: string[] = [];\n try {\n pbxprojPaths = getAllPBXProjectPaths(projectRoot);\n } catch {}\n\n for (const pbxprojPath of pbxprojPaths) {\n updateBundleIdentifierForPbxproj(pbxprojPath, bundleIdentifier, updateProductName);\n }\n}\n\n/**\n * Reset bundle identifier field in Info.plist to use PRODUCT_BUNDLE_IDENTIFIER, as recommended by Apple.\n */\n\nconst defaultBundleId = '$(PRODUCT_BUNDLE_IDENTIFIER)';\n\nfunction resetAllPlistBundleIdentifiers(projectRoot: string): void {\n const infoPlistPaths = getAllInfoPlistPaths(projectRoot);\n\n for (const plistPath of infoPlistPaths) {\n resetPlistBundleIdentifier(plistPath);\n }\n}\n\nfunction resetPlistBundleIdentifier(plistPath: string): void {\n const rawPlist = fs.readFileSync(plistPath, 'utf8');\n const plistObject = plist.parse(rawPlist) as PlistObject;\n\n if (plistObject.CFBundleIdentifier) {\n if (plistObject.CFBundleIdentifier === defaultBundleId) return;\n\n // attempt to match default Info.plist format\n const format = { pretty: true, indent: `\\t` };\n\n const xml = plist.build(\n {\n ...plistObject,\n CFBundleIdentifier: defaultBundleId,\n },\n format\n );\n\n if (xml !== rawPlist) {\n fs.writeFileSync(plistPath, xml);\n }\n }\n}\n\nexport {\n getBundleIdentifier,\n setBundleIdentifier,\n getBundleIdentifierFromPbxproj,\n updateBundleIdentifierForPbxproj,\n setBundleIdentifierForPbxproj,\n resetAllPlistBundleIdentifiers,\n resetPlistBundleIdentifier,\n};\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ExpoConfig } from '@expo/config-types';
|
|
2
|
+
import { XcodeProject } from 'xcode';
|
|
3
|
+
import { ConfigPlugin } from '../Plugin.types';
|
|
4
|
+
export declare const withDeviceFamily: ConfigPlugin;
|
|
5
|
+
export declare function getSupportsTablet(config: Pick<ExpoConfig, 'ios'>): boolean;
|
|
6
|
+
export declare function getIsTabletOnly(config: Pick<ExpoConfig, 'ios'>): boolean;
|
|
7
|
+
export declare function getDeviceFamilies(config: Pick<ExpoConfig, 'ios'>): number[];
|
|
8
|
+
/**
|
|
9
|
+
* Wrapping the families in double quotes is the only way to set a value with a comma in it.
|
|
10
|
+
*
|
|
11
|
+
* @param deviceFamilies
|
|
12
|
+
*/
|
|
13
|
+
export declare function formatDeviceFamilies(deviceFamilies: number[]): string;
|
|
14
|
+
/**
|
|
15
|
+
* Add to pbxproj under TARGETED_DEVICE_FAMILY
|
|
16
|
+
*/
|
|
17
|
+
export declare function setDeviceFamily(config: Pick<ExpoConfig, 'ios'>, { project }: {
|
|
18
|
+
project: XcodeProject;
|
|
19
|
+
}): XcodeProject;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.formatDeviceFamilies = formatDeviceFamilies;
|
|
7
|
+
exports.getDeviceFamilies = getDeviceFamilies;
|
|
8
|
+
exports.getIsTabletOnly = getIsTabletOnly;
|
|
9
|
+
exports.getSupportsTablet = getSupportsTablet;
|
|
10
|
+
exports.setDeviceFamily = setDeviceFamily;
|
|
11
|
+
exports.withDeviceFamily = void 0;
|
|
12
|
+
function _iosPlugins() {
|
|
13
|
+
const data = require("../plugins/ios-plugins");
|
|
14
|
+
_iosPlugins = function () {
|
|
15
|
+
return data;
|
|
16
|
+
};
|
|
17
|
+
return data;
|
|
18
|
+
}
|
|
19
|
+
function _warnings() {
|
|
20
|
+
const data = require("../utils/warnings");
|
|
21
|
+
_warnings = function () {
|
|
22
|
+
return data;
|
|
23
|
+
};
|
|
24
|
+
return data;
|
|
25
|
+
}
|
|
26
|
+
const withDeviceFamily = config => {
|
|
27
|
+
return (0, _iosPlugins().withXcodeProject)(config, async config => {
|
|
28
|
+
config.modResults = await setDeviceFamily(config, {
|
|
29
|
+
project: config.modResults
|
|
30
|
+
});
|
|
31
|
+
return config;
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
exports.withDeviceFamily = withDeviceFamily;
|
|
35
|
+
function getSupportsTablet(config) {
|
|
36
|
+
return !!config.ios?.supportsTablet;
|
|
37
|
+
}
|
|
38
|
+
function getIsTabletOnly(config) {
|
|
39
|
+
return !!config?.ios?.isTabletOnly;
|
|
40
|
+
}
|
|
41
|
+
function getDeviceFamilies(config) {
|
|
42
|
+
const supportsTablet = getSupportsTablet(config);
|
|
43
|
+
const isTabletOnly = getIsTabletOnly(config);
|
|
44
|
+
if (isTabletOnly && config.ios?.supportsTablet === false) {
|
|
45
|
+
(0, _warnings().addWarningIOS)('ios.supportsTablet', `Found contradictory values: \`{ ios: { isTabletOnly: true, supportsTablet: false } }\`. Using \`{ isTabletOnly: true }\`.`);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// 1 is iPhone, 2 is iPad
|
|
49
|
+
if (isTabletOnly) {
|
|
50
|
+
return [2];
|
|
51
|
+
} else if (supportsTablet) {
|
|
52
|
+
return [1, 2];
|
|
53
|
+
} else {
|
|
54
|
+
// is iPhone only
|
|
55
|
+
return [1];
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Wrapping the families in double quotes is the only way to set a value with a comma in it.
|
|
61
|
+
*
|
|
62
|
+
* @param deviceFamilies
|
|
63
|
+
*/
|
|
64
|
+
function formatDeviceFamilies(deviceFamilies) {
|
|
65
|
+
return `"${deviceFamilies.join(',')}"`;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Add to pbxproj under TARGETED_DEVICE_FAMILY
|
|
70
|
+
*/
|
|
71
|
+
function setDeviceFamily(config, {
|
|
72
|
+
project
|
|
73
|
+
}) {
|
|
74
|
+
const deviceFamilies = formatDeviceFamilies(getDeviceFamilies(config));
|
|
75
|
+
const configurations = project.pbxXCBuildConfigurationSection();
|
|
76
|
+
// @ts-ignore
|
|
77
|
+
for (const {
|
|
78
|
+
buildSettings
|
|
79
|
+
} of Object.values(configurations || {})) {
|
|
80
|
+
// Guessing that this is the best way to emulate Xcode.
|
|
81
|
+
// Using `project.addToBuildSettings` modifies too many targets.
|
|
82
|
+
if (typeof buildSettings?.PRODUCT_NAME !== 'undefined') {
|
|
83
|
+
if (typeof buildSettings?.TVOS_DEPLOYMENT_TARGET !== 'undefined') {
|
|
84
|
+
buildSettings.TARGETED_DEVICE_FAMILY = '3';
|
|
85
|
+
} else {
|
|
86
|
+
buildSettings.TARGETED_DEVICE_FAMILY = deviceFamilies;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return project;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=DeviceFamily.js.map
|