react-native-kookit 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +14 -2
- package/.eslintrc.js +0 -5
- package/app.json +0 -5
- package/package-with-plugin.json +0 -51
- package/plugin/node_modules/.package-lock.json +0 -752
- package/plugin/node_modules/@babel/code-frame/LICENSE +0 -22
- package/plugin/node_modules/@babel/code-frame/README.md +0 -19
- package/plugin/node_modules/@babel/code-frame/lib/index.js +0 -167
- package/plugin/node_modules/@babel/code-frame/package.json +0 -25
- package/plugin/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
- package/plugin/node_modules/@babel/helper-validator-identifier/README.md +0 -19
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/plugin/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- package/plugin/node_modules/@babel/highlight/LICENSE +0 -22
- package/plugin/node_modules/@babel/highlight/README.md +0 -19
- package/plugin/node_modules/@babel/highlight/lib/index.js +0 -119
- package/plugin/node_modules/@babel/highlight/lib/index.js.map +0 -1
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +0 -165
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/license +0 -9
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +0 -56
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +0 -147
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js +0 -228
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +0 -93
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/license +0 -9
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/package.json +0 -71
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/readme.md +0 -314
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/templates.js +0 -128
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +0 -97
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +0 -54
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +0 -21
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/README.md +0 -68
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +0 -868
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/index.js +0 -78
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/package.json +0 -46
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/route.js +0 -97
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +0 -43
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/LICENSE +0 -8
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/README.md +0 -11
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/index.js +0 -152
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/package.json +0 -25
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/test.js +0 -7
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/index.js +0 -8
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/license +0 -9
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/package.json +0 -44
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/readme.md +0 -70
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/browser.js +0 -5
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/index.js +0 -131
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/license +0 -9
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/package.json +0 -53
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/readme.md +0 -66
- package/plugin/node_modules/@babel/highlight/package.json +0 -30
- package/plugin/node_modules/@expo/config-plugins/LICENSE +0 -22
- package/plugin/node_modules/@expo/config-plugins/README.md +0 -34
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.d.ts +0 -177
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js +0 -51
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.d.ts +0 -6
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js +0 -45
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.d.ts +0 -28
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js +0 -93
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.d.ts +0 -29
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js +0 -106
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.d.ts +0 -3
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js +0 -67
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.d.ts +0 -2
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js +0 -82
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.d.ts +0 -5
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js +0 -46
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.d.ts +0 -17
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js +0 -138
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.d.ts +0 -8
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js +0 -83
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.d.ts +0 -157
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js +0 -221
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.js +0 -91
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.d.ts +0 -6
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js +0 -39
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.d.ts +0 -23
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.js +0 -323
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.d.ts +0 -30
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js +0 -154
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js +0 -207
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.d.ts +0 -6
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js +0 -62
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.d.ts +0 -12
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js +0 -55
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.d.ts +0 -87
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js +0 -150
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js +0 -217
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.d.ts +0 -16
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js +0 -112
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.d.ts +0 -6
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js +0 -54
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.d.ts +0 -61
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js +0 -169
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.d.ts +0 -21
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js +0 -159
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.d.ts +0 -16
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.js +0 -87
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.d.ts +0 -6
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js +0 -48
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js +0 -93
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/android/index.d.ts +0 -25
- package/plugin/node_modules/@expo/config-plugins/build/android/index.js +0 -308
- package/plugin/node_modules/@expo/config-plugins/build/android/index.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/index.d.ts +0 -36
- package/plugin/node_modules/@expo/config-plugins/build/index.js +0 -428
- package/plugin/node_modules/@expo/config-plugins/build/index.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.d.ts +0 -33
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js +0 -110
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.d.ts +0 -27
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js +0 -67
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.d.ts +0 -10
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js +0 -112
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.d.ts +0 -50
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js +0 -241
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.d.ts +0 -19
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js +0 -92
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.d.ts +0 -9
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js +0 -132
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.d.ts +0 -14
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js +0 -139
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.d.ts +0 -48
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js +0 -2
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.d.ts +0 -14
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js +0 -132
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.d.ts +0 -17
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js +0 -211
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js +0 -111
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.d.ts +0 -7
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js +0 -42
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.d.ts +0 -38
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js +0 -311
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.d.ts +0 -9
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js +0 -58
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js +0 -129
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.d.ts +0 -8
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js +0 -67
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.d.ts +0 -5
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js +0 -101
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.d.ts +0 -11
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js +0 -111
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.d.ts +0 -34
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js +0 -196
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.d.ts +0 -27
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js +0 -136
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.d.ts +0 -17
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js +0 -121
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.d.ts +0 -5
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js +0 -38
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.d.ts +0 -8
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js +0 -44
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.d.ts +0 -31
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js +0 -99
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.d.ts +0 -81
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js +0 -264
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.d.ts +0 -27
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.js +0 -342
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.d.ts +0 -93
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js +0 -484
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.d.ts +0 -12
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js +0 -49
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.d.ts +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js +0 -10
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.d.ts +0 -89
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js +0 -210
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.d.ts +0 -31
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js +0 -129
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.d.ts +0 -77
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js +0 -205
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.d.ts +0 -39
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js +0 -226
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.d.ts +0 -40
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js +0 -510
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.d.ts +0 -10
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js +0 -30
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.d.ts +0 -10
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js +0 -30
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.d.ts +0 -33
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js +0 -442
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.d.ts +0 -46
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js +0 -208
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.d.ts +0 -8
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js +0 -35
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.d.ts +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js +0 -55
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.d.ts +0 -17
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js +0 -138
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.d.ts +0 -25
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js +0 -2
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.d.ts +0 -29
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js +0 -217
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.d.ts +0 -27
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js +0 -161
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.d.ts +0 -32
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js +0 -63
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.d.ts +0 -15
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js +0 -27
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.d.ts +0 -4
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js +0 -45
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.d.ts +0 -36
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js +0 -128
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.d.ts +0 -11
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.js +0 -24
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.d.ts +0 -7
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js +0 -65
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.d.ts +0 -3
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js +0 -42
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.d.ts +0 -2
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js +0 -20
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.d.ts +0 -33
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js +0 -218
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.d.ts +0 -4
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js +0 -42
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.d.ts +0 -3
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js +0 -42
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.d.ts +0 -26
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js +0 -52
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js.map +0 -1
- package/plugin/node_modules/@expo/config-plugins/package.json +0 -62
- package/plugin/node_modules/@expo/config-types/LICENSE +0 -22
- package/plugin/node_modules/@expo/config-types/README.md +0 -38
- package/plugin/node_modules/@expo/config-types/build/ExpoConfig.d.ts +0 -878
- package/plugin/node_modules/@expo/config-types/build/ExpoConfig.js +0 -6
- package/plugin/node_modules/@expo/config-types/package.json +0 -48
- package/plugin/node_modules/@expo/json-file/LICENSE +0 -22
- package/plugin/node_modules/@expo/json-file/README.md +0 -29
- package/plugin/node_modules/@expo/json-file/build/JsonFile.d.ts +0 -61
- package/plugin/node_modules/@expo/json-file/build/JsonFile.js +0 -283
- package/plugin/node_modules/@expo/json-file/build/JsonFile.js.map +0 -1
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.d.ts +0 -13
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.js +0 -35
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.js.map +0 -1
- package/plugin/node_modules/@expo/json-file/package.json +0 -47
- package/plugin/node_modules/@expo/plist/README.md +0 -8
- package/plugin/node_modules/@expo/plist/build/build.d.ts +0 -11
- package/plugin/node_modules/@expo/plist/build/build.js +0 -152
- package/plugin/node_modules/@expo/plist/build/build.js.map +0 -1
- package/plugin/node_modules/@expo/plist/build/index.d.ts +0 -16
- package/plugin/node_modules/@expo/plist/build/index.js +0 -6
- package/plugin/node_modules/@expo/plist/build/index.js.map +0 -1
- package/plugin/node_modules/@expo/plist/build/parse.d.ts +0 -8
- package/plugin/node_modules/@expo/plist/build/parse.js +0 -201
- package/plugin/node_modules/@expo/plist/build/parse.js.map +0 -1
- package/plugin/node_modules/@expo/plist/package.json +0 -45
- package/plugin/node_modules/@expo/sdk-runtime-versions/README.md +0 -5
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.d.ts +0 -4
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js +0 -21
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js.map +0 -1
- package/plugin/node_modules/@expo/sdk-runtime-versions/package.json +0 -29
- package/plugin/node_modules/@types/node/LICENSE +0 -21
- package/plugin/node_modules/@types/node/README.md +0 -15
- package/plugin/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/plugin/node_modules/@types/node/assert.d.ts +0 -1044
- package/plugin/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/plugin/node_modules/@types/node/buffer.buffer.d.ts +0 -462
- package/plugin/node_modules/@types/node/buffer.d.ts +0 -1932
- package/plugin/node_modules/@types/node/child_process.d.ts +0 -1548
- package/plugin/node_modules/@types/node/cluster.d.ts +0 -578
- package/plugin/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/plugin/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/plugin/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/plugin/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/plugin/node_modules/@types/node/console.d.ts +0 -452
- package/plugin/node_modules/@types/node/constants.d.ts +0 -21
- package/plugin/node_modules/@types/node/crypto.d.ts +0 -4570
- package/plugin/node_modules/@types/node/dgram.d.ts +0 -596
- package/plugin/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/plugin/node_modules/@types/node/dns/promises.d.ts +0 -479
- package/plugin/node_modules/@types/node/dns.d.ts +0 -871
- package/plugin/node_modules/@types/node/dom-events.d.ts +0 -99
- package/plugin/node_modules/@types/node/domain.d.ts +0 -170
- package/plugin/node_modules/@types/node/events.d.ts +0 -931
- package/plugin/node_modules/@types/node/fs/promises.d.ts +0 -1248
- package/plugin/node_modules/@types/node/fs.d.ts +0 -4362
- package/plugin/node_modules/@types/node/globals.d.ts +0 -335
- package/plugin/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/plugin/node_modules/@types/node/http.d.ts +0 -2031
- package/plugin/node_modules/@types/node/http2.d.ts +0 -2623
- package/plugin/node_modules/@types/node/https.d.ts +0 -544
- package/plugin/node_modules/@types/node/index.d.ts +0 -91
- package/plugin/node_modules/@types/node/inspector.d.ts +0 -3966
- package/plugin/node_modules/@types/node/module.d.ts +0 -539
- package/plugin/node_modules/@types/node/net.d.ts +0 -1011
- package/plugin/node_modules/@types/node/os.d.ts +0 -495
- package/plugin/node_modules/@types/node/package.json +0 -140
- package/plugin/node_modules/@types/node/path.d.ts +0 -200
- package/plugin/node_modules/@types/node/perf_hooks.d.ts +0 -963
- package/plugin/node_modules/@types/node/process.d.ts +0 -1956
- package/plugin/node_modules/@types/node/punycode.d.ts +0 -117
- package/plugin/node_modules/@types/node/querystring.d.ts +0 -152
- package/plugin/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/plugin/node_modules/@types/node/readline.d.ts +0 -589
- package/plugin/node_modules/@types/node/repl.d.ts +0 -430
- package/plugin/node_modules/@types/node/sea.d.ts +0 -153
- package/plugin/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/plugin/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/plugin/node_modules/@types/node/stream/web.d.ts +0 -533
- package/plugin/node_modules/@types/node/stream.d.ts +0 -1668
- package/plugin/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/plugin/node_modules/@types/node/test.d.ts +0 -1807
- package/plugin/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/plugin/node_modules/@types/node/timers.d.ts +0 -286
- package/plugin/node_modules/@types/node/tls.d.ts +0 -1231
- package/plugin/node_modules/@types/node/trace_events.d.ts +0 -197
- package/plugin/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
- package/plugin/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/plugin/node_modules/@types/node/ts5.6/index.d.ts +0 -91
- package/plugin/node_modules/@types/node/tty.d.ts +0 -208
- package/plugin/node_modules/@types/node/url.d.ts +0 -964
- package/plugin/node_modules/@types/node/util.d.ts +0 -2331
- package/plugin/node_modules/@types/node/v8.d.ts +0 -808
- package/plugin/node_modules/@types/node/vm.d.ts +0 -1030
- package/plugin/node_modules/@types/node/wasi.d.ts +0 -181
- package/plugin/node_modules/@types/node/worker_threads.d.ts +0 -724
- package/plugin/node_modules/@types/node/zlib.d.ts +0 -539
- package/plugin/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -401
- package/plugin/node_modules/@xmldom/xmldom/LICENSE +0 -8
- package/plugin/node_modules/@xmldom/xmldom/index.d.ts +0 -43
- package/plugin/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
- package/plugin/node_modules/@xmldom/xmldom/lib/conventions.js +0 -177
- package/plugin/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -268
- package/plugin/node_modules/@xmldom/xmldom/lib/dom.js +0 -1808
- package/plugin/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
- package/plugin/node_modules/@xmldom/xmldom/lib/index.js +0 -4
- package/plugin/node_modules/@xmldom/xmldom/lib/sax.js +0 -656
- package/plugin/node_modules/@xmldom/xmldom/package.json +0 -60
- package/plugin/node_modules/@xmldom/xmldom/readme.md +0 -338
- package/plugin/node_modules/ansi-styles/index.d.ts +0 -345
- package/plugin/node_modules/ansi-styles/index.js +0 -163
- package/plugin/node_modules/ansi-styles/license +0 -9
- package/plugin/node_modules/ansi-styles/package.json +0 -56
- package/plugin/node_modules/ansi-styles/readme.md +0 -152
- package/plugin/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- package/plugin/node_modules/balanced-match/LICENSE.md +0 -21
- package/plugin/node_modules/balanced-match/README.md +0 -97
- package/plugin/node_modules/balanced-match/index.js +0 -62
- package/plugin/node_modules/balanced-match/package.json +0 -48
- package/plugin/node_modules/base64-js/LICENSE +0 -21
- package/plugin/node_modules/base64-js/README.md +0 -34
- package/plugin/node_modules/base64-js/base64js.min.js +0 -1
- package/plugin/node_modules/base64-js/index.d.ts +0 -3
- package/plugin/node_modules/base64-js/index.js +0 -150
- package/plugin/node_modules/base64-js/package.json +0 -47
- package/plugin/node_modules/big-integer/BigInteger.d.ts +0 -2393
- package/plugin/node_modules/big-integer/BigInteger.js +0 -1453
- package/plugin/node_modules/big-integer/BigInteger.min.js +0 -1
- package/plugin/node_modules/big-integer/LICENSE +0 -24
- package/plugin/node_modules/big-integer/README.md +0 -589
- package/plugin/node_modules/big-integer/bower.json +0 -29
- package/plugin/node_modules/big-integer/package.json +0 -48
- package/plugin/node_modules/big-integer/tsconfig.json +0 -24
- package/plugin/node_modules/bplist-creator/LICENSE +0 -18
- package/plugin/node_modules/bplist-creator/README.md +0 -64
- package/plugin/node_modules/bplist-creator/bplistCreator.js +0 -460
- package/plugin/node_modules/bplist-creator/package.json +0 -28
- 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 +0 -211
- 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 +0 -12
- package/plugin/node_modules/bplist-parser/.eslintignore +0 -1
- package/plugin/node_modules/bplist-parser/.eslintrc.js +0 -295
- package/plugin/node_modules/bplist-parser/README.md +0 -48
- package/plugin/node_modules/bplist-parser/bplistParser.d.ts +0 -6
- package/plugin/node_modules/bplist-parser/bplistParser.js +0 -366
- package/plugin/node_modules/bplist-parser/package.json +0 -35
- package/plugin/node_modules/brace-expansion/LICENSE +0 -21
- package/plugin/node_modules/brace-expansion/README.md +0 -129
- package/plugin/node_modules/brace-expansion/index.js +0 -201
- package/plugin/node_modules/brace-expansion/package.json +0 -50
- package/plugin/node_modules/chalk/index.d.ts +0 -415
- package/plugin/node_modules/chalk/license +0 -9
- package/plugin/node_modules/chalk/package.json +0 -68
- package/plugin/node_modules/chalk/readme.md +0 -341
- package/plugin/node_modules/chalk/source/index.js +0 -229
- package/plugin/node_modules/chalk/source/templates.js +0 -134
- package/plugin/node_modules/chalk/source/util.js +0 -39
- package/plugin/node_modules/color-convert/CHANGELOG.md +0 -54
- package/plugin/node_modules/color-convert/LICENSE +0 -21
- package/plugin/node_modules/color-convert/README.md +0 -68
- package/plugin/node_modules/color-convert/conversions.js +0 -839
- package/plugin/node_modules/color-convert/index.js +0 -81
- package/plugin/node_modules/color-convert/package.json +0 -48
- package/plugin/node_modules/color-convert/route.js +0 -97
- package/plugin/node_modules/color-name/LICENSE +0 -8
- package/plugin/node_modules/color-name/README.md +0 -11
- package/plugin/node_modules/color-name/index.js +0 -152
- package/plugin/node_modules/color-name/package.json +0 -28
- package/plugin/node_modules/concat-map/.travis.yml +0 -4
- package/plugin/node_modules/concat-map/LICENSE +0 -18
- package/plugin/node_modules/concat-map/README.markdown +0 -62
- package/plugin/node_modules/concat-map/example/map.js +0 -6
- package/plugin/node_modules/concat-map/index.js +0 -13
- package/plugin/node_modules/concat-map/package.json +0 -43
- package/plugin/node_modules/concat-map/test/map.js +0 -39
- package/plugin/node_modules/debug/LICENSE +0 -20
- package/plugin/node_modules/debug/README.md +0 -481
- package/plugin/node_modules/debug/package.json +0 -64
- package/plugin/node_modules/debug/src/browser.js +0 -272
- package/plugin/node_modules/debug/src/common.js +0 -292
- package/plugin/node_modules/debug/src/index.js +0 -10
- package/plugin/node_modules/debug/src/node.js +0 -263
- package/plugin/node_modules/escape-string-regexp/index.js +0 -11
- package/plugin/node_modules/escape-string-regexp/license +0 -21
- package/plugin/node_modules/escape-string-regexp/package.json +0 -41
- package/plugin/node_modules/escape-string-regexp/readme.md +0 -27
- package/plugin/node_modules/find-up/index.d.ts +0 -138
- package/plugin/node_modules/find-up/index.js +0 -89
- package/plugin/node_modules/find-up/license +0 -9
- package/plugin/node_modules/find-up/package.json +0 -54
- package/plugin/node_modules/find-up/readme.md +0 -151
- package/plugin/node_modules/fs.realpath/LICENSE +0 -43
- package/plugin/node_modules/fs.realpath/README.md +0 -33
- package/plugin/node_modules/fs.realpath/index.js +0 -66
- package/plugin/node_modules/fs.realpath/old.js +0 -303
- package/plugin/node_modules/fs.realpath/package.json +0 -26
- package/plugin/node_modules/getenv/LICENSE.md +0 -20
- package/plugin/node_modules/getenv/README.md +0 -197
- package/plugin/node_modules/getenv/index.js +0 -150
- package/plugin/node_modules/getenv/package.json +0 -38
- package/plugin/node_modules/glob/LICENSE +0 -21
- package/plugin/node_modules/glob/README.md +0 -375
- package/plugin/node_modules/glob/changelog.md +0 -67
- package/plugin/node_modules/glob/common.js +0 -240
- package/plugin/node_modules/glob/glob.js +0 -790
- package/plugin/node_modules/glob/package.json +0 -46
- package/plugin/node_modules/glob/sync.js +0 -486
- package/plugin/node_modules/graceful-fs/LICENSE +0 -15
- package/plugin/node_modules/graceful-fs/README.md +0 -143
- package/plugin/node_modules/graceful-fs/clone.js +0 -23
- package/plugin/node_modules/graceful-fs/graceful-fs.js +0 -448
- package/plugin/node_modules/graceful-fs/legacy-streams.js +0 -118
- package/plugin/node_modules/graceful-fs/package.json +0 -53
- package/plugin/node_modules/graceful-fs/polyfills.js +0 -355
- package/plugin/node_modules/has-flag/index.d.ts +0 -39
- package/plugin/node_modules/has-flag/index.js +0 -8
- package/plugin/node_modules/has-flag/license +0 -9
- package/plugin/node_modules/has-flag/package.json +0 -46
- package/plugin/node_modules/has-flag/readme.md +0 -89
- package/plugin/node_modules/imurmurhash/README.md +0 -122
- package/plugin/node_modules/imurmurhash/imurmurhash.js +0 -138
- package/plugin/node_modules/imurmurhash/imurmurhash.min.js +0 -12
- package/plugin/node_modules/imurmurhash/package.json +0 -40
- package/plugin/node_modules/inflight/LICENSE +0 -15
- package/plugin/node_modules/inflight/README.md +0 -37
- package/plugin/node_modules/inflight/inflight.js +0 -54
- package/plugin/node_modules/inflight/package.json +0 -29
- package/plugin/node_modules/inherits/LICENSE +0 -16
- package/plugin/node_modules/inherits/README.md +0 -42
- package/plugin/node_modules/inherits/inherits.js +0 -9
- package/plugin/node_modules/inherits/inherits_browser.js +0 -27
- package/plugin/node_modules/inherits/package.json +0 -29
- package/plugin/node_modules/js-tokens/CHANGELOG.md +0 -151
- package/plugin/node_modules/js-tokens/LICENSE +0 -21
- package/plugin/node_modules/js-tokens/README.md +0 -240
- package/plugin/node_modules/js-tokens/index.js +0 -23
- package/plugin/node_modules/js-tokens/package.json +0 -30
- package/plugin/node_modules/json5/LICENSE.md +0 -23
- package/plugin/node_modules/json5/README.md +0 -282
- package/plugin/node_modules/json5/dist/index.js +0 -1737
- package/plugin/node_modules/json5/dist/index.min.js +0 -1
- package/plugin/node_modules/json5/dist/index.min.mjs +0 -1
- package/plugin/node_modules/json5/dist/index.mjs +0 -1426
- package/plugin/node_modules/json5/lib/cli.js +0 -152
- package/plugin/node_modules/json5/lib/index.d.ts +0 -4
- package/plugin/node_modules/json5/lib/index.js +0 -9
- package/plugin/node_modules/json5/lib/parse.d.ts +0 -15
- package/plugin/node_modules/json5/lib/parse.js +0 -1114
- package/plugin/node_modules/json5/lib/register.js +0 -13
- package/plugin/node_modules/json5/lib/require.js +0 -4
- package/plugin/node_modules/json5/lib/stringify.d.ts +0 -89
- package/plugin/node_modules/json5/lib/stringify.js +0 -261
- package/plugin/node_modules/json5/lib/unicode.d.ts +0 -3
- package/plugin/node_modules/json5/lib/unicode.js +0 -4
- package/plugin/node_modules/json5/lib/util.d.ts +0 -5
- package/plugin/node_modules/json5/lib/util.js +0 -35
- package/plugin/node_modules/json5/package.json +0 -72
- package/plugin/node_modules/locate-path/index.d.ts +0 -83
- package/plugin/node_modules/locate-path/index.js +0 -68
- package/plugin/node_modules/locate-path/license +0 -9
- package/plugin/node_modules/locate-path/package.json +0 -46
- package/plugin/node_modules/locate-path/readme.md +0 -125
- package/plugin/node_modules/minimatch/LICENSE +0 -15
- package/plugin/node_modules/minimatch/README.md +0 -230
- package/plugin/node_modules/minimatch/minimatch.js +0 -947
- package/plugin/node_modules/minimatch/package.json +0 -33
- package/plugin/node_modules/ms/index.js +0 -162
- package/plugin/node_modules/ms/license.md +0 -21
- package/plugin/node_modules/ms/package.json +0 -38
- package/plugin/node_modules/ms/readme.md +0 -59
- package/plugin/node_modules/once/LICENSE +0 -15
- package/plugin/node_modules/once/README.md +0 -79
- package/plugin/node_modules/once/once.js +0 -42
- package/plugin/node_modules/once/package.json +0 -33
- package/plugin/node_modules/p-limit/index.d.ts +0 -42
- package/plugin/node_modules/p-limit/index.js +0 -71
- package/plugin/node_modules/p-limit/license +0 -9
- package/plugin/node_modules/p-limit/package.json +0 -52
- package/plugin/node_modules/p-limit/readme.md +0 -101
- package/plugin/node_modules/p-locate/index.d.ts +0 -53
- package/plugin/node_modules/p-locate/index.js +0 -50
- package/plugin/node_modules/p-locate/license +0 -9
- package/plugin/node_modules/p-locate/package.json +0 -54
- package/plugin/node_modules/p-locate/readme.md +0 -93
- package/plugin/node_modules/path-exists/index.d.ts +0 -28
- package/plugin/node_modules/path-exists/index.js +0 -23
- package/plugin/node_modules/path-exists/license +0 -9
- package/plugin/node_modules/path-exists/package.json +0 -39
- package/plugin/node_modules/path-exists/readme.md +0 -52
- package/plugin/node_modules/path-is-absolute/index.js +0 -20
- package/plugin/node_modules/path-is-absolute/license +0 -21
- package/plugin/node_modules/path-is-absolute/package.json +0 -43
- package/plugin/node_modules/path-is-absolute/readme.md +0 -59
- package/plugin/node_modules/picocolors/LICENSE +0 -15
- package/plugin/node_modules/picocolors/README.md +0 -21
- package/plugin/node_modules/picocolors/package.json +0 -25
- package/plugin/node_modules/picocolors/picocolors.browser.js +0 -4
- package/plugin/node_modules/picocolors/picocolors.d.ts +0 -5
- package/plugin/node_modules/picocolors/picocolors.js +0 -75
- package/plugin/node_modules/picocolors/types.d.ts +0 -51
- package/plugin/node_modules/plist/.github/workflows/ci.yml +0 -24
- package/plugin/node_modules/plist/.jshintrc +0 -4
- package/plugin/node_modules/plist/History.md +0 -196
- package/plugin/node_modules/plist/LICENSE +0 -24
- package/plugin/node_modules/plist/Makefile +0 -75
- package/plugin/node_modules/plist/README.md +0 -146
- package/plugin/node_modules/plist/dist/plist-build.js +0 -5348
- package/plugin/node_modules/plist/dist/plist-parse.js +0 -7456
- package/plugin/node_modules/plist/dist/plist.js +0 -9888
- package/plugin/node_modules/plist/examples/browser/index.html +0 -14
- package/plugin/node_modules/plist/index.js +0 -13
- package/plugin/node_modules/plist/lib/build.js +0 -143
- package/plugin/node_modules/plist/lib/parse.js +0 -227
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -459
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/LICENSE +0 -8
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/SECURITY.md +0 -50
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/index.d.ts +0 -43
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/conventions.js +0 -203
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -322
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom.js +0 -1840
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/index.js +0 -4
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/sax.js +0 -662
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/package.json +0 -71
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/readme.md +0 -356
- package/plugin/node_modules/plist/node_modules/xmlbuilder/.nycrc +0 -6
- package/plugin/node_modules/plist/node_modules/xmlbuilder/.vscode/launch.json +0 -23
- package/plugin/node_modules/plist/node_modules/xmlbuilder/CHANGELOG.md +0 -593
- package/plugin/node_modules/plist/node_modules/xmlbuilder/LICENSE +0 -21
- package/plugin/node_modules/plist/node_modules/xmlbuilder/README.md +0 -103
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/NodeType.js +0 -25
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Utility.js +0 -88
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -130
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCData.js +0 -41
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -86
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLComment.js +0 -41
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -80
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -20
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -55
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -44
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -66
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -44
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -115
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -66
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -51
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocType.js +0 -235
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocument.js +0 -282
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -650
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -21
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDummy.js +0 -39
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLElement.js +0 -334
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -77
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNode.js +0 -999
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -51
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -45
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -56
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLRaw.js +0 -40
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -209
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -40
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -291
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLText.js +0 -82
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -23
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -27
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -485
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/index.js +0 -120
- package/plugin/node_modules/plist/node_modules/xmlbuilder/package.json +0 -51
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/escaping.coffee +0 -244
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/object.coffee +0 -21
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/index.coffee +0 -161
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/perf.list +0 -11
- package/plugin/node_modules/plist/node_modules/xmlbuilder/typings/index.d.ts +0 -1771
- package/plugin/node_modules/plist/package.json +0 -44
- package/plugin/node_modules/resolve-from/index.d.ts +0 -31
- package/plugin/node_modules/resolve-from/index.js +0 -47
- package/plugin/node_modules/resolve-from/license +0 -9
- package/plugin/node_modules/resolve-from/package.json +0 -36
- package/plugin/node_modules/resolve-from/readme.md +0 -72
- package/plugin/node_modules/sax/LICENSE +0 -41
- package/plugin/node_modules/sax/README.md +0 -228
- package/plugin/node_modules/sax/lib/sax.js +0 -1597
- package/plugin/node_modules/sax/package.json +0 -29
- package/plugin/node_modules/semver/LICENSE +0 -15
- package/plugin/node_modules/semver/README.md +0 -664
- package/plugin/node_modules/semver/bin/semver.js +0 -191
- package/plugin/node_modules/semver/classes/comparator.js +0 -143
- package/plugin/node_modules/semver/classes/index.js +0 -7
- package/plugin/node_modules/semver/classes/range.js +0 -556
- package/plugin/node_modules/semver/classes/semver.js +0 -319
- package/plugin/node_modules/semver/functions/clean.js +0 -8
- package/plugin/node_modules/semver/functions/cmp.js +0 -54
- package/plugin/node_modules/semver/functions/coerce.js +0 -62
- package/plugin/node_modules/semver/functions/compare-build.js +0 -9
- package/plugin/node_modules/semver/functions/compare-loose.js +0 -5
- package/plugin/node_modules/semver/functions/compare.js +0 -7
- package/plugin/node_modules/semver/functions/diff.js +0 -60
- package/plugin/node_modules/semver/functions/eq.js +0 -5
- package/plugin/node_modules/semver/functions/gt.js +0 -5
- package/plugin/node_modules/semver/functions/gte.js +0 -5
- package/plugin/node_modules/semver/functions/inc.js +0 -21
- package/plugin/node_modules/semver/functions/lt.js +0 -5
- package/plugin/node_modules/semver/functions/lte.js +0 -5
- package/plugin/node_modules/semver/functions/major.js +0 -5
- package/plugin/node_modules/semver/functions/minor.js +0 -5
- package/plugin/node_modules/semver/functions/neq.js +0 -5
- package/plugin/node_modules/semver/functions/parse.js +0 -18
- package/plugin/node_modules/semver/functions/patch.js +0 -5
- package/plugin/node_modules/semver/functions/prerelease.js +0 -8
- package/plugin/node_modules/semver/functions/rcompare.js +0 -5
- package/plugin/node_modules/semver/functions/rsort.js +0 -5
- package/plugin/node_modules/semver/functions/satisfies.js +0 -12
- package/plugin/node_modules/semver/functions/sort.js +0 -5
- package/plugin/node_modules/semver/functions/valid.js +0 -8
- package/plugin/node_modules/semver/index.js +0 -91
- package/plugin/node_modules/semver/internal/constants.js +0 -37
- package/plugin/node_modules/semver/internal/debug.js +0 -11
- package/plugin/node_modules/semver/internal/identifiers.js +0 -25
- package/plugin/node_modules/semver/internal/lrucache.js +0 -42
- package/plugin/node_modules/semver/internal/parse-options.js +0 -17
- package/plugin/node_modules/semver/internal/re.js +0 -223
- package/plugin/node_modules/semver/package.json +0 -78
- package/plugin/node_modules/semver/preload.js +0 -4
- package/plugin/node_modules/semver/range.bnf +0 -16
- package/plugin/node_modules/semver/ranges/gtr.js +0 -6
- package/plugin/node_modules/semver/ranges/intersects.js +0 -9
- package/plugin/node_modules/semver/ranges/ltr.js +0 -6
- package/plugin/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/plugin/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/plugin/node_modules/semver/ranges/min-version.js +0 -63
- package/plugin/node_modules/semver/ranges/outside.js +0 -82
- package/plugin/node_modules/semver/ranges/simplify.js +0 -49
- package/plugin/node_modules/semver/ranges/subset.js +0 -249
- package/plugin/node_modules/semver/ranges/to-comparators.js +0 -10
- package/plugin/node_modules/semver/ranges/valid.js +0 -13
- package/plugin/node_modules/signal-exit/LICENSE.txt +0 -16
- package/plugin/node_modules/signal-exit/README.md +0 -39
- package/plugin/node_modules/signal-exit/index.js +0 -202
- package/plugin/node_modules/signal-exit/package.json +0 -38
- package/plugin/node_modules/signal-exit/signals.js +0 -53
- package/plugin/node_modules/simple-plist/LICENSE +0 -20
- package/plugin/node_modules/simple-plist/README.md +0 -130
- package/plugin/node_modules/simple-plist/dist/index.d.ts +0 -24
- package/plugin/node_modules/simple-plist/dist/index.js +0 -41
- package/plugin/node_modules/simple-plist/dist/parse.d.ts +0 -8
- package/plugin/node_modules/simple-plist/dist/parse.js +0 -45
- package/plugin/node_modules/simple-plist/dist/readFile.d.ts +0 -4
- package/plugin/node_modules/simple-plist/dist/readFile.js +0 -36
- package/plugin/node_modules/simple-plist/dist/readFileSync.d.ts +0 -3
- package/plugin/node_modules/simple-plist/dist/readFileSync.js +0 -26
- package/plugin/node_modules/simple-plist/dist/stringify.d.ts +0 -2
- package/plugin/node_modules/simple-plist/dist/stringify.js +0 -21
- package/plugin/node_modules/simple-plist/dist/types.d.ts +0 -4
- package/plugin/node_modules/simple-plist/dist/types.js +0 -12
- package/plugin/node_modules/simple-plist/dist/writeBinaryFile.d.ts +0 -5
- package/plugin/node_modules/simple-plist/dist/writeBinaryFile.js +0 -30
- package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.d.ts +0 -4
- package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.js +0 -22
- package/plugin/node_modules/simple-plist/dist/writeFile.d.ts +0 -5
- package/plugin/node_modules/simple-plist/dist/writeFile.js +0 -30
- package/plugin/node_modules/simple-plist/dist/writeFileSync.d.ts +0 -4
- package/plugin/node_modules/simple-plist/dist/writeFileSync.js +0 -23
- package/plugin/node_modules/simple-plist/package.json +0 -53
- package/plugin/node_modules/slash/index.d.ts +0 -25
- package/plugin/node_modules/slash/index.js +0 -11
- package/plugin/node_modules/slash/license +0 -9
- package/plugin/node_modules/slash/package.json +0 -35
- package/plugin/node_modules/slash/readme.md +0 -44
- package/plugin/node_modules/slugify/CHANGELOG.md +0 -94
- package/plugin/node_modules/slugify/LICENSE +0 -21
- package/plugin/node_modules/slugify/README.md +0 -98
- package/plugin/node_modules/slugify/package.json +0 -42
- package/plugin/node_modules/slugify/slugify.d.ts +0 -24
- package/plugin/node_modules/slugify/slugify.js +0 -69
- package/plugin/node_modules/stream-buffers/.mailmap +0 -2
- package/plugin/node_modules/stream-buffers/.travis.yml +0 -28
- package/plugin/node_modules/stream-buffers/README.md +0 -157
- package/plugin/node_modules/stream-buffers/UNLICENSE +0 -24
- package/plugin/node_modules/stream-buffers/coverage/coverage.json +0 -1
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/base.css +0 -182
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/index.html +0 -73
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +0 -63
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +0 -112
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +0 -453
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +0 -54
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +0 -336
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.css +0 -1
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.js +0 -1
- 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 +0 -156
- package/plugin/node_modules/stream-buffers/coverage/lcov.info +0 -305
- package/plugin/node_modules/stream-buffers/lib/constants.js +0 -6
- package/plugin/node_modules/stream-buffers/lib/readable_streambuffer.js +0 -136
- package/plugin/node_modules/stream-buffers/lib/streambuffer.js +0 -3
- package/plugin/node_modules/stream-buffers/lib/writable_streambuffer.js +0 -97
- package/plugin/node_modules/stream-buffers/package.json +0 -28
- package/plugin/node_modules/supports-color/browser.js +0 -5
- package/plugin/node_modules/supports-color/index.js +0 -135
- package/plugin/node_modules/supports-color/license +0 -9
- package/plugin/node_modules/supports-color/package.json +0 -53
- package/plugin/node_modules/supports-color/readme.md +0 -76
- package/plugin/node_modules/typescript/LICENSE.txt +0 -55
- package/plugin/node_modules/typescript/README.md +0 -50
- package/plugin/node_modules/typescript/SECURITY.md +0 -41
- package/plugin/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
- package/plugin/node_modules/typescript/bin/tsc +0 -2
- package/plugin/node_modules/typescript/bin/tsserver +0 -2
- package/plugin/node_modules/typescript/lib/_tsc.js +0 -133792
- package/plugin/node_modules/typescript/lib/_tsserver.js +0 -659
- package/plugin/node_modules/typescript/lib/_typingsInstaller.js +0 -222
- package/plugin/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/lib.d.ts +0 -22
- package/plugin/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
- package/plugin/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
- package/plugin/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
- package/plugin/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
- package/plugin/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
- package/plugin/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
- package/plugin/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
- package/plugin/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
- package/plugin/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
- package/plugin/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
- package/plugin/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
- package/plugin/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
- package/plugin/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
- package/plugin/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
- package/plugin/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
- package/plugin/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
- package/plugin/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
- package/plugin/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
- package/plugin/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
- package/plugin/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
- package/plugin/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
- package/plugin/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
- package/plugin/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
- package/plugin/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
- package/plugin/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
- package/plugin/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
- package/plugin/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
- package/plugin/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
- package/plugin/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
- package/plugin/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
- package/plugin/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
- package/plugin/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
- package/plugin/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
- package/plugin/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
- package/plugin/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
- package/plugin/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
- package/plugin/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
- package/plugin/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
- package/plugin/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
- package/plugin/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
- package/plugin/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
- package/plugin/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
- package/plugin/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
- package/plugin/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
- package/plugin/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
- package/plugin/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
- package/plugin/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
- package/plugin/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
- package/plugin/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
- package/plugin/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
- package/plugin/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
- package/plugin/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
- package/plugin/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
- package/plugin/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
- package/plugin/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
- package/plugin/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
- package/plugin/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
- package/plugin/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
- package/plugin/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
- package/plugin/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
- package/plugin/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
- package/plugin/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
- package/plugin/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
- package/plugin/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
- package/plugin/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
- package/plugin/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
- package/plugin/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
- package/plugin/node_modules/typescript/lib/lib.es6.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
- package/plugin/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
- package/plugin/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
- package/plugin/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
- package/plugin/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
- package/plugin/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -443
- package/plugin/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
- package/plugin/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
- package/plugin/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
- package/plugin/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
- package/plugin/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
- package/plugin/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
- package/plugin/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
- package/plugin/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
- package/plugin/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
- package/plugin/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
- package/plugin/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/tsc.js +0 -8
- package/plugin/node_modules/typescript/lib/tsserver.js +0 -8
- package/plugin/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
- package/plugin/node_modules/typescript/lib/tsserverlibrary.js +0 -21
- package/plugin/node_modules/typescript/lib/typesMap.json +0 -497
- package/plugin/node_modules/typescript/lib/typescript.d.ts +0 -11438
- package/plugin/node_modules/typescript/lib/typescript.js +0 -200253
- package/plugin/node_modules/typescript/lib/typingsInstaller.js +0 -8
- package/plugin/node_modules/typescript/lib/watchGuard.js +0 -53
- package/plugin/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
- package/plugin/node_modules/typescript/package.json +0 -120
- package/plugin/node_modules/undici-types/LICENSE +0 -21
- package/plugin/node_modules/undici-types/README.md +0 -6
- package/plugin/node_modules/undici-types/agent.d.ts +0 -31
- package/plugin/node_modules/undici-types/api.d.ts +0 -43
- package/plugin/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/plugin/node_modules/undici-types/cache.d.ts +0 -36
- package/plugin/node_modules/undici-types/client.d.ts +0 -108
- package/plugin/node_modules/undici-types/connector.d.ts +0 -34
- package/plugin/node_modules/undici-types/content-type.d.ts +0 -21
- package/plugin/node_modules/undici-types/cookies.d.ts +0 -28
- package/plugin/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/plugin/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/plugin/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/plugin/node_modules/undici-types/errors.d.ts +0 -149
- package/plugin/node_modules/undici-types/eventsource.d.ts +0 -61
- package/plugin/node_modules/undici-types/fetch.d.ts +0 -209
- package/plugin/node_modules/undici-types/file.d.ts +0 -39
- package/plugin/node_modules/undici-types/filereader.d.ts +0 -54
- package/plugin/node_modules/undici-types/formdata.d.ts +0 -108
- package/plugin/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/plugin/node_modules/undici-types/global-origin.d.ts +0 -7
- package/plugin/node_modules/undici-types/handlers.d.ts +0 -15
- package/plugin/node_modules/undici-types/header.d.ts +0 -4
- package/plugin/node_modules/undici-types/index.d.ts +0 -71
- package/plugin/node_modules/undici-types/interceptors.d.ts +0 -17
- package/plugin/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/plugin/node_modules/undici-types/mock-client.d.ts +0 -25
- package/plugin/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/plugin/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/plugin/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/plugin/node_modules/undici-types/package.json +0 -55
- package/plugin/node_modules/undici-types/patch.d.ts +0 -33
- package/plugin/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/plugin/node_modules/undici-types/pool.d.ts +0 -39
- package/plugin/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/plugin/node_modules/undici-types/readable.d.ts +0 -65
- package/plugin/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/plugin/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/plugin/node_modules/undici-types/util.d.ts +0 -18
- package/plugin/node_modules/undici-types/webidl.d.ts +0 -228
- package/plugin/node_modules/undici-types/websocket.d.ts +0 -150
- package/plugin/node_modules/uuid/CHANGELOG.md +0 -156
- package/plugin/node_modules/uuid/CONTRIBUTING.md +0 -20
- package/plugin/node_modules/uuid/LICENSE.md +0 -21
- package/plugin/node_modules/uuid/README.md +0 -406
- package/plugin/node_modules/uuid/deprecate.js +0 -20
- package/plugin/node_modules/uuid/dist/bin/uuid +0 -2
- package/plugin/node_modules/uuid/dist/bytesToUuid.js +0 -27
- package/plugin/node_modules/uuid/dist/esm-browser/bytesToUuid.js +0 -18
- package/plugin/node_modules/uuid/dist/esm-browser/index.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-browser/md5.js +0 -218
- package/plugin/node_modules/uuid/dist/esm-browser/rng.js +0 -15
- package/plugin/node_modules/uuid/dist/esm-browser/sha1.js +0 -91
- package/plugin/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/plugin/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-browser/v35.js +0 -56
- package/plugin/node_modules/uuid/dist/esm-browser/v4.js +0 -27
- package/plugin/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-node/bytesToUuid.js +0 -18
- package/plugin/node_modules/uuid/dist/esm-node/index.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/plugin/node_modules/uuid/dist/esm-node/rng.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/plugin/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/plugin/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/plugin/node_modules/uuid/dist/esm-node/v35.js +0 -56
- package/plugin/node_modules/uuid/dist/esm-node/v4.js +0 -27
- package/plugin/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/plugin/node_modules/uuid/dist/index.js +0 -39
- package/plugin/node_modules/uuid/dist/md5-browser.js +0 -225
- package/plugin/node_modules/uuid/dist/md5.js +0 -24
- package/plugin/node_modules/uuid/dist/rng-browser.js +0 -23
- package/plugin/node_modules/uuid/dist/rng.js +0 -16
- package/plugin/node_modules/uuid/dist/sha1-browser.js +0 -96
- package/plugin/node_modules/uuid/dist/sha1.js +0 -24
- package/plugin/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/plugin/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/plugin/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/plugin/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/plugin/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/plugin/node_modules/uuid/dist/uuid-bin.js +0 -67
- package/plugin/node_modules/uuid/dist/v1.js +0 -108
- package/plugin/node_modules/uuid/dist/v3.js +0 -17
- package/plugin/node_modules/uuid/dist/v35.js +0 -69
- package/plugin/node_modules/uuid/dist/v4.js +0 -41
- package/plugin/node_modules/uuid/dist/v5.js +0 -17
- package/plugin/node_modules/uuid/package.json +0 -115
- package/plugin/node_modules/uuid/v1.js +0 -8
- package/plugin/node_modules/uuid/v3.js +0 -8
- package/plugin/node_modules/uuid/v4.js +0 -8
- package/plugin/node_modules/uuid/v5.js +0 -8
- package/plugin/node_modules/wrappy/LICENSE +0 -15
- package/plugin/node_modules/wrappy/README.md +0 -36
- package/plugin/node_modules/wrappy/package.json +0 -29
- package/plugin/node_modules/wrappy/wrappy.js +0 -33
- package/plugin/node_modules/write-file-atomic/CHANGELOG.md +0 -25
- package/plugin/node_modules/write-file-atomic/LICENSE +0 -6
- package/plugin/node_modules/write-file-atomic/README.md +0 -56
- package/plugin/node_modules/write-file-atomic/index.js +0 -238
- package/plugin/node_modules/write-file-atomic/package.json +0 -41
- package/plugin/node_modules/xcode/AUTHORS +0 -6
- package/plugin/node_modules/xcode/CONTRIBUTING.md +0 -37
- package/plugin/node_modules/xcode/LICENSE +0 -202
- package/plugin/node_modules/xcode/Makefile +0 -24
- package/plugin/node_modules/xcode/NOTICE +0 -5
- package/plugin/node_modules/xcode/README.md +0 -72
- package/plugin/node_modules/xcode/RELEASENOTES.md +0 -77
- package/plugin/node_modules/xcode/index.js +0 -18
- package/plugin/node_modules/xcode/lib/parseJob.js +0 -32
- package/plugin/node_modules/xcode/lib/parser/pbxproj.js +0 -1904
- package/plugin/node_modules/xcode/lib/parser/pbxproj.pegjs +0 -280
- package/plugin/node_modules/xcode/lib/pbxFile.js +0 -233
- package/plugin/node_modules/xcode/lib/pbxProject.js +0 -2201
- package/plugin/node_modules/xcode/lib/pbxWriter.js +0 -309
- package/plugin/node_modules/xcode/package.json +0 -61
- package/plugin/node_modules/xml2js/LICENSE +0 -19
- package/plugin/node_modules/xml2js/README.md +0 -507
- package/plugin/node_modules/xml2js/lib/bom.js +0 -12
- package/plugin/node_modules/xml2js/lib/builder.js +0 -127
- package/plugin/node_modules/xml2js/lib/defaults.js +0 -72
- package/plugin/node_modules/xml2js/lib/parser.js +0 -396
- package/plugin/node_modules/xml2js/lib/processors.js +0 -34
- package/plugin/node_modules/xml2js/lib/xml2js.js +0 -39
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +0 -470
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +0 -21
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/README.md +0 -86
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +0 -20
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +0 -23
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +0 -83
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +0 -69
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +0 -65
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/package.json +0 -39
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +0 -153
- package/plugin/node_modules/xml2js/package.json +0 -93
- package/plugin/node_modules/xmlbuilder/.nycrc +0 -6
- package/plugin/node_modules/xmlbuilder/CHANGELOG.md +0 -568
- package/plugin/node_modules/xmlbuilder/LICENSE +0 -21
- package/plugin/node_modules/xmlbuilder/README.md +0 -103
- package/plugin/node_modules/xmlbuilder/lib/Derivation.js +0 -10
- package/plugin/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
- package/plugin/node_modules/xmlbuilder/lib/NodeType.js +0 -25
- package/plugin/node_modules/xmlbuilder/lib/OperationType.js +0 -11
- package/plugin/node_modules/xmlbuilder/lib/Utility.js +0 -88
- package/plugin/node_modules/xmlbuilder/lib/WriterState.js +0 -10
- package/plugin/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -130
- package/plugin/node_modules/xmlbuilder/lib/XMLCData.js +0 -41
- package/plugin/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -86
- package/plugin/node_modules/xmlbuilder/lib/XMLComment.js +0 -41
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -80
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -20
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -55
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -44
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -66
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -44
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -115
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -66
- package/plugin/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -51
- package/plugin/node_modules/xmlbuilder/lib/XMLDocType.js +0 -235
- package/plugin/node_modules/xmlbuilder/lib/XMLDocument.js +0 -282
- package/plugin/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -650
- package/plugin/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -21
- package/plugin/node_modules/xmlbuilder/lib/XMLDummy.js +0 -39
- package/plugin/node_modules/xmlbuilder/lib/XMLElement.js +0 -334
- package/plugin/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -77
- package/plugin/node_modules/xmlbuilder/lib/XMLNode.js +0 -999
- package/plugin/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -51
- package/plugin/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -45
- package/plugin/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -56
- package/plugin/node_modules/xmlbuilder/lib/XMLRaw.js +0 -40
- package/plugin/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -209
- package/plugin/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -40
- package/plugin/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -287
- package/plugin/node_modules/xmlbuilder/lib/XMLText.js +0 -82
- package/plugin/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -23
- package/plugin/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -27
- package/plugin/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -485
- package/plugin/node_modules/xmlbuilder/lib/index.js +0 -120
- package/plugin/node_modules/xmlbuilder/package.json +0 -51
- package/plugin/node_modules/xmlbuilder/perf/basic/escaping.coffee +0 -244
- package/plugin/node_modules/xmlbuilder/perf/basic/object.coffee +0 -21
- package/plugin/node_modules/xmlbuilder/perf/index.coffee +0 -161
- package/plugin/node_modules/xmlbuilder/perf/perf.list +0 -11
- package/plugin/node_modules/xmlbuilder/typings/index.d.ts +0 -1761
- package/plugin/node_modules/yocto-queue/index.d.ts +0 -56
- package/plugin/node_modules/yocto-queue/index.js +0 -68
- package/plugin/node_modules/yocto-queue/license +0 -9
- package/plugin/node_modules/yocto-queue/package.json +0 -43
- package/plugin/node_modules/yocto-queue/readme.md +0 -64
- package/plugin/package-lock.json +0 -763
- package/plugin/src/withVolumeKeyIntercept.ts +0 -184
- package/plugin/tsconfig.json +0 -18
- package/plugin/tsconfig.tsbuildinfo +0 -1
- package/src/ReactNativeKookit.types.ts +0 -24
- package/src/ReactNativeKookitModule.ts +0 -36
- package/src/ReactNativeKookitModule.web.ts +0 -48
- package/src/ReactNativeKookitView.tsx +0 -11
- package/src/ReactNativeKookitView.web.tsx +0 -15
- package/src/index.ts +0 -5
- package/test-volume-keys.sh +0 -25
- package/tsconfig.json +0 -9
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ResourceKind } from './Resources';
|
|
2
|
-
export interface ProjectFile<L extends string = string> {
|
|
3
|
-
path: string;
|
|
4
|
-
language: L;
|
|
5
|
-
contents: string;
|
|
6
|
-
}
|
|
7
|
-
export type ApplicationProjectFile = ProjectFile<'java' | 'kt'>;
|
|
8
|
-
export type GradleProjectFile = ProjectFile<'groovy' | 'kt'>;
|
|
9
|
-
export declare function getProjectFilePath(projectRoot: string, name: string): string;
|
|
10
|
-
export declare function getFileInfo(filePath: string): {
|
|
11
|
-
path: string;
|
|
12
|
-
contents: string;
|
|
13
|
-
language: any;
|
|
14
|
-
};
|
|
15
|
-
export declare function getMainApplicationAsync(projectRoot: string): Promise<ApplicationProjectFile>;
|
|
16
|
-
export declare function getMainActivityAsync(projectRoot: string): Promise<ApplicationProjectFile>;
|
|
17
|
-
export declare function getGradleFilePath(projectRoot: string, gradleName: string): string;
|
|
18
|
-
export declare function getProjectBuildGradleFilePath(projectRoot: string): string;
|
|
19
|
-
export declare function getProjectBuildGradleAsync(projectRoot: string): Promise<GradleProjectFile>;
|
|
20
|
-
export declare function getSettingsGradleFilePath(projectRoot: string): string;
|
|
21
|
-
export declare function getSettingsGradleAsync(projectRoot: string): Promise<GradleProjectFile>;
|
|
22
|
-
export declare function getAppBuildGradleFilePath(projectRoot: string): string;
|
|
23
|
-
export declare function getAppBuildGradleAsync(projectRoot: string): Promise<GradleProjectFile>;
|
|
24
|
-
export declare function getProjectPathOrThrowAsync(projectRoot: string): Promise<string>;
|
|
25
|
-
export declare function getAndroidManifestAsync(projectRoot: string): Promise<string>;
|
|
26
|
-
export declare function getResourceFolderAsync(projectRoot: string): Promise<string>;
|
|
27
|
-
export declare function getResourceXMLPathAsync(projectRoot: string, { kind, name }: {
|
|
28
|
-
kind?: ResourceKind;
|
|
29
|
-
name: 'colors' | 'strings' | 'styles' | string;
|
|
30
|
-
}): Promise<string>;
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getAndroidManifestAsync = getAndroidManifestAsync;
|
|
7
|
-
exports.getAppBuildGradleAsync = getAppBuildGradleAsync;
|
|
8
|
-
exports.getAppBuildGradleFilePath = getAppBuildGradleFilePath;
|
|
9
|
-
exports.getFileInfo = getFileInfo;
|
|
10
|
-
exports.getGradleFilePath = getGradleFilePath;
|
|
11
|
-
exports.getMainActivityAsync = getMainActivityAsync;
|
|
12
|
-
exports.getMainApplicationAsync = getMainApplicationAsync;
|
|
13
|
-
exports.getProjectBuildGradleAsync = getProjectBuildGradleAsync;
|
|
14
|
-
exports.getProjectBuildGradleFilePath = getProjectBuildGradleFilePath;
|
|
15
|
-
exports.getProjectFilePath = getProjectFilePath;
|
|
16
|
-
exports.getProjectPathOrThrowAsync = getProjectPathOrThrowAsync;
|
|
17
|
-
exports.getResourceFolderAsync = getResourceFolderAsync;
|
|
18
|
-
exports.getResourceXMLPathAsync = getResourceXMLPathAsync;
|
|
19
|
-
exports.getSettingsGradleAsync = getSettingsGradleAsync;
|
|
20
|
-
exports.getSettingsGradleFilePath = getSettingsGradleFilePath;
|
|
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 _glob() {
|
|
36
|
-
const data = require("glob");
|
|
37
|
-
_glob = function () {
|
|
38
|
-
return data;
|
|
39
|
-
};
|
|
40
|
-
return data;
|
|
41
|
-
}
|
|
42
|
-
function path() {
|
|
43
|
-
const data = _interopRequireWildcard(require("path"));
|
|
44
|
-
path = function () {
|
|
45
|
-
return data;
|
|
46
|
-
};
|
|
47
|
-
return data;
|
|
48
|
-
}
|
|
49
|
-
function _errors() {
|
|
50
|
-
const data = require("../utils/errors");
|
|
51
|
-
_errors = function () {
|
|
52
|
-
return data;
|
|
53
|
-
};
|
|
54
|
-
return data;
|
|
55
|
-
}
|
|
56
|
-
function _modules() {
|
|
57
|
-
const data = require("../utils/modules");
|
|
58
|
-
_modules = function () {
|
|
59
|
-
return data;
|
|
60
|
-
};
|
|
61
|
-
return data;
|
|
62
|
-
}
|
|
63
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
64
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
65
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
66
|
-
function getProjectFilePath(projectRoot, name) {
|
|
67
|
-
const filePath = (0, _glob().sync)(path().join(projectRoot, `android/app/src/main/java/**/${name}.@(java|kt)`))[0];
|
|
68
|
-
(0, _assert().default)(filePath, `Project file "${name}" does not exist in android project for root "${projectRoot}"`);
|
|
69
|
-
return filePath;
|
|
70
|
-
}
|
|
71
|
-
function getLanguage(filePath) {
|
|
72
|
-
const extension = path().extname(filePath);
|
|
73
|
-
switch (extension) {
|
|
74
|
-
case '.java':
|
|
75
|
-
return 'java';
|
|
76
|
-
case '.kts':
|
|
77
|
-
case '.kt':
|
|
78
|
-
return 'kt';
|
|
79
|
-
case '.groovy':
|
|
80
|
-
case '.gradle':
|
|
81
|
-
return 'groovy';
|
|
82
|
-
default:
|
|
83
|
-
throw new (_errors().UnexpectedError)(`Unexpected Android file extension: ${extension}`);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
function getFileInfo(filePath) {
|
|
87
|
-
return {
|
|
88
|
-
path: path().normalize(filePath),
|
|
89
|
-
contents: _fs().default.readFileSync(filePath, 'utf8'),
|
|
90
|
-
language: getLanguage(filePath)
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
async function getMainApplicationAsync(projectRoot) {
|
|
94
|
-
const filePath = getProjectFilePath(projectRoot, 'MainApplication');
|
|
95
|
-
return getFileInfo(filePath);
|
|
96
|
-
}
|
|
97
|
-
async function getMainActivityAsync(projectRoot) {
|
|
98
|
-
const filePath = getProjectFilePath(projectRoot, 'MainActivity');
|
|
99
|
-
return getFileInfo(filePath);
|
|
100
|
-
}
|
|
101
|
-
function getGradleFilePath(projectRoot, gradleName) {
|
|
102
|
-
const groovyPath = path().resolve(projectRoot, `${gradleName}.gradle`);
|
|
103
|
-
const ktPath = path().resolve(projectRoot, `${gradleName}.gradle.kts`);
|
|
104
|
-
const isGroovy = _fs().default.existsSync(groovyPath);
|
|
105
|
-
const isKotlin = !isGroovy && _fs().default.existsSync(ktPath);
|
|
106
|
-
if (!isGroovy && !isKotlin) {
|
|
107
|
-
throw new Error(`Failed to find '${gradleName}.gradle' file for project: ${projectRoot}.`);
|
|
108
|
-
}
|
|
109
|
-
const filePath = isGroovy ? groovyPath : ktPath;
|
|
110
|
-
return filePath;
|
|
111
|
-
}
|
|
112
|
-
function getProjectBuildGradleFilePath(projectRoot) {
|
|
113
|
-
return getGradleFilePath(path().join(projectRoot, 'android'), 'build');
|
|
114
|
-
}
|
|
115
|
-
async function getProjectBuildGradleAsync(projectRoot) {
|
|
116
|
-
return getFileInfo(getProjectBuildGradleFilePath(projectRoot));
|
|
117
|
-
}
|
|
118
|
-
function getSettingsGradleFilePath(projectRoot) {
|
|
119
|
-
return getGradleFilePath(path().join(projectRoot, 'android'), 'settings');
|
|
120
|
-
}
|
|
121
|
-
async function getSettingsGradleAsync(projectRoot) {
|
|
122
|
-
return getFileInfo(getSettingsGradleFilePath(projectRoot));
|
|
123
|
-
}
|
|
124
|
-
function getAppBuildGradleFilePath(projectRoot) {
|
|
125
|
-
return getGradleFilePath(path().join(projectRoot, 'android', 'app'), 'build');
|
|
126
|
-
}
|
|
127
|
-
async function getAppBuildGradleAsync(projectRoot) {
|
|
128
|
-
return getFileInfo(getAppBuildGradleFilePath(projectRoot));
|
|
129
|
-
}
|
|
130
|
-
async function getProjectPathOrThrowAsync(projectRoot) {
|
|
131
|
-
const projectPath = path().join(projectRoot, 'android');
|
|
132
|
-
if (await (0, _modules().directoryExistsAsync)(projectPath)) {
|
|
133
|
-
return projectPath;
|
|
134
|
-
}
|
|
135
|
-
throw new Error(`Android project folder is missing in project: ${projectRoot}`);
|
|
136
|
-
}
|
|
137
|
-
async function getAndroidManifestAsync(projectRoot) {
|
|
138
|
-
const projectPath = await getProjectPathOrThrowAsync(projectRoot);
|
|
139
|
-
const filePath = path().join(projectPath, 'app/src/main/AndroidManifest.xml');
|
|
140
|
-
return filePath;
|
|
141
|
-
}
|
|
142
|
-
async function getResourceFolderAsync(projectRoot) {
|
|
143
|
-
const projectPath = await getProjectPathOrThrowAsync(projectRoot);
|
|
144
|
-
return path().join(projectPath, `app/src/main/res`);
|
|
145
|
-
}
|
|
146
|
-
async function getResourceXMLPathAsync(projectRoot, {
|
|
147
|
-
kind = 'values',
|
|
148
|
-
name
|
|
149
|
-
}) {
|
|
150
|
-
const resourcePath = await getResourceFolderAsync(projectRoot);
|
|
151
|
-
const filePath = path().join(resourcePath, `${kind}/${name}.xml`);
|
|
152
|
-
return filePath;
|
|
153
|
-
}
|
|
154
|
-
//# sourceMappingURL=Paths.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Paths.js","names":["_assert","data","_interopRequireDefault","require","_fs","_glob","path","_interopRequireWildcard","_errors","_modules","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","getProjectFilePath","projectRoot","name","filePath","globSync","join","assert","getLanguage","extension","extname","UnexpectedError","getFileInfo","normalize","contents","fs","readFileSync","language","getMainApplicationAsync","getMainActivityAsync","getGradleFilePath","gradleName","groovyPath","resolve","ktPath","isGroovy","existsSync","isKotlin","Error","getProjectBuildGradleFilePath","getProjectBuildGradleAsync","getSettingsGradleFilePath","getSettingsGradleAsync","getAppBuildGradleFilePath","getAppBuildGradleAsync","getProjectPathOrThrowAsync","projectPath","directoryExistsAsync","getAndroidManifestAsync","getResourceFolderAsync","getResourceXMLPathAsync","kind","resourcePath"],"sources":["../../src/android/Paths.ts"],"sourcesContent":["import assert from 'assert';\nimport fs from 'fs';\nimport { sync as globSync } from 'glob';\nimport * as path from 'path';\n\nimport { ResourceKind } from './Resources';\nimport { UnexpectedError } from '../utils/errors';\nimport { directoryExistsAsync } from '../utils/modules';\n\nexport interface ProjectFile<L extends string = string> {\n path: string;\n language: L;\n contents: string;\n}\n\nexport type ApplicationProjectFile = ProjectFile<'java' | 'kt'>;\nexport type GradleProjectFile = ProjectFile<'groovy' | 'kt'>;\n\nexport function getProjectFilePath(projectRoot: string, name: string): string {\n const filePath = globSync(\n path.join(projectRoot, `android/app/src/main/java/**/${name}.@(java|kt)`)\n )[0];\n assert(\n filePath,\n `Project file \"${name}\" does not exist in android project for root \"${projectRoot}\"`\n );\n\n return filePath;\n}\n\nfunction getLanguage(filePath: string): 'java' | 'groovy' | 'kt' {\n const extension = path.extname(filePath);\n switch (extension) {\n case '.java':\n return 'java';\n case '.kts':\n case '.kt':\n return 'kt';\n case '.groovy':\n case '.gradle':\n return 'groovy';\n default:\n throw new UnexpectedError(`Unexpected Android file extension: ${extension}`);\n }\n}\n\nexport function getFileInfo(filePath: string) {\n return {\n path: path.normalize(filePath),\n contents: fs.readFileSync(filePath, 'utf8'),\n language: getLanguage(filePath) as any,\n };\n}\n\nexport async function getMainApplicationAsync(\n projectRoot: string\n): Promise<ApplicationProjectFile> {\n const filePath = getProjectFilePath(projectRoot, 'MainApplication');\n return getFileInfo(filePath);\n}\n\nexport async function getMainActivityAsync(projectRoot: string): Promise<ApplicationProjectFile> {\n const filePath = getProjectFilePath(projectRoot, 'MainActivity');\n return getFileInfo(filePath);\n}\n\nexport function getGradleFilePath(projectRoot: string, gradleName: string): string {\n const groovyPath = path.resolve(projectRoot, `${gradleName}.gradle`);\n const ktPath = path.resolve(projectRoot, `${gradleName}.gradle.kts`);\n\n const isGroovy = fs.existsSync(groovyPath);\n const isKotlin = !isGroovy && fs.existsSync(ktPath);\n\n if (!isGroovy && !isKotlin) {\n throw new Error(`Failed to find '${gradleName}.gradle' file for project: ${projectRoot}.`);\n }\n const filePath = isGroovy ? groovyPath : ktPath;\n return filePath;\n}\n\nexport function getProjectBuildGradleFilePath(projectRoot: string): string {\n return getGradleFilePath(path.join(projectRoot, 'android'), 'build');\n}\n\nexport async function getProjectBuildGradleAsync(projectRoot: string): Promise<GradleProjectFile> {\n return getFileInfo(getProjectBuildGradleFilePath(projectRoot));\n}\n\nexport function getSettingsGradleFilePath(projectRoot: string): string {\n return getGradleFilePath(path.join(projectRoot, 'android'), 'settings');\n}\n\nexport async function getSettingsGradleAsync(projectRoot: string): Promise<GradleProjectFile> {\n return getFileInfo(getSettingsGradleFilePath(projectRoot));\n}\n\nexport function getAppBuildGradleFilePath(projectRoot: string): string {\n return getGradleFilePath(path.join(projectRoot, 'android', 'app'), 'build');\n}\n\nexport async function getAppBuildGradleAsync(projectRoot: string): Promise<GradleProjectFile> {\n return getFileInfo(getAppBuildGradleFilePath(projectRoot));\n}\n\nexport async function getProjectPathOrThrowAsync(projectRoot: string): Promise<string> {\n const projectPath = path.join(projectRoot, 'android');\n if (await directoryExistsAsync(projectPath)) {\n return projectPath;\n }\n throw new Error(`Android project folder is missing in project: ${projectRoot}`);\n}\n\nexport async function getAndroidManifestAsync(projectRoot: string): Promise<string> {\n const projectPath = await getProjectPathOrThrowAsync(projectRoot);\n const filePath = path.join(projectPath, 'app/src/main/AndroidManifest.xml');\n return filePath;\n}\n\nexport async function getResourceFolderAsync(projectRoot: string): Promise<string> {\n const projectPath = await getProjectPathOrThrowAsync(projectRoot);\n return path.join(projectPath, `app/src/main/res`);\n}\n\nexport async function getResourceXMLPathAsync(\n projectRoot: string,\n { kind = 'values', name }: { kind?: ResourceKind; name: 'colors' | 'strings' | 'styles' | string }\n): Promise<string> {\n const resourcePath = await getResourceFolderAsync(projectRoot);\n\n const filePath = path.join(resourcePath, `${kind}/${name}.xml`);\n return filePath;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,IAAA;EAAA,MAAAH,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAC,GAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,MAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,KAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,KAAA;EAAA,MAAAL,IAAA,GAAAM,uBAAA,CAAAJ,OAAA;EAAAG,IAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IA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D;AAEO,eAAeI,uBAAuBA,CAC3CtC,WAAmB,EACnB;EAAEuC,IAAI,GAAG,QAAQ;EAAEtC;AAA8E,CAAC,EACjF;EACjB,MAAMuC,YAAY,GAAG,MAAMH,sBAAsB,CAACrC,WAAW,CAAC;EAE9D,MAAME,QAAQ,GAAG7B,IAAI,CAAD,CAAC,CAAC+B,IAAI,CAACoC,YAAY,EAAE,GAAGD,IAAI,IAAItC,IAAI,MAAM,CAAC;EAC/D,OAAOC,QAAQ;AACjB","ignoreList":[]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ExpoConfig } from '@expo/config-types';
|
|
2
|
-
import { AndroidManifest, ManifestUsesPermission } from './Manifest';
|
|
3
|
-
import { ConfigPlugin } from '../Plugin.types';
|
|
4
|
-
export declare const withPermissions: ConfigPlugin<string[] | void>;
|
|
5
|
-
/** Given a permission or list of permissions, block permissions in the final `AndroidManifest.xml` to ensure no installed library or plugin can add them. */
|
|
6
|
-
export declare const withBlockedPermissions: ConfigPlugin<string[] | string>;
|
|
7
|
-
export declare const withInternalBlockedPermissions: ConfigPlugin;
|
|
8
|
-
export declare function addBlockedPermissions(androidManifest: AndroidManifest, permissions: string[]): AndroidManifest;
|
|
9
|
-
export declare function getAndroidPermissions(config: Pick<ExpoConfig, 'android'>): string[];
|
|
10
|
-
export declare function setAndroidPermissions(config: Pick<ExpoConfig, 'android'>, androidManifest: AndroidManifest): AndroidManifest;
|
|
11
|
-
export declare function isPermissionAlreadyRequested(permission: string, manifestPermissions: ManifestUsesPermission[]): boolean;
|
|
12
|
-
export declare function addPermissionToManifest(permission: string, manifestPermissions: ManifestUsesPermission[]): ManifestUsesPermission[];
|
|
13
|
-
export declare function removePermissions(androidManifest: AndroidManifest, permissionNames?: string[]): void;
|
|
14
|
-
export declare function addPermission(androidManifest: AndroidManifest, permissionName: string): void;
|
|
15
|
-
export declare function ensurePermissions(androidManifest: AndroidManifest, permissionNames: string[]): {
|
|
16
|
-
[permission: string]: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare function ensurePermission(androidManifest: AndroidManifest, permissionName: string): boolean;
|
|
19
|
-
export declare function ensurePermissionNameFormat(permissionName: string): string;
|
|
20
|
-
export declare function getPermissions(androidManifest: AndroidManifest): string[];
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.addBlockedPermissions = addBlockedPermissions;
|
|
7
|
-
exports.addPermission = addPermission;
|
|
8
|
-
exports.addPermissionToManifest = addPermissionToManifest;
|
|
9
|
-
exports.ensurePermission = ensurePermission;
|
|
10
|
-
exports.ensurePermissionNameFormat = ensurePermissionNameFormat;
|
|
11
|
-
exports.ensurePermissions = ensurePermissions;
|
|
12
|
-
exports.getAndroidPermissions = getAndroidPermissions;
|
|
13
|
-
exports.getPermissions = getPermissions;
|
|
14
|
-
exports.isPermissionAlreadyRequested = isPermissionAlreadyRequested;
|
|
15
|
-
exports.removePermissions = removePermissions;
|
|
16
|
-
exports.setAndroidPermissions = setAndroidPermissions;
|
|
17
|
-
exports.withPermissions = exports.withInternalBlockedPermissions = exports.withBlockedPermissions = void 0;
|
|
18
|
-
function _Manifest() {
|
|
19
|
-
const data = require("./Manifest");
|
|
20
|
-
_Manifest = function () {
|
|
21
|
-
return data;
|
|
22
|
-
};
|
|
23
|
-
return data;
|
|
24
|
-
}
|
|
25
|
-
function _androidPlugins() {
|
|
26
|
-
const data = require("../plugins/android-plugins");
|
|
27
|
-
_androidPlugins = function () {
|
|
28
|
-
return data;
|
|
29
|
-
};
|
|
30
|
-
return data;
|
|
31
|
-
}
|
|
32
|
-
const USES_PERMISSION = 'uses-permission';
|
|
33
|
-
const withPermissions = (config, permissions) => {
|
|
34
|
-
if (Array.isArray(permissions)) {
|
|
35
|
-
permissions = permissions.filter(Boolean);
|
|
36
|
-
if (!config.android) config.android = {};
|
|
37
|
-
if (!config.android.permissions) config.android.permissions = [];
|
|
38
|
-
config.android.permissions = [
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
...new Set(config.android.permissions.concat(permissions))];
|
|
41
|
-
}
|
|
42
|
-
return (0, _androidPlugins().withAndroidManifest)(config, async config => {
|
|
43
|
-
config.modResults = await setAndroidPermissions(config, config.modResults);
|
|
44
|
-
return config;
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
/** Given a permission or list of permissions, block permissions in the final `AndroidManifest.xml` to ensure no installed library or plugin can add them. */
|
|
49
|
-
exports.withPermissions = withPermissions;
|
|
50
|
-
const withBlockedPermissions = (config, permissions) => {
|
|
51
|
-
const resolvedPermissions = prefixAndroidPermissionsIfNecessary((Array.isArray(permissions) ? permissions : [permissions]).filter(Boolean));
|
|
52
|
-
if (config?.android?.permissions && Array.isArray(config.android.permissions)) {
|
|
53
|
-
// Remove any static config permissions
|
|
54
|
-
config.android.permissions = prefixAndroidPermissionsIfNecessary(config.android.permissions).filter(permission => !resolvedPermissions.includes(permission));
|
|
55
|
-
}
|
|
56
|
-
return (0, _androidPlugins().withAndroidManifest)(config, async config => {
|
|
57
|
-
config.modResults = (0, _Manifest().ensureToolsAvailable)(config.modResults);
|
|
58
|
-
config.modResults = addBlockedPermissions(config.modResults, resolvedPermissions);
|
|
59
|
-
return config;
|
|
60
|
-
});
|
|
61
|
-
};
|
|
62
|
-
exports.withBlockedPermissions = withBlockedPermissions;
|
|
63
|
-
const withInternalBlockedPermissions = config => {
|
|
64
|
-
// Only add permissions if the user defined the property and added some values
|
|
65
|
-
// this ensures we don't add the `tools:*` namespace extraneously.
|
|
66
|
-
if (config.android?.blockedPermissions?.length) {
|
|
67
|
-
return withBlockedPermissions(config, config.android.blockedPermissions);
|
|
68
|
-
}
|
|
69
|
-
return config;
|
|
70
|
-
};
|
|
71
|
-
exports.withInternalBlockedPermissions = withInternalBlockedPermissions;
|
|
72
|
-
function addBlockedPermissions(androidManifest, permissions) {
|
|
73
|
-
if (!Array.isArray(androidManifest.manifest['uses-permission'])) {
|
|
74
|
-
androidManifest.manifest['uses-permission'] = [];
|
|
75
|
-
}
|
|
76
|
-
for (const permission of prefixAndroidPermissionsIfNecessary(permissions)) {
|
|
77
|
-
androidManifest.manifest['uses-permission'] = ensureBlockedPermission(androidManifest.manifest['uses-permission'], permission);
|
|
78
|
-
}
|
|
79
|
-
return androidManifest;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Filter any existing permissions matching the provided permission name, then add a
|
|
84
|
-
* restricted permission to overwrite any extra permissions that may be added in a
|
|
85
|
-
* third-party package's AndroidManifest.xml.
|
|
86
|
-
*
|
|
87
|
-
* @param manifestPermissions manifest `uses-permissions` array.
|
|
88
|
-
* @param permission `android:name` of the permission to restrict
|
|
89
|
-
* @returns
|
|
90
|
-
*/
|
|
91
|
-
function ensureBlockedPermission(manifestPermissions, permission) {
|
|
92
|
-
// Remove permission if it currently exists
|
|
93
|
-
manifestPermissions = manifestPermissions.filter(e => e.$['android:name'] !== permission);
|
|
94
|
-
|
|
95
|
-
// Add a permission with tools:node to overwrite any existing permission and ensure it's removed upon building.
|
|
96
|
-
manifestPermissions.push({
|
|
97
|
-
$: {
|
|
98
|
-
'android:name': permission,
|
|
99
|
-
'tools:node': 'remove'
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
return manifestPermissions;
|
|
103
|
-
}
|
|
104
|
-
function prefixAndroidPermissionsIfNecessary(permissions) {
|
|
105
|
-
return permissions.map(permission => {
|
|
106
|
-
if (!permission.includes('.')) {
|
|
107
|
-
return `android.permission.${permission}`;
|
|
108
|
-
}
|
|
109
|
-
return permission;
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
function getAndroidPermissions(config) {
|
|
113
|
-
return config.android?.permissions ?? [];
|
|
114
|
-
}
|
|
115
|
-
function setAndroidPermissions(config, androidManifest) {
|
|
116
|
-
const permissions = getAndroidPermissions(config);
|
|
117
|
-
const providedPermissions = prefixAndroidPermissionsIfNecessary(permissions);
|
|
118
|
-
const permissionsToAdd = [...providedPermissions];
|
|
119
|
-
if (!androidManifest.manifest.hasOwnProperty('uses-permission')) {
|
|
120
|
-
androidManifest.manifest['uses-permission'] = [];
|
|
121
|
-
}
|
|
122
|
-
// manifest.manifest['uses-permission'] = [];
|
|
123
|
-
|
|
124
|
-
const manifestPermissions = androidManifest.manifest['uses-permission'] ?? [];
|
|
125
|
-
permissionsToAdd.forEach(permission => {
|
|
126
|
-
if (!isPermissionAlreadyRequested(permission, manifestPermissions)) {
|
|
127
|
-
addPermissionToManifest(permission, manifestPermissions);
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
return androidManifest;
|
|
131
|
-
}
|
|
132
|
-
function isPermissionAlreadyRequested(permission, manifestPermissions) {
|
|
133
|
-
return manifestPermissions.some(e => e.$['android:name'] === permission);
|
|
134
|
-
}
|
|
135
|
-
function addPermissionToManifest(permission, manifestPermissions) {
|
|
136
|
-
manifestPermissions.push({
|
|
137
|
-
$: {
|
|
138
|
-
'android:name': permission
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
return manifestPermissions;
|
|
142
|
-
}
|
|
143
|
-
function removePermissions(androidManifest, permissionNames) {
|
|
144
|
-
const targetNames = permissionNames ? permissionNames.map(ensurePermissionNameFormat) : null;
|
|
145
|
-
const permissions = androidManifest.manifest[USES_PERMISSION] || [];
|
|
146
|
-
const nextPermissions = [];
|
|
147
|
-
for (const attribute of permissions) {
|
|
148
|
-
if (targetNames) {
|
|
149
|
-
// @ts-ignore: name isn't part of the type
|
|
150
|
-
const value = attribute.$['android:name'] || attribute.$.name;
|
|
151
|
-
if (!targetNames.includes(value)) {
|
|
152
|
-
nextPermissions.push(attribute);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
androidManifest.manifest[USES_PERMISSION] = nextPermissions;
|
|
157
|
-
}
|
|
158
|
-
function addPermission(androidManifest, permissionName) {
|
|
159
|
-
const usesPermissions = androidManifest.manifest[USES_PERMISSION] || [];
|
|
160
|
-
usesPermissions.push({
|
|
161
|
-
$: {
|
|
162
|
-
'android:name': permissionName
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
androidManifest.manifest[USES_PERMISSION] = usesPermissions;
|
|
166
|
-
}
|
|
167
|
-
function ensurePermissions(androidManifest, permissionNames) {
|
|
168
|
-
const permissions = getPermissions(androidManifest);
|
|
169
|
-
const results = {};
|
|
170
|
-
for (const permissionName of permissionNames) {
|
|
171
|
-
const targetName = ensurePermissionNameFormat(permissionName);
|
|
172
|
-
if (!permissions.includes(targetName)) {
|
|
173
|
-
addPermission(androidManifest, targetName);
|
|
174
|
-
results[permissionName] = true;
|
|
175
|
-
} else {
|
|
176
|
-
results[permissionName] = false;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
return results;
|
|
180
|
-
}
|
|
181
|
-
function ensurePermission(androidManifest, permissionName) {
|
|
182
|
-
const permissions = getPermissions(androidManifest);
|
|
183
|
-
const targetName = ensurePermissionNameFormat(permissionName);
|
|
184
|
-
if (!permissions.includes(targetName)) {
|
|
185
|
-
addPermission(androidManifest, targetName);
|
|
186
|
-
return true;
|
|
187
|
-
}
|
|
188
|
-
return false;
|
|
189
|
-
}
|
|
190
|
-
function ensurePermissionNameFormat(permissionName) {
|
|
191
|
-
if (permissionName.includes('.')) {
|
|
192
|
-
const com = permissionName.split('.');
|
|
193
|
-
const name = com.pop();
|
|
194
|
-
return [...com, name.toUpperCase()].join('.');
|
|
195
|
-
} else {
|
|
196
|
-
// If shorthand form like `WRITE_CONTACTS` is provided, expand it to `android.permission.WRITE_CONTACTS`.
|
|
197
|
-
return ensurePermissionNameFormat(`android.permission.${permissionName}`);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
function getPermissions(androidManifest) {
|
|
201
|
-
const usesPermissions = androidManifest.manifest[USES_PERMISSION] || [];
|
|
202
|
-
const permissions = usesPermissions.map(permissionObject => {
|
|
203
|
-
return permissionObject.$['android:name'] || permissionObject.$.name;
|
|
204
|
-
});
|
|
205
|
-
return permissions;
|
|
206
|
-
}
|
|
207
|
-
//# sourceMappingURL=Permissions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Permissions.js","names":["_Manifest","data","require","_androidPlugins","USES_PERMISSION","withPermissions","config","permissions","Array","isArray","filter","Boolean","android","Set","concat","withAndroidManifest","modResults","setAndroidPermissions","exports","withBlockedPermissions","resolvedPermissions","prefixAndroidPermissionsIfNecessary","permission","includes","ensureToolsAvailable","addBlockedPermissions","withInternalBlockedPermissions","blockedPermissions","length","androidManifest","manifest","ensureBlockedPermission","manifestPermissions","e","$","push","map","getAndroidPermissions","providedPermissions","permissionsToAdd","hasOwnProperty","forEach","isPermissionAlreadyRequested","addPermissionToManifest","some","removePermissions","permissionNames","targetNames","ensurePermissionNameFormat","nextPermissions","attribute","value","name","addPermission","permissionName","usesPermissions","ensurePermissions","getPermissions","results","targetName","ensurePermission","com","split","pop","toUpperCase","join","permissionObject"],"sources":["../../src/android/Permissions.ts"],"sourcesContent":["import { ExpoConfig } from '@expo/config-types';\n\nimport { AndroidManifest, ensureToolsAvailable, ManifestUsesPermission } from './Manifest';\nimport { ConfigPlugin } from '../Plugin.types';\nimport { withAndroidManifest } from '../plugins/android-plugins';\n\nconst USES_PERMISSION = 'uses-permission';\n\nexport const withPermissions: ConfigPlugin<string[] | void> = (config, permissions) => {\n if (Array.isArray(permissions)) {\n permissions = permissions.filter(Boolean);\n if (!config.android) config.android = {};\n if (!config.android.permissions) config.android.permissions = [];\n config.android.permissions = [\n // @ts-ignore\n ...new Set(config.android.permissions.concat(permissions)),\n ];\n }\n return withAndroidManifest(config, async (config) => {\n config.modResults = await setAndroidPermissions(config, config.modResults);\n return config;\n });\n};\n\n/** Given a permission or list of permissions, block permissions in the final `AndroidManifest.xml` to ensure no installed library or plugin can add them. */\nexport const withBlockedPermissions: ConfigPlugin<string[] | string> = (config, permissions) => {\n const resolvedPermissions = prefixAndroidPermissionsIfNecessary(\n (Array.isArray(permissions) ? permissions : [permissions]).filter(Boolean)\n );\n\n if (config?.android?.permissions && Array.isArray(config.android.permissions)) {\n // Remove any static config permissions\n config.android.permissions = prefixAndroidPermissionsIfNecessary(\n config.android.permissions\n ).filter((permission) => !resolvedPermissions.includes(permission));\n }\n\n return withAndroidManifest(config, async (config) => {\n config.modResults = ensureToolsAvailable(config.modResults);\n config.modResults = addBlockedPermissions(config.modResults, resolvedPermissions);\n return config;\n });\n};\n\nexport const withInternalBlockedPermissions: ConfigPlugin = (config) => {\n // Only add permissions if the user defined the property and added some values\n // this ensures we don't add the `tools:*` namespace extraneously.\n if (config.android?.blockedPermissions?.length) {\n return withBlockedPermissions(config, config.android.blockedPermissions);\n }\n\n return config;\n};\n\nexport function addBlockedPermissions(androidManifest: AndroidManifest, permissions: string[]) {\n if (!Array.isArray(androidManifest.manifest['uses-permission'])) {\n androidManifest.manifest['uses-permission'] = [];\n }\n\n for (const permission of prefixAndroidPermissionsIfNecessary(permissions)) {\n androidManifest.manifest['uses-permission'] = ensureBlockedPermission(\n androidManifest.manifest['uses-permission'],\n permission\n );\n }\n\n return androidManifest;\n}\n\n/**\n * Filter any existing permissions matching the provided permission name, then add a\n * restricted permission to overwrite any extra permissions that may be added in a\n * third-party package's AndroidManifest.xml.\n *\n * @param manifestPermissions manifest `uses-permissions` array.\n * @param permission `android:name` of the permission to restrict\n * @returns\n */\nfunction ensureBlockedPermission(\n manifestPermissions: ManifestUsesPermission[],\n permission: string\n) {\n // Remove permission if it currently exists\n manifestPermissions = manifestPermissions.filter((e) => e.$['android:name'] !== permission);\n\n // Add a permission with tools:node to overwrite any existing permission and ensure it's removed upon building.\n manifestPermissions.push({\n $: { 'android:name': permission, 'tools:node': 'remove' },\n });\n return manifestPermissions;\n}\n\nfunction prefixAndroidPermissionsIfNecessary(permissions: string[]): string[] {\n return permissions.map((permission) => {\n if (!permission.includes('.')) {\n return `android.permission.${permission}`;\n }\n return permission;\n });\n}\n\nexport function getAndroidPermissions(config: Pick<ExpoConfig, 'android'>): string[] {\n return config.android?.permissions ?? [];\n}\n\nexport function setAndroidPermissions(\n config: Pick<ExpoConfig, 'android'>,\n androidManifest: AndroidManifest\n) {\n const permissions = getAndroidPermissions(config);\n const providedPermissions = prefixAndroidPermissionsIfNecessary(permissions);\n const permissionsToAdd = [...providedPermissions];\n\n if (!androidManifest.manifest.hasOwnProperty('uses-permission')) {\n androidManifest.manifest['uses-permission'] = [];\n }\n // manifest.manifest['uses-permission'] = [];\n\n const manifestPermissions = androidManifest.manifest['uses-permission'] ?? [];\n\n permissionsToAdd.forEach((permission) => {\n if (!isPermissionAlreadyRequested(permission, manifestPermissions)) {\n addPermissionToManifest(permission, manifestPermissions);\n }\n });\n\n return androidManifest;\n}\n\nexport function isPermissionAlreadyRequested(\n permission: string,\n manifestPermissions: ManifestUsesPermission[]\n): boolean {\n return manifestPermissions.some((e) => e.$['android:name'] === permission);\n}\n\nexport function addPermissionToManifest(\n permission: string,\n manifestPermissions: ManifestUsesPermission[]\n) {\n manifestPermissions.push({ $: { 'android:name': permission } });\n return manifestPermissions;\n}\n\nexport function removePermissions(androidManifest: AndroidManifest, permissionNames?: string[]) {\n const targetNames = permissionNames ? permissionNames.map(ensurePermissionNameFormat) : null;\n const permissions = androidManifest.manifest[USES_PERMISSION] || [];\n const nextPermissions = [];\n for (const attribute of permissions) {\n if (targetNames) {\n // @ts-ignore: name isn't part of the type\n const value = attribute.$['android:name'] || attribute.$.name;\n if (!targetNames.includes(value)) {\n nextPermissions.push(attribute);\n }\n }\n }\n\n androidManifest.manifest[USES_PERMISSION] = nextPermissions;\n}\n\nexport function addPermission(androidManifest: AndroidManifest, permissionName: string): void {\n const usesPermissions: ManifestUsesPermission[] = androidManifest.manifest[USES_PERMISSION] || [];\n usesPermissions.push({\n $: { 'android:name': permissionName },\n });\n androidManifest.manifest[USES_PERMISSION] = usesPermissions;\n}\n\nexport function ensurePermissions(\n androidManifest: AndroidManifest,\n permissionNames: string[]\n): { [permission: string]: boolean } {\n const permissions = getPermissions(androidManifest);\n\n const results: { [permission: string]: boolean } = {};\n for (const permissionName of permissionNames) {\n const targetName = ensurePermissionNameFormat(permissionName);\n if (!permissions.includes(targetName)) {\n addPermission(androidManifest, targetName);\n results[permissionName] = true;\n } else {\n results[permissionName] = false;\n }\n }\n return results;\n}\n\nexport function ensurePermission(\n androidManifest: AndroidManifest,\n permissionName: string\n): boolean {\n const permissions = getPermissions(androidManifest);\n const targetName = ensurePermissionNameFormat(permissionName);\n\n if (!permissions.includes(targetName)) {\n addPermission(androidManifest, targetName);\n return true;\n }\n return false;\n}\n\nexport function ensurePermissionNameFormat(permissionName: string): string {\n if (permissionName.includes('.')) {\n const com = permissionName.split('.');\n const name = com.pop() as string;\n return [...com, name.toUpperCase()].join('.');\n } else {\n // If shorthand form like `WRITE_CONTACTS` is provided, expand it to `android.permission.WRITE_CONTACTS`.\n return ensurePermissionNameFormat(`android.permission.${permissionName}`);\n }\n}\n\nexport function getPermissions(androidManifest: AndroidManifest): string[] {\n const usesPermissions: { [key: string]: any }[] = androidManifest.manifest[USES_PERMISSION] || [];\n const permissions = usesPermissions.map((permissionObject) => {\n return permissionObject.$['android:name'] || permissionObject.$.name;\n });\n return permissions;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAEA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAE,gBAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,eAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,MAAMG,eAAe,GAAG,iBAAiB;AAElC,MAAMC,eAA8C,GAAGA,CAACC,MAAM,EAAEC,WAAW,KAAK;EACrF,IAAIC,KAAK,CAACC,OAAO,CAACF,WAA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,CAAC,sBAAsBM,cAAc,EAAE,CAAC;EAC3E;AACF;AAEO,SAASG,cAAcA,CAAC5B,eAAgC,EAAY;EACzE,MAAM0B,eAAyC,GAAG1B,eAAe,CAACC,QAAQ,CAAC1B,eAAe,CAAC,IAAI,EAAE;EACjG,MAAMG,WAAW,GAAGgD,eAAe,CAACnB,GAAG,CAAE8B,gBAAgB,IAAK;IAC5D,OAAOA,gBAAgB,CAAChC,CAAC,CAAC,cAAc,CAAC,IAAIgC,gBAAgB,CAAChC,CAAC,CAACkB,IAAI;EACtE,CAAC,CAAC;EACF,OAAO7C,WAAW;AACpB","ignoreList":[]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ExpoConfig } from '@expo/config-types';
|
|
2
|
-
import { ConfigPlugin } from '../Plugin.types';
|
|
3
|
-
export declare const withPrimaryColor: ConfigPlugin;
|
|
4
|
-
export declare const withPrimaryColorColors: ConfigPlugin;
|
|
5
|
-
export declare const withPrimaryColorStyles: ConfigPlugin;
|
|
6
|
-
export declare function getPrimaryColor(config: Pick<ExpoConfig, 'primaryColor'>): string;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getPrimaryColor = getPrimaryColor;
|
|
7
|
-
exports.withPrimaryColorStyles = exports.withPrimaryColorColors = exports.withPrimaryColor = void 0;
|
|
8
|
-
function _Colors() {
|
|
9
|
-
const data = require("./Colors");
|
|
10
|
-
_Colors = function () {
|
|
11
|
-
return data;
|
|
12
|
-
};
|
|
13
|
-
return data;
|
|
14
|
-
}
|
|
15
|
-
function _Styles() {
|
|
16
|
-
const data = require("./Styles");
|
|
17
|
-
_Styles = function () {
|
|
18
|
-
return data;
|
|
19
|
-
};
|
|
20
|
-
return data;
|
|
21
|
-
}
|
|
22
|
-
function _androidPlugins() {
|
|
23
|
-
const data = require("../plugins/android-plugins");
|
|
24
|
-
_androidPlugins = function () {
|
|
25
|
-
return data;
|
|
26
|
-
};
|
|
27
|
-
return data;
|
|
28
|
-
}
|
|
29
|
-
const COLOR_PRIMARY_KEY = 'colorPrimary';
|
|
30
|
-
const DEFAULT_PRIMARY_COLOR = '#023c69';
|
|
31
|
-
const withPrimaryColor = config => {
|
|
32
|
-
config = withPrimaryColorColors(config);
|
|
33
|
-
config = withPrimaryColorStyles(config);
|
|
34
|
-
return config;
|
|
35
|
-
};
|
|
36
|
-
exports.withPrimaryColor = withPrimaryColor;
|
|
37
|
-
const withPrimaryColorColors = config => {
|
|
38
|
-
return (0, _androidPlugins().withAndroidColors)(config, config => {
|
|
39
|
-
config.modResults = (0, _Colors().assignColorValue)(config.modResults, {
|
|
40
|
-
name: COLOR_PRIMARY_KEY,
|
|
41
|
-
value: getPrimaryColor(config)
|
|
42
|
-
});
|
|
43
|
-
return config;
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
exports.withPrimaryColorColors = withPrimaryColorColors;
|
|
47
|
-
const withPrimaryColorStyles = config => {
|
|
48
|
-
return (0, _androidPlugins().withAndroidStyles)(config, config => {
|
|
49
|
-
config.modResults = (0, _Styles().assignStylesValue)(config.modResults, {
|
|
50
|
-
add: !!getPrimaryColor(config),
|
|
51
|
-
parent: (0, _Styles().getAppThemeLightNoActionBarGroup)(),
|
|
52
|
-
name: COLOR_PRIMARY_KEY,
|
|
53
|
-
value: `@color/${COLOR_PRIMARY_KEY}`
|
|
54
|
-
});
|
|
55
|
-
return config;
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
exports.withPrimaryColorStyles = withPrimaryColorStyles;
|
|
59
|
-
function getPrimaryColor(config) {
|
|
60
|
-
return config.primaryColor ?? DEFAULT_PRIMARY_COLOR;
|
|
61
|
-
}
|
|
62
|
-
//# sourceMappingURL=PrimaryColor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimaryColor.js","names":["_Colors","data","require","_Styles","_androidPlugins","COLOR_PRIMARY_KEY","DEFAULT_PRIMARY_COLOR","withPrimaryColor","config","withPrimaryColorColors","withPrimaryColorStyles","exports","withAndroidColors","modResults","assignColorValue","name","value","getPrimaryColor","withAndroidStyles","assignStylesValue","add","parent","getAppThemeLightNoActionBarGroup","primaryColor"],"sources":["../../src/android/PrimaryColor.ts"],"sourcesContent":["import { ExpoConfig } from '@expo/config-types';\n\nimport { assignColorValue } from './Colors';\nimport { assignStylesValue, getAppThemeLightNoActionBarGroup } from './Styles';\nimport { ConfigPlugin } from '../Plugin.types';\nimport { withAndroidColors, withAndroidStyles } from '../plugins/android-plugins';\n\nconst COLOR_PRIMARY_KEY = 'colorPrimary';\nconst DEFAULT_PRIMARY_COLOR = '#023c69';\n\nexport const withPrimaryColor: ConfigPlugin = (config) => {\n config = withPrimaryColorColors(config);\n config = withPrimaryColorStyles(config);\n return config;\n};\n\nexport const withPrimaryColorColors: ConfigPlugin = (config) => {\n return withAndroidColors(config, (config) => {\n config.modResults = assignColorValue(config.modResults, {\n name: COLOR_PRIMARY_KEY,\n value: getPrimaryColor(config),\n });\n return config;\n });\n};\n\nexport const withPrimaryColorStyles: ConfigPlugin = (config) => {\n return withAndroidStyles(config, (config) => {\n config.modResults = assignStylesValue(config.modResults, {\n add: !!getPrimaryColor(config),\n parent: getAppThemeLightNoActionBarGroup(),\n name: COLOR_PRIMARY_KEY,\n value: `@color/${COLOR_PRIMARY_KEY}`,\n });\n return config;\n });\n};\n\nexport function getPrimaryColor(config: Pick<ExpoConfig, 'primaryColor'>) {\n return config.primaryColor ?? DEFAULT_PRIMARY_COLOR;\n}\n"],"mappings":";;;;;;;AAEA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,QAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,OAAA,YAAAA,CAA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AAA,CAAAD,sBAAA,GAAAA,sBAAA;AAEK,SAASO,eAAeA,CAACT,MAAwC,EAAE;EACxE,OAAOA,MAAM,CAACe,YAAY,IAAIjB,qBAAqB;AACrD","ignoreList":[]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type PropertiesItem = {
|
|
2
|
-
type: 'comment';
|
|
3
|
-
value: string;
|
|
4
|
-
} | {
|
|
5
|
-
type: 'empty';
|
|
6
|
-
} | {
|
|
7
|
-
type: 'property';
|
|
8
|
-
key: string;
|
|
9
|
-
value: string;
|
|
10
|
-
};
|
|
11
|
-
export declare function parsePropertiesFile(contents: string): PropertiesItem[];
|
|
12
|
-
export declare function propertiesListToString(props: PropertiesItem[]): string;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.parsePropertiesFile = parsePropertiesFile;
|
|
7
|
-
exports.propertiesListToString = propertiesListToString;
|
|
8
|
-
function parsePropertiesFile(contents) {
|
|
9
|
-
const propertiesList = [];
|
|
10
|
-
const lines = contents.split('\n');
|
|
11
|
-
for (let i = 0; i < lines.length; i++) {
|
|
12
|
-
const line = lines[i].trim();
|
|
13
|
-
if (!line) {
|
|
14
|
-
propertiesList.push({
|
|
15
|
-
type: 'empty'
|
|
16
|
-
});
|
|
17
|
-
} else if (line.startsWith('#')) {
|
|
18
|
-
propertiesList.push({
|
|
19
|
-
type: 'comment',
|
|
20
|
-
value: line.substring(1).trimStart()
|
|
21
|
-
});
|
|
22
|
-
} else {
|
|
23
|
-
const eok = line.indexOf('=');
|
|
24
|
-
const key = line.slice(0, eok);
|
|
25
|
-
const value = line.slice(eok + 1, line.length);
|
|
26
|
-
propertiesList.push({
|
|
27
|
-
type: 'property',
|
|
28
|
-
key,
|
|
29
|
-
value
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return propertiesList;
|
|
34
|
-
}
|
|
35
|
-
function propertiesListToString(props) {
|
|
36
|
-
let output = '';
|
|
37
|
-
for (let i = 0; i < props.length; i++) {
|
|
38
|
-
const prop = props[i];
|
|
39
|
-
if (prop.type === 'empty') {
|
|
40
|
-
output += '';
|
|
41
|
-
} else if (prop.type === 'comment') {
|
|
42
|
-
output += '# ' + prop.value;
|
|
43
|
-
} else if (prop.type === 'property') {
|
|
44
|
-
output += `${prop.key}=${prop.value}`;
|
|
45
|
-
} else {
|
|
46
|
-
// @ts-ignore: assertion
|
|
47
|
-
throw new Error(`Invalid properties type "${prop.type}"`);
|
|
48
|
-
}
|
|
49
|
-
if (i < props.length - 1) {
|
|
50
|
-
output += '\n';
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
return output;
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=Properties.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Properties.js","names":["parsePropertiesFile","contents","propertiesList","lines","split","i","length","line","trim","push","type","startsWith","value","substring","trimStart","eok","indexOf","key","slice","propertiesListToString","props","output","prop","Error"],"sources":["../../src/android/Properties.ts"],"sourcesContent":["export type PropertiesItem =\n | {\n type: 'comment';\n value: string;\n }\n | {\n type: 'empty';\n }\n | {\n type: 'property';\n key: string;\n value: string;\n };\n\nexport function parsePropertiesFile(contents: string): PropertiesItem[] {\n const propertiesList: PropertiesItem[] = [];\n const lines = contents.split('\\n');\n for (let i = 0; i < lines.length; i++) {\n const line = lines[i].trim();\n if (!line) {\n propertiesList.push({ type: 'empty' });\n } else if (line.startsWith('#')) {\n propertiesList.push({ type: 'comment', value: line.substring(1).trimStart() });\n } else {\n const eok = line.indexOf('=');\n const key = line.slice(0, eok);\n const value = line.slice(eok + 1, line.length);\n propertiesList.push({ type: 'property', key, value });\n }\n }\n\n return propertiesList;\n}\n\nexport function propertiesListToString(props: PropertiesItem[]): string {\n let output = '';\n for (let i = 0; i < props.length; i++) {\n const prop = props[i];\n if (prop.type === 'empty') {\n output += '';\n } else if (prop.type === 'comment') {\n output += '# ' + prop.value;\n } else if (prop.type === 'property') {\n output += `${prop.key}=${prop.value}`;\n } else {\n // @ts-ignore: assertion\n throw new Error(`Invalid properties type \"${prop.type}\"`);\n }\n if (i < props.length - 1) {\n output += '\\n';\n }\n }\n return output;\n}\n"],"mappings":";;;;;;;AAcO,SAASA,mBAAmBA,CAACC,QAAgB,EAAoB;EACtE,MAAMC,cAAgC,GAAG,EAAE;EAC3C,MAAMC,KAAK,GAAGF,QAAQ,CAACG,KAAK,CAAC,IAAI,CAAC;EAClC,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,KAAK,CAACG,MAAM,EAAED,CAAC,EAAE,EAAE;IACrC,MAAME,IAAI,GAAGJ,KAAK,CAACE,CAAC,CAAC,CAACG,IAAI,CAAC,CAAC;IAC5B,IAAI,CAACD,IAAI,EAAE;MACTL,cAAc,CAACO,IAAI,CAAC;QAAEC,IAAI,EAAE;MAAQ,CAAC,CAAC;IACxC,CAAC,MAAM,IAAIH,IAAI,CAACI,UAAU,CAAC,GAAG,CAAC,EAAE;MAC/BT,cAAc,CAACO,IAAI,CAAC;QAAEC,IAAI,EAAE,SAAS;QAAEE,KAAK,EAAEL,IAAI,CAACM,SAAS,CAAC,CAAC,CAAC,CAACC,SAAS,CAAC;MAAE,CAAC,CAAC;IAChF,CAAC,MAAM;MACL,MAAMC,GAAG,GAAGR,IAAI,CAACS,OAAO,CAAC,GAAG,CAAC;MAC7B,MAAMC,GAAG,GAAGV,IAAI,CAACW,KAAK,CAAC,CAAC,EAAEH,GAAG,CAAC;MAC9B,MAAMH,KAAK,GAAGL,IAAI,CAACW,KAAK,CAACH,GAAG,GAAG,CAAC,EAAER,IAAI,CAACD,MAAM,CAAC;MAC9CJ,cAAc,CAACO,IAAI,CAAC;QAAEC,IAAI,EAAE,UAAU;QAAEO,GAAG;QAAEL;MAAM,CAAC,CAAC;IACvD;EAC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