nativescript 9.1.0-alpha.15 → 9.1.0-alpha.17
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/CHANGELOG.md +2571 -0
- package/bin/tns +65 -1
- package/config/config.json +2 -1
- package/config/test-deps-versions-generated.json +1 -1
- package/contracts/package.json +4 -0
- package/docs/build-jekyll-md.sh +1 -1
- package/docs/man_pages/config/config-set.md +2 -0
- package/docs/man_pages/project/testing/build-android.md +1 -1
- package/lib/android-tools-info.d.ts +19 -0
- package/lib/android-tools-info.js +0 -12
- package/lib/base-package-manager.d.ts +28 -0
- package/lib/base-package-manager.js +0 -7
- package/lib/bootstrap.js +3 -6
- package/lib/bun-package-manager.d.ts +16 -0
- package/lib/bun-package-manager.js +1 -14
- package/lib/color.d.ts +39 -0
- package/lib/color.js +0 -4
- package/lib/commands/add-platform.d.ts +14 -0
- package/lib/commands/add-platform.js +0 -1
- package/lib/commands/apple-login.d.ts +14 -0
- package/lib/commands/apple-login.js +0 -1
- package/lib/commands/appstore-list.d.ts +21 -0
- package/lib/commands/appstore-list.js +0 -1
- package/lib/commands/appstore-upload.d.ts +25 -0
- package/lib/commands/appstore-upload.js +0 -3
- package/lib/commands/build.d.ts +58 -0
- package/lib/commands/build.js +3 -3
- package/lib/commands/clean.d.ts +21 -0
- package/lib/commands/clean.js +1 -22
- package/lib/commands/command-base.d.ts +16 -0
- package/lib/commands/command-base.js +0 -1
- package/lib/commands/config.d.ts +30 -0
- package/lib/commands/config.js +0 -5
- package/lib/commands/create-project.d.ts +42 -0
- package/lib/commands/create-project.js +0 -6
- package/lib/commands/debug.d.ts +53 -0
- package/lib/commands/debug.js +2 -6
- package/lib/commands/deploy.d.ts +32 -0
- package/lib/commands/deploy.js +3 -3
- package/lib/commands/embedding/embed.d.ts +27 -0
- package/lib/commands/embedding/embed.js +0 -7
- package/lib/commands/extensibility/install-extension.d.ts +10 -0
- package/lib/commands/extensibility/install-extension.js +0 -1
- package/lib/commands/extensibility/list-extensions.d.ts +9 -0
- package/lib/commands/extensibility/list-extensions.js +0 -1
- package/lib/commands/extensibility/uninstall-extension.d.ts +10 -0
- package/lib/commands/extensibility/uninstall-extension.js +0 -1
- package/lib/commands/fonts.d.ts +12 -0
- package/lib/commands/fonts.js +0 -1
- package/lib/commands/generate-assets.d.ts +29 -0
- package/lib/commands/generate-assets.js +0 -1
- package/lib/commands/generate-help.d.ts +8 -0
- package/lib/commands/generate-help.js +0 -1
- package/lib/commands/generate.d.ts +12 -0
- package/lib/commands/generate.js +1 -48
- package/lib/commands/hooks/common.d.ts +22 -0
- package/lib/commands/hooks/common.js +1 -2
- package/lib/commands/hooks/hooks-lock.d.ts +24 -0
- package/lib/commands/hooks/hooks-lock.js +0 -1
- package/lib/commands/hooks/hooks.d.ts +17 -0
- package/lib/commands/hooks/hooks.js +0 -1
- package/lib/commands/info.d.ts +8 -0
- package/lib/commands/info.js +0 -1
- package/lib/commands/install.d.ts +25 -0
- package/lib/commands/install.js +0 -1
- package/lib/commands/list-platforms.d.ts +11 -0
- package/lib/commands/list-platforms.js +0 -1
- package/lib/commands/migrate.d.ts +13 -0
- package/lib/commands/migrate.js +0 -1
- package/lib/commands/native-add.d.ts +49 -0
- package/lib/commands/native-add.js +0 -5
- package/lib/commands/platform-clean.d.ts +17 -0
- package/lib/commands/platform-clean.js +0 -1
- package/lib/commands/plugin/add-plugin.d.ts +13 -0
- package/lib/commands/plugin/add-plugin.js +0 -1
- package/lib/commands/plugin/build-plugin.d.ts +18 -0
- package/lib/commands/plugin/build-plugin.js +0 -1
- package/lib/commands/plugin/create-plugin.d.ts +30 -0
- package/lib/commands/plugin/create-plugin.js +0 -5
- package/lib/commands/plugin/list-plugins.d.ts +12 -0
- package/lib/commands/plugin/list-plugins.js +0 -1
- package/lib/commands/plugin/remove-plugin.d.ts +14 -0
- package/lib/commands/plugin/remove-plugin.js +0 -2
- package/lib/commands/plugin/update-plugin.d.ts +13 -0
- package/lib/commands/plugin/update-plugin.js +0 -1
- package/lib/commands/post-install.d.ts +16 -0
- package/lib/commands/post-install.js +0 -6
- package/lib/commands/prepare.d.ts +40 -0
- package/lib/commands/prepare.js +4 -9
- package/lib/commands/preview.d.ts +18 -0
- package/lib/commands/preview.js +1 -2
- package/lib/commands/remove-platform.d.ts +14 -0
- package/lib/commands/remove-platform.js +0 -1
- package/lib/commands/resources/resources-update.d.ts +13 -0
- package/lib/commands/resources/resources-update.js +0 -2
- package/lib/commands/run.d.ts +61 -0
- package/lib/commands/run.js +0 -1
- package/lib/commands/setup.d.ts +8 -0
- package/lib/commands/setup.js +0 -1
- package/lib/commands/start.d.ts +9 -0
- package/lib/commands/start.js +0 -1
- package/lib/commands/test-init.js +0 -4
- package/lib/commands/test.js +3 -9
- package/lib/commands/typings.d.ts +22 -0
- package/lib/commands/typings.js +1 -2
- package/lib/commands/update-platform.d.ts +17 -0
- package/lib/commands/update-platform.js +0 -5
- package/lib/commands/update.d.ts +21 -0
- package/lib/commands/update.js +0 -2
- package/lib/commands/widget.d.ts +24 -0
- package/lib/commands/widget.js +0 -19
- package/lib/common/bootstrap.js +0 -1
- package/lib/common/child-process.d.ts +17 -0
- package/lib/common/child-process.js +0 -3
- package/lib/common/codeGeneration/code-entity.d.ts +22 -0
- package/lib/common/codeGeneration/code-entity.js +0 -1
- package/lib/common/codeGeneration/code-printer.d.ts +10 -0
- package/lib/common/codeGeneration/code-printer.js +0 -1
- package/lib/common/command-params.d.ts +14 -0
- package/lib/common/command-params.js +0 -1
- package/lib/common/commands/analytics.d.ts +30 -0
- package/lib/common/commands/analytics.js +0 -3
- package/lib/common/commands/autocompletion.d.ts +35 -0
- package/lib/common/commands/autocompletion.js +0 -3
- package/lib/common/commands/device/device-log-stream.d.ts +16 -0
- package/lib/common/commands/device/device-log-stream.js +0 -1
- package/lib/common/commands/device/get-file.d.ts +14 -0
- package/lib/common/commands/device/get-file.js +0 -2
- package/lib/common/commands/device/list-applications.d.ts +10 -0
- package/lib/common/commands/device/list-applications.js +0 -1
- package/lib/common/commands/device/list-devices.d.ts +16 -0
- package/lib/common/commands/device/list-devices.js +0 -3
- package/lib/common/commands/device/list-files.d.ts +14 -0
- package/lib/common/commands/device/list-files.js +0 -2
- package/lib/common/commands/device/put-file.d.ts +14 -0
- package/lib/common/commands/device/put-file.js +0 -2
- package/lib/common/commands/device/run-application.d.ts +13 -0
- package/lib/common/commands/device/run-application.js +0 -1
- package/lib/common/commands/device/stop-application.d.ts +10 -0
- package/lib/common/commands/device/stop-application.js +0 -1
- package/lib/common/commands/device/uninstall-application.d.ts +10 -0
- package/lib/common/commands/device/uninstall-application.js +0 -1
- package/lib/common/commands/doctor.d.ts +23 -0
- package/lib/common/commands/doctor.js +3 -3
- package/lib/common/commands/generate-messages.d.ts +13 -0
- package/lib/common/commands/generate-messages.js +0 -1
- package/lib/common/commands/help.d.ts +14 -0
- package/lib/common/commands/help.js +0 -1
- package/lib/common/commands/package-manager-get.d.ts +10 -0
- package/lib/common/commands/package-manager-get.js +0 -1
- package/lib/common/commands/package-manager-set.d.ts +11 -0
- package/lib/common/commands/package-manager-set.js +0 -1
- package/lib/common/commands/post-install.d.ts +9 -0
- package/lib/common/commands/post-install.js +0 -1
- package/lib/common/commands/preuninstall.d.ts +16 -0
- package/lib/common/commands/preuninstall.js +2 -11
- package/lib/common/commands/proxy/proxy-base.d.ts +13 -0
- package/lib/common/commands/proxy/proxy-base.js +0 -4
- package/lib/common/commands/proxy/proxy-clear.d.ts +9 -0
- package/lib/common/commands/proxy/proxy-clear.js +0 -1
- package/lib/common/commands/proxy/proxy-get.d.ts +9 -0
- package/lib/common/commands/proxy/proxy-get.js +0 -1
- package/lib/common/commands/proxy/proxy-set.d.ts +23 -0
- package/lib/common/commands/proxy/proxy-set.js +0 -1
- package/lib/common/common-lib.js +0 -1
- package/lib/common/constants.d.ts +117 -0
- package/lib/common/constants.js +14 -12
- package/lib/common/contracts/command-registry.d.ts +35 -0
- package/lib/common/contracts/command-registry.js +16 -0
- package/lib/common/contracts/index.d.ts +5 -0
- package/lib/common/contracts/index.js +11 -0
- package/lib/common/contracts/key-command-registry.d.ts +7 -0
- package/lib/common/contracts/key-command-registry.js +16 -0
- package/lib/common/contracts/module-registry.d.ts +4 -0
- package/lib/common/contracts/module-registry.js +16 -0
- package/lib/common/contracts/public-api-builder.d.ts +5 -0
- package/lib/common/contracts/public-api-builder.js +16 -0
- package/lib/common/declarations.d.ts +49 -118
- package/lib/common/decorators.d.ts +13 -0
- package/lib/common/decorators.js +0 -48
- package/lib/common/define-command.d.ts +53 -0
- package/lib/common/define-command.js +147 -0
- package/lib/common/define-hook.d.ts +29 -0
- package/lib/common/define-hook.js +101 -0
- package/lib/common/definitions/commands.d.ts +7 -0
- package/lib/common/definitions/extensibility.d.ts +7 -0
- package/lib/common/definitions/key-commands.d.ts +15 -52
- package/lib/common/definitions/key-commands.js +8 -0
- package/lib/common/definitions/yok.d.ts +43 -35
- package/lib/common/deprecation.d.ts +12 -0
- package/lib/common/deprecation.js +56 -0
- package/lib/common/di/contract.d.ts +7 -0
- package/lib/common/di/contract.js +34 -0
- package/lib/common/di/forward-ref.d.ts +2 -0
- package/lib/common/di/forward-ref.js +15 -0
- package/lib/common/di/index.d.ts +8 -0
- package/lib/common/di/index.js +19 -0
- package/lib/common/di/inject.d.ts +8 -0
- package/lib/common/di/inject.js +41 -0
- package/lib/common/di/injector.d.ts +38 -0
- package/lib/common/di/injector.js +268 -0
- package/lib/common/di/providers.d.ts +30 -0
- package/lib/common/di/providers.js +7 -0
- package/lib/common/dispatchers.d.ts +21 -0
- package/lib/common/dispatchers.js +1 -10
- package/lib/common/enums.d.ts +34 -0
- package/lib/common/enums.js +42 -0
- package/lib/common/errors.d.ts +15 -0
- package/lib/common/errors.js +4 -13
- package/lib/common/file-system.d.ts +77 -0
- package/lib/common/file-system.js +2 -13
- package/lib/common/header.d.ts +1 -0
- package/lib/common/header.js +0 -3
- package/lib/common/helpers.d.ts +62 -0
- package/lib/common/helpers.js +6 -92
- package/lib/common/host-info.d.ts +24 -0
- package/lib/common/host-info.js +0 -4
- package/lib/common/http-client.d.ts +14 -0
- package/lib/common/http-client.js +11 -20
- package/lib/common/logger/appenders/cli-appender.d.ts +2 -0
- package/lib/common/logger/appenders/cli-appender.js +0 -4
- package/lib/common/logger/appenders/emit-appender.d.ts +5 -0
- package/lib/common/logger/appenders/emit-appender.js +0 -4
- package/lib/common/logger/layouts/cli-layout.d.ts +2 -0
- package/lib/common/logger/layouts/cli-layout.js +0 -1
- package/lib/common/logger/logger.d.ts +24 -0
- package/lib/common/logger/logger.js +0 -5
- package/lib/common/messages/messages.d.ts +7 -0
- package/lib/common/messages/messages.js +0 -6
- package/lib/common/mobile/android/android-application-manager.d.ts +31 -0
- package/lib/common/mobile/android/android-application-manager.js +1 -20
- package/lib/common/mobile/android/android-debug-bridge-result-handler.d.ts +9 -0
- package/lib/common/mobile/android/android-debug-bridge-result-handler.js +0 -1
- package/lib/common/mobile/android/android-debug-bridge.d.ts +24 -0
- package/lib/common/mobile/android/android-debug-bridge.js +0 -6
- package/lib/common/mobile/android/android-device-file-system.d.ts +26 -0
- package/lib/common/mobile/android/android-device-file-system.js +0 -4
- package/lib/common/mobile/android/android-device-hash-service.d.ts +23 -0
- package/lib/common/mobile/android/android-device-hash-service.js +0 -3
- package/lib/common/mobile/android/android-device.d.ts +24 -0
- package/lib/common/mobile/android/android-device.js +0 -8
- package/lib/common/mobile/android/android-emulator-services.d.ts +23 -0
- package/lib/common/mobile/android/android-emulator-services.js +1 -2
- package/lib/common/mobile/android/android-ini-file-parser.d.ts +8 -0
- package/lib/common/mobile/android/android-ini-file-parser.js +0 -9
- package/lib/common/mobile/android/android-log-filter.d.ts +11 -0
- package/lib/common/mobile/android/android-log-filter.js +0 -4
- package/lib/common/mobile/android/android-virtual-device-service.d.ts +37 -0
- package/lib/common/mobile/android/android-virtual-device-service.js +0 -26
- package/lib/common/mobile/android/device-android-debug-bridge.d.ts +18 -0
- package/lib/common/mobile/android/device-android-debug-bridge.js +0 -1
- package/lib/common/mobile/android/genymotion/genymotion-service.d.ts +26 -0
- package/lib/common/mobile/android/genymotion/genymotion-service.js +1 -6
- package/lib/common/mobile/android/genymotion/virtualbox-service.d.ts +13 -0
- package/lib/common/mobile/android/genymotion/virtualbox-service.js +0 -11
- package/lib/common/mobile/android/logcat-helper.d.ts +17 -0
- package/lib/common/mobile/android/logcat-helper.js +0 -13
- package/lib/common/mobile/application-manager-base.d.ts +27 -0
- package/lib/common/mobile/application-manager-base.js +0 -6
- package/lib/common/mobile/device-emitter.d.ts +8 -0
- package/lib/common/mobile/device-emitter.js +0 -4
- package/lib/common/mobile/device-log-emitter.d.ts +9 -0
- package/lib/common/mobile/device-log-emitter.js +0 -1
- package/lib/common/mobile/device-log-provider-base.d.ts +21 -0
- package/lib/common/mobile/device-log-provider-base.js +0 -1
- package/lib/common/mobile/device-log-provider.d.ts +21 -0
- package/lib/common/mobile/device-log-provider.js +0 -23
- package/lib/common/mobile/device-platforms-constants.d.ts +8 -0
- package/lib/common/mobile/device-platforms-constants.js +0 -1
- package/lib/common/mobile/emulator-helper.d.ts +32 -0
- package/lib/common/mobile/emulator-helper.js +0 -3
- package/lib/common/mobile/ios/device/ios-application-manager.d.ts +27 -0
- package/lib/common/mobile/ios/device/ios-application-manager.js +0 -3
- package/lib/common/mobile/ios/device/ios-device-file-system.d.ts +19 -0
- package/lib/common/mobile/ios/device/ios-device-file-system.js +0 -9
- package/lib/common/mobile/ios/device/ios-device-operations.d.ts +29 -0
- package/lib/common/mobile/ios/device/ios-device-operations.js +0 -4
- package/lib/common/mobile/ios/device/ios-device.d.ts +32 -0
- package/lib/common/mobile/ios/device/ios-device.js +0 -4
- package/lib/common/mobile/ios/ios-device-base.d.ts +24 -0
- package/lib/common/mobile/ios/ios-device-base.js +0 -1
- package/lib/common/mobile/ios/ios-device-product-name-mapper.js +0 -2
- package/lib/common/mobile/ios/ios-log-filter.d.ts +6 -0
- package/lib/common/mobile/ios/ios-log-filter.js +0 -1
- package/lib/common/mobile/ios/simulator/ios-emulator-services.d.ts +1 -0
- package/lib/common/mobile/ios/simulator/ios-emulator-services.js +0 -4
- package/lib/common/mobile/ios/simulator/ios-sim-resolver.d.ts +7 -0
- package/lib/common/mobile/ios/simulator/ios-sim-resolver.js +0 -1
- package/lib/common/mobile/ios/simulator/ios-simulator-application-manager.d.ts +27 -0
- package/lib/common/mobile/ios/simulator/ios-simulator-application-manager.js +0 -6
- package/lib/common/mobile/ios/simulator/ios-simulator-device.d.ts +27 -0
- package/lib/common/mobile/ios/simulator/ios-simulator-device.js +0 -5
- package/lib/common/mobile/ios/simulator/ios-simulator-file-system.d.ts +16 -0
- package/lib/common/mobile/ios/simulator/ios-simulator-file-system.js +0 -1
- package/lib/common/mobile/ios/simulator/ios-simulator-log-provider.d.ts +15 -0
- package/lib/common/mobile/ios/simulator/ios-simulator-log-provider.js +0 -1
- package/lib/common/mobile/local-to-device-path-data-factory.d.ts +3 -0
- package/lib/common/mobile/local-to-device-path-data-factory.js +0 -1
- package/lib/common/mobile/log-filter.d.ts +13 -0
- package/lib/common/mobile/log-filter.js +0 -2
- package/lib/common/mobile/logging-levels.d.ts +4 -0
- package/lib/common/mobile/logging-levels.js +0 -1
- package/lib/common/mobile/mobile-core/android-device-discovery.d.ts +16 -0
- package/lib/common/mobile/mobile-core/android-device-discovery.js +0 -2
- package/lib/common/mobile/mobile-core/android-emulator-discovery.d.ts +11 -0
- package/lib/common/mobile/mobile-core/android-emulator-discovery.js +0 -3
- package/lib/common/mobile/mobile-core/android-process-service.d.ts +33 -0
- package/lib/common/mobile/mobile-core/android-process-service.js +0 -32
- package/lib/common/mobile/mobile-core/device-discovery.d.ts +12 -0
- package/lib/common/mobile/mobile-core/device-discovery.js +0 -1
- package/lib/common/mobile/mobile-core/devices-service.d.ts +99 -0
- package/lib/common/mobile/mobile-core/devices-service.js +0 -69
- package/lib/common/mobile/mobile-core/ios-device-discovery.d.ts +12 -0
- package/lib/common/mobile/mobile-core/ios-device-discovery.js +0 -2
- package/lib/common/mobile/mobile-core/ios-simulator-discovery.d.ts +20 -0
- package/lib/common/mobile/mobile-core/ios-simulator-discovery.js +0 -3
- package/lib/common/mobile/mobile-helper.d.ts +22 -0
- package/lib/common/mobile/mobile-helper.js +0 -1
- package/lib/common/mobile/wp8/wp8-emulator-services.d.ts +1 -0
- package/lib/common/mobile/wp8/wp8-emulator-services.js +0 -1
- package/lib/common/opener.d.ts +4 -0
- package/lib/common/opener.js +0 -1
- package/lib/common/os-info.d.ts +7 -0
- package/lib/common/os-info.js +0 -1
- package/lib/common/plist-parser.d.ts +5 -0
- package/lib/common/plist-parser.js +0 -1
- package/lib/common/project-helper.d.ts +15 -0
- package/lib/common/project-helper.js +0 -1
- package/lib/common/prompter.d.ts +23 -0
- package/lib/common/prompter.js +1 -9
- package/lib/common/queue.d.ts +8 -0
- package/lib/common/queue.js +0 -1
- package/lib/common/resource-loader.d.ts +10 -0
- package/lib/common/resource-loader.js +0 -1
- package/lib/common/services/analytics/google-analytics-custom-dimensions.d.ts +8 -15
- package/lib/common/services/analytics/google-analytics-custom-dimensions.js +13 -0
- package/lib/common/services/auto-completion-service.d.ts +36 -0
- package/lib/common/services/auto-completion-service.js +1 -13
- package/lib/common/services/cancellation.d.ts +1 -0
- package/lib/common/services/cancellation.js +2 -2
- package/lib/common/services/command-definition-adapter.d.ts +6 -0
- package/lib/common/services/command-definition-adapter.js +141 -0
- package/lib/common/services/commands-service.d.ts +30 -0
- package/lib/common/services/commands-service.js +10 -18
- package/lib/common/services/help-service.d.ts +46 -0
- package/lib/common/services/help-service.js +4 -11
- package/lib/common/services/hooks-service.d.ts +40 -0
- package/lib/common/services/hooks-service.js +110 -64
- package/lib/common/services/ios-notification-service.d.ts +7 -0
- package/lib/common/services/ios-notification-service.js +0 -1
- package/lib/common/services/json-file-settings-service.d.ts +24 -0
- package/lib/common/services/json-file-settings-service.js +0 -6
- package/lib/common/services/lock-service.d.ts +18 -0
- package/lib/common/services/lock-service.js +0 -6
- package/lib/common/services/message-contract-generator.d.ts +8 -0
- package/lib/common/services/message-contract-generator.js +0 -1
- package/lib/common/services/messages-service.d.ts +15 -0
- package/lib/common/services/messages-service.js +0 -1
- package/lib/common/services/micro-templating-service.d.ts +12 -0
- package/lib/common/services/micro-templating-service.js +0 -6
- package/lib/common/services/net-service.d.ts +13 -0
- package/lib/common/services/net-service.js +0 -3
- package/lib/common/services/project-files-manager.d.ts +14 -0
- package/lib/common/services/project-files-manager.js +0 -5
- package/lib/common/services/project-files-provider-base.d.ts +12 -0
- package/lib/common/services/project-files-provider-base.js +0 -1
- package/lib/common/services/proxy-service.d.ts +12 -0
- package/lib/common/services/proxy-service.js +0 -1
- package/lib/common/services/qr.d.ts +7 -0
- package/lib/common/services/qr.js +0 -1
- package/lib/common/services/settings-service.d.ts +10 -0
- package/lib/common/services/settings-service.js +0 -1
- package/lib/common/services/xcode-select-service.d.ts +12 -0
- package/lib/common/services/xcode-select-service.js +0 -1
- package/lib/common/utils.d.ts +10 -0
- package/lib/common/utils.js +0 -1
- package/lib/common/validators/project-name-validator.d.ts +18 -0
- package/lib/common/validators/project-name-validator.js +0 -1
- package/lib/common/validators/validation-result.d.ts +7 -0
- package/lib/common/validators/validation-result.js +0 -1
- package/lib/common/verify-node-version.d.ts +3 -0
- package/lib/common/verify-node-version.js +2 -8
- package/lib/common/yok.d.ts +60 -0
- package/lib/common/yok.js +173 -165
- package/lib/config.d.ts +45 -0
- package/lib/config.js +3 -23
- package/lib/constants-provider.d.ts +4 -0
- package/lib/constants-provider.js +0 -1
- package/lib/constants.d.ts +331 -0
- package/lib/constants.js +59 -58
- package/lib/contracts/doctor-service.d.ts +20 -0
- package/lib/contracts/doctor-service.js +16 -0
- package/lib/contracts/index.d.ts +14 -0
- package/lib/contracts/index.js +32 -0
- package/lib/contracts/project-name-service.d.ts +5 -0
- package/lib/contracts/project-name-service.js +16 -0
- package/lib/controllers/build-controller.d.ts +23 -0
- package/lib/controllers/build-controller.js +3 -4
- package/lib/controllers/debug-controller.d.ts +31 -0
- package/lib/controllers/debug-controller.js +3 -8
- package/lib/controllers/deploy-controller.d.ts +7 -0
- package/lib/controllers/deploy-controller.js +0 -1
- package/lib/controllers/migrate-controller.d.ts +67 -0
- package/lib/controllers/migrate-controller.js +4 -90
- package/lib/controllers/platform-controller.d.ts +20 -0
- package/lib/controllers/platform-controller.js +2 -9
- package/lib/controllers/prepare-controller.d.ts +45 -0
- package/lib/controllers/prepare-controller.js +8 -24
- package/lib/controllers/run-controller.d.ts +57 -0
- package/lib/controllers/run-controller.js +1 -81
- package/lib/controllers/update-controller-base.d.ts +27 -0
- package/lib/controllers/update-controller-base.js +0 -1
- package/lib/controllers/update-controller.d.ts +36 -0
- package/lib/controllers/update-controller.js +0 -11
- package/lib/data/build-data.d.ts +33 -0
- package/lib/data/build-data.js +0 -1
- package/lib/data/controller-data-base.d.ts +8 -0
- package/lib/data/controller-data-base.js +0 -1
- package/lib/data/debug-data.d.ts +2 -0
- package/lib/data/debug-data.js +0 -1
- package/lib/data/platform-data.d.ts +7 -0
- package/lib/data/platform-data.js +0 -1
- package/lib/data/prepare-data.d.ts +22 -0
- package/lib/data/prepare-data.js +0 -1
- package/lib/data/run-data.d.ts +6 -0
- package/lib/data/run-data.js +0 -1
- package/lib/declarations.d.ts +2 -1
- package/lib/definitions/ios.d.ts +36 -1
- package/lib/definitions/project.d.ts +1 -6
- package/lib/definitions/system-warnings.d.ts +3 -3
- package/lib/definitions/system-warnings.js +8 -0
- package/lib/detached-processes/cleanup-js-subprocess.d.ts +2 -0
- package/lib/detached-processes/cleanup-js-subprocess.js +3 -8
- package/lib/detached-processes/cleanup-process.d.ts +1 -0
- package/lib/detached-processes/cleanup-process.js +15 -18
- package/lib/detached-processes/detached-process-enums.d.ts +15 -67
- package/lib/detached-processes/detached-process-enums.js +24 -0
- package/lib/detached-processes/file-log-service.d.ts +7 -0
- package/lib/detached-processes/file-log-service.js +2 -2
- package/lib/device-path-provider.d.ts +9 -0
- package/lib/device-path-provider.js +0 -1
- package/lib/device-sockets/ios/app-debug-socket-proxy-factory.d.ts +22 -0
- package/lib/device-sockets/ios/app-debug-socket-proxy-factory.js +0 -7
- package/lib/device-sockets/ios/notification.d.ts +13 -0
- package/lib/device-sockets/ios/notification.js +0 -3
- package/lib/device-sockets/ios/socket-request-executor.d.ts +11 -0
- package/lib/device-sockets/ios/socket-request-executor.js +0 -3
- package/lib/helpers/android-bundle-validator-helper.d.ts +18 -0
- package/lib/helpers/android-bundle-validator-helper.js +1 -2
- package/lib/helpers/deploy-command-helper.d.ts +16 -0
- package/lib/helpers/deploy-command-helper.js +0 -1
- package/lib/helpers/key-command-helper.d.ts +13 -0
- package/lib/helpers/key-command-helper.js +3 -4
- package/lib/helpers/livesync-command-helper.d.ts +36 -0
- package/lib/helpers/livesync-command-helper.js +2 -4
- package/lib/helpers/network-connectivity-validator.d.ts +12 -0
- package/lib/helpers/network-connectivity-validator.js +0 -1
- package/lib/helpers/options-track-helper.d.ts +14 -0
- package/lib/helpers/options-track-helper.js +4 -3
- package/lib/helpers/package-path-helper.d.ts +2 -0
- package/lib/helpers/package-path-helper.js +0 -1
- package/lib/helpers/platform-command-helper.d.ts +35 -0
- package/lib/helpers/platform-command-helper.js +2 -7
- package/lib/helpers/version-validator-helper.d.ts +8 -0
- package/lib/helpers/version-validator-helper.js +0 -1
- package/lib/key-commands/bootstrap.d.ts +1 -0
- package/lib/key-commands/bootstrap.js +3 -3
- package/lib/key-commands/index.d.ts +166 -0
- package/lib/key-commands/index.js +5 -5
- package/lib/nativescript-cli-lib-bootstrap.d.ts +1 -0
- package/lib/nativescript-cli-lib-bootstrap.js +0 -4
- package/lib/nativescript-cli-lib.d.ts +1 -0
- package/lib/nativescript-cli-lib.js +0 -1
- package/lib/nativescript-cli.d.ts +1 -0
- package/lib/nativescript-cli.js +2 -11
- package/lib/node/pbxproj-dom-xcode.d.ts +4 -0
- package/lib/node/pbxproj-dom-xcode.js +0 -1
- package/lib/node/xcode.d.ts +2 -0
- package/lib/node/xcode.js +0 -1
- package/lib/node-package-manager.d.ts +16 -0
- package/lib/node-package-manager.js +1 -11
- package/lib/options.d.ts +33 -0
- package/lib/options.js +186 -183
- package/lib/package-installation-manager.d.ts +30 -0
- package/lib/package-installation-manager.js +1 -8
- package/lib/package-manager.d.ts +32 -0
- package/lib/package-manager.js +0 -2
- package/lib/platform-command-param.d.ts +10 -0
- package/lib/platform-command-param.js +0 -1
- package/lib/pnpm-package-manager.d.ts +16 -0
- package/lib/pnpm-package-manager.js +1 -4
- package/lib/project-data.d.ts +58 -0
- package/lib/project-data.js +0 -12
- package/lib/providers/project-files-provider.d.ts +12 -0
- package/lib/providers/project-files-provider.js +0 -1
- package/lib/resolvers/livesync-service-resolver.d.ts +9 -0
- package/lib/resolvers/livesync-service-resolver.js +0 -1
- package/lib/services/analytics/analytics-broker-process.d.ts +1 -0
- package/lib/services/analytics/analytics-broker-process.js +8 -10
- package/lib/services/analytics/analytics-broker.d.ts +11 -0
- package/lib/services/analytics/analytics-broker.js +2 -2
- package/lib/services/analytics/analytics-service.d.ts +46 -0
- package/lib/services/analytics/analytics-service.js +29 -29
- package/lib/services/analytics/google-analytics-provider.d.ts +22 -0
- package/lib/services/analytics/google-analytics-provider.js +96 -92
- package/lib/services/analytics-settings-service.d.ts +1 -0
- package/lib/services/analytics-settings-service.js +0 -5
- package/lib/services/android/android-bundle-tool-service.d.ts +27 -0
- package/lib/services/android/android-bundle-tool-service.js +102 -4
- package/lib/services/android/gradle-build-args-service.d.ts +17 -0
- package/lib/services/android/gradle-build-args-service.js +0 -3
- package/lib/services/android/gradle-build-service.d.ts +12 -0
- package/lib/services/android/gradle-build-service.js +0 -1
- package/lib/services/android/gradle-command-service.d.ts +11 -0
- package/lib/services/android/gradle-command-service.js +0 -1
- package/lib/services/android-device-debug-service.d.ts +30 -0
- package/lib/services/android-device-debug-service.js +0 -6
- package/lib/services/android-plugin-build-service.d.ts +55 -0
- package/lib/services/android-plugin-build-service.js +2 -31
- package/lib/services/android-project-service.d.ts +75 -0
- package/lib/services/android-project-service.js +4 -71
- package/lib/services/android-resources-migration-service.d.ts +17 -0
- package/lib/services/android-resources-migration-service.js +0 -7
- package/lib/services/apple-portal/apple-portal-application-service.d.ts +12 -0
- package/lib/services/apple-portal/apple-portal-application-service.js +0 -1
- package/lib/services/apple-portal/apple-portal-cookie-service.d.ts +10 -0
- package/lib/services/apple-portal/apple-portal-cookie-service.js +0 -1
- package/lib/services/apple-portal/apple-portal-session-service.d.ts +19 -0
- package/lib/services/apple-portal/apple-portal-session-service.js +4 -6
- package/lib/services/apple-portal/srp/srp-wrapper.d.ts +29 -0
- package/lib/services/apple-portal/srp/srp-wrapper.js +1 -4
- package/lib/services/assets-generation/assets-generation-service.d.ts +24 -0
- package/lib/services/assets-generation/assets-generation-service.js +13 -11
- package/lib/services/build-artifacts-service.d.ts +16 -0
- package/lib/services/build-artifacts-service.js +1 -2
- package/lib/services/build-data-service.d.ts +7 -0
- package/lib/services/build-data-service.js +0 -1
- package/lib/services/build-info-file-service.d.ts +16 -0
- package/lib/services/build-info-file-service.js +0 -1
- package/lib/services/bundler/bundler-compiler-service.d.ts +50 -0
- package/lib/services/bundler/bundler-compiler-service.js +3 -145
- package/lib/services/bundler/bundler.d.ts +75 -0
- package/lib/services/bundler/bundler.js +0 -1
- package/lib/services/cleanup-service.d.ts +29 -0
- package/lib/services/cleanup-service.js +10 -13
- package/lib/services/cocoapods-platform-manager.d.ts +17 -0
- package/lib/services/cocoapods-platform-manager.js +0 -9
- package/lib/services/cocoapods-service.d.ts +47 -0
- package/lib/services/cocoapods-service.js +1 -21
- package/lib/services/debug-data-service.d.ts +7 -0
- package/lib/services/debug-data-service.js +0 -1
- package/lib/services/debug-service-base.d.ts +12 -0
- package/lib/services/debug-service-base.js +0 -7
- package/lib/services/device/device-install-app-service.d.ts +19 -0
- package/lib/services/device/device-install-app-service.js +1 -2
- package/lib/services/doctor-service.d.ts +51 -0
- package/lib/services/doctor-service.js +20 -32
- package/lib/services/extensibility-service.d.ts +36 -0
- package/lib/services/extensibility-service.js +126 -13
- package/lib/services/files-hash-service.d.ts +17 -0
- package/lib/services/files-hash-service.js +0 -1
- package/lib/services/hmr-status-service.d.ts +19 -0
- package/lib/services/hmr-status-service.js +0 -2
- package/lib/services/info-service.d.ts +6 -0
- package/lib/services/info-service.js +0 -1
- package/lib/services/initialize-service.d.ts +8 -0
- package/lib/services/initialize-service.js +2 -5
- package/lib/services/ios/export-options-plist-service.d.ts +13 -0
- package/lib/services/ios/export-options-plist-service.js +0 -4
- package/lib/services/ios/ios-signing-service.d.ts +33 -0
- package/lib/services/ios/ios-signing-service.js +0 -4
- package/lib/services/ios/spm-pbxproj-service.d.ts +16 -0
- package/lib/services/ios/spm-pbxproj-service.js +234 -0
- package/lib/services/ios/spm-service.d.ts +35 -0
- package/lib/services/ios/spm-service.js +10 -138
- package/lib/services/ios/xcodebuild-args-service.d.ts +20 -0
- package/lib/services/ios/xcodebuild-args-service.js +0 -29
- package/lib/services/ios/xcodebuild-command-service.d.ts +17 -0
- package/lib/services/ios/xcodebuild-command-service.js +0 -3
- package/lib/services/ios/xcodebuild-service.d.ts +13 -0
- package/lib/services/ios/xcodebuild-service.js +1 -2
- package/lib/services/ios-debugger-port-service.d.ts +20 -0
- package/lib/services/ios-debugger-port-service.js +0 -1
- package/lib/services/ios-device-debug-service.d.ts +29 -0
- package/lib/services/ios-device-debug-service.js +0 -1
- package/lib/services/ios-entitlements-service.d.ts +19 -0
- package/lib/services/ios-entitlements-service.js +3 -4
- package/lib/services/ios-extensions-service.d.ts +12 -0
- package/lib/services/ios-extensions-service.js +0 -1
- package/lib/services/ios-log-filter.d.ts +11 -0
- package/lib/services/ios-log-filter.js +0 -20
- package/lib/services/ios-native-target-service.d.ts +14 -0
- package/lib/services/ios-native-target-service.js +5 -6
- package/lib/services/ios-project-service.d.ts +108 -0
- package/lib/services/ios-project-service.js +9 -135
- package/lib/services/ios-provision-service.d.ts +18 -0
- package/lib/services/ios-provision-service.js +0 -3
- package/lib/services/ios-watch-app-service.d.ts +39 -0
- package/lib/services/ios-watch-app-service.js +18 -75
- package/lib/services/ip-service.d.ts +10 -0
- package/lib/services/ip-service.js +0 -2
- package/lib/services/itmstransporter-service.d.ts +26 -0
- package/lib/services/itmstransporter-service.js +0 -1
- package/lib/services/karma-execution.d.ts +1 -0
- package/lib/services/karma-execution.js +0 -2
- package/lib/services/livesync/android-device-livesync-service-base.d.ts +19 -0
- package/lib/services/livesync/android-device-livesync-service-base.js +0 -1
- package/lib/services/livesync/android-device-livesync-service.d.ts +24 -0
- package/lib/services/livesync/android-device-livesync-service.js +0 -2
- package/lib/services/livesync/android-device-livesync-sockets-service.d.ts +36 -0
- package/lib/services/livesync/android-device-livesync-sockets-service.js +0 -3
- package/lib/services/livesync/android-livesync-service.d.ts +16 -0
- package/lib/services/livesync/android-livesync-service.js +0 -1
- package/lib/services/livesync/android-livesync-tool.d.ts +58 -0
- package/lib/services/livesync/android-livesync-tool.js +0 -4
- package/lib/services/livesync/device-livesync-service-base.d.ts +13 -0
- package/lib/services/livesync/device-livesync-service-base.js +0 -2
- package/lib/services/livesync/ios-device-livesync-service.d.ts +28 -0
- package/lib/services/livesync/ios-device-livesync-service.js +0 -7
- package/lib/services/livesync/ios-livesync-service.d.ts +17 -0
- package/lib/services/livesync/ios-livesync-service.js +0 -55
- package/lib/services/livesync/livesync-socket.d.ts +5 -0
- package/lib/services/livesync/livesync-socket.js +0 -1
- package/lib/services/livesync/platform-livesync-service-base.d.ts +25 -0
- package/lib/services/livesync/platform-livesync-service-base.js +0 -5
- package/lib/services/livesync-process-data-service.d.ts +10 -0
- package/lib/services/livesync-process-data-service.js +0 -1
- package/lib/services/log-parser-service.d.ts +11 -0
- package/lib/services/log-parser-service.js +0 -1
- package/lib/services/log-source-map-service.d.ts +28 -0
- package/lib/services/log-source-map-service.js +0 -15
- package/lib/services/marking-mode-service.d.ts +12 -0
- package/lib/services/marking-mode-service.js +10 -8
- package/lib/services/metadata-filtering-service.d.ts +19 -0
- package/lib/services/metadata-filtering-service.js +0 -1
- package/lib/services/npm-config-service.d.ts +7 -0
- package/lib/services/npm-config-service.js +0 -4
- package/lib/services/pacote-service.d.ts +16 -0
- package/lib/services/pacote-service.js +0 -7
- package/lib/services/performance-service.d.ts +19 -0
- package/lib/services/performance-service.js +2 -3
- package/lib/services/platform/add-platform-service.d.ts +21 -0
- package/lib/services/platform/add-platform-service.js +2 -49
- package/lib/services/platform/platform-validation-service.d.ts +17 -0
- package/lib/services/platform/platform-validation-service.js +0 -1
- package/lib/services/platform/prepare-native-platform-service.d.ts +15 -0
- package/lib/services/platform/prepare-native-platform-service.js +3 -5
- package/lib/services/platform-environment-requirements.d.ts +15 -0
- package/lib/services/platform-environment-requirements.js +4 -8
- package/lib/services/platform-project-service-base.d.ts +14 -0
- package/lib/services/platform-project-service-base.js +0 -1
- package/lib/services/platforms-data-service.d.ts +9 -0
- package/lib/services/platforms-data-service.js +0 -1
- package/lib/services/plugins-service.d.ts +60 -0
- package/lib/services/plugins-service.js +2 -20
- package/lib/services/prepare-data-service.d.ts +7 -0
- package/lib/services/prepare-data-service.js +0 -1
- package/lib/services/project-backup-service.d.ts +12 -0
- package/lib/services/project-backup-service.js +0 -4
- package/lib/services/project-changes-service.d.ts +30 -0
- package/lib/services/project-changes-service.js +3 -14
- package/lib/services/project-cleanup-service.d.ts +13 -0
- package/lib/services/project-cleanup-service.js +0 -2
- package/lib/services/project-config-service.d.ts +33 -0
- package/lib/services/project-config-service.js +35 -32
- package/lib/services/project-data-service.d.ts +48 -0
- package/lib/services/project-data-service.js +7 -36
- package/lib/services/project-name-service.d.ts +16 -0
- package/lib/services/project-name-service.js +4 -5
- package/lib/services/project-service.d.ts +34 -0
- package/lib/services/project-service.js +0 -10
- package/lib/services/project-templates-service.d.ts +18 -0
- package/lib/services/project-templates-service.js +2 -3
- package/lib/services/qr-code-terminal-service.d.ts +5 -0
- package/lib/services/qr-code-terminal-service.js +0 -1
- package/lib/services/require-service.d.ts +3 -0
- package/lib/services/require-service.js +0 -1
- package/lib/services/start-service.d.ts +30 -0
- package/lib/services/start-service.js +0 -1
- package/lib/services/temp-service.d.ts +14 -0
- package/lib/services/temp-service.js +0 -3
- package/lib/services/terminal-spinner-service.d.ts +5 -0
- package/lib/services/terminal-spinner-service.js +0 -2
- package/lib/services/test-execution-service.d.ts +26 -0
- package/lib/services/test-execution-service.js +3 -9
- package/lib/services/test-initialization-service.d.ts +10 -0
- package/lib/services/test-initialization-service.js +0 -4
- package/lib/services/timeline-profiler-service.d.ts +18 -0
- package/lib/services/timeline-profiler-service.js +0 -1
- package/lib/services/user-settings-service.d.ts +14 -0
- package/lib/services/user-settings-service.js +0 -1
- package/lib/services/versions-service.d.ts +5 -0
- package/lib/services/versions-service.js +5 -6
- package/lib/services/watch-ignore-list-service.d.ts +7 -0
- package/lib/services/watch-ignore-list-service.js +0 -1
- package/lib/services/xcconfig-service.d.ts +15 -0
- package/lib/services/xcconfig-service.js +45 -12
- package/lib/services/xcproj-service.d.ts +1 -0
- package/lib/services/xcproj-service.js +0 -1
- package/lib/shared-event-bus.d.ts +1 -0
- package/lib/shared-event-bus.js +0 -6
- package/lib/sys-info.d.ts +18 -0
- package/lib/sys-info.js +2 -2
- package/lib/tools/config-manipulation/config-transformer.d.ts +28 -0
- package/lib/tools/config-manipulation/config-transformer.js +15 -19
- package/lib/tools/node-modules/node-modules-builder.d.ts +9 -0
- package/lib/tools/node-modules/node-modules-builder.js +0 -1
- package/lib/tools/node-modules/node-modules-dependencies-builder.d.ts +10 -0
- package/lib/tools/node-modules/node-modules-dependencies-builder.js +0 -6
- package/lib/tools/plist-merge/plist-session.d.ts +30 -0
- package/lib/tools/plist-merge/plist-session.js +92 -0
- package/lib/yarn-package-manager.d.ts +16 -0
- package/lib/yarn-package-manager.js +0 -1
- package/lib/yarn2-package-manager.d.ts +18 -0
- package/lib/yarn2-package-manager.js +0 -3
- package/package.json +11 -118
- package/postinstall.js +7 -2
- package/lib/.d.ts +0 -504
- package/lib/services/analytics/google-analytics-cross-client-custom-dimensions.d.ts +0 -6
- package/node_modules/debug/LICENSE +0 -20
- package/node_modules/debug/README.md +0 -481
- package/node_modules/debug/package.json +0 -64
- package/node_modules/debug/src/browser.js +0 -272
- package/node_modules/debug/src/common.js +0 -292
- package/node_modules/debug/src/index.js +0 -10
- package/node_modules/debug/src/node.js +0 -263
- package/node_modules/ms/index.js +0 -162
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/package.json +0 -38
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/universal-analytics/.travis.yml +0 -11
- package/node_modules/universal-analytics/AcceptableParams.md +0 -757
- package/node_modules/universal-analytics/HISTORY.md +0 -170
- package/node_modules/universal-analytics/Makefile +0 -5
- package/node_modules/universal-analytics/README.md +0 -651
- package/node_modules/universal-analytics/index.js +0 -2
- package/node_modules/universal-analytics/lib/config.js +0 -171
- package/node_modules/universal-analytics/lib/index.js +0 -563
- package/node_modules/universal-analytics/lib/request.js +0 -73
- package/node_modules/universal-analytics/lib/utils.js +0 -29
- package/node_modules/universal-analytics/package.json +0 -33
- package/node_modules/universal-analytics/test/_enqueue.js +0 -144
- package/node_modules/universal-analytics/test/event.js +0 -346
- package/node_modules/universal-analytics/test/exception.js +0 -233
- package/node_modules/universal-analytics/test/index.js +0 -141
- package/node_modules/universal-analytics/test/item.js +0 -550
- package/node_modules/universal-analytics/test/middleware.js +0 -119
- package/node_modules/universal-analytics/test/mocha.opts +0 -3
- package/node_modules/universal-analytics/test/pageview.js +0 -286
- package/node_modules/universal-analytics/test/send.js +0 -232
- package/node_modules/universal-analytics/test/set.js +0 -68
- package/node_modules/universal-analytics/test/timing.js +0 -363
- package/node_modules/universal-analytics/test/transaction.js +0 -371
- package/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/uuid/README.md +0 -510
- package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
- package/node_modules/uuid/dist/cjs/index.js +0 -31
- package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/max.js +0 -3
- package/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/md5.js +0 -13
- package/node_modules/uuid/dist/cjs/native.d.ts +0 -6
- package/node_modules/uuid/dist/cjs/native.js +0 -4
- package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/nil.js +0 -3
- package/node_modules/uuid/dist/cjs/package.json +0 -1
- package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/parse.js +0 -11
- package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/regex.js +0 -3
- package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/rng.js +0 -13
- package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/sha1.js +0 -13
- package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/cjs/stringify.js +0 -39
- package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
- package/node_modules/uuid/dist/cjs/types.js +0 -2
- package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
- package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
- package/node_modules/uuid/dist/cjs/v1.js +0 -87
- package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
- package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v3.js +0 -14
- package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
- package/node_modules/uuid/dist/cjs/v35.js +0 -41
- package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/v4.js +0 -29
- package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v5.js +0 -14
- package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/v6.js +0 -19
- package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
- package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v7.js +0 -69
- package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/validate.js +0 -7
- package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/version.js +0 -10
- package/node_modules/uuid/dist/cjs-browser/index.d.ts +0 -15
- package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
- package/node_modules/uuid/dist/cjs-browser/max.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/md5.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
- package/node_modules/uuid/dist/cjs-browser/native.d.ts +0 -4
- package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
- package/node_modules/uuid/dist/cjs-browser/nil.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
- package/node_modules/uuid/dist/cjs-browser/parse.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
- package/node_modules/uuid/dist/cjs-browser/regex.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/rng.d.ts +0 -1
- package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
- package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
- package/node_modules/uuid/dist/cjs-browser/types.d.ts +0 -21
- package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
- package/node_modules/uuid/dist/cjs-browser/v1.d.ts +0 -11
- package/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
- package/node_modules/uuid/dist/cjs-browser/v3.d.ts +0 -9
- package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/v35.d.ts +0 -7
- package/node_modules/uuid/dist/cjs-browser/v35.js +0 -41
- package/node_modules/uuid/dist/cjs-browser/v4.d.ts +0 -4
- package/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
- package/node_modules/uuid/dist/cjs-browser/v5.d.ts +0 -9
- package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/v6.d.ts +0 -4
- package/node_modules/uuid/dist/cjs-browser/v6.js +0 -19
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
- package/node_modules/uuid/dist/cjs-browser/v7.d.ts +0 -9
- package/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
- package/node_modules/uuid/dist/cjs-browser/validate.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
- package/node_modules/uuid/dist/cjs-browser/version.d.ts +0 -2
- package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
- package/node_modules/uuid/dist/esm/bin/uuid +0 -2
- package/node_modules/uuid/dist/esm/index.d.ts +0 -15
- package/node_modules/uuid/dist/esm/index.js +0 -14
- package/node_modules/uuid/dist/esm/max.d.ts +0 -2
- package/node_modules/uuid/dist/esm/max.js +0 -1
- package/node_modules/uuid/dist/esm/md5.d.ts +0 -4
- package/node_modules/uuid/dist/esm/md5.js +0 -11
- package/node_modules/uuid/dist/esm/native.d.ts +0 -6
- package/node_modules/uuid/dist/esm/native.js +0 -2
- package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
- package/node_modules/uuid/dist/esm/nil.js +0 -1
- package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
- package/node_modules/uuid/dist/esm/parse.js +0 -9
- package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
- package/node_modules/uuid/dist/esm/regex.js +0 -1
- package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
- package/node_modules/uuid/dist/esm/rng.js +0 -10
- package/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
- package/node_modules/uuid/dist/esm/sha1.js +0 -11
- package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/esm/stringify.js +0 -35
- package/node_modules/uuid/dist/esm/types.d.ts +0 -21
- package/node_modules/uuid/dist/esm/uuid-bin.js +0 -70
- package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
- package/node_modules/uuid/dist/esm/v1.js +0 -83
- package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/esm/v1ToV6.js +0 -10
- package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v3.js +0 -9
- package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
- package/node_modules/uuid/dist/esm/v35.js +0 -36
- package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
- package/node_modules/uuid/dist/esm/v4.js +0 -27
- package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v5.js +0 -9
- package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
- package/node_modules/uuid/dist/esm/v6.js +0 -17
- package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/esm/v6ToV1.js +0 -10
- package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v7.js +0 -65
- package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
- package/node_modules/uuid/dist/esm/validate.js +0 -5
- package/node_modules/uuid/dist/esm/version.d.ts +0 -2
- package/node_modules/uuid/dist/esm/version.js +0 -8
- package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
- package/node_modules/uuid/dist/esm-browser/index.js +0 -14
- package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/max.js +0 -1
- package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/md5.js +0 -135
- package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/native.js +0 -2
- package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/parse.js +0 -9
- package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/rng.js +0 -11
- package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/sha1.js +0 -70
- package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/esm-browser/stringify.js +0 -35
- package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
- package/node_modules/uuid/dist/esm-browser/uuid-bin.js +0 -70
- package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
- package/node_modules/uuid/dist/esm-browser/v1.js +0 -83
- package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/v1ToV6.js +0 -10
- package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v3.js +0 -9
- package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
- package/node_modules/uuid/dist/esm-browser/v35.js +0 -36
- package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/v4.js +0 -27
- package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v5.js +0 -9
- package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/v6.js +0 -17
- package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/v6ToV1.js +0 -10
- package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v7.js +0 -65
- package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/validate.js +0 -5
- package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/version.js +0 -8
- package/node_modules/uuid/package.json +0 -132
- package/vendor/aab-tool/LICENSE +0 -202
- package/vendor/aab-tool/README.txt +0 -1
- package/vendor/aab-tool/bundletool.jar +0 -0
- /package/{node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts → lib/bootstrap.d.ts} +0 -0
- /package/{node_modules/uuid/dist/cjs/uuid-bin.d.ts → lib/commands/test-init.d.ts} +0 -0
- /package/{node_modules/uuid/dist/esm-browser/types.js → lib/commands/test.d.ts} +0 -0
- /package/{node_modules/uuid/dist/esm-browser/uuid-bin.d.ts → lib/common/bootstrap.d.ts} +0 -0
- /package/{node_modules/uuid/dist/esm/types.js → lib/common/common-lib.d.ts} +0 -0
- /package/{node_modules/uuid/dist/esm/uuid-bin.d.ts → lib/common/mobile/ios/ios-device-product-name-mapper.d.ts} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IProjectData, ICocoaPodsPlatformManager, IPodfilePlatformData } from "../definitions/project";
|
|
2
|
+
export declare class CocoaPodsPlatformManager implements ICocoaPodsPlatformManager {
|
|
3
|
+
private $logger;
|
|
4
|
+
constructor($logger: ILogger);
|
|
5
|
+
addPlatformSection(projectData: IProjectData, podfilePlatformData: IPodfilePlatformData, projectPodfileContent: string): string;
|
|
6
|
+
removePlatformSection(moduleName: string, projectPodfileContent: string, podfilePath: string): string;
|
|
7
|
+
replacePlatformRow(podfileContent: string, podfilePath: string): {
|
|
8
|
+
replacedContent: string;
|
|
9
|
+
podfilePlatformData: IPodfilePlatformData;
|
|
10
|
+
};
|
|
11
|
+
private getPlatformSectionData;
|
|
12
|
+
private selectPlatformDataFromProjectPodfile;
|
|
13
|
+
private shouldReplacePlatformSection;
|
|
14
|
+
private buildPlatformSection;
|
|
15
|
+
private getPlatformSectionHeader;
|
|
16
|
+
private getPlatformSectionFooter;
|
|
17
|
+
}
|
|
@@ -82,7 +82,6 @@ class CocoaPodsPlatformManager {
|
|
|
82
82
|
_.each(allPodfiles, (podfileContent) => {
|
|
83
83
|
const platformMatch = platformRowRegExp.exec(podfileContent);
|
|
84
84
|
const podfilePathMatch = podfilePathRegExp.exec(podfileContent) || [];
|
|
85
|
-
// platform without version -> select it with highest priority
|
|
86
85
|
if (platformMatch && platformMatch[0] && !platformMatch[2]) {
|
|
87
86
|
selectedPlatformData = {
|
|
88
87
|
version: null,
|
|
@@ -91,7 +90,6 @@ class CocoaPodsPlatformManager {
|
|
|
91
90
|
};
|
|
92
91
|
return false;
|
|
93
92
|
}
|
|
94
|
-
// platform with version
|
|
95
93
|
if (platformMatch && platformMatch[0] && platformMatch[2]) {
|
|
96
94
|
if (!selectedPlatformData ||
|
|
97
95
|
semver.gt(semver.coerce(platformMatch[2]), semver.coerce(selectedPlatformData.version))) {
|
|
@@ -106,12 +104,6 @@ class CocoaPodsPlatformManager {
|
|
|
106
104
|
return selectedPlatformData;
|
|
107
105
|
}
|
|
108
106
|
shouldReplacePlatformSection(projectData, oldPodfilePlatformData, currentPodfilePlatformData) {
|
|
109
|
-
// The selected platform should be replaced in the following cases:
|
|
110
|
-
// 1. When the pod file is from App_Resources and the selected platform is not from App_Resources
|
|
111
|
-
// 2. When the pod file is from App_Resources, the selected platform is also from App_Resources
|
|
112
|
-
// and the pod's version is greater than the selected one
|
|
113
|
-
// 3. When the pod file doesn't have platform's version -> `platform :ios`
|
|
114
|
-
// 4. When the pod file has a version greater than the selected platform's version
|
|
115
107
|
const appResourcesPodfilePath = path.join(projectData.getAppResourcesDirectoryPath(), "iOS", constants_1.PODFILE_NAME);
|
|
116
108
|
const isFromAppResources = oldPodfilePlatformData.path !== appResourcesPodfilePath &&
|
|
117
109
|
currentPodfilePlatformData.path === appResourcesPodfilePath;
|
|
@@ -143,4 +135,3 @@ class CocoaPodsPlatformManager {
|
|
|
143
135
|
}
|
|
144
136
|
exports.CocoaPodsPlatformManager = CocoaPodsPlatformManager;
|
|
145
137
|
yok_1.injector.register("cocoaPodsPlatformManager", CocoaPodsPlatformManager);
|
|
146
|
-
//# sourceMappingURL=cocoapods-platform-manager.js.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IPluginData } from "../definitions/plugins";
|
|
2
|
+
import { IProjectData, ICocoaPodsPlatformManager, ICocoaPodsService } from "../definitions/project";
|
|
3
|
+
import { IPlatformData } from "../definitions/platform";
|
|
4
|
+
import { IConfiguration, IXcconfigService } from "../declarations";
|
|
5
|
+
import { IFileSystem, IChildProcess, IErrors, ISpawnResult } from "../common/declarations";
|
|
6
|
+
import { XcodeSelectService } from "../common/services/xcode-select-service";
|
|
7
|
+
export declare class CocoaPodsService implements ICocoaPodsService {
|
|
8
|
+
private $cocoaPodsPlatformManager;
|
|
9
|
+
private $fs;
|
|
10
|
+
private $childProcess;
|
|
11
|
+
private $errors;
|
|
12
|
+
private $logger;
|
|
13
|
+
private $config;
|
|
14
|
+
private $xcconfigService;
|
|
15
|
+
private $xcodeSelectService;
|
|
16
|
+
private static PODFILE_POST_INSTALL_SECTION_NAME;
|
|
17
|
+
private static INSTALLER_BLOCK_PARAMETER_NAME;
|
|
18
|
+
private getCocoaPodsFromPodfile;
|
|
19
|
+
constructor($cocoaPodsPlatformManager: ICocoaPodsPlatformManager, $fs: IFileSystem, $childProcess: IChildProcess, $errors: IErrors, $logger: ILogger, $config: IConfiguration, $xcconfigService: IXcconfigService, $xcodeSelectService: XcodeSelectService);
|
|
20
|
+
getPodfileHeader(targetName: string): string;
|
|
21
|
+
getPodfileFooter(): string;
|
|
22
|
+
getProjectPodfilePath(projectRoot: string): string;
|
|
23
|
+
executePodInstall(projectRoot: string, xcodeProjPath: string): Promise<ISpawnResult>;
|
|
24
|
+
mergePodXcconfigFile(projectData: IProjectData, platformData: IPlatformData): Promise<void>;
|
|
25
|
+
applyPodfileFromAppResources(projectData: IProjectData, platformData: IPlatformData): Promise<void>;
|
|
26
|
+
applyPodfileArchExclusions(projectData: IProjectData, platformData: IPlatformData): Promise<void>;
|
|
27
|
+
applyPodfileFromExtensions(projectData: IProjectData, platformData: IPlatformData): Promise<void>;
|
|
28
|
+
applyPodfileToProject(moduleName: string, podfilePath: string, projectData: IProjectData, platformData: IPlatformData): Promise<void>;
|
|
29
|
+
removePodfileFromProject(moduleName: string, podfilePath: string, projectData: IProjectData, projectRoot: string): void;
|
|
30
|
+
getPluginPodfilePath(pluginData: IPluginData): string;
|
|
31
|
+
private addPostInstallHook;
|
|
32
|
+
private getPodfileContentWithoutTarget;
|
|
33
|
+
private saveProjectPodfile;
|
|
34
|
+
private removePostInstallHook;
|
|
35
|
+
private getHookBasicFuncNameForPlugin;
|
|
36
|
+
private replaceHookContent;
|
|
37
|
+
private getPluginPodfileHeader;
|
|
38
|
+
private getPluginPodfileEnd;
|
|
39
|
+
private getExtensionPodfileHeader;
|
|
40
|
+
private getExtensionPodfileEnd;
|
|
41
|
+
private getPostInstallHookHeader;
|
|
42
|
+
private buildPodfileContent;
|
|
43
|
+
private getMainPodFilePath;
|
|
44
|
+
private isMainPodFile;
|
|
45
|
+
private overridePodsFromFile;
|
|
46
|
+
private _getCocoaPodsFromPodfile;
|
|
47
|
+
}
|
|
@@ -34,12 +34,6 @@ class CocoaPodsService {
|
|
|
34
34
|
let podTool = this.$config.USE_POD_SANDBOX ? "sandbox-pod" : "pod";
|
|
35
35
|
const args = ["install"];
|
|
36
36
|
if (process.platform === "darwin" && process.arch === "arm64") {
|
|
37
|
-
// check if pod is installed as an x86_64 binary or a native arm64 one
|
|
38
|
-
// we run the following:
|
|
39
|
-
// arch -x86_64 pod --version
|
|
40
|
-
// if it's an arm64 binary, we'll get something like this as a result:
|
|
41
|
-
// arch: posix_spawnp: pod: Bad CPU type in executable
|
|
42
|
-
// in which case, we should run it natively.
|
|
43
37
|
const res = await this.$childProcess
|
|
44
38
|
.exec("arch -x86_64 pod --version", null, {
|
|
45
39
|
showStderr: true,
|
|
@@ -53,11 +47,8 @@ class CocoaPodsService {
|
|
|
53
47
|
podTool = "arch";
|
|
54
48
|
}
|
|
55
49
|
}
|
|
56
|
-
// cocoapods print a lot of non-error information on stderr. Pipe the `stderr` to `stdout`, so we won't polute CLI's stderr output.
|
|
57
50
|
const podInstallResult = await this.$childProcess.spawnFromEvent(podTool, args, "close", { cwd: projectRoot, stdio: ["pipe", process.stdout, process.stdout] }, { throwError: false });
|
|
58
51
|
if (podInstallResult.exitCode !== 0) {
|
|
59
|
-
// https://github.com/CocoaPods/CocoaPods/blob/92aaf0f1120d32f3487960b485fb69fcaf61486c/lib/cocoapods/resolver.rb#L498
|
|
60
|
-
// TODO add article
|
|
61
52
|
const versionResolutionHint = podInstallResult.exitCode === 31
|
|
62
53
|
? `For more information on resolving CocoaPod issues in NativeScript read.`
|
|
63
54
|
: "";
|
|
@@ -89,7 +80,6 @@ ${versionResolutionHint}`);
|
|
|
89
80
|
}
|
|
90
81
|
async applyPodfileArchExclusions(projectData, platformData) {
|
|
91
82
|
const xcodeVersionData = await this.$xcodeSelectService.getXcodeVersion();
|
|
92
|
-
// only apply EXCLUDED_ARCHS workaround on XCode 12
|
|
93
83
|
if (+xcodeVersionData.major !== 12) {
|
|
94
84
|
return;
|
|
95
85
|
}
|
|
@@ -108,7 +98,6 @@ end`.trim();
|
|
|
108
98
|
this.$fs.writeFile(exclusionsPodfile, exclusions);
|
|
109
99
|
}
|
|
110
100
|
await this.applyPodfileToProject("NativeScript-CLI-Architecture-Exclusions", exclusionsPodfile, projectData, platformData);
|
|
111
|
-
// clean up
|
|
112
101
|
this.$fs.deleteFile(exclusionsPodfile);
|
|
113
102
|
}
|
|
114
103
|
async applyPodfileFromExtensions(projectData, platformData) {
|
|
@@ -131,7 +120,6 @@ end`.trim();
|
|
|
131
120
|
podfilePath: path.join(extensionFolderPath, name, constants.PODFILE_NAME),
|
|
132
121
|
}));
|
|
133
122
|
extensionsPodfile.forEach(({ targetName, podfilePath }) => {
|
|
134
|
-
// Remove the data between #Begin Podfile and #EndPodfile
|
|
135
123
|
const regExpToRemove = new RegExp(`${this.getExtensionPodfileHeader(podfilePath, targetName)}[\\s\\S]*?${this.getExtensionPodfileEnd()}`, "mg");
|
|
136
124
|
projectPodFileContent = projectPodFileContent.replace(regExpToRemove, "");
|
|
137
125
|
if (this.$fs.exists(podfilePath)) {
|
|
@@ -158,7 +146,6 @@ end`.trim();
|
|
|
158
146
|
? this.$fs.readText(pathToProjectPodfile).trim()
|
|
159
147
|
: "";
|
|
160
148
|
if (projectPodfileContent.indexOf(podfileContent) === -1) {
|
|
161
|
-
// Remove old occurences of the plugin from the project's Podfile.
|
|
162
149
|
this.removePodfileFromProject(moduleName, podfilePath, projectData, nativeProjectPath);
|
|
163
150
|
let finalPodfileContent = this.$fs.exists(pathToProjectPodfile)
|
|
164
151
|
? this.getPodfileContentWithoutTarget(projectData, this.$fs.readText(pathToProjectPodfile))
|
|
@@ -176,7 +163,6 @@ end`.trim();
|
|
|
176
163
|
removePodfileFromProject(moduleName, podfilePath, projectData, projectRoot) {
|
|
177
164
|
if (this.$fs.exists(this.getProjectPodfilePath(projectRoot))) {
|
|
178
165
|
let projectPodFileContent = this.$fs.readText(this.getProjectPodfilePath(projectRoot));
|
|
179
|
-
// Remove the data between #Begin Podfile and #EndPodfile
|
|
180
166
|
const regExpToRemove = new RegExp(`${this.getPluginPodfileHeader(podfilePath)}[\\s\\S]*?${this.getPluginPodfileEnd()}`, "mg");
|
|
181
167
|
projectPodFileContent = projectPodFileContent.replace(regExpToRemove, "");
|
|
182
168
|
projectPodFileContent = this.removePostInstallHook(moduleName, projectPodFileContent);
|
|
@@ -197,7 +183,7 @@ end`.trim();
|
|
|
197
183
|
}
|
|
198
184
|
}
|
|
199
185
|
getPluginPodfilePath(pluginData) {
|
|
200
|
-
const pluginPlatformsFolderPath = pluginData.pluginPlatformsFolderPath(
|
|
186
|
+
const pluginPlatformsFolderPath = pluginData.pluginPlatformsFolderPath(constants_1.PlatformTypes.ios);
|
|
201
187
|
const pluginPodFilePath = path.join(pluginPlatformsFolderPath, constants_1.PODFILE_NAME);
|
|
202
188
|
return pluginPodFilePath;
|
|
203
189
|
}
|
|
@@ -233,7 +219,6 @@ end`.trim();
|
|
|
233
219
|
if (_.startsWith(projectPodfileContent, podFileHeader)) {
|
|
234
220
|
projectPodfileContent = projectPodfileContent.substr(podFileHeader.length);
|
|
235
221
|
const podFileFooter = this.getPodfileFooter();
|
|
236
|
-
// Only remove the final end in case the file starts with the podFileHeader
|
|
237
222
|
if (_.endsWith(projectPodfileContent, podFileFooter)) {
|
|
238
223
|
projectPodfileContent = projectPodfileContent.substr(0, projectPodfileContent.length - podFileFooter.length);
|
|
239
224
|
}
|
|
@@ -254,8 +239,6 @@ end`.trim();
|
|
|
254
239
|
return projectPodFileContent;
|
|
255
240
|
}
|
|
256
241
|
getHookBasicFuncNameForPlugin(hookName, pluginName) {
|
|
257
|
-
// nativescript-hook and nativescript_hook should have different names, so replace all _ with ___ first and then replace all special symbols with _
|
|
258
|
-
// This will lead to a clash in case plugins are called nativescript-hook and nativescript___hook
|
|
259
242
|
const replacedPluginName = pluginName
|
|
260
243
|
.replace(/_/g, "___")
|
|
261
244
|
.replace(/[^A-Za-z0-9_]/g, "_");
|
|
@@ -269,7 +252,6 @@ end`.trim();
|
|
|
269
252
|
const newFunctionName = `${this.getHookBasicFuncNameForPlugin(hookName, pluginName)}_${newFunctions.length}`;
|
|
270
253
|
let newDefinition = `def ${newFunctionName}`;
|
|
271
254
|
const rubyFunction = { functionName: newFunctionName };
|
|
272
|
-
// firstGroup is the block parameter, secondGroup is the block parameter name.
|
|
273
255
|
if (firstGroup && secondGroup) {
|
|
274
256
|
newDefinition = `${newDefinition} (${secondGroup})`;
|
|
275
257
|
rubyFunction.functionParameters = secondGroup;
|
|
@@ -280,7 +262,6 @@ end`.trim();
|
|
|
280
262
|
return { replacedContent, newFunctions };
|
|
281
263
|
}
|
|
282
264
|
getPluginPodfileHeader(pluginPodFilePath) {
|
|
283
|
-
// escape special + from the podfile path (pnpm)
|
|
284
265
|
pluginPodFilePath = pluginPodFilePath.replace(/\+/g, "\\+");
|
|
285
266
|
return `# Begin Podfile - ${pluginPodFilePath}`;
|
|
286
267
|
}
|
|
@@ -350,4 +331,3 @@ exports.CocoaPodsService = CocoaPodsService;
|
|
|
350
331
|
CocoaPodsService.PODFILE_POST_INSTALL_SECTION_NAME = "post_install";
|
|
351
332
|
CocoaPodsService.INSTALLER_BLOCK_PARAMETER_NAME = "installer";
|
|
352
333
|
yok_1.injector.register("cocoapodsService", CocoaPodsService);
|
|
353
|
-
//# sourceMappingURL=cocoapods-service.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IProjectData } from "../definitions/project";
|
|
2
|
+
import { IDebugOptions, IDebugData, IDebugDataService } from "../definitions/debug";
|
|
3
|
+
export declare class DebugDataService implements IDebugDataService {
|
|
4
|
+
private $devicesService;
|
|
5
|
+
constructor($devicesService: Mobile.IDevicesService);
|
|
6
|
+
getDebugData(deviceIdentifier: string, projectData: IProjectData, debugOptions: IDebugOptions): IDebugData;
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from "events";
|
|
2
|
+
import { IDebugData, IDebugOptions, IDeviceDebugService, IDebugResultInfo } from "../definitions/debug";
|
|
3
|
+
export declare abstract class DebugServiceBase extends EventEmitter implements IDeviceDebugService {
|
|
4
|
+
protected device: Mobile.IDevice;
|
|
5
|
+
protected $devicesService: Mobile.IDevicesService;
|
|
6
|
+
constructor(device: Mobile.IDevice, $devicesService: Mobile.IDevicesService);
|
|
7
|
+
abstract get platform(): string;
|
|
8
|
+
abstract debug(debugData: IDebugData, debugOptions: IDebugOptions): Promise<IDebugResultInfo>;
|
|
9
|
+
abstract debugStop(): Promise<void>;
|
|
10
|
+
protected getCanExecuteAction(deviceIdentifier: string): (device: Mobile.IDevice) => boolean;
|
|
11
|
+
protected getChromeDebugUrl(debugOptions: IDebugOptions, port: number): string;
|
|
12
|
+
}
|
|
@@ -27,12 +27,6 @@ class DebugServiceBase extends events_1.EventEmitter {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
getChromeDebugUrl(debugOptions, port) {
|
|
30
|
-
// corresponds to 55.0.2883 Chrome version
|
|
31
|
-
// SHA is taken from https://chromium.googlesource.com/chromium/src/+/55.0.2883.100
|
|
32
|
-
// This SHA is old and does not support debugging with HMR.
|
|
33
|
-
// In case we want to stick with concrete SHA, get it from one of the tags https://chromium.googlesource.com/chromium/src/
|
|
34
|
-
// IMPORTANT: When you get the SHA, ensure you are using the `parent` commit, not the actual one.
|
|
35
|
-
// Using the actual commit will result in 404 error in the remote serve.
|
|
36
30
|
const commitSHA = debugOptions.devToolsCommit || "02e6bde1bbe34e43b309d4ef774b1168d25fd024";
|
|
37
31
|
const devToolsProtocol = `devtools`;
|
|
38
32
|
let chromeDevToolsPrefix = `${devToolsProtocol}://devtools/remote/serve_file/@${commitSHA}`;
|
|
@@ -48,4 +42,3 @@ class DebugServiceBase extends events_1.EventEmitter {
|
|
|
48
42
|
}
|
|
49
43
|
}
|
|
50
44
|
exports.DebugServiceBase = DebugServiceBase;
|
|
51
|
-
//# sourceMappingURL=debug-service-base.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IBuildArtifactsService, IBuildInfoFileService, IBuildData } from "../../definitions/build";
|
|
2
|
+
import { IProjectDataService } from "../../definitions/project";
|
|
3
|
+
import { IPlatformsDataService } from "../../definitions/platform";
|
|
4
|
+
import { IAnalyticsService, IFileSystem } from "../../common/declarations";
|
|
5
|
+
export declare class DeviceInstallAppService {
|
|
6
|
+
private $analyticsService;
|
|
7
|
+
private $buildArtifactsService;
|
|
8
|
+
private $buildInfoFileService;
|
|
9
|
+
private $fs;
|
|
10
|
+
private $logger;
|
|
11
|
+
private $mobileHelper;
|
|
12
|
+
private $projectDataService;
|
|
13
|
+
private $platformsDataService;
|
|
14
|
+
constructor($analyticsService: IAnalyticsService, $buildArtifactsService: IBuildArtifactsService, $buildInfoFileService: IBuildInfoFileService, $fs: IFileSystem, $logger: ILogger, $mobileHelper: Mobile.IMobileHelper, $projectDataService: IProjectDataService, $platformsDataService: IPlatformsDataService);
|
|
15
|
+
installOnDevice(device: Mobile.IDevice, buildData: IBuildData, packageFile?: string): Promise<void>;
|
|
16
|
+
installOnDeviceIfNeeded(device: Mobile.IDevice, buildData: IBuildData, packageFile?: string): Promise<void>;
|
|
17
|
+
shouldInstall(device: Mobile.IDevice, buildData: IBuildData): Promise<boolean>;
|
|
18
|
+
private updateHashesOnDevice;
|
|
19
|
+
}
|
|
@@ -21,7 +21,7 @@ class DeviceInstallAppService {
|
|
|
21
21
|
const projectData = this.$projectDataService.getProjectData(buildData.projectDir);
|
|
22
22
|
const platformData = this.$platformsDataService.getPlatformData(platform, projectData);
|
|
23
23
|
await this.$analyticsService.trackEventActionInGoogleAnalytics({
|
|
24
|
-
action:
|
|
24
|
+
action: constants_1.TrackActionNames.Deploy,
|
|
25
25
|
device,
|
|
26
26
|
projectDir: projectData.projectDir,
|
|
27
27
|
});
|
|
@@ -77,4 +77,3 @@ class DeviceInstallAppService {
|
|
|
77
77
|
}
|
|
78
78
|
exports.DeviceInstallAppService = DeviceInstallAppService;
|
|
79
79
|
yok_1.injector.register("deviceInstallAppService", DeviceInstallAppService);
|
|
80
|
-
//# sourceMappingURL=device-install-app-service.js.map
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { IProjectDataService } from "../definitions/project";
|
|
2
|
+
import { IVersionsService, IOptions } from "../declarations";
|
|
3
|
+
import { IDoctorService, IAnalyticsService, IHostInfo, IChildProcess, IFileSystem, ISettingsService, ISpawnResult } from "../common/declarations";
|
|
4
|
+
import { IInjector } from "../common/definitions/yok";
|
|
5
|
+
import { DoctorService as DoctorServiceContract } from "../contracts/doctor-service";
|
|
6
|
+
import { ITerminalSpinnerService } from "../definitions/terminal-spinner-service";
|
|
7
|
+
export declare class DoctorServiceImpl implements IDoctorService, DoctorServiceContract {
|
|
8
|
+
private $analyticsService;
|
|
9
|
+
private $hostInfo;
|
|
10
|
+
private $logger;
|
|
11
|
+
private $childProcess;
|
|
12
|
+
private $injector;
|
|
13
|
+
private $projectDataService;
|
|
14
|
+
private $fs;
|
|
15
|
+
private $terminalSpinnerService;
|
|
16
|
+
private $versionsService;
|
|
17
|
+
private $settingsService;
|
|
18
|
+
private static DarwinSetupScriptLocation;
|
|
19
|
+
private static WindowsSetupScriptExecutable;
|
|
20
|
+
private static WindowsSetupScriptArguments;
|
|
21
|
+
private get jsonFileSettingsPath();
|
|
22
|
+
private get $jsonFileSettingsService();
|
|
23
|
+
constructor($analyticsService: IAnalyticsService, $hostInfo: IHostInfo, $logger: ILogger, $childProcess: IChildProcess, $injector: IInjector, $projectDataService: IProjectDataService, $fs: IFileSystem, $terminalSpinnerService: ITerminalSpinnerService, $versionsService: IVersionsService, $settingsService: ISettingsService);
|
|
24
|
+
printWarnings(configOptions?: {
|
|
25
|
+
trackResult?: boolean;
|
|
26
|
+
projectDir?: string;
|
|
27
|
+
runtimeVersion?: string;
|
|
28
|
+
options?: IOptions;
|
|
29
|
+
forceCheck?: boolean;
|
|
30
|
+
platform?: string;
|
|
31
|
+
}): Promise<void>;
|
|
32
|
+
runSetupScript(): Promise<ISpawnResult>;
|
|
33
|
+
canExecuteLocalBuild(configuration?: {
|
|
34
|
+
platform?: string;
|
|
35
|
+
projectDir?: string;
|
|
36
|
+
runtimeVersion?: string;
|
|
37
|
+
forceCheck?: boolean;
|
|
38
|
+
}): Promise<boolean>;
|
|
39
|
+
checkForDeprecatedShortImportsInAppDir(projectDir: string): void;
|
|
40
|
+
protected getDeprecatedShortImportsInFiles(files: string[], projectDir: string): {
|
|
41
|
+
file: string;
|
|
42
|
+
line: string;
|
|
43
|
+
}[];
|
|
44
|
+
private getShortImportRegExp;
|
|
45
|
+
private runSetupScriptCore;
|
|
46
|
+
private printPackageManagerTip;
|
|
47
|
+
private printInfosCore;
|
|
48
|
+
private filterInfosByType;
|
|
49
|
+
private getKeyForConfiguration;
|
|
50
|
+
private getInfos;
|
|
51
|
+
}
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
9
|
+
exports.DoctorServiceImpl = void 0;
|
|
10
10
|
const os_1 = require("os");
|
|
11
11
|
const path = require("path");
|
|
12
12
|
const _ = require("lodash");
|
|
@@ -16,7 +16,7 @@ const constants_1 = require("../constants");
|
|
|
16
16
|
const doctor_1 = require("@nativescript/doctor");
|
|
17
17
|
const yok_1 = require("../common/yok");
|
|
18
18
|
const color_1 = require("../color");
|
|
19
|
-
class
|
|
19
|
+
class DoctorServiceImpl {
|
|
20
20
|
get jsonFileSettingsPath() {
|
|
21
21
|
return path.join(this.$settingsService.getProfileDir(), "doctor-cache.json");
|
|
22
22
|
}
|
|
@@ -52,13 +52,9 @@ class DoctorService {
|
|
|
52
52
|
this.printPackageManagerTip();
|
|
53
53
|
}
|
|
54
54
|
if (!configOptions || configOptions.trackResult) {
|
|
55
|
-
// TODO(Analytics): Consider sending this information to Google Analytics
|
|
56
|
-
// await this.$analyticsService.track("DoctorEnvironmentSetup", hasWarnings ? "incorrect" : "correct");
|
|
57
55
|
}
|
|
58
56
|
if (hasWarnings) {
|
|
59
57
|
this.$logger.info("There seem to be issues with your configuration.");
|
|
60
|
-
// cleanup the cache file as there seems to be issues with the current config
|
|
61
|
-
// all projects need to be rechecked
|
|
62
58
|
this.$fs.deleteFile(this.jsonFileSettingsPath);
|
|
63
59
|
}
|
|
64
60
|
else {
|
|
@@ -72,7 +68,6 @@ class DoctorService {
|
|
|
72
68
|
catch (err) {
|
|
73
69
|
this.$logger.error("Cannot get the latest versions information from npm. Please try again later.");
|
|
74
70
|
}
|
|
75
|
-
// todo: check for deprecated imports from `tns-core-modules`
|
|
76
71
|
this.checkForDeprecatedShortImportsInAppDir(configOptions.projectDir);
|
|
77
72
|
await this.$injector
|
|
78
73
|
.resolve("platformEnvironmentRequirements")
|
|
@@ -85,31 +80,34 @@ class DoctorService {
|
|
|
85
80
|
}
|
|
86
81
|
async runSetupScript() {
|
|
87
82
|
await this.$analyticsService.trackEventActionInGoogleAnalytics({
|
|
88
|
-
action:
|
|
83
|
+
action: constants_1.TrackActionNames.RunSetupScript,
|
|
89
84
|
additionalData: "Starting",
|
|
90
85
|
});
|
|
91
86
|
if (this.$hostInfo.isLinux) {
|
|
92
87
|
await this.$analyticsService.trackEventActionInGoogleAnalytics({
|
|
93
|
-
action:
|
|
88
|
+
action: constants_1.TrackActionNames.RunSetupScript,
|
|
94
89
|
additionalData: "Skipped as OS is Linux",
|
|
95
90
|
});
|
|
96
91
|
return;
|
|
97
92
|
}
|
|
98
93
|
this.$logger.info("Running the setup script to try and automatically configure your environment.");
|
|
94
|
+
let result;
|
|
99
95
|
if (this.$hostInfo.isDarwin) {
|
|
100
|
-
await this.runSetupScriptCore(
|
|
96
|
+
result = await this.runSetupScriptCore(DoctorServiceImpl.DarwinSetupScriptLocation, []);
|
|
101
97
|
}
|
|
102
98
|
if (this.$hostInfo.isWindows) {
|
|
103
|
-
await this.runSetupScriptCore(
|
|
99
|
+
result = await this.runSetupScriptCore(DoctorServiceImpl.WindowsSetupScriptExecutable, DoctorServiceImpl.WindowsSetupScriptArguments);
|
|
104
100
|
}
|
|
105
101
|
await this.$analyticsService.trackEventActionInGoogleAnalytics({
|
|
106
|
-
action:
|
|
102
|
+
action: constants_1.TrackActionNames.RunSetupScript,
|
|
107
103
|
additionalData: "Finished",
|
|
108
104
|
});
|
|
105
|
+
return result;
|
|
109
106
|
}
|
|
110
107
|
async canExecuteLocalBuild(configuration) {
|
|
108
|
+
configuration = configuration || {};
|
|
111
109
|
await this.$analyticsService.trackEventActionInGoogleAnalytics({
|
|
112
|
-
action:
|
|
110
|
+
action: constants_1.TrackActionNames.CheckLocalBuildSetup,
|
|
113
111
|
additionalData: "Starting",
|
|
114
112
|
});
|
|
115
113
|
const sysInfoConfig = {
|
|
@@ -121,11 +119,9 @@ class DoctorService {
|
|
|
121
119
|
const warnings = this.filterInfosByType(infos, doctor_1.constants.WARNING_TYPE_NAME);
|
|
122
120
|
const hasWarnings = warnings.length > 0;
|
|
123
121
|
if (hasWarnings) {
|
|
124
|
-
// cleanup the cache file as there seems to be issues with the current config
|
|
125
|
-
// all projects need to be rechecked
|
|
126
122
|
this.$fs.deleteFile(this.jsonFileSettingsPath);
|
|
127
123
|
await this.$analyticsService.trackEventActionInGoogleAnalytics({
|
|
128
|
-
action:
|
|
124
|
+
action: constants_1.TrackActionNames.CheckLocalBuildSetup,
|
|
129
125
|
additionalData: `Warnings:${warnings.map((w) => w.message).join("__")}`,
|
|
130
126
|
});
|
|
131
127
|
this.printInfosCore(infos);
|
|
@@ -135,7 +131,7 @@ class DoctorService {
|
|
|
135
131
|
await this.$jsonFileSettingsService.saveSetting(this.getKeyForConfiguration(sysInfoConfig), infos);
|
|
136
132
|
}
|
|
137
133
|
await this.$analyticsService.trackEventActionInGoogleAnalytics({
|
|
138
|
-
action:
|
|
134
|
+
action: constants_1.TrackActionNames.CheckLocalBuildSetup,
|
|
139
135
|
additionalData: `Finished: Is setup correct: ${!hasWarnings}`,
|
|
140
136
|
});
|
|
141
137
|
return !hasWarnings;
|
|
@@ -183,13 +179,6 @@ class DoctorService {
|
|
|
183
179
|
.getFsStats(path.join(pathToTnsCoreModules, entry))
|
|
184
180
|
.isDirectory());
|
|
185
181
|
const stringRegularExpressionsPerDir = coreModulesSubDirs.map((c) => {
|
|
186
|
-
// require("text");
|
|
187
|
-
// require("text/smth");
|
|
188
|
-
// require( "text/smth");
|
|
189
|
-
// require( "text/smth" );
|
|
190
|
-
// import * as text from "text";
|
|
191
|
-
// import { a } from "text";
|
|
192
|
-
// import {a } from "text/abc"
|
|
193
182
|
const subDirPart = `[\"\']${c}[\"\'/]`;
|
|
194
183
|
return `(\\brequire\\s*?\\(\\s*?${subDirPart})|(\\bimport\\b.*?from\\s*?${subDirPart})`;
|
|
195
184
|
});
|
|
@@ -268,10 +257,10 @@ class DoctorService {
|
|
|
268
257
|
return infos;
|
|
269
258
|
}
|
|
270
259
|
}
|
|
271
|
-
exports.
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
260
|
+
exports.DoctorServiceImpl = DoctorServiceImpl;
|
|
261
|
+
DoctorServiceImpl.DarwinSetupScriptLocation = path.join(__dirname, "..", "..", "setup", "mac-startup-shell-script.sh");
|
|
262
|
+
DoctorServiceImpl.WindowsSetupScriptExecutable = "powershell.exe";
|
|
263
|
+
DoctorServiceImpl.WindowsSetupScriptArguments = [
|
|
275
264
|
"start-process",
|
|
276
265
|
"-FilePath",
|
|
277
266
|
"PowerShell.exe",
|
|
@@ -282,9 +271,8 @@ DoctorService.WindowsSetupScriptArguments = [
|
|
|
282
271
|
];
|
|
283
272
|
__decorate([
|
|
284
273
|
(0, decorators_1.cache)()
|
|
285
|
-
],
|
|
274
|
+
], DoctorServiceImpl.prototype, "jsonFileSettingsPath", null);
|
|
286
275
|
__decorate([
|
|
287
276
|
(0, decorators_1.cache)()
|
|
288
|
-
],
|
|
289
|
-
yok_1.injector.register("doctorService",
|
|
290
|
-
//# sourceMappingURL=doctor-service.js.map
|
|
277
|
+
], DoctorServiceImpl.prototype, "$jsonFileSettingsService", null);
|
|
278
|
+
yok_1.injector.register("doctorService", DoctorServiceImpl);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { INodePackageManager } from "../declarations";
|
|
2
|
+
import { IFileSystem, ISettingsService, IStringDictionary } from "../common/declarations";
|
|
3
|
+
import { IExtensibilityService, IExtensionData, IExtensionCommandInfo, IGetExtensionCommandInfoParams } from "../common/definitions/extensibility";
|
|
4
|
+
import { IInjector } from "../common/definitions/yok";
|
|
5
|
+
export declare class ExtensibilityService implements IExtensibilityService {
|
|
6
|
+
private $fs;
|
|
7
|
+
private $logger;
|
|
8
|
+
private $packageManager;
|
|
9
|
+
private $settingsService;
|
|
10
|
+
private $requireService;
|
|
11
|
+
private $injector;
|
|
12
|
+
private customPathToExtensions;
|
|
13
|
+
private commandRegistry;
|
|
14
|
+
private get pathToPackageJson();
|
|
15
|
+
get pathToExtensions(): string;
|
|
16
|
+
set pathToExtensions(pathToExtensions: string);
|
|
17
|
+
constructor($fs: IFileSystem, $logger: ILogger, $packageManager: INodePackageManager, $settingsService: ISettingsService, $requireService: IRequireService, $injector: IInjector);
|
|
18
|
+
installExtension(extensionName: string): Promise<IExtensionData>;
|
|
19
|
+
uninstallExtension(extensionName: string): Promise<void>;
|
|
20
|
+
removeAllExtensions(): void;
|
|
21
|
+
getInstalledExtensionsData(): IExtensionData[];
|
|
22
|
+
loadExtensions(): Promise<IExtensionData>[];
|
|
23
|
+
getInstalledExtensions(): IStringDictionary;
|
|
24
|
+
private getInstalledExtensionData;
|
|
25
|
+
loadExtension(extensionName: string): Promise<IExtensionData>;
|
|
26
|
+
getExtensionNameWhereCommandIsRegistered(inputOpts: IGetExtensionCommandInfoParams): Promise<IExtensionCommandInfo>;
|
|
27
|
+
private getDeclaredCommandsMap;
|
|
28
|
+
private registerDeclaredCommands;
|
|
29
|
+
private loadDeclaredCommand;
|
|
30
|
+
private warnOnDeclaredNameMismatch;
|
|
31
|
+
private getPathToExtension;
|
|
32
|
+
private getExtensionPackageJsonData;
|
|
33
|
+
private assertExtensionIsInstalled;
|
|
34
|
+
private assertExtensionsDirExists;
|
|
35
|
+
private assertPackageJsonExists;
|
|
36
|
+
}
|