This commit is contained in:
Garrett Serack 2019-09-05 12:35:47 -07:00
Родитель e6c9f010aa
Коммит 35c41b18ec
4 изменённых файлов: 8 добавлений и 16 удалений

4
.gitignore поставляемый
Просмотреть файл

@ -300,8 +300,8 @@ generated*/*
petstore*/*
**/generated*/*
extensions/powershell/resources/bin
extensions/powershell/resources/obj
powershell/resources/bin
powershell/resources/obj
# Logs
*.log

4
.vscode/launch.json поставляемый
Просмотреть файл

@ -18,12 +18,12 @@
"protocol": "inspector",
"request": "launch",
"name": "run tests",
"program": "${workspaceRoot}/extensions/powershell/node_modules/mocha/bin/_mocha",
"program": "${workspaceRoot}/powershell/node_modules/mocha/bin/_mocha",
"args": [
"dist/test/noun-cleaning.js",
"--timeout=2000000"
],
"cwd": "${workspaceRoot}/extensions/powershell"
"cwd": "${workspaceRoot}/powershell"
}
]
}

10
.vscode/settings.json поставляемый
Просмотреть файл

@ -62,15 +62,7 @@
"eslint.workingDirectories": [
{
"changeProcessCWD": true,
"directory": "./extensions/incubator",
},
{
"changeProcessCWD": true,
"directory": "./extensions/powershell",
},
{
"changeProcessCWD": true,
"directory": "./extensions/remodeler",
"directory": "./remodeler",
}
]
}

Просмотреть файл

@ -1,11 +1,11 @@
{
"verison": "0.0.0",
"private": true,
"name": "autorest.powershell",
"name": "autorest.remodeler",
"description": "> See readme.md for build instructions",
"scripts": {
"start": "node --max_old_space_size=4096 ./extensions/incubator/dist/autorest-extension",
"debug": "node --max_old_space_size=4096 --inspect-brk ./extensions/incubator/dist/autorest-extension",
"start": "node --max_old_space_size=4096 ./remodeler/dist/autorest-extension",
"debug": "node --max_old_space_size=4096 --inspect-brk ./remodeler/dist/autorest-extension",
"prepare": "(pwsh -v || npm --silent run show-error) && pwsh -noprofile ./.scripts/verify-install.ps1",
"show-error": "echo ====== &echo ====== & echo ====== & echo REQUIRED: Install PowerShell-core 6.1 or greater (see readme.md) & echo ====== & echo ====== & echo ====== & exit 1"
}