react-native-kookit 0.1.7 → 0.1.8
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 +1 -1
- 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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Manifest.js","names":["_assert","data","_interopRequireDefault","require","_fs","_path","XML","_interopRequireWildcard","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","obj","writeAndroidManifestAsync","manifestPath","androidManifest","manifestXml","format","fs","promises","mkdir","path","dirname","recursive","writeFile","readAndroidManifestAsync","xml","readXMLAsync","isManifest","Error","manifest","getMainApplication","application","filter","$","endsWith","getMainApplicationOrThrow","mainApplication","assert","getMainActivityOrThrow","mainActivity","getMainActivity","getRunnableActivity","enabledActivities","activity","Array","isArray","intentFilter","action","find","category","addMetaDataItemToMainApplication","itemName","itemValue","itemType","existingMetaDataItem","newItem","prefixAndroidKeys","name","length","push","removeMetaDataItemFromMainApplication","index","findMetaDataItem","splice","findApplicationSubItem","parent","findIndex","findUsesLibraryItem","getMainApplicationMetaDataValue","item","addUsesLibraryItemToMainApplication","removeUsesLibraryItemFromMainApplication","head","entries","reduce","prev","key","curr","ensureToolsAvailable","ensureManifestHasNamespace","namespace","url"],"sources":["../../src/android/Manifest.ts"],"sourcesContent":["import assert from 'assert';\nimport fs from 'fs';\nimport path from 'path';\n\nimport * as XML from '../utils/XML';\n\nexport type StringBoolean = 'true' | 'false';\n\ntype ManifestMetaDataAttributes = AndroidManifestAttributes & {\n 'android:value'?: string;\n 'android:resource'?: string;\n};\n\ntype AndroidManifestAttributes = {\n 'android:name': string | 'android.intent.action.VIEW';\n 'tools:node'?: string | 'remove';\n};\n\ntype ManifestAction = {\n $: AndroidManifestAttributes;\n};\n\ntype ManifestCategory = {\n $: AndroidManifestAttributes;\n};\n\ntype ManifestData = {\n $: {\n [key: string]: string | undefined;\n 'android:host'?: string;\n 'android:pathPrefix'?: string;\n 'android:scheme'?: string;\n };\n};\n\ntype ManifestReceiver = {\n $: AndroidManifestAttributes & {\n 'android:exported'?: StringBoolean;\n 'android:enabled'?: StringBoolean;\n };\n 'intent-filter'?: ManifestIntentFilter[];\n};\n\nexport type ManifestIntentFilter = {\n $?: {\n 'android:autoVerify'?: StringBoolean;\n 'data-generated'?: StringBoolean;\n };\n action?: ManifestAction[];\n data?: ManifestData[];\n category?: ManifestCategory[];\n};\n\nexport type ManifestMetaData = {\n $: ManifestMetaDataAttributes;\n};\n\ntype ManifestServiceAttributes = AndroidManifestAttributes & {\n 'android:enabled'?: StringBoolean;\n 'android:exported'?: StringBoolean;\n 'android:permission'?: string;\n // ...\n};\n\ntype ManifestService = {\n $: ManifestServiceAttributes;\n 'intent-filter'?: ManifestIntentFilter[];\n};\n\ntype ManifestApplicationAttributes = {\n 'android:name': string | '.MainApplication';\n 'android:icon'?: string;\n 'android:roundIcon'?: string;\n 'android:label'?: string;\n 'android:allowBackup'?: StringBoolean;\n 'android:largeHeap'?: StringBoolean;\n 'android:requestLegacyExternalStorage'?: StringBoolean;\n 'android:supportsPictureInPicture'?: StringBoolean;\n 'android:usesCleartextTraffic'?: StringBoolean;\n [key: string]: string | undefined;\n};\n\nexport type ManifestActivity = {\n $: ManifestApplicationAttributes & {\n 'android:exported'?: StringBoolean;\n 'android:launchMode'?: string;\n 'android:theme'?: string;\n 'android:windowSoftInputMode'?:\n | string\n | 'stateUnspecified'\n | 'stateUnchanged'\n | 'stateHidden'\n | 'stateAlwaysHidden'\n | 'stateVisible'\n | 'stateAlwaysVisible'\n | 'adjustUnspecified'\n | 'adjustResize'\n | 'adjustPan';\n [key: string]: string | undefined;\n };\n 'intent-filter'?: ManifestIntentFilter[];\n // ...\n};\n\nexport type ManifestUsesLibrary = {\n $: AndroidManifestAttributes & {\n 'android:required'?: StringBoolean;\n };\n};\n\nexport type ManifestApplication = {\n $: ManifestApplicationAttributes;\n activity?: ManifestActivity[];\n service?: ManifestService[];\n receiver?: ManifestReceiver[];\n 'meta-data'?: ManifestMetaData[];\n 'uses-library'?: ManifestUsesLibrary[];\n // ...\n};\n\ntype ManifestPermission = {\n $: AndroidManifestAttributes & {\n 'android:protectionLevel'?: string | 'signature';\n };\n};\n\nexport type ManifestUsesPermission = {\n $: AndroidManifestAttributes;\n};\n\ntype ManifestUsesFeature = {\n $: AndroidManifestAttributes & {\n 'android:glEsVersion'?: string;\n 'android:required': StringBoolean;\n };\n};\n\nexport type AndroidManifest = {\n manifest: {\n // Probably more, but this is currently all we'd need for most cases in Expo.\n $: {\n 'xmlns:android': string;\n 'xmlns:tools'?: string;\n package?: string;\n [key: string]: string | undefined;\n };\n permission?: ManifestPermission[];\n 'uses-permission'?: ManifestUsesPermission[];\n 'uses-permission-sdk-23'?: ManifestUsesPermission[];\n 'uses-feature'?: ManifestUsesFeature[];\n queries: ManifestQuery[];\n application?: ManifestApplication[];\n };\n};\n\ntype ManifestQueryIntent = Omit<ManifestIntentFilter, '$'>;\n\nexport type ManifestQuery = {\n package?: {\n $: {\n 'android:name': string;\n };\n }[];\n intent?: ManifestQueryIntent[];\n provider?: {\n $: {\n 'android:authorities': string;\n };\n }[];\n};\n\nexport async function writeAndroidManifestAsync(\n manifestPath: string,\n androidManifest: AndroidManifest\n): Promise<void> {\n const manifestXml = XML.format(androidManifest);\n await fs.promises.mkdir(path.dirname(manifestPath), { recursive: true });\n await fs.promises.writeFile(manifestPath, manifestXml);\n}\n\nexport async function readAndroidManifestAsync(manifestPath: string): Promise<AndroidManifest> {\n const xml = await XML.readXMLAsync({ path: manifestPath });\n if (!isManifest(xml)) {\n throw new Error('Invalid manifest found at: ' + manifestPath);\n }\n return xml;\n}\n\nfunction isManifest(xml: XML.XMLObject): xml is AndroidManifest {\n // TODO: Maybe more validation\n return !!xml.manifest;\n}\n\n/** Returns the `manifest.application` tag ending in `.MainApplication` */\nexport function getMainApplication(androidManifest: AndroidManifest): ManifestApplication | null {\n return (\n androidManifest?.manifest?.application?.filter((e) =>\n e?.$?.['android:name'].endsWith('.MainApplication')\n )[0] ?? null\n );\n}\n\nexport function getMainApplicationOrThrow(androidManifest: AndroidManifest): ManifestApplication {\n const mainApplication = getMainApplication(androidManifest);\n assert(mainApplication, 'AndroidManifest.xml is missing the required MainApplication element');\n return mainApplication;\n}\n\nexport function getMainActivityOrThrow(androidManifest: AndroidManifest): ManifestActivity {\n const mainActivity = getMainActivity(androidManifest);\n assert(mainActivity, 'AndroidManifest.xml is missing the required MainActivity element');\n return mainActivity;\n}\n\nexport function getRunnableActivity(androidManifest: AndroidManifest): ManifestActivity | null {\n // Get enabled activities\n const enabledActivities = androidManifest?.manifest?.application?.[0]?.activity?.filter?.(\n (e: any) => e.$['android:enabled'] !== 'false' && e.$['android:enabled'] !== false\n );\n\n if (!enabledActivities) {\n return null;\n }\n\n // Get the activity that has a runnable intent-filter\n for (const activity of enabledActivities) {\n if (Array.isArray(activity['intent-filter'])) {\n for (const intentFilter of activity['intent-filter']) {\n if (\n intentFilter.action?.find(\n (action) => action.$['android:name'] === 'android.intent.action.MAIN'\n ) &&\n intentFilter.category?.find(\n (category) => category.$['android:name'] === 'android.intent.category.LAUNCHER'\n )\n ) {\n return activity;\n }\n }\n }\n }\n\n return null;\n}\n\nexport function getMainActivity(androidManifest: AndroidManifest): ManifestActivity | null {\n const mainActivity = androidManifest?.manifest?.application?.[0]?.activity?.filter?.(\n (e: any) => e.$['android:name'] === '.MainActivity'\n );\n return mainActivity?.[0] ?? null;\n}\n\nexport function addMetaDataItemToMainApplication(\n mainApplication: ManifestApplication,\n itemName: string,\n itemValue: string,\n itemType: 'resource' | 'value' = 'value'\n): ManifestApplication {\n let existingMetaDataItem;\n const newItem = {\n $: prefixAndroidKeys({ name: itemName, [itemType]: itemValue }),\n } as ManifestMetaData;\n if (mainApplication['meta-data']) {\n existingMetaDataItem = mainApplication['meta-data'].filter(\n (e: any) => e.$['android:name'] === itemName\n );\n if (existingMetaDataItem.length) {\n existingMetaDataItem[0].$[`android:${itemType}` as keyof ManifestMetaDataAttributes] =\n itemValue;\n } else {\n mainApplication['meta-data'].push(newItem);\n }\n } else {\n mainApplication['meta-data'] = [newItem];\n }\n return mainApplication;\n}\n\nexport function removeMetaDataItemFromMainApplication(mainApplication: any, itemName: string) {\n const index = findMetaDataItem(mainApplication, itemName);\n if (mainApplication?.['meta-data'] && index > -1) {\n mainApplication['meta-data'].splice(index, 1);\n }\n return mainApplication;\n}\n\nfunction findApplicationSubItem(\n mainApplication: ManifestApplication,\n category: keyof ManifestApplication,\n itemName: string\n): number {\n const parent = mainApplication[category];\n if (Array.isArray(parent)) {\n const index = parent.findIndex((e: any) => e.$['android:name'] === itemName);\n\n return index;\n }\n return -1;\n}\n\nexport function findMetaDataItem(mainApplication: any, itemName: string): number {\n return findApplicationSubItem(mainApplication, 'meta-data', itemName);\n}\n\nexport function findUsesLibraryItem(mainApplication: any, itemName: string): number {\n return findApplicationSubItem(mainApplication, 'uses-library', itemName);\n}\n\nexport function getMainApplicationMetaDataValue(\n androidManifest: AndroidManifest,\n name: string\n): string | null {\n const mainApplication = getMainApplication(androidManifest);\n\n if (mainApplication?.hasOwnProperty('meta-data')) {\n const item = mainApplication?.['meta-data']?.find((e: any) => e.$['android:name'] === name);\n return item?.$['android:value'] ?? null;\n }\n\n return null;\n}\n\nexport function addUsesLibraryItemToMainApplication(\n mainApplication: ManifestApplication,\n item: { name: string; required?: boolean }\n): ManifestApplication {\n let existingMetaDataItem;\n const newItem = {\n $: prefixAndroidKeys(item),\n } as ManifestUsesLibrary;\n\n if (mainApplication['uses-library']) {\n existingMetaDataItem = mainApplication['uses-library'].filter(\n (e) => e.$['android:name'] === item.name\n );\n if (existingMetaDataItem.length) {\n existingMetaDataItem[0].$ = newItem.$;\n } else {\n mainApplication['uses-library'].push(newItem);\n }\n } else {\n mainApplication['uses-library'] = [newItem];\n }\n return mainApplication;\n}\n\nexport function removeUsesLibraryItemFromMainApplication(\n mainApplication: ManifestApplication,\n itemName: string\n) {\n const index = findUsesLibraryItem(mainApplication, itemName);\n if (mainApplication?.['uses-library'] && index > -1) {\n mainApplication['uses-library'].splice(index, 1);\n }\n return mainApplication;\n}\n\nexport function prefixAndroidKeys<T extends Record<string, any> = Record<string, string>>(\n head: T\n): Record<string, any> {\n // prefix all keys with `android:`\n return Object.entries(head).reduce(\n (prev, [key, curr]) => ({ ...prev, [`android:${key}`]: curr }),\n {} as T\n );\n}\n\n/**\n * Ensure the `tools:*` namespace is available in the manifest.\n *\n * @param manifest AndroidManifest.xml\n * @returns manifest with the `tools:*` namespace available\n */\nexport function ensureToolsAvailable(manifest: AndroidManifest) {\n return ensureManifestHasNamespace(manifest, {\n namespace: 'xmlns:tools',\n url: 'http://schemas.android.com/tools',\n });\n}\n\n/**\n * Ensure a particular namespace is available in the manifest.\n *\n * @param manifest `AndroidManifest.xml`\n * @returns manifest with the provided namespace available\n */\nfunction ensureManifestHasNamespace(\n manifest: AndroidManifest,\n { namespace, url }: { namespace: string; url: string }\n) {\n if (manifest?.manifest?.$?.[namespace]) {\n return manifest;\n }\n manifest.manifest.$[namespace] = url;\n return manifest;\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,GAAAC,sBAAA,CAAAC,OAAA;EAAAE,KAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,IAAA;EAAA,MAAAL,IAAA,GAAAM,uBAAA,CAAAJ,OAAA;EAAAG,GAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAoC,SAAAO,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAF,wBAAAE,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAA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-types';
|
|
2
|
-
import { ConfigPlugin } from '../Plugin.types';
|
|
3
|
-
/**
|
|
4
|
-
* Sanitize a name, this should be used for files and gradle names.
|
|
5
|
-
* - `[/, \, :, <, >, ", ?, *, |]` are not allowed
|
|
6
|
-
* https://docs.gradle.org/4.2/release-notes.html#path-separator-characters-in-names-are-deprecated
|
|
7
|
-
*
|
|
8
|
-
* @param name
|
|
9
|
-
*/
|
|
10
|
-
export declare function sanitizeNameForGradle(name: string): string;
|
|
11
|
-
export declare const withName: ConfigPlugin;
|
|
12
|
-
export declare const withNameSettingsGradle: ConfigPlugin;
|
|
13
|
-
export declare function getName(config: Pick<ExpoConfig, 'name'>): string | null;
|
|
14
|
-
/**
|
|
15
|
-
* Regex a name change -- fragile.
|
|
16
|
-
*
|
|
17
|
-
* @param config
|
|
18
|
-
* @param settingsGradle
|
|
19
|
-
*/
|
|
20
|
-
export declare function applyNameSettingsGradle(config: Pick<ExpoConfig, 'name'>, settingsGradle: string): string;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.applyNameSettingsGradle = applyNameSettingsGradle;
|
|
7
|
-
exports.getName = getName;
|
|
8
|
-
exports.sanitizeNameForGradle = sanitizeNameForGradle;
|
|
9
|
-
exports.withNameSettingsGradle = exports.withName = void 0;
|
|
10
|
-
function _Resources() {
|
|
11
|
-
const data = require("./Resources");
|
|
12
|
-
_Resources = function () {
|
|
13
|
-
return data;
|
|
14
|
-
};
|
|
15
|
-
return data;
|
|
16
|
-
}
|
|
17
|
-
function _Strings() {
|
|
18
|
-
const data = require("./Strings");
|
|
19
|
-
_Strings = function () {
|
|
20
|
-
return data;
|
|
21
|
-
};
|
|
22
|
-
return data;
|
|
23
|
-
}
|
|
24
|
-
function _androidPlugins() {
|
|
25
|
-
const data = require("../plugins/android-plugins");
|
|
26
|
-
_androidPlugins = function () {
|
|
27
|
-
return data;
|
|
28
|
-
};
|
|
29
|
-
return data;
|
|
30
|
-
}
|
|
31
|
-
function _warnings() {
|
|
32
|
-
const data = require("../utils/warnings");
|
|
33
|
-
_warnings = function () {
|
|
34
|
-
return data;
|
|
35
|
-
};
|
|
36
|
-
return data;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Sanitize a name, this should be used for files and gradle names.
|
|
40
|
-
* - `[/, \, :, <, >, ", ?, *, |]` are not allowed
|
|
41
|
-
* https://docs.gradle.org/4.2/release-notes.html#path-separator-characters-in-names-are-deprecated
|
|
42
|
-
*
|
|
43
|
-
* @param name
|
|
44
|
-
*/
|
|
45
|
-
function sanitizeNameForGradle(name) {
|
|
46
|
-
// Remove escape characters which are valid in XML names but not in gradle.
|
|
47
|
-
name = name.replace(/[\n\r\t]/g, '');
|
|
48
|
-
|
|
49
|
-
// Gradle disallows these:
|
|
50
|
-
// The project name 'My-Special 😃 Co/ol_Project' must not contain any of the following characters: [/, \, :, <, >, ", ?, *, |]. Set the 'rootProject.name' or adjust the 'include' statement (see https://docs.gradle.org/6.2/dsl/org.gradle.api.initialization.Settings.html#org.gradle.api.initialization.Settings:include(java.lang.String[]) for more details).
|
|
51
|
-
return name.replace(/(\/|\\|:|<|>|"|\?|\*|\|)/g, '');
|
|
52
|
-
}
|
|
53
|
-
const withName = exports.withName = (0, _androidPlugins().createStringsXmlPlugin)(applyNameFromConfig, 'withName');
|
|
54
|
-
const withNameSettingsGradle = config => {
|
|
55
|
-
return (0, _androidPlugins().withSettingsGradle)(config, config => {
|
|
56
|
-
if (config.modResults.language === 'groovy') {
|
|
57
|
-
config.modResults.contents = applyNameSettingsGradle(config, config.modResults.contents);
|
|
58
|
-
} else {
|
|
59
|
-
(0, _warnings().addWarningAndroid)('name', `Cannot automatically configure settings.gradle if it's not groovy`);
|
|
60
|
-
}
|
|
61
|
-
return config;
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
exports.withNameSettingsGradle = withNameSettingsGradle;
|
|
65
|
-
function getName(config) {
|
|
66
|
-
return typeof config.name === 'string' ? config.name : null;
|
|
67
|
-
}
|
|
68
|
-
function applyNameFromConfig(config, stringsJSON) {
|
|
69
|
-
const name = getName(config);
|
|
70
|
-
if (name) {
|
|
71
|
-
return (0, _Strings().setStringItem)([(0, _Resources().buildResourceItem)({
|
|
72
|
-
name: 'app_name',
|
|
73
|
-
value: name
|
|
74
|
-
})], stringsJSON);
|
|
75
|
-
}
|
|
76
|
-
return (0, _Strings().removeStringItem)('app_name', stringsJSON);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Regex a name change -- fragile.
|
|
81
|
-
*
|
|
82
|
-
* @param config
|
|
83
|
-
* @param settingsGradle
|
|
84
|
-
*/
|
|
85
|
-
function applyNameSettingsGradle(config, settingsGradle) {
|
|
86
|
-
const name = sanitizeNameForGradle(getName(config) ?? '');
|
|
87
|
-
|
|
88
|
-
// Select rootProject.name = '***' and replace the contents between the quotes.
|
|
89
|
-
return settingsGradle.replace(/rootProject.name\s?=\s?(["'])(?:(?=(\\?))\2.)*?\1/g, `rootProject.name = '${name.replace(/'/g, "\\'")}'`);
|
|
90
|
-
}
|
|
91
|
-
//# sourceMappingURL=Name.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Name.js","names":["_Resources","data","require","_Strings","_androidPlugins","_warnings","sanitizeNameForGradle","name","replace","withName","exports","createStringsXmlPlugin","applyNameFromConfig","withNameSettingsGradle","config","withSettingsGradle","modResults","language","contents","applyNameSettingsGradle","addWarningAndroid","getName","stringsJSON","setStringItem","buildResourceItem","value","removeStringItem","settingsGradle"],"sources":["../../src/android/Name.ts"],"sourcesContent":["import { ExpoConfig } from '@expo/config-types';\n\nimport { buildResourceItem, ResourceXML } from './Resources';\nimport { removeStringItem, setStringItem } from './Strings';\nimport { ConfigPlugin } from '../Plugin.types';\nimport { createStringsXmlPlugin, withSettingsGradle } from '../plugins/android-plugins';\nimport { addWarningAndroid } from '../utils/warnings';\n\n/**\n * Sanitize a name, this should be used for files and gradle names.\n * - `[/, \\, :, <, >, \", ?, *, |]` are not allowed\n * https://docs.gradle.org/4.2/release-notes.html#path-separator-characters-in-names-are-deprecated\n *\n * @param name\n */\nexport function sanitizeNameForGradle(name: string): string {\n // Remove escape characters which are valid in XML names but not in gradle.\n name = name.replace(/[\\n\\r\\t]/g, '');\n\n // Gradle disallows these:\n // The project name 'My-Special 😃 Co/ol_Project' must not contain any of the following characters: [/, \\, :, <, >, \", ?, *, |]. Set the 'rootProject.name' or adjust the 'include' statement (see https://docs.gradle.org/6.2/dsl/org.gradle.api.initialization.Settings.html#org.gradle.api.initialization.Settings:include(java.lang.String[]) for more details).\n return name.replace(/(\\/|\\\\|:|<|>|\"|\\?|\\*|\\|)/g, '');\n}\n\nexport const withName = createStringsXmlPlugin(applyNameFromConfig, 'withName');\n\nexport const withNameSettingsGradle: ConfigPlugin = (config) => {\n return withSettingsGradle(config, (config) => {\n if (config.modResults.language === 'groovy') {\n config.modResults.contents = applyNameSettingsGradle(config, config.modResults.contents);\n } else {\n addWarningAndroid(\n 'name',\n `Cannot automatically configure settings.gradle if it's not groovy`\n );\n }\n return config;\n });\n};\n\nexport function getName(config: Pick<ExpoConfig, 'name'>) {\n return typeof config.name === 'string' ? config.name : null;\n}\n\nfunction applyNameFromConfig(\n config: Pick<ExpoConfig, 'name'>,\n stringsJSON: ResourceXML\n): ResourceXML {\n const name = getName(config);\n if (name) {\n return setStringItem([buildResourceItem({ name: 'app_name', value: name })], stringsJSON);\n }\n return removeStringItem('app_name', stringsJSON);\n}\n\n/**\n * Regex a name change -- fragile.\n *\n * @param config\n * @param settingsGradle\n */\nexport function applyNameSettingsGradle(config: Pick<ExpoConfig, 'name'>, settingsGradle: string) {\n const name = sanitizeNameForGradle(getName(config) ?? '');\n\n // Select rootProject.name = '***' and replace the contents between the quotes.\n return settingsGradle.replace(\n /rootProject.name\\s?=\\s?([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AC1F,CAAC,MAAM;MACL,IAAAE,6BAAiB,EACf,MAAM,EACN,mEACF,CAAC;IACH;IACA,OAAON,MAAM;EACf,CAAC,CAAC;AACJ,CAAC;AAACJ,OAAA,CAAAG,sBAAA,GAAAA,sBAAA;AAEK,SAASQ,OAAOA,CAACP,MAAgC,EAAE;EACxD,OAAO,OAAOA,MAAM,CAACP,IAAI,KAAK,QAAQ,GAAGO,MAAM,CAACP,IAAI,GAAG,IAAI;AAC7D;AAEA,SAASK,mBAAmBA,CAC1BE,MAAgC,EAChCQ,WAAwB,EACX;EACb,MAAMf,IAAI,GAAGc,OAAO,CAACP,MAAM,CAAC;EAC5B,IAAIP,IAAI,EAAE;IACR,OAAO,IAAAgB,wBAAa,EAAC,CAAC,IAAAC,8BAAiB,EAAC;MAAEjB,IAAI,EAAE,UAAU;MAAEkB,KAAK,EAAElB;IAAK,CAAC,CAAC,CAAC,EAAEe,WAAW,CAAC;EAC3F;EACA,OAAO,IAAAI,2BAAgB,EAAC,UAAU,EAAEJ,WAAW,CAAC;AAClD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,SAASH,uBAAuBA,CAACL,MAAgC,EAAEa,cAAsB,EAAE;EAChG,MAAMpB,IAAI,GAAGD,qBAAqB,CAACe,OAAO,CAACP,MAAM,CAAC,IAAI,EAAE,CAAC;;EAEzD;EACA,OAAOa,cAAc,CAACnB,OAAO,CAC3B,oDAAoD,EACpD,uBAAuBD,IAAI,CAACC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,GAClD,CAAC;AACH","ignoreList":[]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ExpoConfig } from '@expo/config-types';
|
|
2
|
-
import { AndroidManifest } from './Manifest';
|
|
3
|
-
export declare const SCREEN_ORIENTATION_ATTRIBUTE = "android:screenOrientation";
|
|
4
|
-
export declare const withOrientation: import("..").ConfigPlugin;
|
|
5
|
-
export declare function getOrientation(config: Pick<ExpoConfig, 'orientation'>): "default" | "portrait" | "landscape" | null;
|
|
6
|
-
export declare function setAndroidOrientation(config: Pick<ExpoConfig, 'orientation'>, androidManifest: AndroidManifest): AndroidManifest;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.SCREEN_ORIENTATION_ATTRIBUTE = void 0;
|
|
7
|
-
exports.getOrientation = getOrientation;
|
|
8
|
-
exports.setAndroidOrientation = setAndroidOrientation;
|
|
9
|
-
exports.withOrientation = void 0;
|
|
10
|
-
function _Manifest() {
|
|
11
|
-
const data = require("./Manifest");
|
|
12
|
-
_Manifest = function () {
|
|
13
|
-
return data;
|
|
14
|
-
};
|
|
15
|
-
return data;
|
|
16
|
-
}
|
|
17
|
-
function _androidPlugins() {
|
|
18
|
-
const data = require("../plugins/android-plugins");
|
|
19
|
-
_androidPlugins = function () {
|
|
20
|
-
return data;
|
|
21
|
-
};
|
|
22
|
-
return data;
|
|
23
|
-
}
|
|
24
|
-
const SCREEN_ORIENTATION_ATTRIBUTE = exports.SCREEN_ORIENTATION_ATTRIBUTE = 'android:screenOrientation';
|
|
25
|
-
const withOrientation = exports.withOrientation = (0, _androidPlugins().createAndroidManifestPlugin)(setAndroidOrientation, 'withOrientation');
|
|
26
|
-
function getOrientation(config) {
|
|
27
|
-
return typeof config.orientation === 'string' ? config.orientation : null;
|
|
28
|
-
}
|
|
29
|
-
function setAndroidOrientation(config, androidManifest) {
|
|
30
|
-
const orientation = getOrientation(config);
|
|
31
|
-
// TODO: Remove this if we decide to remove any orientation configuration when not specified
|
|
32
|
-
if (!orientation) {
|
|
33
|
-
return androidManifest;
|
|
34
|
-
}
|
|
35
|
-
const mainActivity = (0, _Manifest().getMainActivityOrThrow)(androidManifest);
|
|
36
|
-
mainActivity.$[SCREEN_ORIENTATION_ATTRIBUTE] = orientation !== 'default' ? orientation : 'unspecified';
|
|
37
|
-
return androidManifest;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=Orientation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Orientation.js","names":["_Manifest","data","require","_androidPlugins","SCREEN_ORIENTATION_ATTRIBUTE","exports","withOrientation","createAndroidManifestPlugin","setAndroidOrientation","getOrientation","config","orientation","androidManifest","mainActivity","getMainActivityOrThrow","$"],"sources":["../../src/android/Orientation.ts"],"sourcesContent":["import { ExpoConfig } from '@expo/config-types';\n\nimport { AndroidManifest, getMainActivityOrThrow } from './Manifest';\nimport { createAndroidManifestPlugin } from '../plugins/android-plugins';\n\nexport const SCREEN_ORIENTATION_ATTRIBUTE = 'android:screenOrientation';\n\nexport const withOrientation = createAndroidManifestPlugin(\n setAndroidOrientation,\n 'withOrientation'\n);\n\nexport function getOrientation(config: Pick<ExpoConfig, 'orientation'>) {\n return typeof config.orientation === 'string' ? config.orientation : null;\n}\n\nexport function setAndroidOrientation(\n config: Pick<ExpoConfig, 'orientation'>,\n androidManifest: AndroidManifest\n) {\n const orientation = getOrientation(config);\n // TODO: Remove this if we decide to remove any orientation configuration when not specified\n if (!orientation) {\n return androidManifest;\n }\n\n const mainActivity = getMainActivityOrThrow(androidManifest);\n\n mainActivity.$[SCREEN_ORIENTATION_ATTRIBUTE] =\n orientation !== 'default' ? orientation : 'unspecified';\n\n return androidManifest;\n}\n"],"mappings":";;;;;;;;;AAEA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,gBAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,eAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAMG,4BAA4B,GAAAC,OAAA,CAAAD,4BAAA,GAAG,2BAA2B;AAEhE,MAAME,eAAe,GAAAD,OAAA,CAAAC,eAAA,GAAG,IAAAC,6CAA2B,EACxDC,qBAAqB,EACrB,iBACF,CAAC;AAEM,SAASC,cAAcA,CAACC,MAAuC,EAAE;EACtE,OAAO,OAAOA,MAAM,CAACC,WAAW,KAAK,QAAQ,GAAGD,MAAM,CAACC,WAAW,GAAG,IAAI;AAC3E;AAEO,SAASH,qBAAqBA,CACnCE,MAAuC,EACvCE,eAAgC,EAChC;EACA,MAAMD,WAAW,GAAGF,cAAc,CAACC,MAAM,CAAC;EAC1C;EACA,IAAI,CAACC,WAAW,EAAE;IAChB,OAAOC,eAAe;EACxB;EAEA,MAAMC,YAAY,GAAG,IAAAC,kCAAsB,EAACF,eAAe,CAAC;EAE5DC,YAAY,CAACE,CAAC,CAACX,4BAA4B,CAAC,GAC1CO,WAAW,KAAK,SAAS,GAAGA,WAAW,GAAG,aAAa;EAEzD,OAAOC,eAAe;AACxB","ignoreList":[]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ExpoConfig } from '@expo/config-types';
|
|
2
|
-
import { ConfigPlugin } from '../Plugin.types';
|
|
3
|
-
export declare const withPackageGradle: ConfigPlugin;
|
|
4
|
-
export declare const withPackageRefactor: ConfigPlugin;
|
|
5
|
-
export declare function getPackage(config: Pick<ExpoConfig, 'android'>): string | null;
|
|
6
|
-
export declare function renamePackageOnDisk(config: Pick<ExpoConfig, 'android'>, projectRoot: string): Promise<void>;
|
|
7
|
-
export declare function renameJniOnDiskForType({ projectRoot, type, packageName, }: {
|
|
8
|
-
projectRoot: string;
|
|
9
|
-
type: string;
|
|
10
|
-
packageName: string;
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
export declare function renamePackageOnDiskForType({ projectRoot, type, packageName, }: {
|
|
13
|
-
projectRoot: string;
|
|
14
|
-
type: string;
|
|
15
|
-
packageName: string;
|
|
16
|
-
}): Promise<void>;
|
|
17
|
-
export declare function setPackageInBuildGradle(config: Pick<ExpoConfig, 'android'>, buildGradle: string): string;
|
|
18
|
-
export declare function getApplicationIdAsync(projectRoot: string): Promise<string | null>;
|
|
19
|
-
/**
|
|
20
|
-
* Make a package name safe to use in a kotlin file,
|
|
21
|
-
* e.g. is.pvin.hello -> `is`.pvin.hello
|
|
22
|
-
*/
|
|
23
|
-
export declare function kotlinSanitized(packageName: string): string;
|
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getApplicationIdAsync = getApplicationIdAsync;
|
|
7
|
-
exports.getPackage = getPackage;
|
|
8
|
-
exports.kotlinSanitized = kotlinSanitized;
|
|
9
|
-
exports.renameJniOnDiskForType = renameJniOnDiskForType;
|
|
10
|
-
exports.renamePackageOnDisk = renamePackageOnDisk;
|
|
11
|
-
exports.renamePackageOnDiskForType = renamePackageOnDiskForType;
|
|
12
|
-
exports.setPackageInBuildGradle = setPackageInBuildGradle;
|
|
13
|
-
exports.withPackageRefactor = exports.withPackageGradle = void 0;
|
|
14
|
-
function _debug() {
|
|
15
|
-
const data = _interopRequireDefault(require("debug"));
|
|
16
|
-
_debug = function () {
|
|
17
|
-
return data;
|
|
18
|
-
};
|
|
19
|
-
return data;
|
|
20
|
-
}
|
|
21
|
-
function _fs() {
|
|
22
|
-
const data = _interopRequireDefault(require("fs"));
|
|
23
|
-
_fs = function () {
|
|
24
|
-
return data;
|
|
25
|
-
};
|
|
26
|
-
return data;
|
|
27
|
-
}
|
|
28
|
-
function _glob() {
|
|
29
|
-
const data = require("glob");
|
|
30
|
-
_glob = function () {
|
|
31
|
-
return data;
|
|
32
|
-
};
|
|
33
|
-
return data;
|
|
34
|
-
}
|
|
35
|
-
function _path() {
|
|
36
|
-
const data = _interopRequireDefault(require("path"));
|
|
37
|
-
_path = function () {
|
|
38
|
-
return data;
|
|
39
|
-
};
|
|
40
|
-
return data;
|
|
41
|
-
}
|
|
42
|
-
function _Paths() {
|
|
43
|
-
const data = require("./Paths");
|
|
44
|
-
_Paths = function () {
|
|
45
|
-
return data;
|
|
46
|
-
};
|
|
47
|
-
return data;
|
|
48
|
-
}
|
|
49
|
-
function _androidPlugins() {
|
|
50
|
-
const data = require("../plugins/android-plugins");
|
|
51
|
-
_androidPlugins = function () {
|
|
52
|
-
return data;
|
|
53
|
-
};
|
|
54
|
-
return data;
|
|
55
|
-
}
|
|
56
|
-
function _withDangerousMod() {
|
|
57
|
-
const data = require("../plugins/withDangerousMod");
|
|
58
|
-
_withDangerousMod = function () {
|
|
59
|
-
return data;
|
|
60
|
-
};
|
|
61
|
-
return data;
|
|
62
|
-
}
|
|
63
|
-
function _modules() {
|
|
64
|
-
const data = require("../utils/modules");
|
|
65
|
-
_modules = function () {
|
|
66
|
-
return data;
|
|
67
|
-
};
|
|
68
|
-
return data;
|
|
69
|
-
}
|
|
70
|
-
function _warnings() {
|
|
71
|
-
const data = require("../utils/warnings");
|
|
72
|
-
_warnings = function () {
|
|
73
|
-
return data;
|
|
74
|
-
};
|
|
75
|
-
return data;
|
|
76
|
-
}
|
|
77
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
78
|
-
const debug = (0, _debug().default)('expo:config-plugins:android:package');
|
|
79
|
-
const withPackageGradle = config => {
|
|
80
|
-
return (0, _androidPlugins().withAppBuildGradle)(config, config => {
|
|
81
|
-
if (config.modResults.language === 'groovy') {
|
|
82
|
-
config.modResults.contents = setPackageInBuildGradle(config, config.modResults.contents);
|
|
83
|
-
} else {
|
|
84
|
-
(0, _warnings().addWarningAndroid)('android.package', `Cannot automatically configure app build.gradle if it's not groovy`);
|
|
85
|
-
}
|
|
86
|
-
return config;
|
|
87
|
-
});
|
|
88
|
-
};
|
|
89
|
-
exports.withPackageGradle = withPackageGradle;
|
|
90
|
-
const withPackageRefactor = config => {
|
|
91
|
-
return (0, _withDangerousMod().withDangerousMod)(config, ['android', async config => {
|
|
92
|
-
await renamePackageOnDisk(config, config.modRequest.projectRoot);
|
|
93
|
-
return config;
|
|
94
|
-
}]);
|
|
95
|
-
};
|
|
96
|
-
exports.withPackageRefactor = withPackageRefactor;
|
|
97
|
-
function getPackage(config) {
|
|
98
|
-
return config.android?.package ?? null;
|
|
99
|
-
}
|
|
100
|
-
function getPackageRoot(projectRoot, type) {
|
|
101
|
-
return _path().default.join(projectRoot, 'android', 'app', 'src', type, 'java');
|
|
102
|
-
}
|
|
103
|
-
function getCurrentPackageName(projectRoot, packageRoot) {
|
|
104
|
-
const mainApplication = (0, _Paths().getProjectFilePath)(projectRoot, 'MainApplication');
|
|
105
|
-
const packagePath = _path().default.dirname(mainApplication);
|
|
106
|
-
const packagePathParts = _path().default.relative(packageRoot, packagePath).split(_path().default.sep).filter(Boolean);
|
|
107
|
-
return packagePathParts.join('.');
|
|
108
|
-
}
|
|
109
|
-
function getCurrentPackageForProjectFile(projectRoot, packageRoot, fileName, type) {
|
|
110
|
-
const filePath = (0, _glob().sync)(_path().default.join(projectRoot, `android/app/src/${type}/java/**/${fileName}.@(java|kt)`))[0];
|
|
111
|
-
if (!filePath) {
|
|
112
|
-
return null;
|
|
113
|
-
}
|
|
114
|
-
const packagePath = _path().default.dirname(filePath);
|
|
115
|
-
const packagePathParts = _path().default.relative(packageRoot, packagePath).split(_path().default.sep).filter(Boolean);
|
|
116
|
-
return packagePathParts.join('.');
|
|
117
|
-
}
|
|
118
|
-
function getCurrentPackageNameForType(projectRoot, type) {
|
|
119
|
-
const packageRoot = getPackageRoot(projectRoot, type);
|
|
120
|
-
if (type === 'main') {
|
|
121
|
-
return getCurrentPackageName(projectRoot, packageRoot);
|
|
122
|
-
}
|
|
123
|
-
// debug, etc..
|
|
124
|
-
return getCurrentPackageForProjectFile(projectRoot, packageRoot, '*', type);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// NOTE(brentvatne): this assumes that our MainApplication.java file is in the root of the package
|
|
128
|
-
// this makes sense for standard react-native projects but may not apply in customized projects, so if
|
|
129
|
-
// we want this to be runnable in any app we need to handle other possibilities
|
|
130
|
-
async function renamePackageOnDisk(config, projectRoot) {
|
|
131
|
-
const newPackageName = getPackage(config);
|
|
132
|
-
if (newPackageName === null) {
|
|
133
|
-
return;
|
|
134
|
-
}
|
|
135
|
-
for (const type of ['debug', 'main', 'release']) {
|
|
136
|
-
await renameJniOnDiskForType({
|
|
137
|
-
projectRoot,
|
|
138
|
-
type,
|
|
139
|
-
packageName: newPackageName
|
|
140
|
-
});
|
|
141
|
-
await renamePackageOnDiskForType({
|
|
142
|
-
projectRoot,
|
|
143
|
-
type,
|
|
144
|
-
packageName: newPackageName
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
async function renameJniOnDiskForType({
|
|
149
|
-
projectRoot,
|
|
150
|
-
type,
|
|
151
|
-
packageName
|
|
152
|
-
}) {
|
|
153
|
-
if (!packageName) {
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
|
-
const currentPackageName = getCurrentPackageNameForType(projectRoot, type);
|
|
157
|
-
if (!currentPackageName || !packageName || currentPackageName === packageName) {
|
|
158
|
-
return;
|
|
159
|
-
}
|
|
160
|
-
const jniRoot = _path().default.join(projectRoot, 'android', 'app', 'src', type, 'jni');
|
|
161
|
-
const filesToUpdate = [...(0, _glob().sync)('**/*', {
|
|
162
|
-
cwd: jniRoot,
|
|
163
|
-
absolute: true
|
|
164
|
-
})];
|
|
165
|
-
// Replace all occurrences of the path in the project
|
|
166
|
-
filesToUpdate.forEach(filepath => {
|
|
167
|
-
try {
|
|
168
|
-
if (_fs().default.lstatSync(filepath).isFile() && ['.h', '.cpp'].includes(_path().default.extname(filepath))) {
|
|
169
|
-
let contents = _fs().default.readFileSync(filepath).toString();
|
|
170
|
-
contents = contents.replace(new RegExp(transformJavaClassDescriptor(currentPackageName).replace(/\//g, '\\/'), 'g'), transformJavaClassDescriptor(packageName));
|
|
171
|
-
_fs().default.writeFileSync(filepath, contents);
|
|
172
|
-
}
|
|
173
|
-
} catch {
|
|
174
|
-
debug(`Error updating "${filepath}" for type "${type}"`);
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
async function renamePackageOnDiskForType({
|
|
179
|
-
projectRoot,
|
|
180
|
-
type,
|
|
181
|
-
packageName
|
|
182
|
-
}) {
|
|
183
|
-
if (!packageName) {
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
const currentPackageName = getCurrentPackageNameForType(projectRoot, type);
|
|
187
|
-
debug(`Found package "${currentPackageName}" for type "${type}"`);
|
|
188
|
-
if (!currentPackageName || currentPackageName === packageName) {
|
|
189
|
-
return;
|
|
190
|
-
}
|
|
191
|
-
debug(`Refactor "${currentPackageName}" to "${packageName}" for type "${type}"`);
|
|
192
|
-
const packageRoot = getPackageRoot(projectRoot, type);
|
|
193
|
-
// Set up our paths
|
|
194
|
-
if (!(await (0, _modules().directoryExistsAsync)(packageRoot))) {
|
|
195
|
-
debug(`- skipping refactor of missing directory: ${packageRoot}`);
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
198
|
-
const currentPackagePath = _path().default.join(packageRoot, ...currentPackageName.split('.'));
|
|
199
|
-
const newPackagePath = _path().default.join(packageRoot, ...packageName.split('.'));
|
|
200
|
-
|
|
201
|
-
// Create the new directory
|
|
202
|
-
_fs().default.mkdirSync(newPackagePath, {
|
|
203
|
-
recursive: true
|
|
204
|
-
});
|
|
205
|
-
|
|
206
|
-
// Move everything from the old directory over
|
|
207
|
-
(0, _glob().sync)('**/*', {
|
|
208
|
-
cwd: currentPackagePath
|
|
209
|
-
}).forEach(relativePath => {
|
|
210
|
-
const filepath = _path().default.join(currentPackagePath, relativePath);
|
|
211
|
-
if (_fs().default.lstatSync(filepath).isFile()) {
|
|
212
|
-
moveFileSync(filepath, _path().default.join(newPackagePath, relativePath));
|
|
213
|
-
} else {
|
|
214
|
-
_fs().default.mkdirSync(filepath, {
|
|
215
|
-
recursive: true
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
// Remove the old directory recursively from com/old/package to com/old and com,
|
|
221
|
-
// as long as the directories are empty
|
|
222
|
-
const oldPathParts = currentPackageName.split('.');
|
|
223
|
-
while (oldPathParts.length) {
|
|
224
|
-
const pathToCheck = _path().default.join(packageRoot, ...oldPathParts);
|
|
225
|
-
try {
|
|
226
|
-
const files = _fs().default.readdirSync(pathToCheck);
|
|
227
|
-
if (files.length === 0) {
|
|
228
|
-
_fs().default.rmdirSync(pathToCheck);
|
|
229
|
-
}
|
|
230
|
-
} finally {
|
|
231
|
-
oldPathParts.pop();
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
const filesToUpdate = [...(0, _glob().sync)('**/*', {
|
|
235
|
-
cwd: newPackagePath,
|
|
236
|
-
absolute: true
|
|
237
|
-
})];
|
|
238
|
-
// Only update the BUCK file to match the main package name
|
|
239
|
-
if (type === 'main') {
|
|
240
|
-
// NOTE(EvanBacon): We dropped this file in SDK 48 but other templates may still use it.
|
|
241
|
-
filesToUpdate.push(_path().default.join(projectRoot, 'android', 'app', 'BUCK'));
|
|
242
|
-
}
|
|
243
|
-
const kotlinSanitizedPackageName = kotlinSanitized(packageName);
|
|
244
|
-
// Replace all occurrences of the path in the project
|
|
245
|
-
filesToUpdate.forEach(filepath => {
|
|
246
|
-
try {
|
|
247
|
-
if (_fs().default.lstatSync(filepath).isFile()) {
|
|
248
|
-
let contents = _fs().default.readFileSync(filepath).toString();
|
|
249
|
-
if (_path().default.extname(filepath) === '.kt') {
|
|
250
|
-
contents = replacePackageName(contents, currentPackageName, kotlinSanitizedPackageName);
|
|
251
|
-
} else {
|
|
252
|
-
contents = replacePackageName(contents, currentPackageName, packageName);
|
|
253
|
-
}
|
|
254
|
-
if (['.h', '.cpp'].includes(_path().default.extname(filepath))) {
|
|
255
|
-
contents = contents.replace(new RegExp(transformJavaClassDescriptor(currentPackageName).replace(/\//g, '\\'), 'g'), transformJavaClassDescriptor(packageName));
|
|
256
|
-
}
|
|
257
|
-
_fs().default.writeFileSync(filepath, contents);
|
|
258
|
-
}
|
|
259
|
-
} catch {
|
|
260
|
-
debug(`Error updating "${filepath}" for type "${type}"`);
|
|
261
|
-
}
|
|
262
|
-
});
|
|
263
|
-
}
|
|
264
|
-
function moveFileSync(src, dest) {
|
|
265
|
-
_fs().default.mkdirSync(_path().default.dirname(dest), {
|
|
266
|
-
recursive: true
|
|
267
|
-
});
|
|
268
|
-
_fs().default.renameSync(src, dest);
|
|
269
|
-
}
|
|
270
|
-
function setPackageInBuildGradle(config, buildGradle) {
|
|
271
|
-
const packageName = getPackage(config);
|
|
272
|
-
if (packageName === null) {
|
|
273
|
-
return buildGradle;
|
|
274
|
-
}
|
|
275
|
-
const pattern = new RegExp(`(applicationId|namespace) ['"].*['"]`, 'g');
|
|
276
|
-
return buildGradle.replace(pattern, `$1 '${packageName}'`);
|
|
277
|
-
}
|
|
278
|
-
async function getApplicationIdAsync(projectRoot) {
|
|
279
|
-
const buildGradlePath = (0, _Paths().getAppBuildGradleFilePath)(projectRoot);
|
|
280
|
-
if (!_fs().default.existsSync(buildGradlePath)) {
|
|
281
|
-
return null;
|
|
282
|
-
}
|
|
283
|
-
const buildGradle = await _fs().default.promises.readFile(buildGradlePath, 'utf8');
|
|
284
|
-
const matchResult = buildGradle.match(/applicationId ['"](.*)['"]/);
|
|
285
|
-
// TODO add fallback for legacy cases to read from AndroidManifest.xml
|
|
286
|
-
return matchResult?.[1] ?? null;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Replace the package name with the new package name, in the given source.
|
|
291
|
-
* This has to be limited to avoid accidentally replacing imports when the old package name overlaps.
|
|
292
|
-
*/
|
|
293
|
-
function replacePackageName(content, oldName, newName) {
|
|
294
|
-
const oldNameEscaped = oldName.replace(/\./g, '\\.');
|
|
295
|
-
return content
|
|
296
|
-
// Replace any quoted instances "com.old" -> "com.new"
|
|
297
|
-
.replace(new RegExp(`"${oldNameEscaped}"`, 'g'), `"${newName}"`)
|
|
298
|
-
// Replace special non-quoted instances, only when prefixed by package or namespace
|
|
299
|
-
.replace(new RegExp(`(package|namespace)(\\s+)${oldNameEscaped}`, 'g'), `$1$2${newName}`)
|
|
300
|
-
// Replace special import instances, without overlapping with other imports (trailing `.` to close it off)
|
|
301
|
-
.replace(new RegExp(`(import\\s+)${oldNameEscaped}\\.`, 'g'), `$1${newName}.`);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Transform a java package name to java class descriptor,
|
|
306
|
-
* e.g. `com.helloworld` -> `Lcom/helloworld`.
|
|
307
|
-
*/
|
|
308
|
-
function transformJavaClassDescriptor(packageName) {
|
|
309
|
-
return `L${packageName.replace(/\./g, '/')}`;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* Make a package name safe to use in a kotlin file,
|
|
314
|
-
* e.g. is.pvin.hello -> `is`.pvin.hello
|
|
315
|
-
*/
|
|
316
|
-
function kotlinSanitized(packageName) {
|
|
317
|
-
const stringsToWrap = ['is', 'in', 'as', 'fun'];
|
|
318
|
-
const parts = packageName.split('.');
|
|
319
|
-
const cleanParts = parts.map(part => stringsToWrap.includes(part) ? '`' + part + '`' : part);
|
|
320
|
-
const cleanName = cleanParts.join('.');
|
|
321
|
-
return cleanName;
|
|
322
|
-
}
|
|
323
|
-
//# sourceMappingURL=Package.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Package.js","names":["_debug","data","_interopRequireDefault","require","_fs","_glob","_path","_Paths","_androidPlugins","_withDangerousMod","_modules","_warnings","obj","__esModule","default","debug","Debug","withPackageGradle","config","withAppBuildGradle","modResults","language","contents","setPackageInBuildGradle","addWarningAndroid","exports","withPackageRefactor","withDangerousMod","renamePackageOnDisk","modRequest","projectRoot","getPackage","android","package","getPackageRoot","type","path","join","getCurrentPackageName","packageRoot","mainApplication","getProjectFilePath","packagePath","dirname","packagePathParts","relative","split","sep","filter","Boolean","getCurrentPackageForProjectFile","fileName","filePath","globSync","getCurrentPackageNameForType","newPackageName","renameJniOnDiskForType","packageName","renamePackageOnDiskForType","currentPackageName","jniRoot","filesToUpdate","cwd","absolute","forEach","filepath","fs","lstatSync","isFile","includes","extname","readFileSync","toString","replace","RegExp","transformJavaClassDescriptor","writeFileSync","directoryExistsAsync","currentPackagePath","newPackagePath","mkdirSync","recursive","relativePath","moveFileSync","oldPathParts","length","pathToCheck","files","readdirSync","rmdirSync","pop","push","kotlinSanitizedPackageName","kotlinSanitized","replacePackageName","src","dest","renameSync","buildGradle","pattern","getApplicationIdAsync","buildGradlePath","getAppBuildGradleFilePath","existsSync","promises","readFile","matchResult","match","content","oldName","newName","oldNameEscaped","stringsToWrap","parts","cleanParts","map","part","cleanName"],"sources":["../../src/android/Package.ts"],"sourcesContent":["import { ExpoConfig } from '@expo/config-types';\nimport Debug from 'debug';\nimport fs from 'fs';\nimport { sync as globSync } from 'glob';\nimport path from 'path';\n\nimport { getAppBuildGradleFilePath, getProjectFilePath } from './Paths';\nimport { ConfigPlugin } from '../Plugin.types';\nimport { withAppBuildGradle } from '../plugins/android-plugins';\nimport { withDangerousMod } from '../plugins/withDangerousMod';\nimport { directoryExistsAsync } from '../utils/modules';\nimport { addWarningAndroid } from '../utils/warnings';\n\nconst debug = Debug('expo:config-plugins:android:package');\n\nexport const withPackageGradle: ConfigPlugin = (config) => {\n return withAppBuildGradle(config, (config) => {\n if (config.modResults.language === 'groovy') {\n config.modResults.contents = setPackageInBuildGradle(config, config.modResults.contents);\n } else {\n addWarningAndroid(\n 'android.package',\n `Cannot automatically configure app build.gradle if it's not groovy`\n );\n }\n return config;\n });\n};\n\nexport const withPackageRefactor: ConfigPlugin = (config) => {\n return withDangerousMod(config, [\n 'android',\n async (config) => {\n await renamePackageOnDisk(config, config.modRequest.projectRoot);\n return config;\n },\n ]);\n};\n\nexport function getPackage(config: Pick<ExpoConfig, 'android'>) {\n return config.android?.package ?? null;\n}\n\nfunction getPackageRoot(projectRoot: string, type: 'main' | 'debug') {\n return path.join(projectRoot, 'android', 'app', 'src', type, 'java');\n}\n\nfunction getCurrentPackageName(projectRoot: string, packageRoot: string) {\n const mainApplication = getProjectFilePath(projectRoot, 'MainApplication');\n const packagePath = path.dirname(mainApplication);\n const packagePathParts = path.relative(packageRoot, packagePath).split(path.sep).filter(Boolean);\n\n return packagePathParts.join('.');\n}\n\nfunction getCurrentPackageForProjectFile(\n projectRoot: string,\n packageRoot: string,\n fileName: string,\n type: string\n) {\n const filePath = globSync(\n path.join(projectRoot, `android/app/src/${type}/java/**/${fileName}.@(java|kt)`)\n )[0];\n\n if (!filePath) {\n return null;\n }\n\n const packagePath = path.dirname(filePath);\n const packagePathParts = path.relative(packageRoot, packagePath).split(path.sep).filter(Boolean);\n\n return packagePathParts.join('.');\n}\n\nfunction getCurrentPackageNameForType(projectRoot: string, type: string): string | null {\n const packageRoot = getPackageRoot(projectRoot, type as any);\n\n if (type === 'main') {\n return getCurrentPackageName(projectRoot, packageRoot);\n }\n // debug, etc..\n return getCurrentPackageForProjectFile(projectRoot, packageRoot, '*', type);\n}\n\n// NOTE(brentvatne): this assumes that our MainApplication.java file is in the root of the package\n// this makes sense for standard react-native projects but may not apply in customized projects, so if\n// we want this to be runnable in any app we need to handle other possibilities\nexport async function renamePackageOnDisk(\n config: Pick<ExpoConfig, 'android'>,\n projectRoot: string\n) {\n const newPackageName = getPackage(config);\n if (newPackageName === null) {\n return;\n }\n\n for (const type of ['debug', 'main', 'release']) {\n await renameJniOnDiskForType({ projectRoot, type, packageName: newPackageName });\n await renamePackageOnDiskForType({ projectRoot, type, packageName: newPackageName });\n }\n}\n\nexport async function renameJniOnDiskForType({\n projectRoot,\n type,\n packageName,\n}: {\n projectRoot: string;\n type: string;\n packageName: string;\n}) {\n if (!packageName) {\n return;\n }\n\n const currentPackageName = getCurrentPackageNameForType(projectRoot, type);\n if (!currentPackageName || !packageName || currentPackageName === packageName) {\n return;\n }\n\n const jniRoot = path.join(projectRoot, 'android', 'app', 'src', type, 'jni');\n const filesToUpdate = [...globSync('**/*', { cwd: jniRoot, absolute: true })];\n // Replace all occurrences of the path in the project\n filesToUpdate.forEach((filepath: string) => {\n try {\n if (fs.lstatSync(filepath).isFile() && ['.h', '.cpp'].includes(path.extname(filepath))) {\n let contents = fs.readFileSync(filepath).toString();\n contents = contents.replace(\n new RegExp(transformJavaClassDescriptor(currentPackageName).replace(/\\//g, '\\\\/'), 'g'),\n transformJavaClassDescriptor(packageName)\n );\n fs.writeFileSync(filepath, contents);\n }\n } catch {\n debug(`Error updating \"${filepath}\" for type \"${type}\"`);\n }\n });\n}\n\nexport async function renamePackageOnDiskForType({\n projectRoot,\n type,\n packageName,\n}: {\n projectRoot: string;\n type: string;\n packageName: string;\n}) {\n if (!packageName) {\n return;\n }\n\n const currentPackageName = getCurrentPackageNameForType(projectRoot, type);\n debug(`Found package \"${currentPackageName}\" for type \"${type}\"`);\n if (!currentPackageName || currentPackageName === packageName) {\n return;\n }\n debug(`Refactor \"${currentPackageName}\" to \"${packageName}\" for type \"${type}\"`);\n const packageRoot = getPackageRoot(projectRoot, type as any);\n // Set up our paths\n if (!(await directoryExistsAsync(packageRoot))) {\n debug(`- skipping refactor of missing directory: ${packageRoot}`);\n return;\n }\n\n const currentPackagePath = path.join(packageRoot, ...currentPackageName.split('.'));\n const newPackagePath = path.join(packageRoot, ...packageName.split('.'));\n\n // Create the new directory\n fs.mkdirSync(newPackagePath, { recursive: true });\n\n // Move everything from the old directory over\n globSync('**/*', { cwd: currentPackagePath }).forEach((relativePath) => {\n const filepath = path.join(currentPackagePath, relativePath);\n if (fs.lstatSync(filepath).isFile()) {\n moveFileSync(filepath, path.join(newPackagePath, relativePath));\n } else {\n fs.mkdirSync(filepath, { recursive: true });\n }\n });\n\n // Remove the old directory recursively from com/old/package to com/old and com,\n // as long as the directories are empty\n const oldPathParts = currentPackageName.split('.');\n while (oldPathParts.length) {\n const pathToCheck = path.join(packageRoot, ...oldPathParts);\n try {\n const files = fs.readdirSync(pathToCheck);\n if (files.length === 0) {\n fs.rmdirSync(pathToCheck);\n }\n } finally {\n oldPathParts.pop();\n }\n }\n\n const filesToUpdate = [...globSync('**/*', { cwd: newPackagePath, absolute: true })];\n // Only update the BUCK file to match the main package name\n if (type === 'main') {\n // NOTE(EvanBacon): We dropped this file in SDK 48 but other templates may still use it.\n filesToUpdate.push(path.join(projectRoot, 'android', 'app', 'BUCK'));\n }\n\n const kotlinSanitizedPackageName = kotlinSanitized(packageName);\n // Replace all occurrences of the path in the project\n filesToUpdate.forEach((filepath: string) => {\n try {\n if (fs.lstatSync(filepath).isFile()) {\n let contents = fs.readFileSync(filepath).toString();\n if (path.extname(filepath) === '.kt') {\n contents = replacePackageName(contents, currentPackageName, kotlinSanitizedPackageName);\n } else {\n contents = replacePackageName(contents, currentPackageName, packageName);\n }\n if (['.h', '.cpp'].includes(path.extname(filepath))) {\n contents = contents.replace(\n new RegExp(transformJavaClassDescriptor(currentPackageName).replace(/\\//g, '\\\\'), 'g'),\n transformJavaClassDescriptor(packageName)\n );\n }\n fs.writeFileSync(filepath, contents);\n }\n } catch {\n debug(`Error updating \"${filepath}\" for type \"${type}\"`);\n }\n });\n}\n\nfunction moveFileSync(src: string, dest: string) {\n fs.mkdirSync(path.dirname(dest), { recursive: true });\n fs.renameSync(src, dest);\n}\n\nexport function setPackageInBuildGradle(config: Pick<ExpoConfig, 'android'>, buildGradle: string) {\n const packageName = getPackage(config);\n if (packageName === null) {\n return buildGradle;\n }\n\n const pattern = new RegExp(`(applicationId|namespace) ['\"].*['\"]`, 'g');\n return buildGradle.replace(pattern, `$1 '${packageName}'`);\n}\n\nexport async function getApplicationIdAsync(projectRoot: string): Promise<string | null> {\n const buildGradlePath = getAppBuildGradleFilePath(projectRoot);\n if (!fs.existsSync(buildGradlePath)) {\n return null;\n }\n const buildGradle = await fs.promises.readFile(buildGradlePath, 'utf8');\n const matchResult = buildGradle.match(/applicationId ['\"](.*)['\"]/);\n // TODO add fallback for legacy cases to read from AndroidManifest.xml\n return matchResult?.[1] ?? null;\n}\n\n/**\n * Replace the package name with the new package name, in the given source.\n * This has to be limited to avoid accidentally replacing imports when the old package name overlaps.\n */\nfunction replacePackageName(content: string, oldName: string, newName: string) {\n const oldNameEscaped = oldName.replace(/\\./g, '\\\\.');\n\n return (\n content\n // Replace any quoted instances \"com.old\" -> \"com.new\"\n .replace(new RegExp(`\"${oldNameEscaped}\"`, 'g'), `\"${newName}\"`)\n // Replace special non-quoted instances, only when prefixed by package or namespace\n .replace(new RegExp(`(package|namespace)(\\\\s+)${oldNameEscaped}`, 'g'), `$1$2${newName}`)\n // Replace special import instances, without overlapping with other imports (trailing `.` to close it off)\n .replace(new RegExp(`(import\\\\s+)${oldNameEscaped}\\\\.`, 'g'), `$1${newName}.`)\n );\n}\n\n/**\n * Transform a java package name to java class descriptor,\n * e.g. `com.helloworld` -> `Lcom/helloworld`.\n */\nfunction transformJavaClassDescriptor(packageName: string) {\n return `L${packageName.replace(/\\./g, '/')}`;\n}\n\n/**\n * Make a package name safe to use in a kotlin file,\n * e.g. is.pvin.hello -> `is`.pvin.hello\n */\nexport function kotlinSanitized(packageName: string) {\n const stringsToWrap = ['is', 'in', 'as', 'fun'];\n\n const parts = packageName.split('.');\n const cleanParts = parts.map((part) => (stringsToWrap.includes(part) ? '`' + part + '`' : part));\n\n const cleanName = cleanParts.join('.');\n return cleanName;\n}\n"],"mappings":";;;;;;;;;;;;;AACA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,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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