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,331 @@
|
|
|
1
|
+
import { IStringDictionary, IiTunesConnectApplicationType } from "./common/declarations";
|
|
2
|
+
export declare const APP_FOLDER_NAME = "app";
|
|
3
|
+
export declare const APP_RESOURCES_FOLDER_NAME = "App_Resources";
|
|
4
|
+
export declare const PROJECT_FRAMEWORK_FOLDER_NAME = "framework";
|
|
5
|
+
export declare const NS_BASE_PODFILE = "NSPodfileBase";
|
|
6
|
+
export declare const NATIVESCRIPT_KEY_NAME = "nativescript";
|
|
7
|
+
export declare const NODE_MODULES_FOLDER_NAME = "node_modules";
|
|
8
|
+
export declare const TNS_MODULES_FOLDER_NAME = "tns_modules";
|
|
9
|
+
export declare const TNS_CORE_MODULES_NAME = "tns-core-modules";
|
|
10
|
+
export declare const SCOPED_TNS_CORE_MODULES = "@nativescript/core";
|
|
11
|
+
export declare const TNS_CORE_THEME_NAME = "nativescript-theme-core";
|
|
12
|
+
export declare const SCOPED_TNS_CORE_THEME_NAME = "@nativescript/theme";
|
|
13
|
+
export declare const WEBPACK_PLUGIN_NAME = "@nativescript/webpack";
|
|
14
|
+
export declare const RSPACK_PLUGIN_NAME = "@nativescript/rspack";
|
|
15
|
+
export declare const VITE_DIST_FOLDER_NAME = ".ns-vite-build";
|
|
16
|
+
export declare const TNS_CORE_MODULES_WIDGETS_NAME = "tns-core-modules-widgets";
|
|
17
|
+
export declare const UI_MOBILE_BASE_NAME = "@nativescript/ui-mobile-base";
|
|
18
|
+
export declare const TNS_ANDROID_RUNTIME_NAME = "tns-android";
|
|
19
|
+
export declare const TNS_IOS_RUNTIME_NAME = "tns-ios";
|
|
20
|
+
export declare const SCOPED_ANDROID_RUNTIME_NAME = "@nativescript/android";
|
|
21
|
+
export declare const SCOPED_IOS_RUNTIME_NAME = "@nativescript/ios";
|
|
22
|
+
export declare const SCOPED_VISIONOS_RUNTIME_NAME = "@nativescript/visionos";
|
|
23
|
+
export declare const PACKAGE_JSON_FILE_NAME = "package.json";
|
|
24
|
+
export declare const PACKAGE_LOCK_JSON_FILE_NAME = "package-lock.json";
|
|
25
|
+
export declare const ANDROID_DEVICE_APP_ROOT_TEMPLATE = "/data/data/%s/files";
|
|
26
|
+
export declare const NODE_MODULE_CACHE_PATH_KEY_NAME = "node-modules-cache-path";
|
|
27
|
+
export declare const DEFAULT_APP_IDENTIFIER_PREFIX = "org.nativescript";
|
|
28
|
+
export declare const LIVESYNC_EXCLUDED_DIRECTORIES: string[];
|
|
29
|
+
export declare const TESTING_FRAMEWORKS: string[];
|
|
30
|
+
export declare const TEST_RUNNER_NAME = "@nativescript/unit-test-runner";
|
|
31
|
+
export declare const LIVESYNC_EXCLUDED_FILE_PATTERNS: string[];
|
|
32
|
+
export declare const XML_FILE_EXTENSION = ".xml";
|
|
33
|
+
export declare const PLATFORMS_DIR_NAME = "platforms";
|
|
34
|
+
export declare const HOOKS_DIR_NAME = "hooks";
|
|
35
|
+
export declare const WEBPACK_CONFIG_NAME = "webpack.config.js";
|
|
36
|
+
export declare const RSPACK_CONFIG_NAME = "rspack.config.js";
|
|
37
|
+
export declare const TSCCONFIG_TNS_JSON_NAME = "tsconfig.tns.json";
|
|
38
|
+
export declare const KARMA_CONFIG_NAME = "karma.conf.js";
|
|
39
|
+
export declare const LIB_DIR_NAME = "lib";
|
|
40
|
+
export declare const CODE_SIGN_ENTITLEMENTS = "CODE_SIGN_ENTITLEMENTS";
|
|
41
|
+
export declare const AWAIT_NOTIFICATION_TIMEOUT_SECONDS = 9;
|
|
42
|
+
export declare const SRC_DIR = "src";
|
|
43
|
+
export declare const MAIN_DIR = "main";
|
|
44
|
+
export declare const ASSETS_DIR = "assets";
|
|
45
|
+
export declare const FONTS_DIR = "fonts";
|
|
46
|
+
export declare const ANDROID_ANALYTICS_DATA_DIR = "analytics";
|
|
47
|
+
export declare const ANDROID_ANALYTICS_DATA_FILE = "build-statistics.json";
|
|
48
|
+
export declare const MANIFEST_FILE_NAME = "AndroidManifest.xml";
|
|
49
|
+
export declare const APP_GRADLE_FILE_NAME = "app.gradle";
|
|
50
|
+
export declare const INFO_PLIST_FILE_NAME = "Info.plist";
|
|
51
|
+
export declare const INCLUDE_GRADLE_NAME = "include.gradle";
|
|
52
|
+
export declare const BUILD_XCCONFIG_FILE_NAME = "build.xcconfig";
|
|
53
|
+
export declare const BUILD_DIR = "build";
|
|
54
|
+
export declare const OUTPUTS_DIR = "outputs";
|
|
55
|
+
export declare const APK_DIR = "apk";
|
|
56
|
+
export declare const BUNDLE_DIR = "bundle";
|
|
57
|
+
export declare const RESOURCES_DIR = "res";
|
|
58
|
+
export declare const CONFIG_NS_FILE_NAME = "nsconfig.json";
|
|
59
|
+
export declare const CONFIG_NS_APP_RESOURCES_ENTRY = "appResourcesPath";
|
|
60
|
+
export declare const CONFIG_NS_APP_ENTRY = "appPath";
|
|
61
|
+
export declare const CONFIG_FILE_NAME_DISPLAY = "nativescript.config.(js|ts)";
|
|
62
|
+
export declare const CONFIG_FILE_NAME_JS = "nativescript.config.js";
|
|
63
|
+
export declare const CONFIG_FILE_NAME_TS = "nativescript.config.ts";
|
|
64
|
+
export declare const DEPENDENCIES_JSON_NAME = "dependencies.json";
|
|
65
|
+
export declare const APK_EXTENSION_NAME = ".apk";
|
|
66
|
+
export declare const AAB_EXTENSION_NAME = ".aab";
|
|
67
|
+
export declare const APKS_EXTENSION_NAME = ".apks";
|
|
68
|
+
export declare const HASHES_FILE_NAME = ".nshashes";
|
|
69
|
+
export declare const TNS_NATIVE_SOURCE_GROUP_NAME = "AppResourcesSrc";
|
|
70
|
+
export declare const NATIVE_SOURCE_FOLDER = "src";
|
|
71
|
+
export declare const APPLICATION_RESPONSE_TIMEOUT_SECONDS = 60;
|
|
72
|
+
export declare const NATIVE_EXTENSION_FOLDER = "extensions";
|
|
73
|
+
export declare const IOS_WATCHAPP_FOLDER = "watchapp";
|
|
74
|
+
export declare const IOS_WATCHAPP_EXTENSION_FOLDER = "watchextension";
|
|
75
|
+
export declare class MetadataFilteringConstants {
|
|
76
|
+
static NATIVE_API_USAGE_FILE_NAME: string;
|
|
77
|
+
static WHITELIST_FILE_NAME: string;
|
|
78
|
+
static BLACKLIST_FILE_NAME: string;
|
|
79
|
+
}
|
|
80
|
+
export declare class PackageVersion {
|
|
81
|
+
static NEXT: string;
|
|
82
|
+
static LATEST: string;
|
|
83
|
+
static RC: string;
|
|
84
|
+
}
|
|
85
|
+
export declare class LiveSyncTrackActionNames {
|
|
86
|
+
static LIVESYNC_OPERATION: string;
|
|
87
|
+
static LIVESYNC_OPERATION_BUILD: string;
|
|
88
|
+
static DEVICE_INFO: string;
|
|
89
|
+
}
|
|
90
|
+
export declare const PackageJsonKeysToKeep: Array<String>;
|
|
91
|
+
export declare const TemplatesV2PackageJsonKeysToRemove: Array<String>;
|
|
92
|
+
export declare class SaveOptions {
|
|
93
|
+
static PRODUCTION: string;
|
|
94
|
+
static DEV: string;
|
|
95
|
+
static OPTIONAL: string;
|
|
96
|
+
static EXACT: string;
|
|
97
|
+
}
|
|
98
|
+
export declare class ReleaseType {
|
|
99
|
+
static MAJOR: string;
|
|
100
|
+
static PREMAJOR: string;
|
|
101
|
+
static MINOR: string;
|
|
102
|
+
static PREMINOR: string;
|
|
103
|
+
static PATCH: string;
|
|
104
|
+
static PREPATCH: string;
|
|
105
|
+
static PRERELEASE: string;
|
|
106
|
+
}
|
|
107
|
+
export declare const RESERVED_TEMPLATE_NAMES: IStringDictionary;
|
|
108
|
+
export declare const ANALYTICS_LOCAL_TEMPLATE_PREFIX = "localTemplate_";
|
|
109
|
+
export declare class ITMSConstants {
|
|
110
|
+
static ApplicationMetadataFile: string;
|
|
111
|
+
static VerboseLoggingLevels: {
|
|
112
|
+
Informational: string;
|
|
113
|
+
Verbose: string;
|
|
114
|
+
};
|
|
115
|
+
static iTMSExecutableName: string;
|
|
116
|
+
static iTMSDirectoryName: string;
|
|
117
|
+
static altoolExecutableName: string;
|
|
118
|
+
}
|
|
119
|
+
declare class ItunesConnectApplicationTypesClass implements IiTunesConnectApplicationType {
|
|
120
|
+
iOS: string;
|
|
121
|
+
Mac: string;
|
|
122
|
+
}
|
|
123
|
+
export declare const iOSAppResourcesFolderName = "iOS";
|
|
124
|
+
export declare const androidAppResourcesFolderName = "Android";
|
|
125
|
+
export declare const ItunesConnectApplicationTypes: ItunesConnectApplicationTypesClass;
|
|
126
|
+
export declare const VUE_NAME = "vue";
|
|
127
|
+
export declare const ANGULAR_NAME = "angular";
|
|
128
|
+
export declare const JAVASCRIPT_NAME = "javascript";
|
|
129
|
+
export declare const TYPESCRIPT_NAME = "typescript";
|
|
130
|
+
export declare const REACT_NAME = "react";
|
|
131
|
+
export declare const SOLID_NAME = "solid";
|
|
132
|
+
export declare const SVELTE_NAME = "svelte";
|
|
133
|
+
export declare const NgFlavorName = "Angular";
|
|
134
|
+
export declare const VueFlavorName = "Vue.js";
|
|
135
|
+
export declare const ReactFlavorName = "React";
|
|
136
|
+
export declare const SolidFlavorName = "Solid";
|
|
137
|
+
export declare const SvelteFlavorName = "Svelte";
|
|
138
|
+
export declare const TsFlavorName = "Plain TypeScript";
|
|
139
|
+
export declare const JsFlavorName = "Plain JavaScript";
|
|
140
|
+
export declare class ProjectTypes {
|
|
141
|
+
static NgFlavorName: string;
|
|
142
|
+
static VueFlavorName: string;
|
|
143
|
+
static TsFlavorName: string;
|
|
144
|
+
static JsFlavorName: string;
|
|
145
|
+
static ReactFlavorName: string;
|
|
146
|
+
static SolidFlavorName: string;
|
|
147
|
+
static SvelteFlavorName: string;
|
|
148
|
+
}
|
|
149
|
+
export declare const BUILD_OUTPUT_EVENT_NAME = "buildOutput";
|
|
150
|
+
export declare const CONNECTION_ERROR_EVENT_NAME = "connectionError";
|
|
151
|
+
export declare const USER_INTERACTION_NEEDED_EVENT_NAME = "userInteractionNeeded";
|
|
152
|
+
export declare const DEBUGGER_ATTACHED_EVENT_NAME = "debuggerAttached";
|
|
153
|
+
export declare const DEBUGGER_DETACHED_EVENT_NAME = "debuggerDetached";
|
|
154
|
+
export declare const VERSION_STRING = "version";
|
|
155
|
+
export declare const INSPECTOR_CACHE_DIRNAME = "ios-inspector";
|
|
156
|
+
export declare const BUNDLETOOL_CACHE_DIRNAME = "bundletool";
|
|
157
|
+
export declare const BUNDLETOOL_VERSION = "1.18.2";
|
|
158
|
+
export declare const BUNDLETOOL_SHA256 = "378b5434cd1378bef6b2bc527b8c7f0ff2584b273830335bce54d6d0813c8584";
|
|
159
|
+
export declare const BUNDLETOOL_RELEASES_URL = "https://github.com/google/bundletool/releases/download";
|
|
160
|
+
export declare const BUNDLETOOL_PATH_ENV_VAR = "NS_BUNDLETOOL_PATH";
|
|
161
|
+
export declare const POST_INSTALL_COMMAND_NAME = "post-install-cli";
|
|
162
|
+
export declare const ANDROID_RELEASE_BUILD_ERROR_MESSAGE = "When producing a release build, you need to specify all --key-store-* options.";
|
|
163
|
+
export declare const ANDROID_APP_BUNDLE_SIGNING_ERROR_MESSAGE = "When producing Android App Bundle, you need to specify all --key-store-* options.";
|
|
164
|
+
export declare const CACACHE_DIRECTORY_NAME = "_cacache";
|
|
165
|
+
export declare const FILES_CHANGE_EVENT_NAME = "filesChangeEvent";
|
|
166
|
+
export declare const INITIAL_SYNC_EVENT_NAME = "initialSyncEvent";
|
|
167
|
+
export declare const PREPARE_READY_EVENT_NAME = "prepareReadyEvent";
|
|
168
|
+
export declare const BUNDLER_COMPILATION_COMPLETE = "bundlerCompilationComplete";
|
|
169
|
+
export declare class DebugCommandErrors {
|
|
170
|
+
static UNABLE_TO_USE_FOR_DEVICE_AND_EMULATOR: string;
|
|
171
|
+
static NO_DEVICES_EMULATORS_FOUND_FOR_OPTIONS: string;
|
|
172
|
+
static UNSUPPORTED_DEVICE_OS_FOR_DEBUGGING: string;
|
|
173
|
+
}
|
|
174
|
+
export declare const enum ShouldMigrate {
|
|
175
|
+
NO = 0,
|
|
176
|
+
YES = 1,
|
|
177
|
+
ADVISED = 2
|
|
178
|
+
}
|
|
179
|
+
export declare const enum NativePlatformStatus {
|
|
180
|
+
requiresPlatformAdd = "1",
|
|
181
|
+
requiresPrepare = "2",
|
|
182
|
+
alreadyPrepared = "3"
|
|
183
|
+
}
|
|
184
|
+
export declare const enum DebugTools {
|
|
185
|
+
Chrome = "Chrome",
|
|
186
|
+
Inspector = "Inspector"
|
|
187
|
+
}
|
|
188
|
+
export declare const enum TrackActionNames {
|
|
189
|
+
Build = "Build",
|
|
190
|
+
CreateProject = "Create project",
|
|
191
|
+
UsingTemplate = "Using Template",
|
|
192
|
+
Debug = "Debug",
|
|
193
|
+
Deploy = "Deploy",
|
|
194
|
+
LiveSync = "LiveSync",
|
|
195
|
+
RunSetupScript = "Run Setup Script",
|
|
196
|
+
CheckLocalBuildSetup = "Check Local Build Setup",
|
|
197
|
+
CheckEnvironmentRequirements = "Check Environment Requirements",
|
|
198
|
+
Options = "Options",
|
|
199
|
+
AcceptTracking = "Accept Tracking",
|
|
200
|
+
Performance = "Performance",
|
|
201
|
+
UninstallCLI = "Uninstall CLI",
|
|
202
|
+
UsingRuntimeVersion = "Using Runtime Version",
|
|
203
|
+
AddPlatform = "Add Platform",
|
|
204
|
+
UsingKotlin = "Using Kotlin"
|
|
205
|
+
}
|
|
206
|
+
export declare const AnalyticsEventLabelDelimiter = "__";
|
|
207
|
+
export declare const enum BuildStates {
|
|
208
|
+
Clean = "Clean",
|
|
209
|
+
Incremental = "Incremental"
|
|
210
|
+
}
|
|
211
|
+
export declare const NATIVESCRIPT_PROPS_INTERNAL_DELIMITER = "**|__**";
|
|
212
|
+
export declare const CLI_RESOURCES_DIR_NAME = "resources";
|
|
213
|
+
export declare class AssetConstants {
|
|
214
|
+
static iOSResourcesFileName: string;
|
|
215
|
+
static iOSAssetsDirName: string;
|
|
216
|
+
static iOSIconsDirName: string;
|
|
217
|
+
static iOSSplashBackgroundsDirName: string;
|
|
218
|
+
static iOSSplashCenterImagesDirName: string;
|
|
219
|
+
static iOSSplashImagesDirName: string;
|
|
220
|
+
static imageDefinitionsFileName: string;
|
|
221
|
+
static assets: string;
|
|
222
|
+
static sizeDelimiter: string;
|
|
223
|
+
static defaultScale: number;
|
|
224
|
+
static defaultOverlayImageScale: number;
|
|
225
|
+
}
|
|
226
|
+
export declare class MacOSVersions {
|
|
227
|
+
static Sierra: string;
|
|
228
|
+
static HighSierra: string;
|
|
229
|
+
static Mojave: string;
|
|
230
|
+
static Catalina: string;
|
|
231
|
+
}
|
|
232
|
+
export declare const MacOSDeprecationStringFormat = "NativeScript does not support macOS %s and some functionality may not work. Please, upgrade to the latest macOS version.";
|
|
233
|
+
export declare const XcodeDeprecationStringFormat = "The current Xcode version %s will not be supported in the next release of NativeScript. Consider updating your Xcode to latest official version.";
|
|
234
|
+
export declare class Hooks {
|
|
235
|
+
static createProject: string;
|
|
236
|
+
}
|
|
237
|
+
export declare class AndroidBuildDefaults {
|
|
238
|
+
static GradleVersion: string;
|
|
239
|
+
static GradleAndroidPluginVersion: string;
|
|
240
|
+
}
|
|
241
|
+
export declare const PACKAGE_PLACEHOLDER_NAME = "__PACKAGE__";
|
|
242
|
+
export declare class AddPlaformErrors {
|
|
243
|
+
static InvalidFrameworkPathStringFormat: string;
|
|
244
|
+
}
|
|
245
|
+
export declare const PLUGIN_BUILD_DATA_FILENAME = "plugin-data.json";
|
|
246
|
+
export declare const PLUGINS_BUILD_DATA_FILENAME = ".ns-plugins-build-data.json";
|
|
247
|
+
export declare const enum PlatformTypes {
|
|
248
|
+
ios = "ios",
|
|
249
|
+
android = "android",
|
|
250
|
+
visionos = "visionos"
|
|
251
|
+
}
|
|
252
|
+
export type SupportedPlatform = PlatformTypes.ios | PlatformTypes.android | PlatformTypes.visionos;
|
|
253
|
+
export declare const PODFILE_NAME = "Podfile";
|
|
254
|
+
export declare const EXTENSION_PROVISIONING_FILENAME = "provisioning.json";
|
|
255
|
+
export declare class IosProjectConstants {
|
|
256
|
+
static XcodeProjExtName: string;
|
|
257
|
+
static XcodeSchemeExtName: string;
|
|
258
|
+
}
|
|
259
|
+
export declare class BundleValidatorMessages {
|
|
260
|
+
static MissingBundlePlugin: string;
|
|
261
|
+
}
|
|
262
|
+
export declare class AndroidBundleValidatorMessages {
|
|
263
|
+
static AAB_NOT_SUPPORTED_BY_COMMNAND_MESSAGE: string;
|
|
264
|
+
static NOT_SUPPORTED_RUNTIME_VERSION: string;
|
|
265
|
+
static NOT_SUPPORTED_ANDROID_VERSION: string;
|
|
266
|
+
}
|
|
267
|
+
export declare class AndroidAppBundleMessages {
|
|
268
|
+
static ANDROID_APP_BUNDLE_DOCS_MESSAGE: string;
|
|
269
|
+
static ANDROID_APP_BUNDLE_PUBLISH_DOCS_MESSAGE: string;
|
|
270
|
+
}
|
|
271
|
+
export declare const RunOnDeviceEvents: {
|
|
272
|
+
runOnDeviceStopped: string;
|
|
273
|
+
runOnDeviceError: string;
|
|
274
|
+
runOnDeviceExecuted: string;
|
|
275
|
+
runOnDeviceStarted: string;
|
|
276
|
+
runOnDeviceNotification: string;
|
|
277
|
+
};
|
|
278
|
+
export declare enum IOSDeviceTargets {
|
|
279
|
+
ios = "1,2",
|
|
280
|
+
watchos = 4
|
|
281
|
+
}
|
|
282
|
+
export declare enum IOSNativeTargetProductTypes {
|
|
283
|
+
watchApp = "com.apple.product-type.application.watchapp2",
|
|
284
|
+
watchExtension = "com.apple.product-type.watchkit2-extension",
|
|
285
|
+
appExtension = "com.apple.product-type.app-extension"
|
|
286
|
+
}
|
|
287
|
+
export declare enum IOSNativeTargetTypes {
|
|
288
|
+
watchApp = "watch_app",
|
|
289
|
+
watchExtension = "watch_extension",
|
|
290
|
+
appExtension = "app_extension",
|
|
291
|
+
application = "application"
|
|
292
|
+
}
|
|
293
|
+
export declare const LoggerAppenders: {
|
|
294
|
+
emitAppender: string;
|
|
295
|
+
cliAppender: string;
|
|
296
|
+
};
|
|
297
|
+
export declare enum DeviceConnectionType {
|
|
298
|
+
Unknown = 0,
|
|
299
|
+
USB = 1,
|
|
300
|
+
Wifi = 2,
|
|
301
|
+
Local = 10
|
|
302
|
+
}
|
|
303
|
+
export declare enum LoggerLevel {
|
|
304
|
+
ALL = "ALL",
|
|
305
|
+
TRACE = "TRACE",
|
|
306
|
+
DEBUG = "DEBUG",
|
|
307
|
+
INFO = "INFO",
|
|
308
|
+
WARN = "WARN",
|
|
309
|
+
ERROR = "ERROR",
|
|
310
|
+
FATAL = "FATAL",
|
|
311
|
+
MARK = "MARK",
|
|
312
|
+
OFF = "OFF"
|
|
313
|
+
}
|
|
314
|
+
export declare enum LoggerConfigData {
|
|
315
|
+
useStderr = "useStderr",
|
|
316
|
+
wrapMessageWithBorders = "wrapMessageWithBorders",
|
|
317
|
+
skipNewLine = "skipNewLine"
|
|
318
|
+
}
|
|
319
|
+
export declare const EMIT_APPENDER_EVENT_NAME = "logData";
|
|
320
|
+
export declare enum PackageManagers {
|
|
321
|
+
npm = "npm",
|
|
322
|
+
pnpm = "pnpm",
|
|
323
|
+
yarn = "yarn",
|
|
324
|
+
yarn2 = "yarn2",
|
|
325
|
+
bun = "bun"
|
|
326
|
+
}
|
|
327
|
+
export declare enum BuildNames {
|
|
328
|
+
debug = "Debug",
|
|
329
|
+
release = "Release"
|
|
330
|
+
}
|
|
331
|
+
export {};
|
package/lib/constants.js
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.INCLUDE_GRADLE_NAME = exports.INFO_PLIST_FILE_NAME = exports.APP_GRADLE_FILE_NAME = exports.MANIFEST_FILE_NAME = exports.ANDROID_ANALYTICS_DATA_FILE = exports.ANDROID_ANALYTICS_DATA_DIR = exports.FONTS_DIR = exports.ASSETS_DIR = exports.MAIN_DIR = exports.SRC_DIR = exports.AWAIT_NOTIFICATION_TIMEOUT_SECONDS = exports.CODE_SIGN_ENTITLEMENTS = exports.LIB_DIR_NAME = exports.KARMA_CONFIG_NAME = exports.TSCCONFIG_TNS_JSON_NAME = exports.RSPACK_CONFIG_NAME = exports.WEBPACK_CONFIG_NAME = exports.HOOKS_DIR_NAME = exports.PLATFORMS_DIR_NAME = exports.XML_FILE_EXTENSION = exports.LIVESYNC_EXCLUDED_FILE_PATTERNS = exports.TEST_RUNNER_NAME = exports.TESTING_FRAMEWORKS = exports.LIVESYNC_EXCLUDED_DIRECTORIES = exports.DEFAULT_APP_IDENTIFIER_PREFIX = exports.NODE_MODULE_CACHE_PATH_KEY_NAME = exports.ANDROID_DEVICE_APP_ROOT_TEMPLATE = exports.PACKAGE_LOCK_JSON_FILE_NAME = exports.PACKAGE_JSON_FILE_NAME = exports.SCOPED_VISIONOS_RUNTIME_NAME = exports.SCOPED_IOS_RUNTIME_NAME = exports.SCOPED_ANDROID_RUNTIME_NAME = exports.TNS_IOS_RUNTIME_NAME = exports.TNS_ANDROID_RUNTIME_NAME = exports.UI_MOBILE_BASE_NAME = exports.TNS_CORE_MODULES_WIDGETS_NAME = exports.VITE_DIST_FOLDER_NAME = exports.RSPACK_PLUGIN_NAME = exports.WEBPACK_PLUGIN_NAME = exports.SCOPED_TNS_CORE_THEME_NAME = exports.TNS_CORE_THEME_NAME = exports.SCOPED_TNS_CORE_MODULES = exports.TNS_CORE_MODULES_NAME = exports.TNS_MODULES_FOLDER_NAME = exports.NODE_MODULES_FOLDER_NAME = exports.NATIVESCRIPT_KEY_NAME = exports.NS_BASE_PODFILE = exports.PROJECT_FRAMEWORK_FOLDER_NAME = exports.APP_RESOURCES_FOLDER_NAME = exports.APP_FOLDER_NAME = void 0;
|
|
4
4
|
exports.JsFlavorName = exports.TsFlavorName = exports.SvelteFlavorName = exports.SolidFlavorName = exports.ReactFlavorName = exports.VueFlavorName = exports.NgFlavorName = exports.SVELTE_NAME = exports.SOLID_NAME = exports.REACT_NAME = exports.TYPESCRIPT_NAME = exports.JAVASCRIPT_NAME = exports.ANGULAR_NAME = exports.VUE_NAME = exports.ItunesConnectApplicationTypes = exports.androidAppResourcesFolderName = exports.iOSAppResourcesFolderName = exports.ITMSConstants = exports.ANALYTICS_LOCAL_TEMPLATE_PREFIX = exports.RESERVED_TEMPLATE_NAMES = exports.ReleaseType = exports.SaveOptions = exports.TemplatesV2PackageJsonKeysToRemove = exports.PackageJsonKeysToKeep = exports.LiveSyncTrackActionNames = exports.PackageVersion = exports.MetadataFilteringConstants = exports.IOS_WATCHAPP_EXTENSION_FOLDER = exports.IOS_WATCHAPP_FOLDER = exports.NATIVE_EXTENSION_FOLDER = exports.APPLICATION_RESPONSE_TIMEOUT_SECONDS = exports.NATIVE_SOURCE_FOLDER = exports.TNS_NATIVE_SOURCE_GROUP_NAME = exports.HASHES_FILE_NAME = exports.APKS_EXTENSION_NAME = exports.AAB_EXTENSION_NAME = exports.APK_EXTENSION_NAME = exports.DEPENDENCIES_JSON_NAME = exports.CONFIG_FILE_NAME_TS = exports.CONFIG_FILE_NAME_JS = exports.CONFIG_FILE_NAME_DISPLAY = exports.CONFIG_NS_APP_ENTRY = exports.CONFIG_NS_APP_RESOURCES_ENTRY = exports.CONFIG_NS_FILE_NAME = exports.RESOURCES_DIR = exports.BUNDLE_DIR = exports.APK_DIR = exports.OUTPUTS_DIR = exports.BUILD_DIR = exports.BUILD_XCCONFIG_FILE_NAME = void 0;
|
|
5
|
-
exports.
|
|
5
|
+
exports.IOSNativeTargetProductTypes = exports.IOSDeviceTargets = exports.RunOnDeviceEvents = exports.AndroidAppBundleMessages = exports.AndroidBundleValidatorMessages = exports.BundleValidatorMessages = exports.IosProjectConstants = exports.EXTENSION_PROVISIONING_FILENAME = exports.PODFILE_NAME = exports.PlatformTypes = exports.PLUGINS_BUILD_DATA_FILENAME = exports.PLUGIN_BUILD_DATA_FILENAME = exports.AddPlaformErrors = exports.PACKAGE_PLACEHOLDER_NAME = exports.AndroidBuildDefaults = exports.Hooks = exports.XcodeDeprecationStringFormat = exports.MacOSDeprecationStringFormat = exports.MacOSVersions = exports.AssetConstants = exports.CLI_RESOURCES_DIR_NAME = exports.NATIVESCRIPT_PROPS_INTERNAL_DELIMITER = exports.BuildStates = exports.AnalyticsEventLabelDelimiter = exports.TrackActionNames = exports.DebugTools = exports.NativePlatformStatus = exports.ShouldMigrate = exports.DebugCommandErrors = exports.BUNDLER_COMPILATION_COMPLETE = exports.PREPARE_READY_EVENT_NAME = exports.INITIAL_SYNC_EVENT_NAME = exports.FILES_CHANGE_EVENT_NAME = exports.CACACHE_DIRECTORY_NAME = exports.ANDROID_APP_BUNDLE_SIGNING_ERROR_MESSAGE = exports.ANDROID_RELEASE_BUILD_ERROR_MESSAGE = exports.POST_INSTALL_COMMAND_NAME = exports.BUNDLETOOL_PATH_ENV_VAR = exports.BUNDLETOOL_RELEASES_URL = exports.BUNDLETOOL_SHA256 = exports.BUNDLETOOL_VERSION = exports.BUNDLETOOL_CACHE_DIRNAME = exports.INSPECTOR_CACHE_DIRNAME = exports.VERSION_STRING = exports.DEBUGGER_DETACHED_EVENT_NAME = exports.DEBUGGER_ATTACHED_EVENT_NAME = exports.USER_INTERACTION_NEEDED_EVENT_NAME = exports.CONNECTION_ERROR_EVENT_NAME = exports.BUILD_OUTPUT_EVENT_NAME = exports.ProjectTypes = void 0;
|
|
6
|
+
exports.BuildNames = exports.PackageManagers = exports.EMIT_APPENDER_EVENT_NAME = exports.LoggerConfigData = exports.LoggerLevel = exports.DeviceConnectionType = exports.LoggerAppenders = exports.IOSNativeTargetTypes = void 0;
|
|
6
7
|
const path_1 = require("path");
|
|
7
8
|
exports.APP_FOLDER_NAME = "app";
|
|
8
9
|
exports.APP_RESOURCES_FOLDER_NAME = "App_Resources";
|
|
@@ -17,10 +18,6 @@ exports.TNS_CORE_THEME_NAME = "nativescript-theme-core";
|
|
|
17
18
|
exports.SCOPED_TNS_CORE_THEME_NAME = "@nativescript/theme";
|
|
18
19
|
exports.WEBPACK_PLUGIN_NAME = "@nativescript/webpack";
|
|
19
20
|
exports.RSPACK_PLUGIN_NAME = "@nativescript/rspack";
|
|
20
|
-
// Project-relative directory the Vite bundler writes its build output to
|
|
21
|
-
// before the CLI copies it into the platforms app folder. Mirrors the
|
|
22
|
-
// default value computed in `@nativescript/vite`'s base configuration
|
|
23
|
-
// (`process.env.NS_VITE_DIST_DIR || '.ns-vite-build'`).
|
|
24
21
|
exports.VITE_DIST_FOLDER_NAME = ".ns-vite-build";
|
|
25
22
|
exports.TNS_CORE_MODULES_WIDGETS_NAME = "tns-core-modules-widgets";
|
|
26
23
|
exports.UI_MOBILE_BASE_NAME = "@nativescript/ui-mobile-base";
|
|
@@ -154,7 +151,6 @@ exports.RESERVED_TEMPLATE_NAMES = {
|
|
|
154
151
|
solidjs: "@nativescript/template-blank-solid",
|
|
155
152
|
solidts: "@nativescript/template-blank-solid-ts",
|
|
156
153
|
svelte: "@nativescript/template-blank-svelte",
|
|
157
|
-
// vision templates
|
|
158
154
|
vision: "@nativescript/template-hello-world-ts-vision",
|
|
159
155
|
"vision-vue": "@nativescript/template-blank-vue-vision",
|
|
160
156
|
"vision-ng": "@nativescript/template-hello-world-ng-vision",
|
|
@@ -214,6 +210,11 @@ exports.DEBUGGER_ATTACHED_EVENT_NAME = "debuggerAttached";
|
|
|
214
210
|
exports.DEBUGGER_DETACHED_EVENT_NAME = "debuggerDetached";
|
|
215
211
|
exports.VERSION_STRING = "version";
|
|
216
212
|
exports.INSPECTOR_CACHE_DIRNAME = "ios-inspector";
|
|
213
|
+
exports.BUNDLETOOL_CACHE_DIRNAME = "bundletool";
|
|
214
|
+
exports.BUNDLETOOL_VERSION = "1.18.2";
|
|
215
|
+
exports.BUNDLETOOL_SHA256 = "378b5434cd1378bef6b2bc527b8c7f0ff2584b273830335bce54d6d0813c8584";
|
|
216
|
+
exports.BUNDLETOOL_RELEASES_URL = "https://github.com/google/bundletool/releases/download";
|
|
217
|
+
exports.BUNDLETOOL_PATH_ENV_VAR = "NS_BUNDLETOOL_PATH";
|
|
217
218
|
exports.POST_INSTALL_COMMAND_NAME = "post-install-cli";
|
|
218
219
|
const ANDROID_SIGNING_REQUIRED_MESSAGE = "you need to specify all --key-store-* options.";
|
|
219
220
|
exports.ANDROID_RELEASE_BUILD_ERROR_MESSAGE = `When producing a release build, ${ANDROID_SIGNING_REQUIRED_MESSAGE}`;
|
|
@@ -229,10 +230,48 @@ exports.DebugCommandErrors = DebugCommandErrors;
|
|
|
229
230
|
DebugCommandErrors.UNABLE_TO_USE_FOR_DEVICE_AND_EMULATOR = "The options --for-device and --emulator cannot be used simultaneously. Please use only one of them.";
|
|
230
231
|
DebugCommandErrors.NO_DEVICES_EMULATORS_FOUND_FOR_OPTIONS = "Unable to find device or emulator for specified options.";
|
|
231
232
|
DebugCommandErrors.UNSUPPORTED_DEVICE_OS_FOR_DEBUGGING = "Unsupported device OS for debugging";
|
|
233
|
+
var ShouldMigrate;
|
|
234
|
+
(function (ShouldMigrate) {
|
|
235
|
+
ShouldMigrate[ShouldMigrate["NO"] = 0] = "NO";
|
|
236
|
+
ShouldMigrate[ShouldMigrate["YES"] = 1] = "YES";
|
|
237
|
+
ShouldMigrate[ShouldMigrate["ADVISED"] = 2] = "ADVISED";
|
|
238
|
+
})(ShouldMigrate || (exports.ShouldMigrate = ShouldMigrate = {}));
|
|
239
|
+
var NativePlatformStatus;
|
|
240
|
+
(function (NativePlatformStatus) {
|
|
241
|
+
NativePlatformStatus["requiresPlatformAdd"] = "1";
|
|
242
|
+
NativePlatformStatus["requiresPrepare"] = "2";
|
|
243
|
+
NativePlatformStatus["alreadyPrepared"] = "3";
|
|
244
|
+
})(NativePlatformStatus || (exports.NativePlatformStatus = NativePlatformStatus = {}));
|
|
245
|
+
var DebugTools;
|
|
246
|
+
(function (DebugTools) {
|
|
247
|
+
DebugTools["Chrome"] = "Chrome";
|
|
248
|
+
DebugTools["Inspector"] = "Inspector";
|
|
249
|
+
})(DebugTools || (exports.DebugTools = DebugTools = {}));
|
|
250
|
+
var TrackActionNames;
|
|
251
|
+
(function (TrackActionNames) {
|
|
252
|
+
TrackActionNames["Build"] = "Build";
|
|
253
|
+
TrackActionNames["CreateProject"] = "Create project";
|
|
254
|
+
TrackActionNames["UsingTemplate"] = "Using Template";
|
|
255
|
+
TrackActionNames["Debug"] = "Debug";
|
|
256
|
+
TrackActionNames["Deploy"] = "Deploy";
|
|
257
|
+
TrackActionNames["LiveSync"] = "LiveSync";
|
|
258
|
+
TrackActionNames["RunSetupScript"] = "Run Setup Script";
|
|
259
|
+
TrackActionNames["CheckLocalBuildSetup"] = "Check Local Build Setup";
|
|
260
|
+
TrackActionNames["CheckEnvironmentRequirements"] = "Check Environment Requirements";
|
|
261
|
+
TrackActionNames["Options"] = "Options";
|
|
262
|
+
TrackActionNames["AcceptTracking"] = "Accept Tracking";
|
|
263
|
+
TrackActionNames["Performance"] = "Performance";
|
|
264
|
+
TrackActionNames["UninstallCLI"] = "Uninstall CLI";
|
|
265
|
+
TrackActionNames["UsingRuntimeVersion"] = "Using Runtime Version";
|
|
266
|
+
TrackActionNames["AddPlatform"] = "Add Platform";
|
|
267
|
+
TrackActionNames["UsingKotlin"] = "Using Kotlin";
|
|
268
|
+
})(TrackActionNames || (exports.TrackActionNames = TrackActionNames = {}));
|
|
232
269
|
exports.AnalyticsEventLabelDelimiter = "__";
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
270
|
+
var BuildStates;
|
|
271
|
+
(function (BuildStates) {
|
|
272
|
+
BuildStates["Clean"] = "Clean";
|
|
273
|
+
BuildStates["Incremental"] = "Incremental";
|
|
274
|
+
})(BuildStates || (exports.BuildStates = BuildStates = {}));
|
|
236
275
|
exports.NATIVESCRIPT_PROPS_INTERNAL_DELIMITER = "**|__**";
|
|
237
276
|
exports.CLI_RESOURCES_DIR_NAME = "resources";
|
|
238
277
|
class AssetConstants {
|
|
@@ -249,7 +288,6 @@ AssetConstants.assets = "assets";
|
|
|
249
288
|
AssetConstants.sizeDelimiter = "x";
|
|
250
289
|
AssetConstants.defaultScale = 1;
|
|
251
290
|
AssetConstants.defaultOverlayImageScale = 0.8;
|
|
252
|
-
// https://en.wikipedia.org/wiki/Darwin_(operating_system)#Release_history
|
|
253
291
|
class MacOSVersions {
|
|
254
292
|
}
|
|
255
293
|
exports.MacOSVersions = MacOSVersions;
|
|
@@ -259,14 +297,6 @@ MacOSVersions.Mojave = "10.14";
|
|
|
259
297
|
MacOSVersions.Catalina = "10.15";
|
|
260
298
|
exports.MacOSDeprecationStringFormat = "NativeScript does not support macOS %s and some functionality may not work. Please, upgrade to the latest macOS version.";
|
|
261
299
|
exports.XcodeDeprecationStringFormat = "The current Xcode version %s will not be supported in the next release of NativeScript. Consider updating your Xcode to latest official version.";
|
|
262
|
-
// export class TemplateVersions {
|
|
263
|
-
// public static v1 = "v1";
|
|
264
|
-
// public static v2 = "v2";
|
|
265
|
-
// }
|
|
266
|
-
// export class ProjectTemplateErrors {
|
|
267
|
-
// public static InvalidTemplateVersionStringFormat =
|
|
268
|
-
// "The template '%s' has a NativeScript version '%s' that is not supported. Unable to create project from it.";
|
|
269
|
-
// }
|
|
270
300
|
class Hooks {
|
|
271
301
|
}
|
|
272
302
|
exports.Hooks = Hooks;
|
|
@@ -283,6 +313,12 @@ exports.AddPlaformErrors = AddPlaformErrors;
|
|
|
283
313
|
AddPlaformErrors.InvalidFrameworkPathStringFormat = "Invalid frameworkPath: %s. Please ensure the specified frameworkPath exists.";
|
|
284
314
|
exports.PLUGIN_BUILD_DATA_FILENAME = "plugin-data.json";
|
|
285
315
|
exports.PLUGINS_BUILD_DATA_FILENAME = ".ns-plugins-build-data.json";
|
|
316
|
+
var PlatformTypes;
|
|
317
|
+
(function (PlatformTypes) {
|
|
318
|
+
PlatformTypes["ios"] = "ios";
|
|
319
|
+
PlatformTypes["android"] = "android";
|
|
320
|
+
PlatformTypes["visionos"] = "visionos";
|
|
321
|
+
})(PlatformTypes || (exports.PlatformTypes = PlatformTypes = {}));
|
|
286
322
|
exports.PODFILE_NAME = "Podfile";
|
|
287
323
|
exports.EXTENSION_PROVISIONING_FILENAME = "provisioning.json";
|
|
288
324
|
class IosProjectConstants {
|
|
@@ -307,7 +343,6 @@ AndroidAppBundleMessages.ANDROID_APP_BUNDLE_DOCS_MESSAGE = "What is Android App
|
|
|
307
343
|
AndroidAppBundleMessages.ANDROID_APP_BUNDLE_PUBLISH_DOCS_MESSAGE = "How to use Android App Bundle for publishing: https://docs.nativescript.org/tooling/publishing/publishing-android-apps#android-app-bundle";
|
|
308
344
|
exports.RunOnDeviceEvents = {
|
|
309
345
|
runOnDeviceStopped: "runOnDeviceStopped",
|
|
310
|
-
// In case we name it error, EventEmitter expects instance of Error to be raised and will also raise uncaught exception in case there's no handler
|
|
311
346
|
runOnDeviceError: "runOnDeviceError",
|
|
312
347
|
runOnDeviceExecuted: "runOnDeviceExecuted",
|
|
313
348
|
runOnDeviceStarted: "runOnDeviceStarted",
|
|
@@ -345,52 +380,14 @@ var DeviceConnectionType;
|
|
|
345
380
|
})(DeviceConnectionType || (exports.DeviceConnectionType = DeviceConnectionType = {}));
|
|
346
381
|
var LoggerLevel;
|
|
347
382
|
(function (LoggerLevel) {
|
|
348
|
-
/**
|
|
349
|
-
* Show all log messages.
|
|
350
|
-
* Log levels are used to assign importance to log messages, with the integer value being used to sort them.
|
|
351
|
-
* If you do not specify anything in your configuration, the default values are used (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < MARK < OFF)
|
|
352
|
-
*/
|
|
353
383
|
LoggerLevel["ALL"] = "ALL";
|
|
354
|
-
/**
|
|
355
|
-
* Log levels are used to assign importance to log messages, with the integer value being used to sort them.
|
|
356
|
-
* If you do not specify anything in your configuration, the default values are used (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < MARK < OFF)
|
|
357
|
-
*/
|
|
358
384
|
LoggerLevel["TRACE"] = "TRACE";
|
|
359
|
-
/**
|
|
360
|
-
* Log levels are used to assign importance to log messages, with the integer value being used to sort them.
|
|
361
|
-
* If you do not specify anything in your configuration, the default values are used (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < MARK < OFF)
|
|
362
|
-
*/
|
|
363
385
|
LoggerLevel["DEBUG"] = "DEBUG";
|
|
364
|
-
/**
|
|
365
|
-
* Log levels are used to assign importance to log messages, with the integer value being used to sort them.
|
|
366
|
-
* If you do not specify anything in your configuration, the default values are used (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < MARK < OFF)
|
|
367
|
-
*/
|
|
368
386
|
LoggerLevel["INFO"] = "INFO";
|
|
369
|
-
/**
|
|
370
|
-
* Log levels are used to assign importance to log messages, with the integer value being used to sort them.
|
|
371
|
-
* If you do not specify anything in your configuration, the default values are used (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < MARK < OFF)
|
|
372
|
-
*/
|
|
373
387
|
LoggerLevel["WARN"] = "WARN";
|
|
374
|
-
/**
|
|
375
|
-
* Log levels are used to assign importance to log messages, with the integer value being used to sort them.
|
|
376
|
-
* If you do not specify anything in your configuration, the default values are used (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < MARK < OFF)
|
|
377
|
-
*/
|
|
378
388
|
LoggerLevel["ERROR"] = "ERROR";
|
|
379
|
-
/**
|
|
380
|
-
* Log levels are used to assign importance to log messages, with the integer value being used to sort them.
|
|
381
|
-
* If you do not specify anything in your configuration, the default values are used (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < MARK < OFF)
|
|
382
|
-
*/
|
|
383
389
|
LoggerLevel["FATAL"] = "FATAL";
|
|
384
|
-
/**
|
|
385
|
-
* Log levels are used to assign importance to log messages, with the integer value being used to sort them.
|
|
386
|
-
* If you do not specify anything in your configuration, the default values are used (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < MARK < OFF)
|
|
387
|
-
*/
|
|
388
390
|
LoggerLevel["MARK"] = "MARK";
|
|
389
|
-
/**
|
|
390
|
-
* Disable all logging.
|
|
391
|
-
* Log levels are used to assign importance to log messages, with the integer value being used to sort them.
|
|
392
|
-
* If you do not specify anything in your configuration, the default values are used (ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < MARK < OFF)
|
|
393
|
-
*/
|
|
394
391
|
LoggerLevel["OFF"] = "OFF";
|
|
395
392
|
})(LoggerLevel || (exports.LoggerLevel = LoggerLevel = {}));
|
|
396
393
|
var LoggerConfigData;
|
|
@@ -408,4 +405,8 @@ var PackageManagers;
|
|
|
408
405
|
PackageManagers["yarn2"] = "yarn2";
|
|
409
406
|
PackageManagers["bun"] = "bun";
|
|
410
407
|
})(PackageManagers || (exports.PackageManagers = PackageManagers = {}));
|
|
411
|
-
|
|
408
|
+
var BuildNames;
|
|
409
|
+
(function (BuildNames) {
|
|
410
|
+
BuildNames["debug"] = "Debug";
|
|
411
|
+
BuildNames["release"] = "Release";
|
|
412
|
+
})(BuildNames || (exports.BuildNames = BuildNames = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ISpawnResult } from "../common/declarations";
|
|
2
|
+
import type { IOptions } from "../declarations";
|
|
3
|
+
export declare abstract class DoctorService {
|
|
4
|
+
abstract printWarnings(configOptions?: {
|
|
5
|
+
trackResult?: boolean;
|
|
6
|
+
projectDir?: string;
|
|
7
|
+
runtimeVersion?: string;
|
|
8
|
+
options?: IOptions;
|
|
9
|
+
forceCheck?: boolean;
|
|
10
|
+
platform?: string;
|
|
11
|
+
}): Promise<void>;
|
|
12
|
+
abstract runSetupScript(): Promise<ISpawnResult>;
|
|
13
|
+
abstract canExecuteLocalBuild(configuration?: {
|
|
14
|
+
platform?: string;
|
|
15
|
+
projectDir?: string;
|
|
16
|
+
runtimeVersion?: string;
|
|
17
|
+
forceCheck?: boolean;
|
|
18
|
+
}): Promise<boolean>;
|
|
19
|
+
abstract checkForDeprecatedShortImportsInAppDir(projectDir: string): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.DoctorService = void 0;
|
|
10
|
+
const contract_1 = require("../common/di/contract");
|
|
11
|
+
let DoctorService = class DoctorService {
|
|
12
|
+
};
|
|
13
|
+
exports.DoctorService = DoctorService;
|
|
14
|
+
exports.DoctorService = DoctorService = __decorate([
|
|
15
|
+
(0, contract_1.Contract)({ name: "doctorService" })
|
|
16
|
+
], DoctorService);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { Contract, getContractName, CONTRACT_NAME, } from "../common/di/contract";
|
|
2
|
+
export type { IContractOptions } from "../common/di/contract";
|
|
3
|
+
export { inject, runInInjectionContext } from "../common/di/inject";
|
|
4
|
+
export { forwardRef, resolveForwardRef } from "../common/di/forward-ref";
|
|
5
|
+
export { Injector } from "../common/di/injector";
|
|
6
|
+
export type { InjectOptions } from "../common/di/injector";
|
|
7
|
+
export { provide, provideLazy } from "../common/di/providers";
|
|
8
|
+
export type { Provider, ProviderToken, Type, AbstractType, } from "../common/di/providers";
|
|
9
|
+
export { DoctorService } from "./doctor-service";
|
|
10
|
+
export { ProjectNameService } from "./project-name-service";
|
|
11
|
+
export { defineCommand, isCommandDefinition, booleanOption, stringOption, numberOption, arrayOption, } from "../common/define-command";
|
|
12
|
+
export type { CommandDefinition, DefinedCommand, CommandContext, CommandOptionSpec, DefaultedCommandOptionSpec, CommandOptionsSchema, CommandOptionSpecInit, CommandOptionType, CommandOptionValues, } from "../common/define-command";
|
|
13
|
+
export { defineHook, isHookDefinition } from "../common/define-hook";
|
|
14
|
+
export type { HookContext, HookDefinition, HookDefinitionInput, HookHandler, HookMiddleware, } from "../common/define-hook";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isHookDefinition = exports.defineHook = exports.arrayOption = exports.numberOption = exports.stringOption = exports.booleanOption = exports.isCommandDefinition = exports.defineCommand = exports.ProjectNameService = exports.DoctorService = exports.provideLazy = exports.provide = exports.Injector = exports.resolveForwardRef = exports.forwardRef = exports.runInInjectionContext = exports.inject = exports.CONTRACT_NAME = exports.getContractName = exports.Contract = void 0;
|
|
4
|
+
var contract_1 = require("../common/di/contract");
|
|
5
|
+
Object.defineProperty(exports, "Contract", { enumerable: true, get: function () { return contract_1.Contract; } });
|
|
6
|
+
Object.defineProperty(exports, "getContractName", { enumerable: true, get: function () { return contract_1.getContractName; } });
|
|
7
|
+
Object.defineProperty(exports, "CONTRACT_NAME", { enumerable: true, get: function () { return contract_1.CONTRACT_NAME; } });
|
|
8
|
+
var inject_1 = require("../common/di/inject");
|
|
9
|
+
Object.defineProperty(exports, "inject", { enumerable: true, get: function () { return inject_1.inject; } });
|
|
10
|
+
Object.defineProperty(exports, "runInInjectionContext", { enumerable: true, get: function () { return inject_1.runInInjectionContext; } });
|
|
11
|
+
var forward_ref_1 = require("../common/di/forward-ref");
|
|
12
|
+
Object.defineProperty(exports, "forwardRef", { enumerable: true, get: function () { return forward_ref_1.forwardRef; } });
|
|
13
|
+
Object.defineProperty(exports, "resolveForwardRef", { enumerable: true, get: function () { return forward_ref_1.resolveForwardRef; } });
|
|
14
|
+
var injector_1 = require("../common/di/injector");
|
|
15
|
+
Object.defineProperty(exports, "Injector", { enumerable: true, get: function () { return injector_1.Injector; } });
|
|
16
|
+
var providers_1 = require("../common/di/providers");
|
|
17
|
+
Object.defineProperty(exports, "provide", { enumerable: true, get: function () { return providers_1.provide; } });
|
|
18
|
+
Object.defineProperty(exports, "provideLazy", { enumerable: true, get: function () { return providers_1.provideLazy; } });
|
|
19
|
+
var doctor_service_1 = require("./doctor-service");
|
|
20
|
+
Object.defineProperty(exports, "DoctorService", { enumerable: true, get: function () { return doctor_service_1.DoctorService; } });
|
|
21
|
+
var project_name_service_1 = require("./project-name-service");
|
|
22
|
+
Object.defineProperty(exports, "ProjectNameService", { enumerable: true, get: function () { return project_name_service_1.ProjectNameService; } });
|
|
23
|
+
var define_command_1 = require("../common/define-command");
|
|
24
|
+
Object.defineProperty(exports, "defineCommand", { enumerable: true, get: function () { return define_command_1.defineCommand; } });
|
|
25
|
+
Object.defineProperty(exports, "isCommandDefinition", { enumerable: true, get: function () { return define_command_1.isCommandDefinition; } });
|
|
26
|
+
Object.defineProperty(exports, "booleanOption", { enumerable: true, get: function () { return define_command_1.booleanOption; } });
|
|
27
|
+
Object.defineProperty(exports, "stringOption", { enumerable: true, get: function () { return define_command_1.stringOption; } });
|
|
28
|
+
Object.defineProperty(exports, "numberOption", { enumerable: true, get: function () { return define_command_1.numberOption; } });
|
|
29
|
+
Object.defineProperty(exports, "arrayOption", { enumerable: true, get: function () { return define_command_1.arrayOption; } });
|
|
30
|
+
var define_hook_1 = require("../common/define-hook");
|
|
31
|
+
Object.defineProperty(exports, "defineHook", { enumerable: true, get: function () { return define_hook_1.defineHook; } });
|
|
32
|
+
Object.defineProperty(exports, "isHookDefinition", { enumerable: true, get: function () { return define_hook_1.isHookDefinition; } });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ProjectNameService = void 0;
|
|
10
|
+
const contract_1 = require("../common/di/contract");
|
|
11
|
+
let ProjectNameService = class ProjectNameService {
|
|
12
|
+
};
|
|
13
|
+
exports.ProjectNameService = ProjectNameService;
|
|
14
|
+
exports.ProjectNameService = ProjectNameService = __decorate([
|
|
15
|
+
(0, contract_1.Contract)({ name: "projectNameService" })
|
|
16
|
+
], ProjectNameService);
|