clicommon renames
This commit is contained in:
Родитель
6164fe67e2
Коммит
43850b39bb
|
@ -5,18 +5,17 @@ See documentation [here](doc/00-overview.md)
|
|||
``` yaml
|
||||
use-extension:
|
||||
"@autorest/modelerfour": "~4.1.60"
|
||||
"cli.common": "$(this-folder)"
|
||||
"clicommon": "$(this-folder)"
|
||||
|
||||
pipeline-model: v3
|
||||
clicommon: true
|
||||
pipeline:
|
||||
cli.common:
|
||||
clicommon:
|
||||
input: modelerfour
|
||||
output-artifact: source-file-common
|
||||
scope: clicommon
|
||||
|
||||
cli.common/emitter:
|
||||
input: cli.common
|
||||
clicommon/emitter:
|
||||
input: clicommon
|
||||
scope: scope-clicommon
|
||||
|
||||
scope-clicommon:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@autorest/cli.common",
|
||||
"version": "1.0.14",
|
||||
"name": "@autorest/clicommon",
|
||||
"version": "0.1.0",
|
||||
"description": "Autorest Azure Cli Common Module",
|
||||
"main": "dist/index.js",
|
||||
"engines": {
|
||||
|
@ -23,7 +23,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Azure/autorest.cli.common.git"
|
||||
"url": "git+https://github.com/Azure/autorest.clicommon.git"
|
||||
},
|
||||
"keywords": [
|
||||
"autorest",
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
"telemetryEnabled": false,
|
||||
"projects": [
|
||||
{
|
||||
"packageName": "@autorest/cli.common",
|
||||
"packageName": "@autorest/clicommon",
|
||||
"projectFolder": ".",
|
||||
"reviewCategory": "production",
|
||||
"shouldPublish": true
|
||||
|
|
|
@ -8,7 +8,7 @@ export type FileCallback = (path: string, rows: string[]) => void;
|
|||
|
||||
const extension = new AutoRestExtension();
|
||||
|
||||
extension.Add("cli.common", async autoRestApi => {
|
||||
extension.Add("clicommon", async autoRestApi => {
|
||||
|
||||
|
||||
try
|
||||
|
@ -20,12 +20,12 @@ extension.Add("cli.common", async autoRestApi => {
|
|||
|
||||
autoRestApi.Message({
|
||||
Channel: Channel.Warning,
|
||||
Text: "Hello World cli.common! The `debug` flag is " + (isDebugFlagSet ? "set" : "not set"),
|
||||
Text: "Hello World clicommon! The `debug` flag is " + (isDebugFlagSet ? "set" : "not set"),
|
||||
});
|
||||
|
||||
autoRestApi.Message({
|
||||
Channel: Channel.Warning,
|
||||
Text: "cli.common settings " + JSON.stringify(cliCommonSettings)
|
||||
Text: "clicommon settings " + JSON.stringify(cliCommonSettings)
|
||||
});
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче