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*/* petstore*/*
**/generated*/* **/generated*/*
extensions/powershell/resources/bin powershell/resources/bin
extensions/powershell/resources/obj powershell/resources/obj
# Logs # Logs
*.log *.log

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

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

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

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

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

@ -1,11 +1,11 @@
{ {
"verison": "0.0.0", "verison": "0.0.0",
"private": true, "private": true,
"name": "autorest.powershell", "name": "autorest.remodeler",
"description": "> See readme.md for build instructions", "description": "> See readme.md for build instructions",
"scripts": { "scripts": {
"start": "node --max_old_space_size=4096 ./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 ./extensions/incubator/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", "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" "show-error": "echo ====== &echo ====== & echo ====== & echo REQUIRED: Install PowerShell-core 6.1 or greater (see readme.md) & echo ====== & echo ====== & echo ====== & exit 1"
} }