reorg the emitter code structure and prepare for the initial release (#1350)
This commit is contained in:
Родитель
43e5eacacf
Коммит
07592fede7
|
@ -161,7 +161,7 @@ PublishScripts/
|
|||
# NuGet Packages
|
||||
*.nupkg
|
||||
# The packages folder can be ignored because of Package Restore
|
||||
**/packages/*
|
||||
*/**/packages/*
|
||||
# except build/, which is used as an MSBuild target.
|
||||
!**/packages/build/
|
||||
# Uncomment if necessary however generally it will be regenerated when needed
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
|
||||
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:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
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
|
|
@ -0,0 +1,3 @@
|
|||
# Introduction
|
||||
|
||||
This library is the TypeSpec PowerShell emitter. It take [TypeSpec](https://github.com/microsoft/typespec) as input, converts it into common Model, then call autorest.powershell library to generate the Azure PowerShell module.
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "@azure-tools/typespec-powershell",
|
||||
"version": "0.1.0",
|
||||
"version": "0.0.1",
|
||||
"description": "An experimental TypeSpec emitter for PowerShell codegen",
|
||||
"type": "module",
|
||||
"main": "dist/src/index.js",
|
||||
"exports": {
|
||||
|
@ -14,6 +15,7 @@
|
|||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@autorest/powershell": "~4.0.700",
|
||||
"@autorest/codemodel": "~4.19.3",
|
||||
"@autorest/extension-base": "~3.5.2",
|
||||
"@azure-tools/async-io": "~3.0.0",
|
||||
|
@ -58,5 +60,17 @@
|
|||
"lint:fix": "eslint . --report-unused-disable-directives --fix",
|
||||
"format": "prettier . --write",
|
||||
"format:check": "prettier --check ."
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": "",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Azure/autorest.powershell/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/autorest.powershell/packages/typespec-powershell",
|
||||
"readme": "https://github.com/Azure/autorest.powershell/blob/main/packages/typespec-powershell/README.md",
|
||||
"keywords": [
|
||||
"TypeSpec",
|
||||
"PowerShell",
|
||||
"Cmdlet"
|
||||
]
|
||||
}
|
|
@ -99,6 +99,12 @@
|
|||
"projectFolder": "powershell",
|
||||
"reviewCategory": "production",
|
||||
"shouldPublish": true
|
||||
},
|
||||
{
|
||||
"packageName": "@azure-tools/typespec-powershell",
|
||||
"projectFolder": "packages/typespec-powershell",
|
||||
"reviewCategory": "production",
|
||||
"shouldPublish": true
|
||||
}
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче