├── .gitattributes ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── gulpfile.js ├── package.json ├── src ├── mocha.opts ├── remotebuild │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── RESTAPI.md │ ├── bin │ │ └── remotebuild │ ├── examples │ │ └── exampleConfig.json │ ├── lib │ │ ├── cli.ts │ │ ├── commands.json │ │ ├── commands.ts │ │ ├── darwin │ │ │ ├── darwinCerts.ts │ │ │ └── darwinSpecifics.ts │ │ ├── help.ts │ │ ├── hostSpecifics.ts │ │ ├── remoteBuildConf.ts │ │ ├── server.ts │ │ └── win32 │ │ │ └── win32Specifics.ts │ ├── package.json │ ├── resources │ │ ├── en │ │ │ └── resources.json │ │ └── resourceManager.ts │ └── test │ │ ├── darwinCerts.ts │ │ ├── help.ts │ │ ├── server.ts │ │ └── testServerModuleFactory.ts ├── taco-cli │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── bin │ │ ├── taco │ │ └── taco.cmd │ ├── cli │ │ ├── build.ts │ │ ├── commands.json │ │ ├── create.ts │ │ ├── docs.ts │ │ ├── emulate.ts │ │ ├── feedback.ts │ │ ├── help.ts │ │ ├── installReqs.ts │ │ ├── kit.ts │ │ ├── liveReload.ts │ │ ├── logo.ts │ │ ├── platform.ts │ │ ├── plugin.ts │ │ ├── remote.ts │ │ ├── remoteBuild │ │ │ ├── buildSettings.ts │ │ │ ├── connectionSecurityHelper.ts │ │ │ ├── remoteBuildClientHelper.ts │ │ │ └── win32 │ │ │ │ └── certificates.ps1 │ │ ├── run.ts │ │ ├── taco.ts │ │ ├── tacoErrorCodes.ts │ │ ├── tacoErrorHelper.ts │ │ ├── templates.ts │ │ ├── utils │ │ │ ├── buildTelemetryHelper.ts │ │ │ ├── checkForNewerVersion.ts │ │ │ ├── cleanHelper.ts │ │ │ ├── cliTelemetryHelper.ts │ │ │ ├── cordovaComponentCommand.ts │ │ │ ├── kitComponentCommand.ts │ │ │ ├── kitHelper.ts │ │ │ ├── platformHelper.ts │ │ │ ├── settings.ts │ │ │ └── templateManager.ts │ │ └── version.ts │ ├── dynamicDependencies.json │ ├── package.json │ ├── resources │ │ ├── en │ │ │ └── resources.json │ │ └── resourceManager.ts │ └── test │ │ ├── build.ts │ │ ├── buildAndRunTelemetry.ts │ │ ├── checkForNewerVersion.ts │ │ ├── create.ts │ │ ├── emulate.ts │ │ ├── help.ts │ │ ├── kit.ts │ │ ├── meta.ts │ │ ├── platformHelper.ts │ │ ├── platformPlugin.ts │ │ ├── remote.ts │ │ ├── resources │ │ ├── certs │ │ │ ├── ca-cert.pem │ │ │ ├── ca-key.pem │ │ │ ├── client.pfx │ │ │ ├── note │ │ │ ├── server-cert.pem │ │ │ └── server-key.pem │ │ ├── empty.zip │ │ └── templates │ │ │ └── testKit │ │ │ ├── testTemplate │ │ │ ├── a.txt │ │ │ └── folder1 │ │ │ │ └── b.txt │ │ │ ├── testTemplate2 │ │ │ └── www │ │ │ │ ├── a.txt │ │ │ │ └── folder1 │ │ │ │ └── b.txt │ │ │ └── testTemplate3 │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── .taco-ignore │ │ │ └── www │ │ │ ├── a.txt │ │ │ └── folder1 │ │ │ └── b.txt │ │ ├── run.ts │ │ ├── tacoErrors.ts │ │ ├── templateManager.ts │ │ ├── templates.ts │ │ └── utils │ │ ├── commandHelper.ts │ │ ├── httpServerFunction.ts │ │ ├── remoteMock.ts │ │ ├── remoteServerSequence.ts │ │ └── serverMock.ts ├── taco-dependency-installer │ ├── .npmignore │ ├── LICENSE │ ├── dependencyInstaller.ts │ ├── elevatedInstaller.ts │ ├── elevatedInstallerProtocol.ts │ ├── installerRunner.ts │ ├── installers │ │ ├── androidPackagesInstaller.ts │ │ ├── androidSdkInstaller.ts │ │ ├── installerBase.ts │ │ ├── iosDeployInstaller.ts │ │ ├── iosSimInstaller.ts │ │ └── javaJdkInstaller.ts │ ├── package.json │ ├── platformDependencies.json │ ├── resources │ │ ├── en │ │ │ └── resources.json │ │ └── resourceManager.ts │ ├── tacoErrorCodes.ts │ ├── tacoErrorHelper.ts │ ├── test │ │ ├── androidPackagesInstaller.ts │ │ ├── androidSdkInstaller.ts │ │ ├── dependencyDataWrapper.ts │ │ ├── dependencyInstaller.ts │ │ ├── fakeLogger.ts │ │ ├── installerRunner.ts │ │ ├── installerUtils.ts │ │ ├── javaJdkInstaller.ts │ │ ├── tacoErrors.ts │ │ └── test-data │ │ │ ├── testFile.txt │ │ │ └── testMetadata.json │ └── utils │ │ ├── dependencyDataWrapper.ts │ │ ├── installerUtils.ts │ │ └── win32 │ │ ├── elevatedInstallerLauncher.ps1 │ │ ├── installerUtilsWin32.ts │ │ └── setSystemVariable.ps1 ├── taco-kits │ ├── .npmignore │ ├── LICENSE │ ├── TacoKitMetadata.json │ ├── package.json │ ├── resources │ │ ├── en │ │ │ └── resources.json │ │ └── resourceManager.ts │ ├── tacoErrorCodes.ts │ ├── tacoErrorHelper.ts │ ├── tacoKits.ts │ └── test │ │ ├── tacoErrors.ts │ │ ├── tacoKits.ts │ │ ├── test-data │ │ └── test-kit-metadata.json │ │ └── validateMetadata.ts ├── taco-livereload │ ├── README.md │ ├── lib │ │ ├── browserSyncServer.js │ │ ├── index.js │ │ ├── livereload.js │ │ └── utils │ │ │ ├── ATSRemover.js │ │ │ ├── CSPRemover.js │ │ │ ├── Patcher.js │ │ │ ├── configParser.js │ │ │ ├── events.js │ │ │ ├── helpers.js │ │ │ ├── homePage.html │ │ │ ├── logger.js │ │ │ ├── platforms.js │ │ │ └── promise-util.js │ ├── package.json │ └── tests-to-automate.txt ├── taco-remote-lib │ ├── .npmignore │ ├── ITargetPlatform.d.ts │ ├── LICENSE │ ├── common │ │ └── builder.ts │ ├── ios │ │ ├── ios.ts │ │ ├── iosBuild.ts │ │ ├── iosEmulateHelper.ts │ │ ├── plist.ts │ │ ├── sharedState.ts │ │ └── templates │ │ │ └── EnterpriseApp.plist │ ├── package.json │ ├── resources │ │ ├── en │ │ │ └── resources.json │ │ └── resourceManager.ts │ ├── tacoRemoteLib.ts │ └── test │ │ ├── plist.ts │ │ └── resources │ │ ├── config.xml │ │ └── plist │ │ ├── cordovaApp.plist │ │ ├── expectedCordovaApp.plist │ │ └── expectedEnterpriseApp.plist ├── taco-remote-multiplexer │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── dynamicDependencies.json │ ├── package.json │ └── tacoRemoteMultiplexer.ts ├── taco-remote │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── RESTAPI.md │ ├── dynamicDependencies.json │ ├── lib │ │ ├── buildManager.ts │ │ ├── buildRetention.ts │ │ ├── commands.json │ │ ├── darwin │ │ │ ├── darwinDependenciesHelper.ts │ │ │ └── darwinSpecifics.ts │ │ ├── help.ts │ │ ├── hostSpecifics.ts │ │ ├── requestRedirector.ts │ │ ├── selftest.ts │ │ ├── server.ts │ │ ├── tacoRemoteConfig.ts │ │ └── win32 │ │ │ └── win32Specifics.ts │ ├── package.json │ ├── resources │ │ ├── en │ │ │ └── resources.json │ │ └── resourceManager.ts │ └── test │ │ └── build.ts ├── taco-tests-utils │ ├── .npmignore │ ├── LICENSE │ ├── memoryStream.ts │ ├── mockCordova.ts │ ├── nodeFakes.ts │ ├── package.json │ ├── projectHelper.ts │ ├── tacoErrorTestHelper.ts │ ├── tacoTestsUtils.ts │ ├── telemetryFakes.ts │ └── testProjectHelper.ts ├── taco-utils │ ├── .npmignore │ ├── LICENSE │ ├── argsHelper.ts │ ├── buildInfo.ts │ ├── commands.ts │ ├── cordovaConfig.ts │ ├── cordovaHelper.ts │ ├── cordovaWrapper.ts │ ├── countStream.ts │ ├── helpCommandBase.ts │ ├── installLogLevel.ts │ ├── jsonSerializer.ts │ ├── logFormatHelper.ts │ ├── logLevel.ts │ ├── logger.ts │ ├── loggerHelper.ts │ ├── newlineNormalizerStream.ts │ ├── npmHelper.ts │ ├── package.json │ ├── processLogger.ts │ ├── processUtils.ts │ ├── projectHelper.ts │ ├── promisesUtils.ts │ ├── resourceManager.ts │ ├── resourceSet.ts │ ├── resources │ │ ├── en │ │ │ └── resources.json │ │ └── resourceManager.ts │ ├── tacoError.ts │ ├── tacoErrorCodes.ts │ ├── tacoErrorHelper.ts │ ├── tacoGlobalConfig.ts │ ├── tacoPackageLoader.ts │ ├── tacoUtils.ts │ ├── telemetry.ts │ ├── telemetryHelper.ts │ ├── test │ │ ├── cordovaConfig.ts │ │ ├── cordovaWrapper.ts │ │ ├── logFormatHelper.ts │ │ ├── logger.ts │ │ ├── packageLoader.ts │ │ ├── resources.ts │ │ ├── resources │ │ │ ├── config.xml │ │ │ ├── config_unicode.xml │ │ │ ├── en │ │ │ │ └── resources.json │ │ │ ├── gb18030 │ │ │ │ └── resources.json │ │ │ ├── it-ch │ │ │ │ └── resources.json │ │ │ └── it │ │ │ │ └── resources.json │ │ ├── tacoErrors.ts │ │ ├── taco_utf8BOM.json │ │ └── utilHelper.ts │ └── utilHelper.ts ├── typings │ ├── Q.d.ts │ ├── adm-zip.d.ts │ ├── applicationinsights.d.ts │ ├── archiver.d.ts │ ├── argsHelper.d.ts │ ├── buildConfig.d.ts │ ├── buildInfo.d.ts │ ├── certOptions.d.ts │ ├── colors.d.ts │ ├── commandAlias.d.ts │ ├── commandExample.d.ts │ ├── commands.d.ts │ ├── cordovaConfig.d.ts │ ├── cordovaExtensions.d.ts │ ├── cordovaHelper.d.ts │ ├── cordovaWrapper.d.ts │ ├── countStream.d.ts │ ├── del.d.ts │ ├── dependencyInstallerInterfaces.d.ts │ ├── dictionary.d.ts │ ├── dynamicDependencyEntry.d.ts │ ├── elementtree.d.ts │ ├── errorhandler.d.ts │ ├── express.d.ts │ ├── expressExtensions.d.ts │ ├── form-data.d.ts │ ├── fstream.d.ts │ ├── glob.d.ts │ ├── gulp-json-editor.d.ts │ ├── gulp-sourcemaps.d.ts │ ├── gulp-typescript.d.ts │ ├── gulp.d.ts │ ├── gulpExtensions.d.ts │ ├── hashFiles.d.ts │ ├── helmet.d.ts │ ├── helpCommandBase.d.ts │ ├── iconv-lite.d.ts │ ├── idevice-app-launcher.d.ts │ ├── installLogLevel.d.ts │ ├── jsonSerializer.d.ts │ ├── lodash.d.ts │ ├── logLevel.d.ts │ ├── logger.d.ts │ ├── loggerHelper.d.ts │ ├── memoryStream.d.ts │ ├── merge2.d.ts │ ├── minimatch.d.ts │ ├── mkdirp.d.ts │ ├── mocha.d.ts │ ├── mock-fs.d.ts │ ├── mockCordova.d.ts │ ├── mockery.d.ts │ ├── morgan.d.ts │ ├── nameDescription.d.ts │ ├── nconf.d.ts │ ├── nconf_extensions.d.ts │ ├── ncp.d.ts │ ├── newlineNormalizerStream.d.ts │ ├── node.d.ts │ ├── nodeFakes.d.ts │ ├── nopt.d.ts │ ├── npm.d.ts │ ├── npmHelper.d.ts │ ├── opener.d.ts │ ├── optimist.d.ts │ ├── orchestrator.d.ts │ ├── plist-with-patches.d.ts │ ├── processLogger.d.ts │ ├── processUtils.d.ts │ ├── projectHelper.d.ts │ ├── promisesUtils.d.ts │ ├── remotebuild.d.ts │ ├── remotebuildTask.d.ts │ ├── replace.d.ts │ ├── request.d.ts │ ├── resourceManager.d.ts │ ├── rimraf.d.ts │ ├── run-sequence.d.ts │ ├── semver.d.ts │ ├── serve-index.d.ts │ ├── should.d.ts │ ├── tacoDependencyInstaller.d.ts │ ├── tacoError.d.ts │ ├── tacoErrorTestHelper.d.ts │ ├── tacoGlobalConfig.d.ts │ ├── tacoHelpArgs.d.ts │ ├── tacoJsonEditParams.d.ts │ ├── tacoJsonMetadata.d.ts │ ├── tacoKits.d.ts │ ├── tacoLiveReload.d.ts │ ├── tacoPackageLoader.d.ts │ ├── tacoProjectInfo.d.ts │ ├── tacoRemote.d.ts │ ├── tacoRemoteLib.d.ts │ ├── tacoRemoteMultiplexer.d.ts │ ├── tacoTestsUtils.d.ts │ ├── tacoUtils.d.ts │ ├── tacoUtilsErrorCodes.d.ts │ ├── tar.d.ts │ ├── telemetry.d.ts │ ├── telemetryFakes.d.ts │ ├── telemetryHelper.d.ts │ ├── testProjectHelper.d.ts │ ├── toposort.d.ts │ ├── unorm.d.ts │ ├── utilHelper.d.ts │ ├── winreg.d.ts │ ├── wrench.d.ts │ └── zip-stream.d.ts └── updateDynamicDependencies.js ├── templates ├── default │ ├── blank │ │ ├── config.xml │ │ ├── merges │ │ │ ├── android │ │ │ │ └── scripts │ │ │ │ │ ├── android2.3-jscompat.js │ │ │ │ │ └── platformOverrides.js │ │ │ └── windows │ │ │ │ └── scripts │ │ │ │ ├── platformOverrides.js │ │ │ │ └── winstore-jscompat.js │ │ ├── package.json │ │ ├── res │ │ │ ├── icons │ │ │ │ ├── android │ │ │ │ │ ├── icon-36-ldpi.png │ │ │ │ │ ├── icon-48-mdpi.png │ │ │ │ │ ├── icon-72-hdpi.png │ │ │ │ │ └── icon-96-xhdpi.png │ │ │ │ ├── ios │ │ │ │ │ ├── icon-40-2x.png │ │ │ │ │ ├── icon-40.png │ │ │ │ │ ├── icon-50-2x.png │ │ │ │ │ ├── icon-50.png │ │ │ │ │ ├── icon-57-2x.png │ │ │ │ │ ├── icon-57.png │ │ │ │ │ ├── icon-60-2x.png │ │ │ │ │ ├── icon-60-3x.png │ │ │ │ │ ├── icon-60.png │ │ │ │ │ ├── icon-72-2x.png │ │ │ │ │ ├── icon-72.png │ │ │ │ │ ├── icon-76-2x.png │ │ │ │ │ ├── icon-76.png │ │ │ │ │ ├── icon-small-2x.png │ │ │ │ │ └── icon-small.png │ │ │ │ ├── windows │ │ │ │ │ ├── Square150x150Logo.scale-100.png │ │ │ │ │ ├── Square150x150Logo.scale-240.png │ │ │ │ │ ├── Square30x30Logo.scale-100.png │ │ │ │ │ ├── Square310x310Logo.scale-100.png │ │ │ │ │ ├── Square44x44Logo.scale-240.png │ │ │ │ │ ├── Square70x70Logo.scale-100.png │ │ │ │ │ ├── Square71x71Logo.scale-240.png │ │ │ │ │ ├── StoreLogo.scale-100.png │ │ │ │ │ ├── StoreLogo.scale-240.png │ │ │ │ │ ├── Wide310x150Logo.scale-100.png │ │ │ │ │ └── Wide310x150Logo.scale-240.png │ │ │ │ └── wp8 │ │ │ │ │ ├── ApplicationIcon.png │ │ │ │ │ └── Background.png │ │ │ ├── native │ │ │ │ └── android │ │ │ │ │ └── ant.properties │ │ │ └── screens │ │ │ │ ├── android │ │ │ │ ├── screen-hdpi-landscape.png │ │ │ │ ├── screen-hdpi-portrait.png │ │ │ │ ├── screen-ldpi-landscape.png │ │ │ │ ├── screen-ldpi-portrait.png │ │ │ │ ├── screen-mdpi-landscape.png │ │ │ │ ├── screen-mdpi-portrait.png │ │ │ │ ├── screen-xhdpi-landscape.png │ │ │ │ └── screen-xhdpi-portrait.png │ │ │ │ ├── ios │ │ │ │ ├── screen-ipad-landscape-2x.png │ │ │ │ ├── screen-ipad-landscape.png │ │ │ │ ├── screen-ipad-portrait-2x.png │ │ │ │ ├── screen-ipad-portrait.png │ │ │ │ ├── screen-iphone-568h-2x.png │ │ │ │ ├── screen-iphone-landscape-736h.png │ │ │ │ ├── screen-iphone-portrait-2x.png │ │ │ │ ├── screen-iphone-portrait-667h.png │ │ │ │ ├── screen-iphone-portrait-736h.png │ │ │ │ └── screen-iphone-portrait.png │ │ │ │ ├── windows │ │ │ │ ├── SplashScreen.scale-100.png │ │ │ │ ├── SplashScreen.scale-240.png │ │ │ │ └── SplashScreenPhone.scale-240.png │ │ │ │ └── wp8 │ │ │ │ └── SplashScreenImage.png │ │ └── www │ │ │ ├── css │ │ │ └── index.css │ │ │ ├── images │ │ │ └── cordova.png │ │ │ ├── index.html │ │ │ └── scripts │ │ │ ├── index.js │ │ │ └── platformOverrides.js │ └── typescript │ │ ├── config.xml │ │ ├── gulpfile.js │ │ ├── merges │ │ ├── android │ │ │ └── scripts │ │ │ │ ├── android2.3-jscompat.js │ │ │ │ └── platformOverrides.js │ │ └── windows │ │ │ └── scripts │ │ │ ├── platformOverrides.js │ │ │ └── winstore-jscompat.js │ │ ├── package.json │ │ ├── res │ │ ├── icons │ │ │ ├── android │ │ │ │ ├── icon-36-ldpi.png │ │ │ │ ├── icon-48-mdpi.png │ │ │ │ ├── icon-72-hdpi.png │ │ │ │ └── icon-96-xhdpi.png │ │ │ ├── ios │ │ │ │ ├── icon-40-2x.png │ │ │ │ ├── icon-40.png │ │ │ │ ├── icon-50-2x.png │ │ │ │ ├── icon-50.png │ │ │ │ ├── icon-57-2x.png │ │ │ │ ├── icon-57.png │ │ │ │ ├── icon-60-2x.png │ │ │ │ ├── icon-60-3x.png │ │ │ │ ├── icon-60.png │ │ │ │ ├── icon-72-2x.png │ │ │ │ ├── icon-72.png │ │ │ │ ├── icon-76-2x.png │ │ │ │ ├── icon-76.png │ │ │ │ ├── icon-small-2x.png │ │ │ │ └── icon-small.png │ │ │ ├── windows │ │ │ │ ├── Square150x150Logo.scale-100.png │ │ │ │ ├── Square150x150Logo.scale-240.png │ │ │ │ ├── Square30x30Logo.scale-100.png │ │ │ │ ├── Square310x310Logo.scale-100.png │ │ │ │ ├── Square44x44Logo.scale-240.png │ │ │ │ ├── Square70x70Logo.scale-100.png │ │ │ │ ├── Square71x71Logo.scale-240.png │ │ │ │ ├── StoreLogo.scale-100.png │ │ │ │ ├── StoreLogo.scale-240.png │ │ │ │ ├── Wide310x150Logo.scale-100.png │ │ │ │ └── Wide310x150Logo.scale-240.png │ │ │ └── wp8 │ │ │ │ ├── ApplicationIcon.png │ │ │ │ └── Background.png │ │ ├── native │ │ │ └── android │ │ │ │ └── ant.properties │ │ └── screens │ │ │ ├── android │ │ │ ├── screen-hdpi-landscape.png │ │ │ ├── screen-hdpi-portrait.png │ │ │ ├── screen-ldpi-landscape.png │ │ │ ├── screen-ldpi-portrait.png │ │ │ ├── screen-mdpi-landscape.png │ │ │ ├── screen-mdpi-portrait.png │ │ │ ├── screen-xhdpi-landscape.png │ │ │ └── screen-xhdpi-portrait.png │ │ │ ├── ios │ │ │ ├── screen-ipad-landscape-2x.png │ │ │ ├── screen-ipad-landscape.png │ │ │ ├── screen-ipad-portrait-2x.png │ │ │ ├── screen-ipad-portrait.png │ │ │ ├── screen-iphone-568h-2x.png │ │ │ ├── screen-iphone-landscape-736h.png │ │ │ ├── screen-iphone-portrait-2x.png │ │ │ ├── screen-iphone-portrait-667h.png │ │ │ ├── screen-iphone-portrait-736h.png │ │ │ └── screen-iphone-portrait.png │ │ │ ├── windows │ │ │ ├── SplashScreen.scale-100.png │ │ │ ├── SplashScreen.scale-240.png │ │ │ └── SplashScreenPhone.scale-240.png │ │ │ └── wp8 │ │ │ └── SplashScreenImage.png │ │ ├── scripts │ │ ├── index.ts │ │ ├── platformOverrides.ts │ │ ├── tsconfig.json │ │ └── typings │ │ │ └── cordova │ │ │ ├── cordova.d.ts │ │ │ └── plugins │ │ │ ├── BatteryStatus.d.ts │ │ │ ├── Camera.d.ts │ │ │ ├── Contacts.d.ts │ │ │ ├── Device.d.ts │ │ │ ├── DeviceMotion.d.ts │ │ │ ├── DeviceOrientation.d.ts │ │ │ ├── Dialogs.d.ts │ │ │ ├── FileSystem.d.ts │ │ │ ├── FileTransfer.d.ts │ │ │ ├── Globalization.d.ts │ │ │ ├── InAppBrowser.d.ts │ │ │ ├── Media.d.ts │ │ │ ├── MediaCapture.d.ts │ │ │ ├── NetworkInformation.d.ts │ │ │ ├── Push.d.ts │ │ │ ├── Splashscreen.d.ts │ │ │ ├── StatusBar.d.ts │ │ │ ├── Vibration.d.ts │ │ │ └── WebSQL.d.ts │ │ └── www │ │ ├── css │ │ └── index.css │ │ ├── images │ │ └── cordova.png │ │ ├── index.html │ │ └── scripts │ │ └── .taco-ignore └── fixed-whitelist │ ├── blank │ ├── config.xml │ ├── merges │ │ ├── android │ │ │ └── scripts │ │ │ │ ├── android2.3-jscompat.js │ │ │ │ └── platformOverrides.js │ │ └── windows │ │ │ └── scripts │ │ │ ├── platformOverrides.js │ │ │ └── winstore-jscompat.js │ ├── package.json │ ├── res │ │ ├── icons │ │ │ ├── android │ │ │ │ ├── icon-36-ldpi.png │ │ │ │ ├── icon-48-mdpi.png │ │ │ │ ├── icon-72-hdpi.png │ │ │ │ └── icon-96-xhdpi.png │ │ │ ├── ios │ │ │ │ ├── icon-40-2x.png │ │ │ │ ├── icon-40.png │ │ │ │ ├── icon-50-2x.png │ │ │ │ ├── icon-50.png │ │ │ │ ├── icon-57-2x.png │ │ │ │ ├── icon-57.png │ │ │ │ ├── icon-60-2x.png │ │ │ │ ├── icon-60-3x.png │ │ │ │ ├── icon-60.png │ │ │ │ ├── icon-72-2x.png │ │ │ │ ├── icon-72.png │ │ │ │ ├── icon-76-2x.png │ │ │ │ ├── icon-76.png │ │ │ │ ├── icon-small-2x.png │ │ │ │ └── icon-small.png │ │ │ ├── windows │ │ │ │ ├── Square150x150Logo.scale-100.png │ │ │ │ ├── Square150x150Logo.scale-240.png │ │ │ │ ├── Square30x30Logo.scale-100.png │ │ │ │ ├── Square310x310Logo.scale-100.png │ │ │ │ ├── Square44x44Logo.scale-240.png │ │ │ │ ├── Square70x70Logo.scale-100.png │ │ │ │ ├── Square71x71Logo.scale-240.png │ │ │ │ ├── StoreLogo.scale-100.png │ │ │ │ ├── StoreLogo.scale-240.png │ │ │ │ ├── Wide310x150Logo.scale-100.png │ │ │ │ └── Wide310x150Logo.scale-240.png │ │ │ └── wp8 │ │ │ │ ├── ApplicationIcon.png │ │ │ │ └── Background.png │ │ ├── native │ │ │ └── android │ │ │ │ └── ant.properties │ │ └── screens │ │ │ ├── android │ │ │ ├── screen-hdpi-landscape.png │ │ │ ├── screen-hdpi-portrait.png │ │ │ ├── screen-ldpi-landscape.png │ │ │ ├── screen-ldpi-portrait.png │ │ │ ├── screen-mdpi-landscape.png │ │ │ ├── screen-mdpi-portrait.png │ │ │ ├── screen-xhdpi-landscape.png │ │ │ └── screen-xhdpi-portrait.png │ │ │ ├── ios │ │ │ ├── screen-ipad-landscape-2x.png │ │ │ ├── screen-ipad-landscape.png │ │ │ ├── screen-ipad-portrait-2x.png │ │ │ ├── screen-ipad-portrait.png │ │ │ ├── screen-iphone-568h-2x.png │ │ │ ├── screen-iphone-landscape-736h.png │ │ │ ├── screen-iphone-portrait-2x.png │ │ │ ├── screen-iphone-portrait-667h.png │ │ │ ├── screen-iphone-portrait-736h.png │ │ │ └── screen-iphone-portrait.png │ │ │ ├── windows │ │ │ ├── SplashScreen.scale-100.png │ │ │ ├── SplashScreen.scale-240.png │ │ │ └── SplashScreenPhone.scale-240.png │ │ │ └── wp8 │ │ │ └── SplashScreenImage.jpg │ └── www │ │ ├── css │ │ └── index.css │ │ ├── images │ │ └── .taco-ignore │ │ ├── index.html │ │ └── scripts │ │ ├── index.js │ │ └── platformOverrides.js │ └── typescript │ ├── config.xml │ ├── gulpfile.js │ ├── merges │ ├── android │ │ └── scripts │ │ │ ├── android2.3-jscompat.js │ │ │ └── platformOverrides.js │ └── windows │ │ └── scripts │ │ ├── platformOverrides.js │ │ └── winstore-jscompat.js │ ├── package.json │ ├── res │ ├── icons │ │ ├── android │ │ │ ├── icon-36-ldpi.png │ │ │ ├── icon-48-mdpi.png │ │ │ ├── icon-72-hdpi.png │ │ │ └── icon-96-xhdpi.png │ │ ├── ios │ │ │ ├── icon-40-2x.png │ │ │ ├── icon-40.png │ │ │ ├── icon-50-2x.png │ │ │ ├── icon-50.png │ │ │ ├── icon-57-2x.png │ │ │ ├── icon-57.png │ │ │ ├── icon-60-2x.png │ │ │ ├── icon-60-3x.png │ │ │ ├── icon-60.png │ │ │ ├── icon-72-2x.png │ │ │ ├── icon-72.png │ │ │ ├── icon-76-2x.png │ │ │ ├── icon-76.png │ │ │ ├── icon-small-2x.png │ │ │ └── icon-small.png │ │ ├── windows │ │ │ ├── Square150x150Logo.scale-100.png │ │ │ ├── Square150x150Logo.scale-240.png │ │ │ ├── Square30x30Logo.scale-100.png │ │ │ ├── Square310x310Logo.scale-100.png │ │ │ ├── Square44x44Logo.scale-240.png │ │ │ ├── Square70x70Logo.scale-100.png │ │ │ ├── Square71x71Logo.scale-240.png │ │ │ ├── StoreLogo.scale-100.png │ │ │ ├── StoreLogo.scale-240.png │ │ │ ├── Wide310x150Logo.scale-100.png │ │ │ └── Wide310x150Logo.scale-240.png │ │ └── wp8 │ │ │ ├── ApplicationIcon.png │ │ │ └── Background.png │ ├── native │ │ └── android │ │ │ └── ant.properties │ └── screens │ │ ├── android │ │ ├── screen-hdpi-landscape.png │ │ ├── screen-hdpi-portrait.png │ │ ├── screen-ldpi-landscape.png │ │ ├── screen-ldpi-portrait.png │ │ ├── screen-mdpi-landscape.png │ │ ├── screen-mdpi-portrait.png │ │ ├── screen-xhdpi-landscape.png │ │ └── screen-xhdpi-portrait.png │ │ ├── ios │ │ ├── screen-ipad-landscape-2x.png │ │ ├── screen-ipad-landscape.png │ │ ├── screen-ipad-portrait-2x.png │ │ ├── screen-ipad-portrait.png │ │ ├── screen-iphone-568h-2x.png │ │ ├── screen-iphone-landscape-736h.png │ │ ├── screen-iphone-portrait-2x.png │ │ ├── screen-iphone-portrait-667h.png │ │ ├── screen-iphone-portrait-736h.png │ │ └── screen-iphone-portrait.png │ │ ├── windows │ │ ├── SplashScreen.scale-100.png │ │ ├── SplashScreen.scale-240.png │ │ └── SplashScreenPhone.scale-240.png │ │ └── wp8 │ │ └── SplashScreenImage.jpg │ ├── scripts │ ├── index.ts │ ├── platformOverrides.ts │ ├── tsconfig.json │ └── typings │ │ └── cordova │ │ ├── cordova.d.ts │ │ └── plugins │ │ ├── BatteryStatus.d.ts │ │ ├── Camera.d.ts │ │ ├── Contacts.d.ts │ │ ├── Device.d.ts │ │ ├── DeviceMotion.d.ts │ │ ├── DeviceOrientation.d.ts │ │ ├── Dialogs.d.ts │ │ ├── FileSystem.d.ts │ │ ├── FileTransfer.d.ts │ │ ├── Globalization.d.ts │ │ ├── InAppBrowser.d.ts │ │ ├── Media.d.ts │ │ ├── MediaCapture.d.ts │ │ ├── NetworkInformation.d.ts │ │ ├── Push.d.ts │ │ ├── Splashscreen.d.ts │ │ ├── StatusBar.d.ts │ │ ├── Vibration.d.ts │ │ └── WebSQL.d.ts │ └── www │ ├── css │ └── index.css │ ├── images │ └── .taco-ignore │ ├── index.html │ └── scripts │ └── .taco-ignore └── tools ├── GulpCoverageUtils.ts ├── GulpPackageUtils.ts ├── GulpUtils.ts ├── build_config.json ├── gulpmain.ts ├── tacoUtil.js ├── tsDefinitionUtil.ts └── tslint.json /LICENSE: -------------------------------------------------------------------------------- 1 | Tools for Apache Cordova 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /* placeholder gulpfile, allows calling gulpmain tasks */ 5 | var fs = require("fs"), 6 | path = require('path'), 7 | gulp = require("gulp"), 8 | buildConfig = require('./tools/build_config.json'); 9 | 10 | gulp.on("task_not_found", function (err) { 11 | console.error("\nPlease run 'npm install' from project root\n"); 12 | }); 13 | 14 | /* 15 | To add additional gulp tasks, add gulpfile in folder and reference it below 16 | for example: require('./src/compile/gulpfile'); 17 | */ 18 | var gulpMain = path.resolve(buildConfig.buildTools, "gulpmain.js"); 19 | if (fs.existsSync(gulpMain)) { 20 | require(gulpMain); 21 | } 22 | 23 | module.exports = gulp; 24 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "taco-dev-dependencies", 3 | "private": true, 4 | "author": { 5 | "name": "Microsoft Corp." 6 | }, 7 | "description": "specifies dependencies needed for developing taco", 8 | "version": "0.0.1", 9 | "devDependencies": { 10 | "archiver": "latest", 11 | "del": "^1.2.1", 12 | "gulp": "latest", 13 | "gulp-json-editor": "latest", 14 | "gulp-sourcemaps": "latest", 15 | "gulp-tslint": "latest", 16 | "gulp-typescript": "latest", 17 | "jsdoc-parse": "latest", 18 | "mocha-teamcity-reporter": "latest", 19 | "ncp": "latest", 20 | "nopt": "latest", 21 | "q": "latest", 22 | "remap-istanbul": "^0.3.1", 23 | "replace": "latest", 24 | "run-sequence": "latest", 25 | "typescript": "^1.8.2" 26 | }, 27 | "scripts" : { 28 | "postinstall" : "node tools/tacoUtil.js", 29 | "clean" : "node tools/tacoUtil.js", 30 | "rebuild" : "node tools/tacoUtil.js" 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /src/mocha.opts: -------------------------------------------------------------------------------- 1 | --timeout 150000 -------------------------------------------------------------------------------- /src/remotebuild/.npmignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | .npmignore -------------------------------------------------------------------------------- /src/remotebuild/LICENSE: -------------------------------------------------------------------------------- 1 | RemoteBuild 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | -------------------------------------------------------------------------------- /src/remotebuild/RESTAPI.md: -------------------------------------------------------------------------------- 1 | # REST API 2 | ### GET http://localhost:3000/certs/<PIN> 3 | If PIN corresponds to a valid certificate and has not yet been used, then return the certificate file and invalidate the PIN. Otherwise returns a 404 4 | 5 | ### GET http://localhost:3000/modules/<packageName> 6 | Find where a specified package services requests. 7 | If the server configuration specified 8 | 9 | modules : { 10 | // [...] 11 | "packageName": "mountLocation" 12 | // [...] 13 | } 14 | 15 | then the body of the response is the string mountLocation, and the Content-Location header is set to "http://localhost:3000/mountLocation" 16 | 17 | If packageName was not specified in the config, then this request returns a 404. -------------------------------------------------------------------------------- /src/remotebuild/bin/remotebuild: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var cli = require('./../lib/cli'); 4 | cli(); 5 | -------------------------------------------------------------------------------- /src/remotebuild/resources/resourceManager.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | import tacoUtility = require ("taco-utils"); 9 | var resourceManager: tacoUtility.ResourceManager = new tacoUtility.ResourceManager(__dirname); 10 | export = resourceManager; 11 | -------------------------------------------------------------------------------- /src/taco-cli/.npmignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | .npmignore -------------------------------------------------------------------------------- /src/taco-cli/LICENSE: -------------------------------------------------------------------------------- 1 | taco-cli 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /src/taco-cli/bin/taco: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var taco = require('./../cli/taco'); 4 | taco.run(); 5 | -------------------------------------------------------------------------------- /src/taco-cli/bin/taco.cmd: -------------------------------------------------------------------------------- 1 | @node "%~dpn0" %* -------------------------------------------------------------------------------- /src/taco-cli/cli/docs.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | /// 6 | 7 | "use strict"; 8 | 9 | import Q = require ("q"); 10 | 11 | import resources = require ("../resources/resourceManager"); 12 | import tacoUtility = require ("taco-utils"); 13 | import opener = require ("opener"); 14 | 15 | import commands = tacoUtility.Commands; 16 | 17 | /** 18 | * Documentation 19 | * 20 | * Handles "taco Documentation" 21 | */ 22 | class Documentation extends commands.TacoCommandBase { 23 | public info: commands.ICommandInfo; 24 | 25 | protected runCommand(): Q.Promise { 26 | // This implementation is based on "npm docs": https://github.com/npm/npm/blob/master/lib/docs.js 27 | var link: string = resources.getString("TacoDocumentationLink"); 28 | opener(link); 29 | return Q.resolve({}); 30 | } 31 | 32 | public parseArgs(args: string[]): commands.ICommandData { 33 | return { options: {}, original: [], remain: [] }; 34 | } 35 | } 36 | 37 | export = Documentation; 38 | -------------------------------------------------------------------------------- /src/taco-cli/cli/feedback.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | import Q = require ("q"); 8 | import tacoUtility = require ("taco-utils"); 9 | 10 | import commands = tacoUtility.Commands; 11 | import telemetry = tacoUtility.Telemetry; 12 | 13 | /** 14 | * feedback 15 | * 16 | * handles "taco feedback" 17 | */ 18 | class Feedback extends commands.TacoCommandBase { 19 | public info: commands.ICommandInfo; 20 | 21 | public name: string = "feedback"; 22 | 23 | public parseArgs(args: string[]): commands.ICommandData { 24 | return { options: {}, original: [], remain: [] }; 25 | } 26 | 27 | /** 28 | * Prompt for telemetry consent 29 | */ 30 | protected runCommand(): Q.Promise { 31 | return telemetry.changeTelemetryOptInSetting(); 32 | } 33 | } 34 | 35 | export = Feedback; 36 | -------------------------------------------------------------------------------- /src/taco-cli/cli/help.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | /// 6 | /// 7 | 8 | "use strict"; 9 | 10 | import path = require ("path"); 11 | 12 | import tacoUtility = require ("taco-utils"); 13 | import HelpCommandBase = tacoUtility.HelpCommandBase; 14 | 15 | /** 16 | * Help handles "Taco Help" 17 | */ 18 | class Help extends HelpCommandBase { 19 | private static TACO_CLI_NAME: string = "taco"; 20 | constructor() { 21 | super(Help.TACO_CLI_NAME, path.join(__dirname, "./commands.json"), require("../resources/resourceManager")); 22 | require("./logo"); 23 | } 24 | } 25 | 26 | export = Help; 27 | -------------------------------------------------------------------------------- /src/taco-cli/cli/tacoErrorHelper.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | "use strict"; 6 | 7 | import tacoUtils = require ("taco-utils"); 8 | import resourceManager = require ("../resources/resourceManager"); 9 | import TacoErrorCode = require ("./tacoErrorCodes"); 10 | 11 | class TacoErrorHelper { 12 | public static get(tacoErrorCode: TacoErrorCode, ...optionalArgs: any[]): tacoUtils.TacoError { 13 | return tacoUtils.TacoError.getError(TacoErrorCode[tacoErrorCode], tacoErrorCode, resourceManager, ...optionalArgs); 14 | } 15 | 16 | public static getWarning(errorToken: string, ...optionalArgs: any[]): tacoUtils.TacoError { 17 | return tacoUtils.TacoError.getWarning(errorToken, resourceManager, ...optionalArgs); 18 | } 19 | 20 | public static wrap(tacoErrorCode: TacoErrorCode, innerError: Error, ...optionalArgs: any[]): tacoUtils.TacoError { 21 | return tacoUtils.TacoError.wrapError(innerError, TacoErrorCode[tacoErrorCode], tacoErrorCode, resourceManager, ...optionalArgs); 22 | } 23 | } 24 | 25 | export = TacoErrorHelper; 26 | -------------------------------------------------------------------------------- /src/taco-cli/cli/utils/cliTelemetryHelper.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | /// 6 | /// 7 | "use strict"; 8 | 9 | import tacoUtility = require ("taco-utils"); 10 | 11 | import ProjectHelper = tacoUtility.ProjectHelper; 12 | 13 | class CliTelemetryHelper { 14 | public static getCurrentProjectTelemetryProperties(): Q.Promise { 15 | var cliVersion: string = require("../../package.json").version; 16 | return ProjectHelper.getCurrentProjectTelemetryProperties(cliVersion); 17 | } 18 | } 19 | 20 | export = CliTelemetryHelper; 21 | -------------------------------------------------------------------------------- /src/taco-cli/cli/version.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | import Q = require ("q"); 8 | import tacoUtility = require ("taco-utils"); 9 | import resources = require ("../resources/resourceManager"); 10 | 11 | import commands = tacoUtility.Commands; 12 | import logger = tacoUtility.Logger; 13 | import telemetryHelper = tacoUtility.TelemetryHelper; 14 | 15 | /** 16 | * Version 17 | * 18 | * handles "Taco Version" 19 | */ 20 | class Version extends commands.TacoCommandBase { 21 | public info: commands.ICommandInfo; 22 | 23 | public parseArgs(args: string[]): commands.ICommandData { 24 | return { options: {}, original: [], remain: [] }; 25 | } 26 | 27 | /** 28 | * entry point for printing version 29 | */ 30 | protected runCommand(): Q.Promise { 31 | this.printTacoVersion(); 32 | return Q({}); 33 | } 34 | 35 | /** 36 | * prints out Taco Version 37 | */ 38 | private printTacoVersion(): void { 39 | logger.log(require("../package.json").version); 40 | } 41 | } 42 | 43 | export = Version; 44 | -------------------------------------------------------------------------------- /src/taco-cli/dynamicDependencies.json: -------------------------------------------------------------------------------- 1 | { 2 | "taco-kits": { 3 | "packageName": "taco-kits", 4 | "packageId": "taco-kits", 5 | "expirationIntervalInHours": 4, 6 | "dev": true 7 | } 8 | } -------------------------------------------------------------------------------- /src/taco-cli/resources/resourceManager.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | import tacoUtility = require ("taco-utils"); 9 | var resourceManager: tacoUtility.ResourceManager = new tacoUtility.ResourceManager(__dirname); 10 | export = resourceManager; 11 | -------------------------------------------------------------------------------- /src/taco-cli/test/resources/certs/client.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/src/taco-cli/test/resources/certs/client.pfx -------------------------------------------------------------------------------- /src/taco-cli/test/resources/certs/note: -------------------------------------------------------------------------------- 1 | These certs were generated on 2015/03/14 with 1825 day expiration. -------------------------------------------------------------------------------- /src/taco-cli/test/resources/certs/server-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXAIBAAKBgQC/YMRXUJ9LhVU0kosWRVZMeScRu/odYuR0KjbfUG7mRyVezWK9 3 | DTg+eQY+0vOH5tziu8xTF7XwUZ5K4ytqFCKQS4qOe2bYfP9UdV5WqCRTEioA9AKs 4 | AiBYf4vGBnI6hv9G20HVtwVjxV6TEzZgvRrUzgyBfjRva5o8T8d2td4dLQIDAQAB 5 | AoGBALRrLa6DOymfUWx2mtksFOeTb9mwNWNuz6EUCxcMZQCDIh/10JgZ1mRPBCxG 6 | A4CjjKnUEhRjzgn5aBmBgHRI9ysfSUG0CEOGjkC+ydZq9KveX04A17AFroxjNj6H 7 | f1aArn8O8Ddtyl7wH1qyzozhSDlap6/kyzvl9a4AAZNEWRYBAkEA7IjoplobZzq+ 8 | NZPO5FuDKLwI8kwuGjLelKhXWVbVRb2egVjpRk1ApmTPlfeHbBdpeCfq2nB15bLB 9 | MBuj2t4J8QJBAM8giZGFCJm4wY1plbM7HEWIs2xkUKMV8Oke5GSnpuMpl+up2adf 10 | WRM/mB9/nvGoyE2RivQA1MHcqIuzkRDY6v0CQHrBYtxSjz43wldT6l+hDqSpUYtN 11 | 9e8qz1EfPJXk9rJHAmfmmMofdZnlX8ZYvDNgwx/Ut5G+I7Gd35zz+0mvSkECQEN4 12 | Mde5IggQ6tuJnT3470inMusH8kxthUAq0/MFuZMdpWMavM+Me5ONj5wTEk9dz4GU 13 | +1JoQuWzXyPCpmp6fnECQHSq4SYOL7K56nYPgfwLAqOuWrYcoWYU4djQmmMhot0D 14 | JZHH6n6aFGQhPPO4l+uchsiBJwB91WLpL+A0d+r+an8= 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /src/taco-cli/test/resources/empty.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/src/taco-cli/test/resources/empty.zip -------------------------------------------------------------------------------- /src/taco-cli/test/resources/templates/testKit/testTemplate/a.txt: -------------------------------------------------------------------------------- 1 | some text 2 | $projectname$ 3 | $appid$ 4 | $appID$ 5 | $randomToken$$$$ 6 | more text 7 | $appid$ -------------------------------------------------------------------------------- /src/taco-cli/test/resources/templates/testKit/testTemplate/folder1/b.txt: -------------------------------------------------------------------------------- 1 | some text 2 | $projectname$ 3 | $appid$ 4 | $appID$ 5 | $randomToken$$$$ 6 | more text 7 | $appid$ -------------------------------------------------------------------------------- /src/taco-cli/test/resources/templates/testKit/testTemplate2/www/a.txt: -------------------------------------------------------------------------------- 1 | some text 2 | $projectname$ 3 | $appid$ 4 | $appID$ 5 | $randomToken$$$$ 6 | more text 7 | $appid$ -------------------------------------------------------------------------------- /src/taco-cli/test/resources/templates/testKit/testTemplate2/www/folder1/b.txt: -------------------------------------------------------------------------------- 1 | some text 2 | $projectname$ 3 | $appid$ 4 | $appID$ 5 | $randomToken$$$$ 6 | more text 7 | $appid$ -------------------------------------------------------------------------------- /src/taco-cli/test/resources/templates/testKit/testTemplate3/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/src/taco-cli/test/resources/templates/testKit/testTemplate3/.gitattributes -------------------------------------------------------------------------------- /src/taco-cli/test/resources/templates/testKit/testTemplate3/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/src/taco-cli/test/resources/templates/testKit/testTemplate3/.gitignore -------------------------------------------------------------------------------- /src/taco-cli/test/resources/templates/testKit/testTemplate3/.taco-ignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/src/taco-cli/test/resources/templates/testKit/testTemplate3/.taco-ignore -------------------------------------------------------------------------------- /src/taco-cli/test/resources/templates/testKit/testTemplate3/www/a.txt: -------------------------------------------------------------------------------- 1 | some text 2 | $projectname$ 3 | $appid$ 4 | $appID$ 5 | $randomToken$$$$ 6 | more text 7 | $appid$ -------------------------------------------------------------------------------- /src/taco-cli/test/resources/templates/testKit/testTemplate3/www/folder1/b.txt: -------------------------------------------------------------------------------- 1 | some text 2 | $projectname$ 3 | $appid$ 4 | $appID$ 5 | $randomToken$$$$ 6 | more text 7 | $appid$ -------------------------------------------------------------------------------- /src/taco-cli/test/tacoErrors.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | /// 6 | 7 | "use strict"; 8 | 9 | import mocha = require ("mocha"); 10 | import path = require ("path"); 11 | 12 | import resources = require ("../resources/resourceManager"); 13 | import tacoTestUtils = require("taco-tests-utils"); 14 | 15 | import TacoErrorTestHelper = tacoTestUtils.TacoErrorTestHelper; 16 | 17 | describe("Taco Errors in TACO", function (): void { 18 | it("Verify TACO Errors in TACO", function (): void { 19 | TacoErrorTestHelper.verifyTacoErrors(path.join(__dirname, "../cli/tacoErrorCodes.js"), resources, 5000, 5999); 20 | }); 21 | it("Verify removed TACO Errors are not taken", function (): void { 22 | var excludeErrorCodes: number[] = [5001, 5002, 5003, 5015, 5016, 5454, 5455, 5535]; 23 | TacoErrorTestHelper.verifyExcludedTacoErrors(path.join(__dirname, "../cli/tacoErrorCodes.js"), resources, excludeErrorCodes); 24 | }); 25 | }); 26 | 27 | -------------------------------------------------------------------------------- /src/taco-cli/test/utils/commandHelper.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | import path = require ("path"); 7 | 8 | import tacoUtility = require ("taco-utils"); 9 | 10 | import commands = tacoUtility.Commands; 11 | import CommandsFactory = commands.CommandFactory; 12 | 13 | class CommandHelper { 14 | private static commandsFactory: CommandsFactory = new CommandsFactory(path.join(__dirname, "../../cli/commands.json")); 15 | 16 | /** 17 | * Gets specified task object for use in testing. 18 | */ 19 | public static getCommand(name: string): commands.ICommand { 20 | return CommandHelper.commandsFactory.getTask(name, [], path.join(__dirname, "..", "..", "cli")); 21 | } 22 | } 23 | 24 | export = CommandHelper; 25 | -------------------------------------------------------------------------------- /src/taco-cli/test/utils/httpServerFunction.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | interface IHttpServerFunction { 7 | (request: NodeJSHttp.ServerRequest, response: NodeJSHttp.ServerResponse): void; 8 | }; 9 | 10 | export = IHttpServerFunction; 11 | -------------------------------------------------------------------------------- /src/taco-cli/test/utils/remoteServerSequence.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | interface IRemoteServerSequence { 5 | expectedUrl: string; 6 | statusCode: number; 7 | head: any; 8 | response: any; 9 | waitForPayload?: boolean; 10 | responseDelay?: number; 11 | fileToSend?: string; 12 | }; 13 | 14 | export = IRemoteServerSequence; 15 | -------------------------------------------------------------------------------- /src/taco-dependency-installer/.npmignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | .npmignore -------------------------------------------------------------------------------- /src/taco-dependency-installer/LICENSE: -------------------------------------------------------------------------------- 1 | taco-dependency-installer 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /src/taco-dependency-installer/resources/resourceManager.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | import tacoUtility = require ("taco-utils"); 9 | var resourceManager: tacoUtility.ResourceManager = new tacoUtility.ResourceManager(__dirname); 10 | export = resourceManager; 11 | -------------------------------------------------------------------------------- /src/taco-dependency-installer/tacoErrorCodes.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | module TacoDependencyInstaller { 9 | // Error Codes: 2100-2499 10 | export enum TacoErrorCode { 11 | AbstractMethod = 2101, 12 | CouldNotConnect = 2102, 13 | ErrorCreatingInstallConfig = 2103, 14 | ErrorDeletingInstallConfig = 2104, 15 | FatalError = 2105, 16 | FileCorruptError = 2106, 17 | FileNotFound = 2107, 18 | InstallationErrors = 2108, 19 | NoAdminRights = 2110, 20 | NoPowershell = 2111, 21 | NoValidInstallOrder = 2112, 22 | UnknownExitCode = 2113, 23 | UnsupportedPlatform = 2114, 24 | TacoKitsExceptionTypescriptNotSupported = 2115, 25 | } 26 | } 27 | 28 | export = TacoDependencyInstaller; 29 | -------------------------------------------------------------------------------- /src/taco-dependency-installer/tacoErrorHelper.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | import resourceManager = require ("./resources/resourceManager"); 9 | import tacoErrorCode = require ("./tacoErrorCodes"); 10 | import tacoUtils = require ("taco-utils"); 11 | 12 | import TacoErrorCode = tacoErrorCode.TacoErrorCode; 13 | 14 | class TacoErrorHelper { 15 | public static get(tacoErrorCode: TacoErrorCode, ...optionalArgs: any[]): tacoUtils.TacoError { 16 | return tacoUtils.TacoError.getError(TacoErrorCode[tacoErrorCode], tacoErrorCode, resourceManager, ...optionalArgs); 17 | } 18 | 19 | public static wrap(tacoErrorCode: TacoErrorCode, innerError: Error, ...optionalArgs: any[]): tacoUtils.TacoError { 20 | return tacoUtils.TacoError.wrapError(innerError, TacoErrorCode[tacoErrorCode], tacoErrorCode, resourceManager, ...optionalArgs); 21 | } 22 | } 23 | 24 | export = TacoErrorHelper; 25 | -------------------------------------------------------------------------------- /src/taco-dependency-installer/test/fakeLogger.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | "use strict"; 5 | 6 | import installerProtocol = require("../elevatedInstallerProtocol"); 7 | import Q = require("q"); 8 | 9 | import ILogger = installerProtocol.ILogger; 10 | 11 | class FakeLogger implements ILogger { 12 | public log(message: string): void { 13 | // Currently we don't care about these messages 14 | } 15 | 16 | public logWarning(message: string): void { 17 | // Currently we don't care about these messages 18 | } 19 | 20 | public logError(message: string): void { 21 | // Currently we don't care about these messages 22 | } 23 | 24 | public promptForEnvVariableOverwrite(message: string): Q.Promise { 25 | return Q({}); 26 | } 27 | } 28 | 29 | export = FakeLogger; 30 | -------------------------------------------------------------------------------- /src/taco-dependency-installer/test/tacoErrors.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | import mocha = require ("mocha"); 9 | import path = require ("path"); 10 | 11 | import resources = require ("../resources/resourceManager"); 12 | import tacoTestUtils = require("taco-tests-utils"); 13 | 14 | import TacoErrorTestHelper = tacoTestUtils.TacoErrorTestHelper; 15 | 16 | describe("Taco Errors in TACO", function (): void { 17 | it("Verify TACO Errors in TACO", function (): void { 18 | TacoErrorTestHelper.verifyTacoErrors(path.join(__dirname, "../tacoErrorCodes.js"), resources, 2100, 2499); 19 | }); 20 | }); 21 | 22 | -------------------------------------------------------------------------------- /src/taco-dependency-installer/utils/win32/elevatedInstallerLauncher.ps1: -------------------------------------------------------------------------------- 1 | # Spawn elevatedInstaller.js in a new command prompt, as administrator by opening a UAC prompt 2 | $pinfo = New-Object System.Diagnostics.ProcessStartInfo 3 | $pinfo.FileName = "node.exe" 4 | $pinfo.UseShellExecute = $true 5 | $pinfo.WindowStyle = "Hidden" 6 | $pinfo.Verb = "RunAs" 7 | $pinfo.Arguments = "$args" 8 | 9 | $p = New-Object System.Diagnostics.Process 10 | $p.StartInfo = $pinfo 11 | Try 12 | { 13 | $p.Start() | Out-Null 14 | $p.WaitForExit() 15 | } 16 | Catch 17 | { 18 | # Arbitrary exit code, defined in installerProtocol.ts, used to indicate that the elevated installer could not be launched 19 | Exit 33 20 | } 21 | 22 | # Send exit code back to dependencyInstaller.js 23 | Exit $p.ExitCode -------------------------------------------------------------------------------- /src/taco-dependency-installer/utils/win32/setSystemVariable.ps1: -------------------------------------------------------------------------------- 1 | [Environment]::SetEnvironmentVariable($args[0], $args[1], 'Machine'); -------------------------------------------------------------------------------- /src/taco-kits/.npmignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | .npmignore -------------------------------------------------------------------------------- /src/taco-kits/LICENSE: -------------------------------------------------------------------------------- 1 | taco-kits 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /src/taco-kits/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "taco-kits", 3 | "description": "Validated Kits metadata for taco CLI", 4 | "version": "1.2.0-dev", 5 | "author": { 6 | "name": "Microsoft Corporation", 7 | "email": "vscordovatools-admin@microsoft.com" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/Microsoft/TACO" 12 | }, 13 | "bugs": { 14 | "url" : "https://github.com/Microsoft/TACO/issues", 15 | "email" : "vscordovatools-admin@microsoft.com" 16 | }, 17 | "homepage": "http://taco.tools", 18 | "main": "tacoKits.js", 19 | "scripts": { 20 | "test": "mocha", 21 | "coverage": "istanbul cover --report json node_modules/mocha/bin/_mocha -- --reporter spec" 22 | }, 23 | "dependencies": { 24 | "q": "^1.1.2", 25 | "taco-utils": "file:../taco-utils" 26 | }, 27 | "devDependencies": { 28 | "mocha": "2.0.1", 29 | "istanbul": "^0.4.0", 30 | "should": "4.3.0", 31 | "taco-tests-utils": "file:../taco-tests-utils" 32 | }, 33 | "license": "MIT" 34 | } 35 | -------------------------------------------------------------------------------- /src/taco-kits/resources/resourceManager.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | import tacoUtility = require ("taco-utils"); 9 | var resourceManager: tacoUtility.ResourceManager = new tacoUtility.ResourceManager(__dirname); 10 | export = resourceManager; 11 | -------------------------------------------------------------------------------- /src/taco-kits/tacoErrorCodes.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | "use strict"; 6 | 7 | module TacoKits { 8 | // Error Codes: 2000-2099 9 | export enum TacoErrorCode { 10 | TacoKitsExceptionInvalidKit = 2001, 11 | TacoKitsExceptionInvalidTemplate = 2002, 12 | TacoKitsExceptionKitMetadataFileMalformed = 2003, 13 | TacoKitsExceptionKitMetadataFileNotFound = 2004, 14 | TacoKitsExceptionNoCliSpecification = 2005, 15 | TacoKitsExceptionTypescriptNotSupported = 2006 16 | } 17 | } 18 | 19 | export = TacoKits; 20 | -------------------------------------------------------------------------------- /src/taco-kits/tacoErrorHelper.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | "use strict"; 6 | 7 | import tacoResources = require ("./resources/resourceManager"); 8 | import tacoErrorCode = require ("./tacoErrorCodes"); 9 | import tacoUtils = require ("taco-utils"); 10 | 11 | import TacoErrorCode = tacoErrorCode.TacoErrorCode; 12 | 13 | class TacoErrorHelper { 14 | public static get(tacoErrorCode: TacoErrorCode, ...optionalArgs: any[]): tacoUtils.TacoError { 15 | return tacoUtils.TacoError.getError(TacoErrorCode[tacoErrorCode], tacoErrorCode, tacoResources, ...optionalArgs); 16 | } 17 | 18 | public static wrap(tacoErrorCode: TacoErrorCode, innerError: Error, ...optionalArgs: any[]): tacoUtils.TacoError { 19 | return tacoUtils.TacoError.wrapError(innerError, TacoErrorCode[tacoErrorCode], tacoErrorCode, tacoResources, ...optionalArgs); 20 | } 21 | } 22 | 23 | export = TacoErrorHelper; 24 | -------------------------------------------------------------------------------- /src/taco-kits/test/tacoErrors.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | import path = require ("path"); 9 | 10 | import resources = require ("../resources/resourceManager"); 11 | import tacoTestUtils = require("taco-tests-utils"); 12 | 13 | import TacoErrorTestHelper = tacoTestUtils.TacoErrorTestHelper; 14 | 15 | describe("taco Errors in taco-kits", function (): void { 16 | it("Verify taco Errors in taco-kits", function (): void { 17 | TacoErrorTestHelper.verifyTacoErrors(path.join(__dirname, "../tacoErrorCodes.js"), resources, 2000, 2099); 18 | }); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /src/taco-livereload/README.md: -------------------------------------------------------------------------------- 1 | 2 | # taco-livereload 3 | taco-livereload is a package intended to introduce the livereload functionality to TACO. 4 | it enables developers to have a short feedback loop when editing HTML/CSS/Javascript in a Cordova-based app. 5 | 6 | ## Known Issues 7 | 8 | - 'CTRL + C' does NOT work with cordova-ios (when deploying to a device) 9 | When dealing with cordova-ios(on MAC OSX), it is impossible to use 'CTRL + C' to exit livereload mode, 10 | due to an issue with the [npm package 'ios-sim'](https://www.npmjs.com/package/ios-deploy) which cordova-ios uses to deploy to iOS-based devices. 11 | 12 | - LiveReload doesnt work with Ionic Base Template 13 | Livereload doesn't work with projects created with an Ionic Base Template (via `taco create foo --template https://github.com/driftyco/ionic-app-base`). 14 | This is due to the fact that the `cordova-plugin-whitelist` plugin isn't part of the template's config.xml. 15 | To resolve it, do the following: 16 | - `taco platform add cordova-plugin-whitelist --save` 17 | - `taco run --livereload` 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/taco-livereload/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /** This file is exposed externally */ 5 | 6 | var livereload = require('./livereload'); 7 | var helpers = require('./utils/helpers'); 8 | 9 | module.exports = livereload; 10 | module.exports.Patcher = require('./utils/Patcher'); 11 | module.exports.on = function () { 12 | var livereloadEvents = require('./utils/events'); 13 | livereloadEvents.on.apply(livereloadEvents, arguments); 14 | }; 15 | module.exports.isLiveReloadActive = function() { 16 | return helpers.isLiveReloadActivated(); 17 | }; 18 | -------------------------------------------------------------------------------- /src/taco-livereload/lib/utils/ATSRemover.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | var glob = require('glob'); 5 | var multiPlatforms = require('./platforms'); 6 | var plist = require('plist'); 7 | var path = require('path'); 8 | var fs = require('fs'); 9 | 10 | module.exports = function(projectRoot, platform) { 11 | 12 | var self = this; 13 | this.Remove = function() { 14 | var configFolder = path.join(projectRoot, 'platforms', platform, multiPlatforms.getConfigFolder(platform)); 15 | glob.sync('*/*Info.plist', { 16 | cwd: configFolder, 17 | ignore: '*build/**' 18 | }).forEach(function(filename) { 19 | var infoPListFile = path.join(configFolder, filename); 20 | var data = plist.parse(fs.readFileSync(infoPListFile, 'utf-8')); 21 | data.NSAppTransportSecurity = { 22 | NSAllowsArbitraryLoads: true 23 | }; 24 | fs.writeFileSync(infoPListFile, plist.build(data)); 25 | }); 26 | }; 27 | }; 28 | 29 | -------------------------------------------------------------------------------- /src/taco-livereload/lib/utils/events.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | var events = require('events'); 5 | module.exports = new events.EventEmitter(); 6 | -------------------------------------------------------------------------------- /src/taco-livereload/lib/utils/logger.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | var os = require('os'); 5 | 6 | module.exports.show = function(msg) { 7 | var pluginName = require('../../package.json').name; 8 | console.log(os.EOL + pluginName + ' : ' + os.EOL + msg); 9 | }; 10 | -------------------------------------------------------------------------------- /src/taco-livereload/lib/utils/platforms.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | var WWW_FOLDER = { 5 | android: 'platforms/android/assets/www', 6 | ios: 'platforms/ios/www' 7 | }; 8 | 9 | // config.xml locations, 10 | // These are relative to the platform folder. e.g: for Android, it's '/home/omefire/Projects/cordovaApp/platforms/android/res/xml' 11 | var CONFIG_LOCATION = { 12 | android: 'res/xml', 13 | ios: '.' 14 | }; 15 | 16 | 17 | module.exports.isPlatformSupported = function(platform) { 18 | return WWW_FOLDER.hasOwnProperty(platform) && CONFIG_LOCATION.hasOwnProperty(platform); 19 | }; 20 | 21 | module.exports.getPlatformWWWFolder = function(platform) { 22 | return WWW_FOLDER[platform]; 23 | }; 24 | 25 | module.exports.getConfigFolder = function(platform) { 26 | return CONFIG_LOCATION[platform]; 27 | }; 28 | -------------------------------------------------------------------------------- /src/taco-livereload/package.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | "name": "taco-livereload", 4 | "description": "Module for livereload and devicesync capabilities", 5 | "version": "1.0.4-dev", 6 | "author": { 7 | "name": "Microsoft Corporation", 8 | "email": "vscordovatools-admin@microsoft.com" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/Microsoft/TACO" 13 | }, 14 | "bugs": { 15 | "url" : "https://github.com/Microsoft/TACO/issues", 16 | "email" : "vscordovatools-admin@microsoft.com" 17 | }, 18 | "homepage": "http://taco.tools", 19 | "keywords": [ 20 | "cordova", 21 | "livereload", 22 | "devicesync", 23 | "browsersync" 24 | ], 25 | "main": "lib/index.js", 26 | "preferGlobal": true, 27 | "dependencies": { 28 | "browser-sync": "^2.7.13", 29 | "q": "1.0.1", 30 | "elementtree": "^0.1.6", 31 | "cheerio": "^0.19.0", 32 | "glob": "^5.0.15", 33 | "lodash.merge": "^3.3.2", 34 | "nopt": "^3.0.4", 35 | "plist": "^1.1.0" 36 | }, 37 | "license": "MIT" 38 | } 39 | -------------------------------------------------------------------------------- /src/taco-remote-lib/.npmignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | .npmignore -------------------------------------------------------------------------------- /src/taco-remote-lib/LICENSE: -------------------------------------------------------------------------------- 1 | taco-remote-lib 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | -------------------------------------------------------------------------------- /src/taco-remote-lib/ios/templates/EnterpriseApp.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | items 6 | 7 | 8 | assets 9 | 10 | 11 | kind 12 | software-package 13 | url 14 | http://${YOUR_DOMAIN_DOTCOM}/${PATH_TO_BETA_IF_ANY}/${APPLICATION_NAME}.ipa 15 | 16 | 17 | metadata 18 | 19 | bundle-identifier 20 | ${BUNDLE_IDENTIFIER} 21 | bundle-version 22 | ${APPLICATION_VERSION} 23 | kind 24 | software 25 | title 26 | ${DISPLAY_NAME} 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/taco-remote-lib/resources/resourceManager.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | import tacoUtility = require ("taco-utils"); 9 | var resourceManager: tacoUtility.ResourceManager = new tacoUtility.ResourceManager(__dirname); 10 | export = resourceManager; 11 | -------------------------------------------------------------------------------- /src/taco-remote-lib/test/resources/config.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | FooBar 4 | 5 | A sample Apache Cordova application that responds to the deviceready event. 6 | 7 | 8 | Apache Cordova Team 9 | 10 | 11 | 12 | 13 | 16 | 17 | -------------------------------------------------------------------------------- /src/taco-remote-lib/test/resources/plist/expectedEnterpriseApp.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | items 6 | 7 | 8 | assets 9 | 10 | 11 | kind 12 | software-package 13 | url 14 | http://${YOUR_DOMAIN_DOTCOM}/${PATH_TO_BETA_IF_ANY}/${APPLICATION_NAME}.ipa 15 | 16 | 17 | metadata 18 | 19 | bundle-identifier 20 | org.foo.bar 21 | bundle-version 22 | 0.9.2 23 | kind 24 | software 25 | title 26 | FooBar 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/taco-remote-multiplexer/.npmignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | .npmignore -------------------------------------------------------------------------------- /src/taco-remote-multiplexer/LICENSE: -------------------------------------------------------------------------------- 1 | taco-remote-multiplexer 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | -------------------------------------------------------------------------------- /src/taco-remote-multiplexer/README.md: -------------------------------------------------------------------------------- 1 |  2 | # taco-remote-multiplexer 3 | 4 | *taco-remote-multiplexer* is a package which is intended to update when there is a breaking change in Apache Cordova, or we want to support different incompatible features. Given a build request, it specifies what package should build it. Currently it specifies *taco-remote-lib@1.0.0* but this may change in future. 5 | 6 | -------------------------------------------------------------------------------- /src/taco-remote-multiplexer/dynamicDependencies.json: -------------------------------------------------------------------------------- 1 | { 2 | "latestTacoRemoteLib": { 3 | "packageName": "taco-remote-lib", 4 | "packageId": "taco-remote-lib@2.2.0", 5 | "dev": true 6 | }, 7 | "preCordova540TacoRemoteLib": { 8 | "packageName": "taco-remote-lib", 9 | "packageId": "taco-remote-lib@1.4.0" 10 | }, 11 | 12 | "samplePackageInNpm": { 13 | "packageName": "taco-remote-lib", 14 | "packageId": "taco-remote-lib@0.1.0" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/taco-remote-multiplexer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "taco-remote-multiplexer", 3 | "description": "A package to determine how to interact with a Cordova project, given some request parameters.", 4 | "version": "1.2.8-dev", 5 | "author": { 6 | "name": "Microsoft Corporation", 7 | "email": "vscordovatools-admin@microsoft.com" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/Microsoft/TACO" 12 | }, 13 | "bugs": { 14 | "url" : "https://github.com/Microsoft/TACO/issues", 15 | "email" : "vscordovatools-admin@microsoft.com" 16 | }, 17 | "homepage": "http://taco.tools", 18 | "keywords": [ 19 | "cordova", 20 | "osx ", 21 | "remote build" 22 | ], 23 | "dependencies": { 24 | "semver": "4.3.4" 25 | }, 26 | "main": "./tacoRemoteMultiplexer.js", 27 | "readmeFilename": "README.md", 28 | "license": "MIT" 29 | } 30 | -------------------------------------------------------------------------------- /src/taco-remote/.npmignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | .npmignore -------------------------------------------------------------------------------- /src/taco-remote/LICENSE: -------------------------------------------------------------------------------- 1 | taco-remote 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | -------------------------------------------------------------------------------- /src/taco-remote/README.md: -------------------------------------------------------------------------------- 1 |  2 | # taco-remote 3 | 4 | Build agent for the *remotebuild* server to build, run, and debug iOS apps created using Apache Cordova 5 | 6 | *taco-remote* provides an HTTP API for submitting Apache Cordova build requests. It uses *taco-remote-multiplexer* to map a given build request to the most appropriate build agent. *taco-remote* then forwards the build request to a selected build agent (like *taco-remote-lib*) 7 | 8 | ## Known Issues 9 | See [Known issues](http://aka.ms/remotebuildknownissues) for known issues and workarounds. 10 | -------------------------------------------------------------------------------- /src/taco-remote/dynamicDependencies.json: -------------------------------------------------------------------------------- 1 | { 2 | "taco-remote-multiplexer": { 3 | "packageName": "taco-remote-multiplexer", 4 | "packageId": "taco-remote-multiplexer", 5 | "expirationIntervalInHours": 4, 6 | "dev": true 7 | } 8 | } -------------------------------------------------------------------------------- /src/taco-remote/lib/help.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | /// 6 | /// 7 | 8 | "use strict"; 9 | 10 | import path = require ("path"); 11 | 12 | import tacoUtility = require ("taco-utils"); 13 | import HelpCommandBase = tacoUtility.HelpCommandBase; 14 | 15 | /* 16 | * Help handles "Taco Help" 17 | */ 18 | class Help extends HelpCommandBase { 19 | private static TACO_STRING: string = "taco-remote"; 20 | constructor() { 21 | super(Help.TACO_STRING, path.join(__dirname, "./commands.json"), require("../resources/resourceManager")); 22 | } 23 | } 24 | 25 | export = Help; 26 | -------------------------------------------------------------------------------- /src/taco-remote/resources/resourceManager.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | import tacoUtility = require ("taco-utils"); 9 | var resourceManager: tacoUtility.ResourceManager = new tacoUtility.ResourceManager(__dirname); 10 | export = resourceManager; 11 | -------------------------------------------------------------------------------- /src/taco-tests-utils/.npmignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | .npmignore -------------------------------------------------------------------------------- /src/taco-tests-utils/LICENSE: -------------------------------------------------------------------------------- 1 | taco-utils 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | -------------------------------------------------------------------------------- /src/taco-tests-utils/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "taco-tests-utils", 3 | "description": "Common tests utilities used by the Tools for Apache Cordova node modules", 4 | "version": "0.1.4-dev", 5 | "author": { 6 | "name": "Microsoft Corporation", 7 | "email": "vscordovatools-admin@microsoft.com" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/Microsoft/TACO" 12 | }, 13 | "bugs": { 14 | "url": "https://github.com/Microsoft/TACO/issues", 15 | "email": "vscordovatools-admin@microsoft.com" 16 | }, 17 | "homepage": "http://taco.tools", 18 | "main": "tacoTestsUtils.js", 19 | "dependencies": { 20 | "lodash": "^3.10.1", 21 | "q": "~1.4.1", 22 | "mock-spawn": "~0.2.6", 23 | "taco-utils": "file:../taco-utils", 24 | "should": "4.3.0" 25 | }, 26 | "license": "MIT" 27 | } 28 | -------------------------------------------------------------------------------- /src/taco-utils/.npmignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | .npmignore -------------------------------------------------------------------------------- /src/taco-utils/LICENSE: -------------------------------------------------------------------------------- 1 | taco-utils 2 | 3 | Copyright (c) Microsoft Corporation 4 | 5 | All rights reserved. 6 | 7 | MIT License 8 | 9 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 14 | -------------------------------------------------------------------------------- /src/taco-utils/installLogLevel.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | module TacoUtility { 8 | export enum InstallLogLevel { 9 | undefined = 0, // undefined is falsy, others are truthy 10 | silent = 1, 11 | taco, 12 | error, 13 | warn, 14 | info, 15 | verbose, 16 | silly, 17 | } 18 | } 19 | 20 | export = TacoUtility; 21 | -------------------------------------------------------------------------------- /src/taco-utils/logLevel.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | module TacoUtility { 8 | export enum LogLevel { 9 | Diagnostic = 1 10 | } 11 | } 12 | 13 | export = TacoUtility; 14 | -------------------------------------------------------------------------------- /src/taco-utils/newlineNormalizerStream.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | import os = require ("os"); 6 | import stream = require ("stream"); 7 | 8 | import Transform = stream.Transform; 9 | 10 | module TacoUtility { 11 | /** 12 | * This class converts all newlines it encounters to either windows or unix style newlines, depending on the OS 13 | * Example usage: 14 | * var nns = new NewlineNormalizerStream(); 15 | * readableStream.pipe(nns).pipe(writableStream); 16 | */ 17 | export class NewlineNormalizerStream extends Transform { 18 | public _transform(chunk: any, encoding: string, callback: (err: Error, buf: string) => void): void { 19 | // Standardize all line endings first 20 | var scrubbedInput: string = chunk.toString().replace(/\r\n/g, "\n"); 21 | // Then convert to the OS dependent newline 22 | var output: string = scrubbedInput.replace(/\n/g, os.EOL); 23 | 24 | callback(null, output); 25 | } 26 | } 27 | } 28 | 29 | export = TacoUtility; 30 | -------------------------------------------------------------------------------- /src/taco-utils/processUtils.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | module TacoUtility { 7 | export class ProcessUtils { 8 | public static getProcess(): NodeJS.Process { 9 | return process; 10 | } 11 | } 12 | } 13 | 14 | export = TacoUtility; 15 | -------------------------------------------------------------------------------- /src/taco-utils/resources/resourceManager.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | 6 | "use strict"; 7 | 8 | import tacoUtility = require ("../resourceManager"); 9 | var resourceManager: tacoUtility.ResourceManager = new tacoUtility.ResourceManager(__dirname); 10 | export = resourceManager; 11 | -------------------------------------------------------------------------------- /src/taco-utils/tacoErrorHelper.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | "use strict"; 6 | 7 | import tacoUtils = require ("./tacoError"); 8 | import resourceManager = require ("./resources/resourceManager"); 9 | import tacoErrorCodes = require ("./tacoErrorCodes"); 10 | 11 | import TacoErrorCode = tacoErrorCodes.TacoErrorCode; 12 | 13 | class TacoErrorHelper { 14 | public static get(tacoErrorCode: TacoErrorCode, ...optionalArgs: any[]): tacoUtils.TacoError { 15 | return tacoUtils.TacoError.getError(TacoErrorCode[tacoErrorCode], tacoErrorCode, resourceManager, ...optionalArgs); 16 | } 17 | 18 | public static wrap(tacoErrorCode: TacoErrorCode, innerError: Error, ...optionalArgs: any[]): tacoUtils.TacoError { 19 | return tacoUtils.TacoError.wrapError(innerError, TacoErrorCode[tacoErrorCode], tacoErrorCode, resourceManager, ...optionalArgs); 20 | } 21 | } 22 | 23 | export = TacoErrorHelper; 24 | -------------------------------------------------------------------------------- /src/taco-utils/test/resources/config.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | FooBar 4 | 5 | A sample Apache Cordova application that responds to the deviceready event. 6 | 7 | 8 | Apache Cordova Team 9 | 10 | 11 | 12 | 13 | 16 | 17 | -------------------------------------------------------------------------------- /src/taco-utils/test/resources/config_unicode.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 隣兀﨩 4 | 5 | A sample Apache Cordova application that responds to the deviceready event. 6 | 7 | 8 | Apache Cordova Team 9 | 10 | 11 | 12 | 13 | 16 | 17 | -------------------------------------------------------------------------------- /src/taco-utils/test/resources/en/resources.json: -------------------------------------------------------------------------------- 1 | { 2 | "SimpleMessage": "Hello", 3 | "MessageWithArgs": "Hello {0} {1}", 4 | "MessageWithRepeatedArgs": "Hello {0} {0}" 5 | } -------------------------------------------------------------------------------- /src/taco-utils/test/resources/gb18030/resources.json: -------------------------------------------------------------------------------- 1 | { 2 | "UnicodeMessage": "啊齄丂狛狜隣郎隣兀﨩ˊ▇█〞〡¦℡㈱‐ー﹡﹢﹫、〓ⅰⅹ⒈€㈠㈩ⅠⅫ! ̄ぁんァヶΑ︴АЯаяāɡㄅㄩ─╋︵﹄︻︱︳︴ⅰⅹɑɡ〇〾⿻⺁䜣€龹龻㐀㒣㕴㕵㙉㙊䵯䵰䶴䶵𠀀𠀁𠀂𠀃𪛑𪛒𪛓𪛔𪛕𪛖" 3 | } -------------------------------------------------------------------------------- /src/taco-utils/test/resources/it-ch/resources.json: -------------------------------------------------------------------------------- 1 | { 2 | "SimpleMessage": "Ciao it-CH", 3 | "MessageWithArgs": "Ciao {0} {1} it-CH" 4 | } -------------------------------------------------------------------------------- /src/taco-utils/test/resources/it/resources.json: -------------------------------------------------------------------------------- 1 | { 2 | "SimpleMessage": "Ciao", 3 | "MessageWithArgs": "Ciao {0} {1}" 4 | } -------------------------------------------------------------------------------- /src/taco-utils/test/taco_utf8BOM.json: -------------------------------------------------------------------------------- 1 | { 2 | "cordova-cli": "5.3.3" 3 | } 4 | -------------------------------------------------------------------------------- /src/typings/archiver.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for archiver v0.15.0 2 | // Project: https://github.com/archiverjs/node-archiver 3 | // Definitions by: Esri 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /* =================== USAGE =================== 7 | import Archiver = require('archiver); 8 | var archiver = Archiver.create('zip'); 9 | archiver.pipe(FS.createWriteStream('xxx')); 10 | archiver.append(FS.createReadStream('xxx')); 11 | archiver.finalize(); 12 | =============================================== */ 13 | 14 | /// 15 | declare module "archiver" { 16 | import * as FS from 'fs'; 17 | 18 | interface nameInterface { 19 | name?: string; 20 | } 21 | 22 | interface Archiver { 23 | pipe(writeStream: FS.WriteStream): void; 24 | append(readStream: FS.ReadStream, name: nameInterface): void; 25 | finalize(): void; 26 | } 27 | 28 | interface Options { 29 | 30 | } 31 | 32 | function archiver(format: string, options?: Options): Archiver; 33 | 34 | namespace archiver { 35 | function create(format: string, options?: Options): Archiver; 36 | } 37 | 38 | export = archiver; 39 | } -------------------------------------------------------------------------------- /src/typings/buildConfig.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | declare module BuildConfig { 10 | export interface IBuildConfig { 11 | src: string; 12 | templates: string; 13 | build: string; 14 | buildCoverage: string; 15 | buildPackages: string; 16 | buildTools: string; 17 | buildTemplates: string; 18 | tsCompileOptions: any; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/typings/certOptions.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | /// 11 | /// 12 | 13 | declare module Certs { 14 | interface ICertOptions { 15 | days?: number; 16 | cn?: string; 17 | country?: string; 18 | ca_cn: string; 19 | pfx_name: string; 20 | client_cn: string; 21 | } 22 | 23 | interface ICliHandler { 24 | question: (question: string, answerCallback: (answer: string) => void) => void; 25 | close: () => void; 26 | } 27 | 28 | interface ICertPaths { 29 | certsDir: string; 30 | caKeyPath: string; 31 | caCertPath: string; 32 | serverKeyPath: string; 33 | serverCertPath: string; 34 | newCerts: boolean; 35 | } 36 | 37 | } 38 | 39 | -------------------------------------------------------------------------------- /src/typings/commandAlias.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | interface ICommandAlias { 12 | [alias:string]: string; 13 | } -------------------------------------------------------------------------------- /src/typings/commandExample.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | interface ICommandExample { 12 | example: any; 13 | description: string; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/typings/countStream.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | declare module TacoUtility { 11 | /** 12 | * This class counts how many bytes pass through it in a pipe stream. 13 | * Example usage: 14 | * var cs = new CountStream(); 15 | * readableStream.pipe(cs).pipe(writableStream); 16 | * [... later] 17 | * console.log(cs.count + " bytes written"); 18 | */ 19 | class CountStream extends NodeJSStream.Transform { 20 | public static count(originalStream: NodeJS.ReadableStream, callback: { (length: number): void }): NodeJS.ReadableStream; 21 | count: number; 22 | constructor(options?: NodeJSStream.TransformOptions); 23 | _transform(chunk: any, encoding: string, callback: (err: Error, buf: Buffer) => void): void; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/typings/del.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for del 2 | // Project: https://github.com/sindresorhus/del 3 | // Definitions by: Asana 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare module "del" { 9 | import glob = require("glob"); 10 | 11 | function Del(pattern: string, callback: (err: Error, deletedFiles: string[]) => any): void; 12 | 13 | function Del(pattern: string, options: Del.Options, callback: (err: Error, deletedFiles: string[]) => any): void; 14 | 15 | function Del(patterns: string[], callback: (err: Error, deletedFiles: string[]) => any): void; 16 | 17 | function Del(patterns: string[], options: Del.Options, callback: (err: Error, deletedFiles: string[]) => any): void; 18 | module Del { 19 | function sync(pattern: string, options?: Options): void; 20 | function sync(patterns: string[], options?: Options): void; 21 | 22 | interface Options extends glob.IOptions { 23 | force?: boolean 24 | } 25 | } 26 | 27 | export = Del; 28 | } 29 | -------------------------------------------------------------------------------- /src/typings/dictionary.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | interface IDictionary { 12 | [key: string]: T; 13 | } 14 | -------------------------------------------------------------------------------- /src/typings/dynamicDependencyEntry.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | interface IDynamicDependencyEntry { 12 | packageName: string; 13 | packageId: string; 14 | localPath: string; // for development scenarios 15 | expirationIntervalInHours?: number; 16 | dev: boolean; 17 | } 18 | -------------------------------------------------------------------------------- /src/typings/elementtree.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | // Barebones typing for elementtree, added as-needed 10 | 11 | declare module "elementtree" { 12 | export class ElementTree { 13 | constructor(xml: XMLElement); 14 | 15 | getroot(): XMLElement 16 | find(name: string): XMLElement; 17 | findall(name: string): XMLElement[]; 18 | } 19 | 20 | export class XMLElement { 21 | attrib: { [key: string]: string }; 22 | text: string; 23 | tag: string; 24 | _children: XMLElement[]; 25 | } 26 | 27 | export function XML(data: string): XMLElement; 28 | } 29 | -------------------------------------------------------------------------------- /src/typings/errorhandler.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for errorhandler 2 | // Project: https://github.com/expressjs/errorhandler 3 | // Definitions by: Santi Albo 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare module "errorhandler" { 9 | import express = require('express'); 10 | function e(): express.ErrorRequestHandler; 11 | export = e; 12 | } 13 | -------------------------------------------------------------------------------- /src/typings/expressExtensions.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | /// 11 | 12 | declare module Express { 13 | export interface Application { 14 | (): (request: Request, response: Response) => void; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/typings/form-data.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for form-data 2 | // Project: https://github.com/felixge/node-form-data 3 | // Definitions by: Carlos Ballesteros Velasco 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | // Imported from: https://github.com/soywiz/typescript-node-definitions/form-data.d.ts 7 | 8 | declare module "form-data" { 9 | export class FormData { 10 | append(key: string, value: any): FormData; 11 | getHeaders(): Object; 12 | // TODO expand pipe 13 | pipe(to: any): any; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/typings/gulp-json-editor.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for gulp-sourcemaps 2 | // Project: https://github.com/floridoo/gulp-sourcemaps 3 | // Definitions by: Asana 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare module GulpJsonEditor { 9 | export function jeditor(editorFunction: any, jsBeautifyOptions?: any): NodeJS.ReadWriteStream; 10 | } 11 | declare module "gulp-json-editor" { 12 | import jeditor = GulpJsonEditor.jeditor; 13 | export = jeditor; 14 | } -------------------------------------------------------------------------------- /src/typings/gulp-sourcemaps.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for gulp-sourcemaps 2 | // Project: https://github.com/floridoo/gulp-sourcemaps 3 | // Definitions by: Asana 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare module "gulp-sourcemaps" { 9 | interface InitOptions { 10 | loadMaps?: boolean; 11 | debug?: boolean; 12 | } 13 | 14 | interface WriteMapper { 15 | (file: string): string; 16 | } 17 | 18 | interface WriteOptions { 19 | addComment?: boolean; 20 | includeContext?: boolean; 21 | sourceRoot?: string | WriteMapper; 22 | sourceMappingURLPrefix?: string | WriteMapper; 23 | } 24 | 25 | export function init(opts?: InitOptions): NodeJS.ReadWriteStream; 26 | export function write(opts?: WriteOptions): NodeJS.ReadWriteStream; 27 | export function write(path?: string, opts?: WriteOptions): NodeJS.ReadWriteStream; 28 | } -------------------------------------------------------------------------------- /src/typings/gulpExtensions.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | declare module gulp { 10 | interface Gulp { 11 | // Deprecated run interface that we use 12 | run(task: string): void; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/typings/hashFiles.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ? ******************************************************* 3 | ? * * 4 | ? * Copyright (C) Microsoft. All rights reserved. * 5 | ? * * 6 | ? ******************************************************* 7 | ? */ 8 | 9 | declare module HashFiles { 10 | export interface IOptions { 11 | files?: string[]; 12 | algorithm?: string; 13 | noGlob?: boolean; 14 | batchCount?: boolean; 15 | } 16 | 17 | export function sync(options: IOptions): string; 18 | } 19 | 20 | declare function HashFiles(options: HashFiles.IOptions, callback: (error: Error, hash: string) => void): void; 21 | 22 | declare module "hash-files" { 23 | export = HashFiles; 24 | } -------------------------------------------------------------------------------- /src/typings/helmet.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | declare module Helmet { 12 | interface IHelmetSettings { 13 | maxAge?: number; 14 | includeSubdomains?: boolean; 15 | force?: boolean; 16 | } 17 | 18 | function hsts(settings: IHelmetSettings): Express.RequestHandler; 19 | } 20 | 21 | declare module "helmet" { 22 | export = Helmet; 23 | } -------------------------------------------------------------------------------- /src/typings/iconv-lite.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | declare module "iconv-lite" { 11 | 12 | export function decode(b: Buffer, encoding: string): string; 13 | } -------------------------------------------------------------------------------- /src/typings/idevice-app-launcher.d.ts: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. 3 | 4 | /// 5 | /// 6 | 7 | declare module "idevice-app-launcher" { 8 | import * as child_process from "child_process"; 9 | import * as net from "net"; 10 | import * as Q from "q"; 11 | class IosAppRunnerHelper { 12 | static startDebugProxy(proxyPort: number): Q.Promise; 13 | static startApp(packageId: string, proxyPort: number, appLaunchStepTimeout: number, sessionEndCallback?: (isCrash: boolean) => void): Q.Promise; 14 | static startAppViaDebugger(portNumber: number, packagePath: string, appLaunchStepTimeout: number, sessionEndCallback?: (isCrash: boolean) => void): Q.Promise; 15 | static encodePath(packagePath: string): string; 16 | } 17 | 18 | export var raw: typeof IosAppRunnerHelper; 19 | } -------------------------------------------------------------------------------- /src/typings/installLogLevel.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 |  ******************************************************* 3 |  * * 4 |  * Copyright (C) Microsoft. All rights reserved. * 5 |  * * 6 |  ******************************************************* 7 |  */ 8 | /// 9 | 10 | declare module TacoUtility { 11 | enum InstallLogLevel { 12 | undefined, 13 | silent, 14 | error, 15 | warn, 16 | taco, 17 | info, 18 | verbose, 19 | silly, 20 | } 21 | } -------------------------------------------------------------------------------- /src/typings/jsonSerializer.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | declare module TacoUtility { 11 | class JsonSerializer { 12 | /** 13 | * Constructs a JsonSerializer 14 | * @param {number} Optional, number of spaces (indentation) for every nested level 15 | * @param {number} Optional, max number of columns allowed in a row 16 | * @param {number} Optional, initial indentation offset 17 | */ 18 | constructor(indent?: number, maxRight?: number, indentOffset?: number); 19 | 20 | /** 21 | * Given a json object returns an indented string 22 | * @param {object} object to stringify 23 | */ 24 | public serialize(obj: any): string; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/typings/logLevel.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 |  ******************************************************* 3 |  * * 4 |  * Copyright (C) Microsoft. All rights reserved. * 5 |  * * 6 |  ******************************************************* 7 |  */ 8 | 9 | declare module TacoUtility { 10 | enum LogLevel { 11 | Diagnostic = 1 12 | } 13 | } -------------------------------------------------------------------------------- /src/typings/memoryStream.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | declare module TacoTestsUtils { 12 | class MemoryStream extends NodeJSStream.Writable { 13 | public _write(data: Buffer, encoding: string, callback: Function): void; 14 | public _write(data: string, encoding: string, callback: Function): void; 15 | public _write(data: any, encoding: string, callback: Function): void; 16 | 17 | public contentsAsText(): string; 18 | public writeAsFunction(): { (data: any, second: any, callback?: any): boolean }; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/typings/merge2.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | declare module "merge2" { 12 | 13 | interface IMergedStream extends NodeJS.ReadWriteStream { 14 | add: (source: NodeJS.ReadableStream) => IMergedStream; 15 | } 16 | 17 | function merge(streams: NodeJS.ReadWriteStream[]): IMergedStream; 18 | export = merge; 19 | } 20 | -------------------------------------------------------------------------------- /src/typings/mkdirp.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for mkdirp 0.3.0 2 | // Project: http://github.com/substack/node-mkdirp 3 | // Definitions by: Bart van der Schoor 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | declare module 'mkdirp' { 7 | 8 | function mkdirp(dir: string, cb: (err: any, made: string) => void): void; 9 | function mkdirp(dir: string, flags: any, cb: (err: any, made: string) => void): void; 10 | 11 | module mkdirp { 12 | function sync(dir: string, flags?: any): string; 13 | } 14 | export = mkdirp; 15 | } 16 | -------------------------------------------------------------------------------- /src/typings/nameDescription.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | interface INameDescription { 12 | name: string; 13 | description: string; 14 | category?: string; 15 | } -------------------------------------------------------------------------------- /src/typings/nconf_extensions.d.ts: -------------------------------------------------------------------------------- 1 | declare module "nconf" { 2 | export function save(value?: any, callback?: Function): any; 3 | export function merge(value: {}): any; 4 | export function merge(value: any, key: string): any; 5 | export function merge(callback: Function, value: {}): any; 6 | export function merge(callback: Function, value: any, key: string): any; 7 | } -------------------------------------------------------------------------------- /src/typings/ncp.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for ncp v0.5.1 2 | // Project: https://github.com/AvianFlu/ncp 3 | // Definitions by: Bart van der Schoor 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | 8 | declare module 'ncp' { 9 | function ncp (source: string, destination: string, callback: (err: Error) => void): void; 10 | function ncp (source: string, destination: string, options: Options, callback: (err: Error) => void): void; 11 | 12 | interface Options { 13 | filter? : RegExp; 14 | transform? : (read: NodeJS.ReadableStream, write: NodeJS.WritableStream) => void; 15 | clobber? : boolean; 16 | stopOnErr? : boolean; 17 | errs? : NodeJS.WritableStream; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/typings/newlineNormalizerStream.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | declare module TacoUtility { 11 | /** 12 | * This class converts all newlines it encounters to either windows or unix style newlines, depending on the OS 13 | * Example usage: 14 | * var nns = new NewlineNormalizerStream(); 15 | * readableStream.pipe(nns).pipe(writableStream); 16 | */ 17 | class NewlineNormalizerStream extends NodeJSStream.Transform { 18 | constructor(options?: NodeJSStream.TransformOptions); 19 | _transform(chunk: any, encoding: string, callback: (err: Error, buf: string) => void): void; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/typings/npmHelper.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | /// 11 | 12 | declare module TacoUtility { 13 | class NpmHelper { 14 | public static install(packageId: string, workingDirectory?: string, commandFlags?: string[], logLevel?: InstallLogLevel): Q.Promise; 15 | 16 | public static view(packageId: string, fields?: string[], workingDirectory?: string, commandFlags?: string[], logLevel?: InstallLogLevel): Q.Promise; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/typings/opener.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | // Barebones typing for opener, added as-needed 10 | // NPM Package page: https://www.npmjs.com/package/opener 11 | // License: WTFPL - https://github.com/domenic/opener/blob/master/LICENSE.txt 12 | // Source code: https://github.com/domenic/opener 13 | 14 | 15 | declare module Opener { 16 | export function opener(url: string): void; 17 | } 18 | 19 | declare module "opener" { 20 | export = Opener.opener; 21 | } -------------------------------------------------------------------------------- /src/typings/plist-with-patches.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | // Barebones typing for plist-with-patches, added as-needed 10 | 11 | declare module "plist-with-patches" { 12 | export function parseFileSync(filename: string): any; 13 | 14 | /** 15 | * generate an XML plist string from the input object 16 | * 17 | * @param object obj the object to convert 18 | * @return string converted plist 19 | */ 20 | export function build(obj: any): string; 21 | } 22 | -------------------------------------------------------------------------------- /src/typings/processLogger.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | /// 11 | /// 12 | declare module TacoUtility { 13 | class ProcessLogger { 14 | private stream; 15 | constructor(); 16 | /** 17 | * Begin logging stdout and stderr of a process to a log file 18 | * 19 | * @param {string} logDir Directory to put the log in 20 | * @param {string} logFileName File name of the log file 21 | * @param {string} language Language to localize messages about the logging in 22 | * @param {ChildProcess} proc The process to log 23 | */ 24 | begin(logDir: string, logFileName: string, language: string, proc: NodeJSChildProcess.ChildProcess): void; 25 | /** 26 | * Stop logging to a file 27 | */ 28 | end(): void; 29 | private log(message); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/typings/processUtils.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | declare module TacoUtility { 12 | class ProcessUtils { 13 | public static getProcess(): NodeJS.Process; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/typings/remotebuildTask.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | /// 11 | 12 | interface IRemoteBuildTask { 13 | execute(config: RemoteBuild.IRemoteBuildConfiguration, cliArguments?: string[]): Q.Promise; 14 | } 15 | -------------------------------------------------------------------------------- /src/typings/replace.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | // Type definitions for replace 10 | 11 | declare module Replace { 12 | interface IReplaceParameters { 13 | regex: any; // js regex or string 14 | replacement: string; 15 | paths: string[]; 16 | recursive: boolean; 17 | silent: boolean; 18 | } 19 | 20 | function replace(parameters: IReplaceParameters): void; 21 | } 22 | 23 | declare module "replace" { 24 | import replace = Replace.replace; 25 | export = replace; 26 | } 27 | -------------------------------------------------------------------------------- /src/typings/resourceManager.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | 10 | declare module TacoUtility { 11 | class ResourceManager { 12 | 13 | constructor(resourcesDir: string, language?: string); 14 | /** ...optionalArgs is only there for typings, function rest params */ 15 | getString(id: string, ...optionalArgs: any[]): string; 16 | /** ** ...optionalArgs is only there for typings, function rest params** */ 17 | getStringForLanguage(requestOrAcceptLangs: any, id: string, ...optionalArgs: any[]): string; 18 | 19 | static getBestAvailableLocale(availableLocales: string[], inputLocales?: string[]): string; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/typings/rimraf.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for rimraf 2 | // Project: https://github.com/isaacs/rimraf 3 | // Definitions by: Carlos Ballesteros Velasco 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | // Imported from: https://github.com/soywiz/typescript-node-definitions/rimraf.d.ts 7 | 8 | declare module "rimraf" { 9 | function rimraf(path: string, callback: (error: Error) => void): void; 10 | module rimraf { 11 | export function sync(path: string): void; 12 | export var EMFILE_MAX: number; 13 | export var BUSYTRIES_MAX: number; 14 | } 15 | export = rimraf; 16 | } 17 | -------------------------------------------------------------------------------- /src/typings/run-sequence.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for run-sequence 2 | // Project: https://github.com/OverZealous/run-sequence 3 | // Definitions by: Keita Kagurazaka 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | 6 | /// 7 | /// 8 | 9 | declare module "run-sequence" { 10 | import gulp = require('gulp'); 11 | 12 | interface IRunSequence { 13 | (...streams: (string | string[] | gulp.TaskCallback)[]): NodeJS.ReadWriteStream; 14 | 15 | use(gulp: gulp.Gulp): IRunSequence; 16 | } 17 | 18 | var _tmp: IRunSequence; 19 | export = _tmp; 20 | } -------------------------------------------------------------------------------- /src/typings/serve-index.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | // Barebones typing for serve-index 10 | 11 | declare module "serve-index" { 12 | import express = require("express"); 13 | 14 | function serveIndex(rootPath: string): express.RequestHandler; 15 | export = serveIndex; 16 | } 17 | -------------------------------------------------------------------------------- /src/typings/tacoDependencyInstaller.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 |  ******************************************************* 3 |  * * 4 |  * Copyright (C) Microsoft. All rights reserved. * 5 |  * * 6 |  ******************************************************* 7 |  */ 8 | 9 | /// 10 | 11 | declare module TacoDependencyInstaller { 12 | class DependencyInstaller { 13 | constructor(parentSessionId: string); 14 | 15 | /** 16 | * Runs the dependenciesInstaller package to install missing 3rd party software for the current project 17 | * 18 | * @param {string[]} Target platforms for which to install dependencies 19 | * 20 | * @return {Q.Promise} A promise that is resolved if the dependencies install successfully, or rejected otherwise 21 | */ 22 | public run(targetPlatforms: string[]): Q.Promise; 23 | } 24 | } 25 | 26 | declare module "taco-dependency-installer" { 27 | export = TacoDependencyInstaller; 28 | } -------------------------------------------------------------------------------- /src/typings/tacoError.d.ts: -------------------------------------------------------------------------------- 1 | 2 | declare module TacoUtility { 3 | enum TacoErrorLevel { 4 | Error, 5 | Warning 6 | } 7 | 8 | class TacoError implements Error { 9 | public errorCode: number; 10 | public message: string; 11 | public name: string; 12 | public errorLevel: TacoErrorLevel; 13 | 14 | constructor(errorCode: number, name: string, message: string, category?: string, innerError?: Error); 15 | 16 | public static getError(errorToken: string, errorCode: number, resources: ResourceManager, ...optionalArgs: string[]): TacoError; 17 | public static getWarning(errorToken: string, resources: ResourceManager, ...optionalArgs: string[]): TacoError; 18 | public static wrapError(innerError: Error, errorToken: string, errorCode: number, resources: ResourceManager, ...optionalArgs: string[]): TacoError; 19 | public toString(): string; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/typings/tacoErrorTestHelper.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | declare module TacoTestsUtils { 12 | class TacoErrorTestHelper { 13 | public static verifyTacoErrors(fileName: string, resources: any, minErrorCode: number, maxErrorCode: number): void; 14 | public static verifyExcludedTacoErrors(fileName: string, resources: any, excludedErrorCodes: number[]): void; 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /src/typings/tacoGlobalConfig.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | declare module TacoUtility { 10 | class TacoGlobalConfig { 11 | public static lang: string; 12 | public static logLevel: LogLevel; 13 | public static noPrompt: boolean; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/typings/tacoHelpArgs.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | interface ITacoHelpArgs { 12 | helpTopic: string; 13 | } 14 | -------------------------------------------------------------------------------- /src/typings/tacoJsonEditParams.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | interface ITacoJsonEditParams { 12 | projectPath: string; 13 | isKitProject: boolean; 14 | version: string; 15 | } -------------------------------------------------------------------------------- /src/typings/tacoJsonMetadata.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | interface ITacoJsonMetadata { 12 | kit?: string; 13 | "cordova-cli"?: string; 14 | } 15 | -------------------------------------------------------------------------------- /src/typings/tacoProjectInfo.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | interface IProjectInfo { 12 | isTacoProject: boolean; 13 | cordovaCliVersion: string; 14 | configXmlPath: string; 15 | tacoKitId?: string; 16 | } 17 | -------------------------------------------------------------------------------- /src/typings/tacoRemote.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | /// 9 | declare module TacoRemote { 10 | interface IServerInfo { metrics: any; queued: number; currentBuild: TacoUtility.BuildInfo; queuedBuilds: TacoUtility.BuildInfo[]; allBuilds: any } 11 | } -------------------------------------------------------------------------------- /src/typings/tacoRemoteMultiplexer.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | declare module TacoRemoteMultiplexer { 10 | interface IPropertyBag { 11 | [property: string]: string; 12 | } 13 | 14 | interface IPackageSpec { 15 | packageKey: string; 16 | dependencyConfigPath: string; 17 | } 18 | 19 | interface ITacoRemoteMultiplexer { 20 | getPackageSpecForQuery(query: IPropertyBag): IPackageSpec; 21 | } 22 | } -------------------------------------------------------------------------------- /src/typings/tacoTestsUtils.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | /// 11 | /// 12 | /// 13 | /// 14 | 15 | // To add more classes, make sure that they define themselves in the TacoTestsUtils namespace, 16 | // include a reference to the d.ts file that is generated (as above), and make sure 17 | // to remove the "export =" and any imports in the file. If it refers to external types, 18 | // ensure that it has a /// to the relevant file, and that it uses the same name 19 | // that file does for the type's namespace. See utilHelper for how it uses Q 20 | 21 | declare module "taco-tests-utils" { 22 | export = TacoTestsUtils; 23 | } 24 | -------------------------------------------------------------------------------- /src/typings/testProjectHelper.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | /// 10 | 11 | declare module TacoTestsUtils { 12 | interface IKeyValuePair { 13 | [key: string]: T; 14 | } 15 | 16 | class ProjectHelper { 17 | public static checkPlatformVersions(platformsExpected: IKeyValuePair, projectPath: string): Q.Promise; 18 | public static checkPluginVersions(pluginsExpected: IKeyValuePair, projectPath: string): void; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/typings/toposort.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | declare module toposort { 10 | export function array(nodes: T[], edges: T[][]): T[]; 11 | } 12 | 13 | declare function toposort(graph: T[][]): T[]; 14 | 15 | declare module "toposort" { 16 | export = toposort; 17 | } -------------------------------------------------------------------------------- /src/typings/unorm.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | // Barebones typing for unorm, added as-needed 10 | 11 | interface Object { 12 | normalize: (form?: string) => string; 13 | } 14 | 15 | declare module "unorm" { 16 | export function nfc(str: string): string; 17 | export function nfd(str: string): string; 18 | export function nfkc(str: string): string; 19 | export function nfkd(str: string): string; 20 | } 21 | -------------------------------------------------------------------------------- /src/typings/winreg.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for winreg https://www.npmjs.com/package/winreg 2 | 3 | declare class Winreg { 4 | constructor(options: Winreg.WinregOptions); 5 | host: string; 6 | hive: string; 7 | key: string; 8 | path: string; 9 | parent: Winreg; 10 | 11 | public get(name: string, callback: Winreg.WinregCallback): void; 12 | } 13 | 14 | declare module Winreg { 15 | export interface WinregOptions { 16 | host?: string; 17 | hive: Hive; 18 | key: string; 19 | } 20 | 21 | export enum Hive { 22 | HKLM, 23 | HKCU, 24 | HKCR, 25 | HKCC, 26 | HKU 27 | } 28 | 29 | export interface WinregValue { 30 | host: string; 31 | hive: string; 32 | key: string; 33 | name: string; 34 | type: string; 35 | value: string; 36 | } 37 | 38 | export interface WinregCallback { 39 | (err: NodeJS.ErrnoException, val: T): void; 40 | } 41 | 42 | export var HKLM: Hive; 43 | export var HKCU: Hive; 44 | export var HKCR: Hive; 45 | export var HKCC: Hive; 46 | export var HKU: Hive; 47 | } 48 | 49 | declare module "winreg" { 50 | export = Winreg; 51 | } 52 | -------------------------------------------------------------------------------- /src/typings/zip-stream.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | ******************************************************* 3 | * * 4 | * Copyright (C) Microsoft. All rights reserved. * 5 | * * 6 | ******************************************************* 7 | */ 8 | 9 | // Barebones typing for zip-stream, added as-needed 10 | 11 | declare module "zip-stream" { 12 | class ZipStream { 13 | constructor(options?: any); 14 | 15 | entry(source: any, data: any, callback: Function): void; 16 | 17 | on(event: string, listener: Function): ZipStream; 18 | pipe(destination: T, options?: { end?: boolean; }): T; 19 | 20 | finalize(): void; 21 | } 22 | export = ZipStream; 23 | } 24 | -------------------------------------------------------------------------------- /templates/default/blank/merges/android/scripts/android2.3-jscompat.js: -------------------------------------------------------------------------------- 1 | // Polyfill for Function.prototype.bind() support on Android 2.3 2 | (function () { 3 | if (!Function.prototype.bind) { 4 | Function.prototype.bind = function (thisValue) { 5 | if (typeof this !== "function") { 6 | throw new TypeError(this + " cannot be bound as it is not a function"); 7 | } 8 | 9 | // bind() also permits prepending arguments to the call 10 | var preArgs = Array.prototype.slice.call(arguments, 1); 11 | 12 | // The actual function to bind the "this" value and arguments to 13 | var functionToBind = this; 14 | var noOpFunction = function () { }; 15 | 16 | // The "this" argument to use 17 | var thisArg = this instanceof noOpFunction && thisValue ? this : thisValue; 18 | 19 | // The resulting bound function 20 | var boundFunction = function () { 21 | return functionToBind.apply(thisArg, preArgs.concat(Array.prototype.slice.call(arguments))); 22 | }; 23 | 24 | noOpFunction.prototype = this.prototype; 25 | boundFunction.prototype = new noOpFunction(); 26 | 27 | return boundFunction; 28 | }; 29 | } 30 | }()); 31 | -------------------------------------------------------------------------------- /templates/default/blank/merges/android/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the bind() polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/android2.3-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /templates/default/blank/merges/windows/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the safeHTML polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/winstore-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /templates/default/blank/package.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /templates/default/blank/res/icons/android/icon-36-ldpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/android/icon-36-ldpi.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/android/icon-48-mdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/android/icon-48-mdpi.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/android/icon-72-hdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/android/icon-72-hdpi.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/android/icon-96-xhdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/android/icon-96-xhdpi.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-40-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-40-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-40.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-50-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-50-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-50.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-57-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-57-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-57.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-60-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-60-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-60-3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-60-3x.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-60.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-72-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-72-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-72.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-76-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-76-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-76.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-small-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-small-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/ios/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/ios/icon-small.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/Square150x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/Square150x150Logo.scale-240.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/Square30x30Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/Square30x30Logo.scale-100.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/Square310x310Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/Square310x310Logo.scale-100.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/Square44x44Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/Square44x44Logo.scale-240.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/Square70x70Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/Square70x70Logo.scale-100.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/Square71x71Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/Square71x71Logo.scale-240.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/StoreLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/StoreLogo.scale-240.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/windows/Wide310x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/windows/Wide310x150Logo.scale-240.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/wp8/ApplicationIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/wp8/ApplicationIcon.png -------------------------------------------------------------------------------- /templates/default/blank/res/icons/wp8/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/icons/wp8/Background.png -------------------------------------------------------------------------------- /templates/default/blank/res/native/android/ant.properties: -------------------------------------------------------------------------------- 1 | key.store= 2 | key.alias= 3 | key.store.password= 4 | key.alias.password= -------------------------------------------------------------------------------- /templates/default/blank/res/screens/android/screen-hdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/android/screen-hdpi-landscape.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/android/screen-hdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/android/screen-hdpi-portrait.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/android/screen-ldpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/android/screen-ldpi-landscape.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/android/screen-ldpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/android/screen-ldpi-portrait.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/android/screen-mdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/android/screen-mdpi-landscape.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/android/screen-mdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/android/screen-mdpi-portrait.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/android/screen-xhdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/android/screen-xhdpi-landscape.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/android/screen-xhdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/android/screen-xhdpi-portrait.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/ios/screen-ipad-landscape-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/ios/screen-ipad-landscape-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/ios/screen-ipad-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/ios/screen-ipad-landscape.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/ios/screen-ipad-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/ios/screen-ipad-portrait-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/ios/screen-ipad-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/ios/screen-ipad-portrait.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/ios/screen-iphone-568h-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/ios/screen-iphone-568h-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/ios/screen-iphone-landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/ios/screen-iphone-landscape-736h.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/ios/screen-iphone-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/ios/screen-iphone-portrait-2x.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/ios/screen-iphone-portrait-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/ios/screen-iphone-portrait-667h.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/ios/screen-iphone-portrait-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/ios/screen-iphone-portrait-736h.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/ios/screen-iphone-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/ios/screen-iphone-portrait.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/windows/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/windows/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/windows/SplashScreen.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/windows/SplashScreen.scale-240.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/windows/SplashScreenPhone.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/windows/SplashScreenPhone.scale-240.png -------------------------------------------------------------------------------- /templates/default/blank/res/screens/wp8/SplashScreenImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/res/screens/wp8/SplashScreenImage.png -------------------------------------------------------------------------------- /templates/default/blank/www/images/cordova.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/blank/www/images/cordova.png -------------------------------------------------------------------------------- /templates/default/blank/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | HelloTaco 15 | 16 | 17 |
18 |

Connecting to Device

19 |
20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /templates/default/blank/www/scripts/index.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | "use strict"; 3 | 4 | document.addEventListener( 'deviceready', onDeviceReady.bind( this ), false ); 5 | 6 | function onDeviceReady() { 7 | // Handle the Cordova pause and resume events 8 | document.addEventListener( 'pause', onPause.bind( this ), false ); 9 | document.addEventListener( 'resume', onResume.bind( this ), false ); 10 | 11 | // TODO: Cordova has been loaded. Perform any initialization that requires Cordova here. 12 | var element = document.getElementById("deviceready"); 13 | element.innerHTML = 'Device Ready'; 14 | element.className += ' ready'; 15 | }; 16 | 17 | function onPause() { 18 | // TODO: This application has been suspended. Save application state here. 19 | }; 20 | 21 | function onResume() { 22 | // TODO: This application has been reactivated. Restore application state here. 23 | }; 24 | } )(); 25 | -------------------------------------------------------------------------------- /templates/default/blank/www/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | // Platform specific overrides will be placed in the merges folder versions of this file -------------------------------------------------------------------------------- /templates/default/typescript/gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require("gulp"); 2 | var ts = require("gulp-typescript"); 3 | 4 | var proj = ts.createProject("scripts/tsconfig.json"); 5 | 6 | gulp.task("default", ["typescript"]); 7 | 8 | gulp.task("typescript", function (callback) { 9 | var result = gulp.src("scripts/**/*.ts").pipe(ts(proj)); 10 | 11 | return result.js.pipe(gulp.dest("www/scripts")); 12 | }); 13 | -------------------------------------------------------------------------------- /templates/default/typescript/merges/android/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the bind() polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/android2.3-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /templates/default/typescript/merges/windows/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the safeHTML polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/winstore-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /templates/default/typescript/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "gulp": "latest", 4 | "gulp-typescript": "latest" 5 | } 6 | } -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/android/icon-36-ldpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/android/icon-36-ldpi.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/android/icon-48-mdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/android/icon-48-mdpi.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/android/icon-72-hdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/android/icon-72-hdpi.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/android/icon-96-xhdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/android/icon-96-xhdpi.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-40-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-40-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-40.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-50-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-50-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-50.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-57-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-57-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-57.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-60-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-60-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-60-3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-60-3x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-60.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-72-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-72-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-72.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-76-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-76-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-76.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-small-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-small-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/ios/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/ios/icon-small.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/Square150x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/Square150x150Logo.scale-240.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/Square30x30Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/Square30x30Logo.scale-100.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/Square310x310Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/Square310x310Logo.scale-100.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/Square44x44Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/Square44x44Logo.scale-240.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/Square70x70Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/Square70x70Logo.scale-100.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/Square71x71Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/Square71x71Logo.scale-240.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/StoreLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/StoreLogo.scale-240.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/windows/Wide310x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/windows/Wide310x150Logo.scale-240.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/wp8/ApplicationIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/wp8/ApplicationIcon.png -------------------------------------------------------------------------------- /templates/default/typescript/res/icons/wp8/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/icons/wp8/Background.png -------------------------------------------------------------------------------- /templates/default/typescript/res/native/android/ant.properties: -------------------------------------------------------------------------------- 1 | key.store= 2 | key.alias= 3 | key.store.password= 4 | key.alias.password= -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/android/screen-hdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/android/screen-hdpi-landscape.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/android/screen-hdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/android/screen-hdpi-portrait.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/android/screen-ldpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/android/screen-ldpi-landscape.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/android/screen-ldpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/android/screen-ldpi-portrait.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/android/screen-mdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/android/screen-mdpi-landscape.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/android/screen-mdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/android/screen-mdpi-portrait.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/android/screen-xhdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/android/screen-xhdpi-landscape.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/android/screen-xhdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/android/screen-xhdpi-portrait.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/ios/screen-ipad-landscape-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/ios/screen-ipad-landscape-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/ios/screen-ipad-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/ios/screen-ipad-landscape.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/ios/screen-ipad-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/ios/screen-ipad-portrait-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/ios/screen-ipad-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/ios/screen-ipad-portrait.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/ios/screen-iphone-568h-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/ios/screen-iphone-568h-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/ios/screen-iphone-landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/ios/screen-iphone-landscape-736h.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/ios/screen-iphone-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/ios/screen-iphone-portrait-2x.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/ios/screen-iphone-portrait-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/ios/screen-iphone-portrait-667h.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/ios/screen-iphone-portrait-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/ios/screen-iphone-portrait-736h.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/ios/screen-iphone-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/ios/screen-iphone-portrait.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/windows/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/windows/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/windows/SplashScreen.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/windows/SplashScreen.scale-240.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/windows/SplashScreenPhone.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/windows/SplashScreenPhone.scale-240.png -------------------------------------------------------------------------------- /templates/default/typescript/res/screens/wp8/SplashScreenImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/res/screens/wp8/SplashScreenImage.png -------------------------------------------------------------------------------- /templates/default/typescript/scripts/index.ts: -------------------------------------------------------------------------------- 1 | module MyApp { 2 | "use strict"; 3 | 4 | export module Application { 5 | export function initialize() { 6 | document.addEventListener('deviceready', onDeviceReady, false); 7 | } 8 | 9 | function onDeviceReady() { 10 | // Handle the Cordova pause and resume events 11 | document.addEventListener('pause', onPause, false); 12 | document.addEventListener('resume', onResume, false); 13 | 14 | // TODO: Cordova has been loaded. Perform any initialization that requires Cordova here. 15 | var element = document.getElementById("deviceready"); 16 | element.innerHTML = 'Device Ready'; 17 | element.className += ' ready'; 18 | } 19 | 20 | function onPause() { 21 | // TODO: This application has been suspended. Save application state here. 22 | } 23 | 24 | function onResume() { 25 | // TODO: This application has been reactivated. Restore application state here. 26 | } 27 | 28 | } 29 | 30 | window.onload = function () { 31 | Application.initialize(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /templates/default/typescript/scripts/platformOverrides.ts: -------------------------------------------------------------------------------- 1 | // Platform specific overrides will be placed in the merges folder versions of this file -------------------------------------------------------------------------------- /templates/default/typescript/scripts/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions" : { 3 | "module" : "commonjs" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /templates/default/typescript/scripts/typings/cordova/plugins/Device.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for Apache Cordova Device plugin. 2 | // Project: https://github.com/apache/cordova-plugin-device 3 | // Definitions by: Microsoft Open Technologies, Inc. 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | // 6 | // Copyright (c) Microsoft Open Technologies, Inc. 7 | // Licensed under the MIT license. 8 | 9 | /** 10 | * This plugin defines a global device object, which describes the device's hardware and software. 11 | * Although the object is in the global scope, it is not available until after the deviceready event. 12 | */ 13 | interface Device { 14 | /** Get the version of Cordova running on the device. */ 15 | cordova: string; 16 | /** 17 | * The device.model returns the name of the device's model or product. The value is set 18 | * by the device manufacturer and may be different across versions of the same product. 19 | */ 20 | model: string; 21 | /** Get the device's operating system name. */ 22 | platform: string; 23 | /** Get the device's Universally Unique Identifier (UUID). */ 24 | uuid: string; 25 | /** Get the operating system version. */ 26 | version: string; 27 | } 28 | 29 | declare var device: Device; -------------------------------------------------------------------------------- /templates/default/typescript/scripts/typings/cordova/plugins/Splashscreen.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for Apache Cordova Splashscreen plugin. 2 | // Project: https://github.com/apache/cordova-plugin-splashscreen 3 | // Definitions by: Microsoft Open Technologies, Inc. 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | // 6 | // Copyright (c) Microsoft Open Technologies, Inc. 7 | // Licensed under the MIT license. 8 | 9 | interface Navigator { 10 | /** This plugin displays and hides a splash screen during application launch. */ 11 | splashscreen: { 12 | /** Dismiss the splash screen. */ 13 | hide(): void; 14 | /** Displays the splash screen. */ 15 | show(): void; 16 | } 17 | } -------------------------------------------------------------------------------- /templates/default/typescript/www/images/cordova.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/default/typescript/www/images/cordova.png -------------------------------------------------------------------------------- /templates/default/typescript/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | HelloTaco 15 | 16 | 17 |
18 |

Connecting to Device

19 |
20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /templates/default/typescript/www/scripts/.taco-ignore: -------------------------------------------------------------------------------- 1 | This is a dummy file with the sole purpose of allowing to commit its parent directory (which would otherwise be empty) to git source control. 2 | 3 | It is not intended to be part of the template and will be excluded from the archive process (when doing "gulp prepare-templates"). -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/merges/android/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the bind() polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/android2.3-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/merges/windows/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the safeHTML polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/winstore-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/package.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/android/icon-36-ldpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/android/icon-36-ldpi.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/android/icon-48-mdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/android/icon-48-mdpi.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/android/icon-72-hdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/android/icon-72-hdpi.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/android/icon-96-xhdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/android/icon-96-xhdpi.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-40-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-40-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-40.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-50-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-50-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-50.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-57-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-57-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-57.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-60-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-60-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-60-3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-60-3x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-60.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-72-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-72-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-72.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-76-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-76-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-76.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-small-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-small-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/ios/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/ios/icon-small.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/Square150x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/Square150x150Logo.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/Square30x30Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/Square30x30Logo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/Square310x310Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/Square310x310Logo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/Square44x44Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/Square44x44Logo.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/Square70x70Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/Square70x70Logo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/Square71x71Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/Square71x71Logo.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/StoreLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/StoreLogo.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/windows/Wide310x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/windows/Wide310x150Logo.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/wp8/ApplicationIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/wp8/ApplicationIcon.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/icons/wp8/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/icons/wp8/Background.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/native/android/ant.properties: -------------------------------------------------------------------------------- 1 | key.store= 2 | key.alias= 3 | key.store.password= 4 | key.alias.password= -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/android/screen-hdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/android/screen-hdpi-landscape.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/android/screen-hdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/android/screen-hdpi-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/android/screen-ldpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/android/screen-ldpi-landscape.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/android/screen-ldpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/android/screen-ldpi-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/android/screen-mdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/android/screen-mdpi-landscape.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/android/screen-mdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/android/screen-mdpi-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/android/screen-xhdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/android/screen-xhdpi-landscape.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/android/screen-xhdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/android/screen-xhdpi-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/ios/screen-ipad-landscape-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/ios/screen-ipad-landscape-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/ios/screen-ipad-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/ios/screen-ipad-landscape.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/ios/screen-ipad-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/ios/screen-ipad-portrait-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/ios/screen-ipad-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/ios/screen-ipad-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-568h-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-568h-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-landscape-736h.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-portrait-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-portrait-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-portrait-667h.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-portrait-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-portrait-736h.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/ios/screen-iphone-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/windows/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/windows/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/windows/SplashScreen.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/windows/SplashScreen.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/windows/SplashScreenPhone.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/windows/SplashScreenPhone.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/res/screens/wp8/SplashScreenImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/blank/res/screens/wp8/SplashScreenImage.jpg -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/www/css/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | } 3 | -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/www/images/.taco-ignore: -------------------------------------------------------------------------------- 1 | This is a dummy file with the sole purpose of allowing to commit its parent directory (which would otherwise be empty) to git source control. 2 | 3 | It is not intended to be part of the template and will be excluded from the archive process (when doing "gulp prepare-templates"). -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | HelloTaco 12 | 13 | 14 | 15 | 16 | 17 |

Hello, your application is ready!

18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/www/scripts/index.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | "use strict"; 3 | 4 | document.addEventListener( 'deviceready', onDeviceReady.bind( this ), false ); 5 | 6 | function onDeviceReady() { 7 | // Handle the Cordova pause and resume events 8 | document.addEventListener( 'pause', onPause.bind( this ), false ); 9 | document.addEventListener( 'resume', onResume.bind( this ), false ); 10 | 11 | // TODO: Cordova has been loaded. Perform any initialization that requires Cordova here. 12 | }; 13 | 14 | function onPause() { 15 | // TODO: This application has been suspended. Save application state here. 16 | }; 17 | 18 | function onResume() { 19 | // TODO: This application has been reactivated. Restore application state here. 20 | }; 21 | } )(); -------------------------------------------------------------------------------- /templates/fixed-whitelist/blank/www/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | // Platform specific overrides will be placed in the merges folder versions of this file -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require("gulp"); 2 | var ts = require("gulp-typescript"); 3 | 4 | var proj = ts.createProject("scripts/tsconfig.json"); 5 | 6 | gulp.task("default", ["typescript"]); 7 | 8 | gulp.task("typescript", function (callback) { 9 | var result = gulp.src("scripts/**/*.ts").pipe(ts(proj)); 10 | 11 | return result.js.pipe(gulp.dest("www/scripts")); 12 | }); 13 | -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/merges/android/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the bind() polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/android2.3-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/merges/windows/scripts/platformOverrides.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | // Append the safeHTML polyfill 3 | var scriptElem = document.createElement('script'); 4 | scriptElem.setAttribute('src', 'scripts/winstore-jscompat.js'); 5 | if (document.body) { 6 | document.body.appendChild(scriptElem); 7 | } else { 8 | document.head.appendChild(scriptElem); 9 | } 10 | }()); -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "gulp": "latest", 4 | "gulp-typescript": "latest" 5 | } 6 | } -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/android/icon-36-ldpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/android/icon-36-ldpi.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/android/icon-48-mdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/android/icon-48-mdpi.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/android/icon-72-hdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/android/icon-72-hdpi.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/android/icon-96-xhdpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/android/icon-96-xhdpi.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-40-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-40-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-40.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-50-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-50-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-50.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-57-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-57-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-57.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-60-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-60-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-60-3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-60-3x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-60.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-72-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-72-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-72.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-76-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-76-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-76.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-small-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-small-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/ios/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/ios/icon-small.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/Square150x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/Square150x150Logo.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/Square30x30Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/Square30x30Logo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/Square310x310Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/Square310x310Logo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/Square44x44Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/Square44x44Logo.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/Square70x70Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/Square70x70Logo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/Square71x71Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/Square71x71Logo.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/StoreLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/StoreLogo.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/windows/Wide310x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/windows/Wide310x150Logo.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/wp8/ApplicationIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/wp8/ApplicationIcon.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/icons/wp8/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/icons/wp8/Background.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/native/android/ant.properties: -------------------------------------------------------------------------------- 1 | key.store= 2 | key.alias= 3 | key.store.password= 4 | key.alias.password= -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/android/screen-hdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/android/screen-hdpi-landscape.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/android/screen-hdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/android/screen-hdpi-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/android/screen-ldpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/android/screen-ldpi-landscape.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/android/screen-ldpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/android/screen-ldpi-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/android/screen-mdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/android/screen-mdpi-landscape.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/android/screen-mdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/android/screen-mdpi-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/android/screen-xhdpi-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/android/screen-xhdpi-landscape.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/android/screen-xhdpi-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/android/screen-xhdpi-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/ios/screen-ipad-landscape-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/ios/screen-ipad-landscape-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/ios/screen-ipad-landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/ios/screen-ipad-landscape.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/ios/screen-ipad-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/ios/screen-ipad-portrait-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/ios/screen-ipad-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/ios/screen-ipad-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-568h-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-568h-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-landscape-736h.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-portrait-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-portrait-2x.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-portrait-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-portrait-667h.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-portrait-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-portrait-736h.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/ios/screen-iphone-portrait.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/windows/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/windows/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/windows/SplashScreen.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/windows/SplashScreen.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/windows/SplashScreenPhone.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/windows/SplashScreenPhone.scale-240.png -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/res/screens/wp8/SplashScreenImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/taco-cli/b1d42c280e699e5860a9cf2e828d7c2c8f078e7f/templates/fixed-whitelist/typescript/res/screens/wp8/SplashScreenImage.jpg -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/scripts/index.ts: -------------------------------------------------------------------------------- 1 | module MyApp { 2 | "use strict"; 3 | 4 | export module Application { 5 | export function initialize() { 6 | document.addEventListener('deviceready', onDeviceReady, false); 7 | } 8 | 9 | function onDeviceReady() { 10 | // Handle the Cordova pause and resume events 11 | document.addEventListener('pause', onPause, false); 12 | document.addEventListener('resume', onResume, false); 13 | 14 | // TODO: Cordova has been loaded. Perform any initialization that requires Cordova here. 15 | } 16 | 17 | function onPause() { 18 | // TODO: This application has been suspended. Save application state here. 19 | } 20 | 21 | function onResume() { 22 | // TODO: This application has been reactivated. Restore application state here. 23 | } 24 | 25 | } 26 | 27 | window.onload = function () { 28 | Application.initialize(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/scripts/platformOverrides.ts: -------------------------------------------------------------------------------- 1 | // Platform specific overrides will be placed in the merges folder versions of this file -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/scripts/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions" : { 3 | "module" : "commonjs" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/scripts/typings/cordova/plugins/Device.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for Apache Cordova Device plugin. 2 | // Project: https://github.com/apache/cordova-plugin-device 3 | // Definitions by: Microsoft Open Technologies, Inc. 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | // 6 | // Copyright (c) Microsoft Open Technologies, Inc. 7 | // Licensed under the MIT license. 8 | 9 | /** 10 | * This plugin defines a global device object, which describes the device's hardware and software. 11 | * Although the object is in the global scope, it is not available until after the deviceready event. 12 | */ 13 | interface Device { 14 | /** Get the version of Cordova running on the device. */ 15 | cordova: string; 16 | /** 17 | * The device.model returns the name of the device's model or product. The value is set 18 | * by the device manufacturer and may be different across versions of the same product. 19 | */ 20 | model: string; 21 | /** Get the device's operating system name. */ 22 | platform: string; 23 | /** Get the device's Universally Unique Identifier (UUID). */ 24 | uuid: string; 25 | /** Get the operating system version. */ 26 | version: string; 27 | } 28 | 29 | declare var device: Device; -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/scripts/typings/cordova/plugins/Splashscreen.d.ts: -------------------------------------------------------------------------------- 1 | // Type definitions for Apache Cordova Splashscreen plugin. 2 | // Project: https://github.com/apache/cordova-plugin-splashscreen 3 | // Definitions by: Microsoft Open Technologies, Inc. 4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped 5 | // 6 | // Copyright (c) Microsoft Open Technologies, Inc. 7 | // Licensed under the MIT license. 8 | 9 | interface Navigator { 10 | /** This plugin displays and hides a splash screen during application launch. */ 11 | splashscreen: { 12 | /** Dismiss the splash screen. */ 13 | hide(): void; 14 | /** Displays the splash screen. */ 15 | show(): void; 16 | } 17 | } -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/www/css/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | } 3 | -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/www/images/.taco-ignore: -------------------------------------------------------------------------------- 1 | This is a dummy file with the sole purpose of allowing to commit its parent directory (which would otherwise be empty) to git source control. 2 | 3 | It is not intended to be part of the template and will be excluded from the archive process (when doing "gulp prepare-templates"). -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | HelloTaco 12 | 13 | 14 | 15 | 16 | 17 |

Hello, your application is ready!

18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /templates/fixed-whitelist/typescript/www/scripts/.taco-ignore: -------------------------------------------------------------------------------- 1 | This is a dummy file with the sole purpose of allowing to commit its parent directory (which would otherwise be empty) to git source control. 2 | 3 | It is not intended to be part of the template and will be excluded from the archive process (when doing "gulp prepare-templates"). -------------------------------------------------------------------------------- /tools/build_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "src": "src", 3 | "templates": "templates", 4 | "tools": "tools", 5 | "build": "build", 6 | "buildCoverage": "build/coverage", 7 | "buildPackages": "build/packages/node_modules", 8 | "buildTools": "build/tools", 9 | "buildTemplates": "build/packages/node_modules/taco-kits/templates", 10 | "tsCompileOptions": { "noImplicitAny": true, "noEmitOnError": true, "target": "ES5", "module": "commonjs", "sourceMap": true, "sortOutput": true } 11 | } 12 | --------------------------------------------------------------------------------