Structure changes (#59)
This PR makes important project structure changes. It also fixes the following issues: Messed up "Logout Vsts"/"Switch Vsts Account" command names; Create new app appearing in non-react project and attempting to work
This commit is contained in:
Родитель
4acfe5c7e7
Коммит
d614d67d84
|
@ -9,6 +9,6 @@ src/**/nodeDebugLocation.json
|
|||
|
||||
# Compiled files
|
||||
src/**/*.js
|
||||
!src/appcenter/apis/generated/**/*.js
|
||||
!src/api/appcenter/generated/**/*.js
|
||||
test/**/*.js
|
||||
**/*.js.map
|
|
@ -22,7 +22,7 @@ var lintSources = [
|
|||
testPath
|
||||
].map(function (tsFolder) { return tsFolder + "/**/*.ts"; });
|
||||
lintSources = lintSources.concat([
|
||||
"!src/appcenter/apis/generated/**"
|
||||
"!src/api/appcenter/generated/**"
|
||||
]);
|
||||
|
||||
gulp.task("tslint", function () {
|
||||
|
@ -38,7 +38,7 @@ gulp.task("tslint", function () {
|
|||
gulp.task("clean", function () {
|
||||
var pathsToDelete = [
|
||||
"src/**/*.js",
|
||||
"!src/appcenter/apis/generated/**/*.js",
|
||||
"!src/api/appcenter/generated/**/*.js",
|
||||
"src/**/*.js.map",
|
||||
"test/**/*.js",
|
||||
"test/**/*.js.map",
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"activationEvents": [
|
||||
"*"
|
||||
],
|
||||
"main": "./src/extension",
|
||||
"main": "./src/extension/extension",
|
||||
"contributes": {
|
||||
"commands": [
|
||||
{
|
||||
|
@ -50,7 +50,7 @@
|
|||
},
|
||||
{
|
||||
"command": "appcenter.start",
|
||||
"title": "Start a new projects",
|
||||
"title": "Start a new project",
|
||||
"category": "App Center"
|
||||
},
|
||||
{
|
||||
|
@ -90,7 +90,7 @@
|
|||
},
|
||||
{
|
||||
"command": "appcenter.settings.logout",
|
||||
"title": "Switch Vsts Account",
|
||||
"title": "Logout App Center",
|
||||
"category": "App Center Settings"
|
||||
},
|
||||
{
|
||||
|
@ -100,7 +100,7 @@
|
|||
},
|
||||
{
|
||||
"command": "appcenter.settings.vsts.switchAccount",
|
||||
"title": "Logout from Vsts",
|
||||
"title": "Switch Vsts Account",
|
||||
"category": "App Center Settings"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -8,9 +8,9 @@ import { userAgentFilter } from "./user-agent-filter";
|
|||
const BasicAuthenticationCredentials = require("ms-rest").BasicAuthenticationCredentials;
|
||||
import { ServiceCallback, ServiceError, WebResource } from "ms-rest";
|
||||
|
||||
import Auth from "../../auth/auth";
|
||||
import { ErrorCodes } from "../../codepush/commandResult";
|
||||
import { Profile } from "../../helpers/interfaces";
|
||||
import Auth from "../auth/auth";
|
||||
import { ErrorCodes } from "../codepush/commandResult";
|
||||
|
||||
export interface AppCenterClientFactory {
|
||||
fromUserNameAndPassword(userName: string, password: string, endpoint: string): AppCenterClient;
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче