@microsoft/teamsfx-core 2.0.0-alpha.2a6e2f57a.0 → 2.0.0-alpha.34e31d6eb.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/build/common/deps-checker/constant/helpLink.d.ts +6 -6
  2. package/build/common/deps-checker/constant/helpLink.d.ts.map +1 -1
  3. package/build/common/deps-checker/constant/helpLink.js +14 -8
  4. package/build/common/deps-checker/constant/helpLink.js.map +1 -1
  5. package/build/common/deps-checker/constant/message.d.ts +4 -2
  6. package/build/common/deps-checker/constant/message.d.ts.map +1 -1
  7. package/build/common/deps-checker/constant/message.js +11 -5
  8. package/build/common/deps-checker/constant/message.js.map +1 -1
  9. package/build/common/deps-checker/constant/telemetry.d.ts +12 -1
  10. package/build/common/deps-checker/constant/telemetry.d.ts.map +1 -1
  11. package/build/common/deps-checker/constant/telemetry.js +11 -0
  12. package/build/common/deps-checker/constant/telemetry.js.map +1 -1
  13. package/build/common/deps-checker/depsChecker.d.ts +3 -0
  14. package/build/common/deps-checker/depsChecker.d.ts.map +1 -1
  15. package/build/common/deps-checker/depsChecker.js.map +1 -1
  16. package/build/common/deps-checker/internal/funcToolChecker.d.ts +3 -4
  17. package/build/common/deps-checker/internal/funcToolChecker.d.ts.map +1 -1
  18. package/build/common/deps-checker/internal/funcToolChecker.js +108 -64
  19. package/build/common/deps-checker/internal/funcToolChecker.js.map +1 -1
  20. package/build/common/deps-checker/internal/nodeChecker.d.ts +3 -3
  21. package/build/common/deps-checker/internal/nodeChecker.d.ts.map +1 -1
  22. package/build/common/deps-checker/internal/nodeChecker.js +1 -1
  23. package/build/common/deps-checker/internal/nodeChecker.js.map +1 -1
  24. package/build/common/deps-checker/util/fileHelper.js +1 -1
  25. package/build/common/deps-checker/util/fileHelper.js.map +1 -1
  26. package/build/common/versionMetadata.d.ts +1 -0
  27. package/build/common/versionMetadata.d.ts.map +1 -1
  28. package/build/common/versionMetadata.js +1 -0
  29. package/build/common/versionMetadata.js.map +1 -1
  30. package/build/component/configManager/diagnostic.d.ts +9 -0
  31. package/build/component/configManager/diagnostic.d.ts.map +1 -0
  32. package/build/component/configManager/diagnostic.js +47 -0
  33. package/build/component/configManager/diagnostic.js.map +1 -0
  34. package/build/component/configManager/parser.d.ts.map +1 -1
  35. package/build/component/configManager/parser.js +10 -4
  36. package/build/component/configManager/parser.js.map +1 -1
  37. package/build/component/constants.d.ts +4 -0
  38. package/build/component/constants.d.ts.map +1 -1
  39. package/build/component/constants.js +49 -26
  40. package/build/component/constants.js.map +1 -1
  41. package/build/component/coordinator/index.d.ts +2 -2
  42. package/build/component/coordinator/index.d.ts.map +1 -1
  43. package/build/component/coordinator/index.js +50 -61
  44. package/build/component/coordinator/index.js.map +1 -1
  45. package/build/component/developerPortalScaffoldUtils.d.ts +4 -1
  46. package/build/component/developerPortalScaffoldUtils.d.ts.map +1 -1
  47. package/build/component/developerPortalScaffoldUtils.js +5 -5
  48. package/build/component/developerPortalScaffoldUtils.js.map +1 -1
  49. package/build/component/driver/arm/deployImpl.d.ts.map +1 -1
  50. package/build/component/driver/arm/deployImpl.js +4 -1
  51. package/build/component/driver/arm/deployImpl.js.map +1 -1
  52. package/build/component/driver/arm/validator.d.ts.map +1 -1
  53. package/build/component/driver/arm/validator.js +0 -15
  54. package/build/component/driver/arm/validator.js.map +1 -1
  55. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js +3 -3
  56. package/build/component/driver/deploy/azure/impl/azureDeployImpl.js.map +1 -1
  57. package/build/component/driver/devTool/installDriver.d.ts.map +1 -1
  58. package/build/component/driver/devTool/installDriver.js +18 -7
  59. package/build/component/driver/devTool/installDriver.js.map +1 -1
  60. package/build/component/driver/teamsApp/interfaces/ValidateManifestArgs.d.ts +5 -0
  61. package/build/component/driver/teamsApp/interfaces/ValidateManifestArgs.d.ts.map +1 -1
  62. package/build/component/driver/teamsApp/validate.d.ts.map +1 -1
  63. package/build/component/driver/teamsApp/validate.js +29 -9
  64. package/build/component/driver/teamsApp/validate.js.map +1 -1
  65. package/build/component/feature/apiconnector/errors.d.ts +0 -4
  66. package/build/component/feature/apiconnector/errors.d.ts.map +1 -1
  67. package/build/component/feature/apiconnector/errors.js +12 -16
  68. package/build/component/feature/apiconnector/errors.js.map +1 -1
  69. package/build/component/feature/bot/bot.js +8 -8
  70. package/build/component/feature/bot/bot.js.map +1 -1
  71. package/build/component/feature/bot/question.d.ts +6 -6
  72. package/build/component/feature/bot/question.d.ts.map +1 -1
  73. package/build/component/feature/bot/question.js +69 -38
  74. package/build/component/feature/bot/question.js.map +1 -1
  75. package/build/component/generator/generator.d.ts +1 -1
  76. package/build/component/generator/generator.d.ts.map +1 -1
  77. package/build/component/generator/generator.js +2 -2
  78. package/build/component/generator/generator.js.map +1 -1
  79. package/build/component/generator/officeAddin/question.d.ts.map +1 -1
  80. package/build/component/generator/officeAddin/question.js +3 -3
  81. package/build/component/generator/officeAddin/question.js.map +1 -1
  82. package/build/component/resource/appManifest/utils/ManifestUtils.d.ts +1 -0
  83. package/build/component/resource/appManifest/utils/ManifestUtils.d.ts.map +1 -1
  84. package/build/component/resource/appManifest/utils/ManifestUtils.js +4 -1
  85. package/build/component/resource/appManifest/utils/ManifestUtils.js.map +1 -1
  86. package/build/component/resource/appManifest/utils/utils.d.ts.map +1 -1
  87. package/build/component/resource/appManifest/utils/utils.js +5 -1
  88. package/build/component/resource/appManifest/utils/utils.js.map +1 -1
  89. package/build/component/resource/azureSql/errors.js +28 -28
  90. package/build/component/resource/azureSql/errors.js.map +1 -1
  91. package/build/component/resource/azureStorage/configs.d.ts +1 -1
  92. package/build/component/utils/depsChecker/bicepChecker.d.ts.map +1 -1
  93. package/build/component/utils/depsChecker/bicepChecker.js +4 -7
  94. package/build/component/utils/depsChecker/bicepChecker.js.map +1 -1
  95. package/build/core/FxCoreImplementV3.d.ts +1 -0
  96. package/build/core/FxCoreImplementV3.d.ts.map +1 -1
  97. package/build/core/FxCoreImplementV3.js +20 -7
  98. package/build/core/FxCoreImplementV3.js.map +1 -1
  99. package/build/core/environment.d.ts.map +1 -1
  100. package/build/core/environment.js +2 -13
  101. package/build/core/environment.js.map +1 -1
  102. package/build/core/middleware/projectMigratorV3.d.ts +1 -1
  103. package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
  104. package/build/core/middleware/projectMigratorV3.js +36 -24
  105. package/build/core/middleware/projectMigratorV3.js.map +1 -1
  106. package/build/core/middleware/questionModel.d.ts.map +1 -1
  107. package/build/core/middleware/questionModel.js +100 -17
  108. package/build/core/middleware/questionModel.js.map +1 -1
  109. package/build/core/middleware/utils/MigrationUtils.d.ts.map +1 -1
  110. package/build/core/middleware/utils/MigrationUtils.js +1 -0
  111. package/build/core/middleware/utils/MigrationUtils.js.map +1 -1
  112. package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts.map +1 -1
  113. package/build/core/middleware/utils/debug/debugV3MigrationUtils.js +3 -1
  114. package/build/core/middleware/utils/debug/debugV3MigrationUtils.js.map +1 -1
  115. package/build/core/middleware/utils/debug/taskMigrator.d.ts +1 -0
  116. package/build/core/middleware/utils/debug/taskMigrator.d.ts.map +1 -1
  117. package/build/core/middleware/utils/debug/taskMigrator.js +37 -1
  118. package/build/core/middleware/utils/debug/taskMigrator.js.map +1 -1
  119. package/build/core/middleware/utils/migrationContext.d.ts +1 -0
  120. package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
  121. package/build/core/middleware/utils/migrationContext.js +1 -0
  122. package/build/core/middleware/utils/migrationContext.js.map +1 -1
  123. package/build/core/middleware/utils/v3MigrationUtils.d.ts +8 -1
  124. package/build/core/middleware/utils/v3MigrationUtils.d.ts.map +1 -1
  125. package/build/core/middleware/utils/v3MigrationUtils.js +28 -3
  126. package/build/core/middleware/utils/v3MigrationUtils.js.map +1 -1
  127. package/build/core/question.d.ts +7 -1
  128. package/build/core/question.d.ts.map +1 -1
  129. package/build/core/question.js +178 -88
  130. package/build/core/question.js.map +1 -1
  131. package/build/error/arm.d.ts +6 -0
  132. package/build/error/arm.d.ts.map +1 -1
  133. package/build/error/arm.js +17 -1
  134. package/build/error/arm.js.map +1 -1
  135. package/build/error/common.d.ts +3 -0
  136. package/build/error/common.d.ts.map +1 -1
  137. package/build/error/common.js +14 -1
  138. package/build/error/common.js.map +1 -1
  139. package/build/error/deploy.d.ts +1 -1
  140. package/build/error/deploy.d.ts.map +1 -1
  141. package/build/error/deploy.js +5 -5
  142. package/build/error/deploy.js.map +1 -1
  143. package/build/error/upgrade.d.ts +5 -0
  144. package/build/error/upgrade.d.ts.map +1 -0
  145. package/build/error/upgrade.js +16 -0
  146. package/build/error/upgrade.js.map +1 -0
  147. package/package.json +11 -7
  148. package/resource/package.nls.json +52 -59
  149. package/templates/core/v3Migration/csharp.app.local.yml +3 -2
  150. package/templates/core/v3Migration/csharp.app.yml +16 -7
  151. package/templates/core/v3Migration/js.ts.app.local.yml +23 -12
  152. package/templates/core/v3Migration/js.ts.app.yml +30 -14
  153. package/templates/core/v3Migration/spfx.app.yml +1 -1
  154. package/templates/fallback/common.zip +0 -0
  155. package/templates/fallback/csharp.zip +0 -0
  156. package/templates/fallback/js.zip +0 -0
  157. package/templates/fallback/ts.zip +0 -0
  158. package/templates/plugins/resource/aad/auth/V3/Bot/SSO/SsoOperations.cs +23 -8
  159. package/templates/plugins/resource/aad/auth/V3/Tab/GetUserProfile.razor +2 -1
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/error/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAoB,MAAM,wBAAwB,CAAC;AAKlF,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;CAWhE;AAED,qBAAa,gCAAiC,SAAQ,SAAS;gBACjD,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,C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,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;CAaxF;AAED,qBAAa,uBAAwB,SAAQ,SAAS;gBACxC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,QAAQ,CAAC,EAAE,MAAM;CAgBxE;AAED,qBAAa,mBAAoB,SAAQ,SAAS;;CAQjD;AAED,qBAAa,eAAgB,SAAQ,SAAS;gBAChC,iBAAiB,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK;CAYhD;AAED,qBAAa,aAAc,SAAQ,WAAW;gBAChC,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,MAAM;CAQtC;AAED,qBAAa,cAAe,SAAQ,WAAW;gBACjC,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,MAAM;CAgBtC;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;CAiBzD;AAED,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM;CAQtE;AAED,qBAAa,yBAA0B,SAAQ,SAAS;gBAC1C,IAAI,EAAE,MAAM;CAOzB;AAED,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAOzC;AAED,qBAAa,eAAgB,SAAQ,SAAS;gBAChC,MAAM,EAAE,MAAM;CAU3B"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InputValidationError = exports.MissingRequiredInputError = exports.InstallSoftwareError = exports.UnhandledUserError = exports.UnhandledError = exports.ReadFileError = exports.JSONSyntaxError = exports.InvalidProjectError = exports.InvalidActionInputError = exports.MissingEnvironmentVariablesError = exports.FileNotFoundError = void 0;
3
+ exports.NoEnvFilesError = exports.InputValidationError = exports.MissingRequiredInputError = exports.InstallSoftwareError = exports.UnhandledUserError = exports.UnhandledError = exports.ReadFileError = exports.JSONSyntaxError = exports.InvalidProjectError = exports.InvalidActionInputError = exports.MissingEnvironmentVariablesError = exports.FileNotFoundError = void 0;
4
4
  const teamsfx_api_1 = require("@microsoft/teamsfx-api");
5
5
  const lodash_1 = require("lodash");
6
6
  const localizeUtils_1 = require("../common/localizeUtils");
@@ -139,4 +139,17 @@ class InputValidationError extends teamsfx_api_1.UserError {
139
139
  }
140
140
  }
141
141
  exports.InputValidationError = InputValidationError;
142
+ class NoEnvFilesError extends teamsfx_api_1.UserError {
143
+ constructor(source) {
144
+ const key = "error.common.NoEnvFilesError";
145
+ const errorOptions = {
146
+ source: lodash_1.camelCase(source),
147
+ name: "NoEnvFilesError",
148
+ message: localizeUtils_1.getDefaultString(key),
149
+ displayMessage: localizeUtils_1.getLocalizedString(key),
150
+ };
151
+ super(errorOptions);
152
+ }
153
+ }
154
+ exports.NoEnvFilesError = NoEnvFilesError;
142
155
  //# sourceMappingURL=common.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/error/common.ts"],"names":[],"mappings":";;;AAAA,wDAAkF;AAClF,mCAAmC;AACnC,2DAA+E;AAC/E,mDAAgD;AAEhD,MAAa,iBAAkB,SAAQ,uBAAS;IAC9C,YAAY,MAAc,EAAE,QAAgB,EAAE,QAAiB;QAC7D,MAAM,GAAG,GAAG,gCAAgC,CAAC;QAC7C,MAAM,YAAY,GAAqB;YACrC,MAAM,EAAE,kBAAS,CAAC,MAAM,CAAC;YACzB,IAAI,EAAE,mBAAmB;YACzB,OAAO,EAAE,gCAAgB,CAAC,GAAG,EAAE,QAAQ,CAAC;YACxC,cAAc,EAAE,kCAAkB,CAAC,GAAG,EAAE,QAAQ,CAAC;YACjD,QAAQ,EAAE,QAAQ;SACnB,CAAC;Q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QAAQ,CAAC;IACzC,CAAC;CACF;AATD,oDASC;AAED,MAAa,yBAA0B,SAAQ,uBAAS;IACtD,YAAY,IAAY;QACtB,KAAK,CAAC;YACJ,MAAM,EAAE,aAAa;YACrB,OAAO,EAAE,gCAAgB,CAAC,wCAAwC,EAAE,IAAI,CAAC;YACzE,cAAc,EAAE,kCAAkB,CAAC,wCAAwC,EAAE,IAAI,CAAC;SACnF,CAAC,CAAC;IACL,CAAC;CACF;AARD,8DAQC;AAED,MAAa,oBAAqB,SAAQ,uBAAS;IACjD,YAAY,IAAY,EAAE,MAAc;QACtC,KAAK,CAAC;YACJ,MAAM,EAAE,aAAa;YACrB,OAAO,EAAE,gCAAgB,CAAC,mCAAmC,EAAE,IAAI,EAAE,MAAM,CAAC;YAC5E,cAAc,EAAE,kCAAkB,CAAC,mCAAmC,EAAE,IAAI,EAAE,MAAM,CAAC;SACtF,CAAC,CAAC;IACL,CAAC;CACF;AARD,oDAQC;AAED,MAAa,eAAgB,SAAQ,uBAAS;IAC5C,YAAY,MAAc;QACxB,MAAM,GAAG,GAAG,8BAA8B,CAAC;QAC3C,MAAM,YAAY,GAAqB;YACrC,MAAM,EAAE,kBAAS,CAAC,MAAM,CAAC;YACzB,IAAI,EAAE,iBAAiB;YACvB,OAAO,EAAE,gCAAgB,CAAC,GAAG,CAAC;YAC9B,cAAc,EAAE,kCAAkB,CAAC,GAAG,CAAC;SACxC,CAAC;QACF,KAAK,CAAC,YAAY,CAAC,CAAC;IACtB,CAAC;CACF;AAXD,0CAWC"}
@@ -12,7 +12,7 @@ export declare class GetPublishingCredentialsError extends UserError {
12
12
  export declare class DeployZipPackageError extends UserError {
13
13
  constructor(endpoint: string, error: Error, helpLink?: string);
14
14
  }
15
- export declare class CheckDeployStatusError extends UserError {
15
+ export declare class CheckDeploymentStatusError extends UserError {
16
16
  constructor(location: string, error: Error, helpLink?: string);
17
17
  }
18
18
  export declare class DeployRemoteStartError extends UserError {
@@ -1 +1 @@
1
- {"version":3,"file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AE,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAE,QAAQ,CAAC,EAAE,MAAM;CAetF;AAED,qBAAa,4BAA6B,SAAQ,SAAS;gBAEvD,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,wBAAwB,EACvC,QAAQ,CAAC,EAAE,MAAM;CAkBpB;AAED,qBAAa,6BAA8B,SAAQ,SAAS;gBAC9C,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,MAAM;CAkBtF;AAED,qBAAa,uCAAwC,SAAQ,SAAS;gBACxD,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,MAAM;CAkBtF;AAED,qBAAa,uCAAwC,SAAQ,SAAS;gBACxD,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,MAAM;CAkBtF"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AzureStorageSetContainerPropertiesError = exports.AzureStorageGetContainerPropertiesError = exports.AzureStorageGetContainerError = exports.AzureStorageUploadFilesError = exports.AzureStorageClearBlobsError = exports.DeployRemoteStartError = exports.CheckDeployStatusError = exports.DeployZipPackageError = exports.GetPublishingCredentialsError = exports.CheckDeploymentStatusTimeoutError = exports.DeployEmptyFolderError = void 0;
3
+ exports.AzureStorageSetContainerPropertiesError = exports.AzureStorageGetContainerPropertiesError = exports.AzureStorageGetContainerError = exports.AzureStorageUploadFilesError = exports.AzureStorageClearBlobsError = exports.DeployRemoteStartError = exports.CheckDeploymentStatusError = exports.DeployZipPackageError = exports.GetPublishingCredentialsError = exports.CheckDeploymentStatusTimeoutError = exports.DeployEmptyFolderError = void 0;
4
4
  const teamsfx_api_1 = require("@microsoft/teamsfx-api");
5
5
  const localizeUtils_1 = require("../common/localizeUtils");
6
6
  class DeployEmptyFolderError extends teamsfx_api_1.UserError {
@@ -46,17 +46,17 @@ class DeployZipPackageError extends teamsfx_api_1.UserError {
46
46
  }
47
47
  }
48
48
  exports.DeployZipPackageError = DeployZipPackageError;
49
- class CheckDeployStatusError extends teamsfx_api_1.UserError {
49
+ class CheckDeploymentStatusError extends teamsfx_api_1.UserError {
50
50
  constructor(location, error, helpLink) {
51
51
  super({
52
52
  source: "azureDeploy",
53
- message: localizeUtils_1.getDefaultString("error.deploy.CheckDeployStatusError", location, JSON.stringify(error) || ""),
54
- displayMessage: localizeUtils_1.getLocalizedString("error.deploy.CheckDeployStatusError", location, error.message || ""),
53
+ message: localizeUtils_1.getDefaultString("error.deploy.CheckDeploymentStatusError", location, JSON.stringify(error) || ""),
54
+ displayMessage: localizeUtils_1.getLocalizedString("error.deploy.CheckDeploymentStatusError", location, error.message || ""),
55
55
  helpLink: helpLink,
56
56
  });
57
57
  }
58
58
  }
59
- exports.CheckDeployStatusError = CheckDeployStatusError;
59
+ exports.CheckDeploymentStatusError = CheckDeploymentStatusError;
60
60
  class DeployRemoteStartError extends teamsfx_api_1.UserError {
61
61
  constructor(location, errorMessage, helpLink) {
62
62
  super({
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../src/error/deploy.ts"],"names":[],"mappings":";;;AAAA,wDAAmD;AACnD,2DAA+E;AAG/E,MAAa,sBAAuB,SAAQ,uBAAS;IACnD,YAAY,UAAkB;QAC5B,KAAK,CAAC;YACJ,MAAM,EAAE,aAAa;YACrB,OAAO,EAAE,gCAAgB,CAAC,qCAAqC,EAAE,UAAU,CAAC;YAC5E,cAAc,EAAE,kCAAkB,CAAC,qCAAqC,EAAE,UAAU,CAAC;SACtF,CAAC,CAAC;IACL,CAAC;CACF;AARD,wDAQC;AAED,MAAa,iCAAkC,SAAQ,uBAAS;IAC9D,YAAY,QAAiB;QAC3B,KAAK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KAAK,CAAC,CACtB;YACD,cAAc,EAAE,kCAAkB,CAChC,mEAAmE,EACnE,aAAa,EACb,WAAW,EACX,KAAK,CAAC,OAAO,IAAI,EAAE,CACpB;YACD,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;CACF;AAnBD,0FAmBC;AAED,MAAa,uCAAwC,SAAQ,uBAAS;IACpE,YAAY,WAAmB,EAAE,aAAqB,EAAE,KAAU,EAAE,QAAiB;QACnF,KAAK,CAAC;YACJ,MAAM,EAAE,aAAa;YACrB,OAAO,EAAE,gCAAgB,CACvB,sDAAsD,EACtD,aAAa,EACb,WAAW,EACX,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CACtB;YACD,cAAc,EAAE,kCAAkB,CAChC,mEAAmE,EACnE,aAAa,EACb,WAAW,EACX,KAAK,CAAC,OAAO,IAAI,EAAE,CACpB;YACD,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;CACF;AAnBD,0FAmBC"}
@@ -0,0 +1,5 @@
1
+ import { UserError } from "@microsoft/teamsfx-api";
2
+ export declare class NoNeedUpgradeError extends UserError {
3
+ constructor();
4
+ }
5
+ //# sourceMappingURL=upgrade.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upgrade.d.ts","sourceRoot":"","sources":["../../src/error/upgrade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,qBAAa,kBAAmB,SAAQ,SAAS;;CAQhD"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NoNeedUpgradeError = void 0;
4
+ const teamsfx_api_1 = require("@microsoft/teamsfx-api");
5
+ const localizeUtils_1 = require("../common/localizeUtils");
6
+ class NoNeedUpgradeError extends teamsfx_api_1.UserError {
7
+ constructor() {
8
+ super({
9
+ message: localizeUtils_1.getDefaultString("error.upgrade.NoNeedUpgrade"),
10
+ displayMessage: localizeUtils_1.getLocalizedString("error.upgrade.NoNeedUpgrade"),
11
+ source: "upgrade",
12
+ });
13
+ }
14
+ }
15
+ exports.NoNeedUpgradeError = NoNeedUpgradeError;
16
+ //# sourceMappingURL=upgrade.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upgrade.js","sourceRoot":"","sources":["../../src/error/upgrade.ts"],"names":[],"mappings":";;;AAAA,wDAAmD;AACnD,2DAA+E;AAE/E,MAAa,kBAAmB,SAAQ,uBAAS;IAC/C;QACE,KAAK,CAAC;YACJ,OAAO,EAAE,gCAAgB,CAAC,6BAA6B,CAAC;YACxD,cAAc,EAAE,kCAAkB,CAAC,6BAA6B,CAAC;YACjE,MAAM,EAAE,SAAS;SAClB,CAAC,CAAC;IACL,CAAC;CACF;AARD,gDAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx-core",
3
- "version": "2.0.0-alpha.2a6e2f57a.0",
3
+ "version": "2.0.0-alpha.34e31d6eb.0",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "license": "MIT",
@@ -61,7 +61,8 @@
61
61
  "precommit": "npm run check-sensitive && lint-staged",
62
62
  "install:tabs": "cd tabs && npm install",
63
63
  "installAll": "npm run install:tabs",
64
- "version": "bash ../../.github/scripts/pkg-version.sh api-connector-sync"
64
+ "version": "bash ../../.github/scripts/pkg-version.sh api-connector-sync",
65
+ "checkUnusedStrings": "node ./scripts/find-unused-strings.js ./resource/package.nls.json ./src || exit 1"
65
66
  },
66
67
  "dependencies": {
67
68
  "@apidevtools/swagger-parser": "^10.0.2",
@@ -72,12 +73,13 @@
72
73
  "@azure/arm-sql": "^9.0.0",
73
74
  "@azure/arm-storage": "^17.2.1",
74
75
  "@azure/arm-subscriptions": "^5.0.0",
76
+ "@azure/core-auth": "^1.4.0",
75
77
  "@azure/identity": "^3.1.3",
76
78
  "@azure/msal-node": "^1.14.6",
77
79
  "@azure/storage-blob": "^12.7.0",
78
80
  "@dbpiper/timer": "1.0.0-beta.2",
79
81
  "@feathersjs/hooks": "^0.6.5",
80
- "@microsoft/teamsfx-api": "0.22.2-alpha.2a6e2f57a.0",
82
+ "@microsoft/teamsfx-api": "0.22.2-alpha.34e31d6eb.0",
81
83
  "@npmcli/arborist": "^4.2.0",
82
84
  "@types/proper-lockfile": "^4.1.1",
83
85
  "adm-zip": "^0.5.5",
@@ -110,7 +112,7 @@
110
112
  "nanoid": "^3.1.31",
111
113
  "node-forge": "^1.0.0",
112
114
  "node-ts-uuid": "^1.0.8",
113
- "office-addin-manifest": "^1.10.4",
115
+ "office-addin-manifest": "^1.12.4",
114
116
  "office-addin-project": "^0.7.0",
115
117
  "openapi-types": "^7.2.3",
116
118
  "proper-lockfile": "^4.1.2",
@@ -127,13 +129,14 @@
127
129
  "uuid": "^8.3.2",
128
130
  "validator": "^13.7.0",
129
131
  "xml2js": "^0.5.0",
130
- "yaml": "^2.2.1",
132
+ "yaml": "^2.2.2",
133
+ "yaml-language-server": "1.7.0",
131
134
  "zip-a-folder": "0.0.12"
132
135
  },
133
136
  "devDependencies": {
134
137
  "@azure/storage-blob": "^12.5.0",
135
138
  "@istanbuljs/nyc-config-typescript": "^1.0.1",
136
- "@microsoft/eslint-plugin-teamsfx": "0.0.2-alpha.2a6e2f57a.0",
139
+ "@microsoft/eslint-plugin-teamsfx": "0.0.2-alpha.34e31d6eb.0",
137
140
  "@types/adm-zip": "^0.4.33",
138
141
  "@types/chai": "^4.2.14",
139
142
  "@types/chai-as-promised": "^7.1.3",
@@ -171,6 +174,7 @@
171
174
  "@types/xml2js": "^0.4.11",
172
175
  "@typescript-eslint/eslint-plugin": "^4.19.0",
173
176
  "@typescript-eslint/parser": "^4.19.0",
177
+ "ahocorasick": "^1.0.2",
174
178
  "chai": "^4.2.0",
175
179
  "chai-as-promised": "^7.1.1",
176
180
  "chai-spies": "^1.0.0",
@@ -208,7 +212,7 @@
208
212
  "resource/**/*",
209
213
  "templates/**/*"
210
214
  ],
211
- "gitHead": "25960aa0bc1acebda5363f6ac3ba3bdf25740455",
215
+ "gitHead": "892560440b12fab74edec36a3e36aff8a501d359",
212
216
  "publishConfig": {
213
217
  "access": "public"
214
218
  },
@@ -1,5 +1,4 @@
1
1
  {
2
- "core.create.successNotice": "Scaffold successfully.",
3
2
  "core.init.successNotice": "Your project has been successfully initialized to operate with TeamsFx.\n\nSome next steps:\nteamsfx add <feature> will allow you to add features like single sign on or Teams notification integration.\n\nPro tip:\nRead on aka.ms/teams-manifest to learn more about updating manifest file to connect with your existing launch page experience.",
4
3
  "core.provision.provision": "Provision",
5
4
  "core.provision.learnMore": "Learn more",
@@ -18,7 +17,6 @@
18
17
  "core.provision.configurationFinishNotice": "[%s] Configuration finished.",
19
18
  "core.provision.ProvisionFinishNotice": "[%s] Provision finished!",
20
19
  "core.provision.viewResources": "View provisioned resources",
21
- "core.error.NoEnvFilesError": "Unable to find .env files.",
22
20
  "core.deploy.FailedToDeployBeforeProvision": "Unable to deploy because the resources have not been provisioned yet. Make sure you do the provision first. Click Get Help to learn more about why you need to provision.",
23
21
  "core.deploy.noCapabilityFound": "No capability found to %s. Click Get Help to learn more about how to add capabilities.",
24
22
  "core.deploy.successNotice": "'%s' successfully deployed.",
@@ -98,6 +96,7 @@
98
96
  "core.migrationV3.VS.Message": "The Teams Toolkit preview feature - Teams App Configuration Improvements is turned on. This project is required to be upgraded to work with the preview features. Select \"Learn more\" to read about the required changes or select \"Upgrade\" to perform the changes automatically. If you don't want to upgrade, you can turn off the preview feature.",
99
97
  "core.migrationV3.aadManifestNotExist": "templates/appPackage/aad.manifest.template.json does not exist. You may be trying to upgrade a project created by Teams Toolkit for Visual Studio Code v3.x / Teams Toolkit CLI v0.x / Teams Toolkit for Visual Studio v17.3. Please install Teams Toolkit for Visual Studio Code v4.x / Teams Toolkit CLI v1.x / Teams Toolkit for Visual Studio v17.4 and run upgrade first.",
100
98
  "core.migrationV3.manifestNotExist": "templates/appPackage/manifest.template.json does not exist. You may be trying to upgrade a project created by Teams Toolkit for Visual Studio Code v3.x / Teams Toolkit CLI v0.x / Teams Toolkit for Visual Studio v17.3. Please install Teams Toolkit for Visual Studio Code v4.x / Teams Toolkit CLI v1.x / Teams Toolkit for Visual Studio v17.4 and run upgrade first.",
99
+ "core.migrationV3.manifestInvalid": "templates/appPackage/manifest.template.json is invalid.",
101
100
  "core.migrationV3.CreateNewProject": "Teams Toolkit (pre-release) does not support migrating projects from previous versions. Project migration will be added in an upcoming release.",
102
101
  "core.migrationV3.abandonedProject": "This project is only for previewing and will not be supported by Teams Toolkit. Please try Teams Toolkit by creating a new project",
103
102
  "core.migrationV3.notAllowedMigration": "Teams Toolkit's Pre-Release version supports new project configuration and is incompatible with previous versions. Try it by creating a new project or run \"teamsfx upgrade\" to upgrade your project first.",
@@ -112,7 +111,6 @@
112
111
  "core.aadManifestMigration.outputMsg": "Congratulations! AAD manifest has been added, and please start to use this file to customize your AAD App registration. We have added aad.template.json, updated your projectSettings.json file and backed up projectSettings.json to .backup folder.",
113
112
  "core.aadManifestMigration.SuccessMessage": "Detect that your project is a previous version and auto update your project for new Teams Toolkit version. The following changes have been made:\n1. 'aad.template.json' is created under 'templates/appPackage'. For more information about AAD manifest, please refer %s\n2. '.fx/configs/projectSettings.json' is updated to include authentication related configuration. You can find a backup of old version in .backup folder.\nCongratulations! Your project now is updated and ready to run in latest version of Teams Toolkit.",
114
113
  "core.aadManifestMigration.ParsePermissionsFailedWarning": "Cannot parse permissions.json file when migration, and please follow this link to update permissions in aad.template.json file if necessary: https://aka.ms/teamsfx-aad-manifest#customize-requiredresourceaccess",
115
- "core.projectVersionChecker.vscodeUseNewVersion": "The current project is incompatible with the installed Teams Toolkit, please install %s or above and reopen this project.",
116
114
  "core.projectVersionChecker.cliUseNewVersion": "Your TeamFx CLI version is old and it doesn't support current project, please upgrade to the latest version using command below:\nnpm install -g @microsoft/teamsfx-cli@latest",
117
115
  "core.projectVersionChecker.incompatibleProject": "The current project is incompatible with the installed version of Teams Toolkit.",
118
116
  "core.projectVersionChecker.vs.incompatibleProject": "The project in the solution is created with Teams Toolkit preview feature - Teams App Configuration Improvements. You can turn on the preview feature to continue.",
@@ -130,7 +128,6 @@
130
128
  "core.deployArmTemplates.FailedToGetEnvironmentName": "Unable to get target environment name from solution context.",
131
129
  "core.deployArmTemplates.ParameterNotExist": "%s does not exist.",
132
130
  "core.deployArmTemplates.FailedToExpandParameter": "Unable to get expanded parameter from %s",
133
- "core.deployArmTemplates.InvalidAzureCredential": "Azure Credential is invalid.",
134
131
  "core.deployArmTemplates.FailedToGetSubsId": "Unable to get subscription id.",
135
132
  "core.deployArmTemplates.ActionSuccess": "Successfully deployed ARM templates. Resource group name: %s. Deployment name: %s",
136
133
  "core.handleConfigFile.FailedToUpdateAzureParameters": "Unable to update Azure parameters for %s environment.",
@@ -156,7 +153,6 @@
156
153
  "core.collaboration.SsoAadAppId": "SSO AAD App (ID: ",
157
154
  "core.collaboration.TeamsAppOwner": "Teams App Owner: ",
158
155
  "core.collaboration.AadAppOwner": "Azure Active Directory App Owner: ",
159
- "core.collaboration.NotOwnerOfSsoAadApp": "(Not owner of SSO AAD app)",
160
156
  "core.collaboration.StaringCheckPermission": "Starting to check permission for environment: ",
161
157
  "core.collaboration.CheckPermissionResourceId": "Resource ID: ",
162
158
  "core.collaboration.Undefined": "undefined",
@@ -237,7 +233,6 @@
237
233
  "plugins.appstudio.provisionTitle": "Provision Teams app",
238
234
  "plugins.appstudio.provisionProgress": "Registering Teams app %s...",
239
235
  "plugins.appstudio.postProvisionProgress": "Updating Teams app %s...",
240
- "plugins.appstudio.dataRequired": "Data required: %s.",
241
236
  "plugins.appstudio.manuallySubmitTip": "Manually submit Teams app package file",
242
237
  "plugins.appstudio.manuallySubmitDescription": "Build the Teams app package. You will need to send it to your Teams administrator manually",
243
238
  "plugins.appstudio.autoPublishTip": "Install for your organization",
@@ -252,8 +247,6 @@
252
247
  "plugins.appstudio.viewDeveloperPortal": "View in Developer Portal",
253
248
  "plugins.bot.questionHostTypeTrigger.title": "Choose triggers",
254
249
  "plugins.bot.questionHostTypeTrigger.placeholder": "Choose triggers",
255
- "plugins.bot.questionHostTypeTrigger.error.emptySelection": "You have to select at least one trigger.",
256
- "plugins.bot.questionHostTypeTrigger.error.hostTypeConflict": "Azure Functions and Azure App Service host types are in conflict.",
257
250
  "plugins.bot.triggers.http-functions.cliName": "http-functions",
258
251
  "plugins.bot.triggers.http-functions.description": "Azure Functions",
259
252
  "plugins.bot.triggers.http-functions.detail": "A running function hosted on Azure Functions can listen to HTTP requests.",
@@ -387,7 +380,6 @@
387
380
  "error.appstudio.grantPermissionFailed": "Grant permission failed. Reason: %s",
388
381
  "error.appstudio.listCollaboratorFailed": "List collaborator failed. Reason: %s",
389
382
  "error.appstudio.updateManifestInvalidApp": "Cannot find teams app with id %s. You must run debug or provision first before updating manifest to Teams platform.",
390
- "error.appstudio.updateManifestFailed": "Update manifest failed. ",
391
383
  "error.appstudio.invalidCapability": "Invalid capability: %s",
392
384
  "error.appstudio.capabilityExceedLimit": "Cannot add capability %s, it reaches the limit.",
393
385
  "error.appstudio.staticTabNotExist": "Cannot find static tab with entity id %s, unable to update.",
@@ -461,46 +453,58 @@
461
453
  "core.TabOption.description": "UI-based app",
462
454
  "core.TabOption.detail": "Teams-aware webpages embedded in Microsoft Teams",
463
455
  "core.TabOption.detailNew": "Teams identity aware webpages embedded in Microsoft Teams",
464
- "core.DashboardOption.label": "Dashboard tab",
465
- "core.DashboardOption.detail": "Embed a canvas containing multiple cards that provide an overview of data or content in Microsoft Teams",
456
+ "core.DashboardOption.label": "Dashboard",
457
+ "core.DashboardOption.detail": "A canvas with cards and widgets for displaying important information",
466
458
  "core.BotOption.description": "Conversational Agent",
467
459
  "core.BotOption.detail": "Running simple and repetitive automated tasks through conversations",
468
- "core.BotNewUIOption.label": "Bot",
469
- "core.BotNewUIOption.detail": "Hello world chatbot to run simple and repetitive tasks by user",
470
- "core.MessageExtensionOption.labelNew": "Message extension",
460
+ "core.BotNewUIOption.label": "Basic Bot",
461
+ "core.BotNewUIOption.detail": "A simple implementation of a bot that's ready to customize",
462
+ "core.MessageExtensionOption.labelNew": "Collect Form Input and Process Data",
471
463
  "core.MessageExtensionOption.label": "Message Extension",
472
464
  "core.MessageExtensionOption.description": "Custom UI when users compose messages in Teams",
473
- "core.MessageExtensionOption.detail": "Hello world message extension allowing interactions via buttons and forms",
474
- "core.NotificationOption.label": "Notification bot",
475
- "core.NotificationOption.detail": "Send notification to Microsoft Teams via various triggers",
476
- "core.Option.recommend": "Recommended",
477
- "core.Option.preview": "Preview",
478
- "core.CommandAndResponseOption.label": "Command bot",
479
- "core.CommandAndResponseOption.detail": "Respond to simple commands in Microsoft Teams chat",
480
- "core.WorkflowOption.label": "Workflow bot",
481
- "core.WorkflowOption.detail": "Automate repetitive workflows for common business processes in Microsoft Teams chat",
465
+ "core.MessageExtensionOption.detail": "Get user input, do something with it, and send customized results back",
466
+ "core.NotificationOption.label": "Chat Notification Message",
467
+ "core.NotificationOption.detail": "Notify and inform with a message that displays in Teams chats",
468
+ "core.CommandAndResponseOption.label": "Chat Command",
469
+ "core.CommandAndResponseOption.detail": "Trigger work with custom chat commands in Teams chats",
470
+ "core.WorkflowOption.label": "Sequential Workflow in Chat",
471
+ "core.WorkflowOption.detail": "Interact with multi-step processes in Teams chats",
482
472
  "core.ExistingTabOption.label": "Embed existing web app",
483
473
  "core.ExistingTabOption.detail": "Bring your own static webpages and embed in Microsoft Teams",
484
474
  "core.ExistingTabEndpointQuestion.placeholder": "Input your existing tab endpoint",
485
475
  "core.ExistingTabEndpointQuestion.title": "Enter your web app's local endpoint",
486
476
  "core.ExistingTabEndpointQuestion.validation": "Please enter a valid URL started with https://",
487
477
  "core.TabSPFxOption.label": "Tab (SPFx)",
488
- "core.TabSPFxOption.labelNew": "SPFx tab",
478
+ "core.TabSPFxOption.labelNew": "SPFx",
489
479
  "core.TabSPFxOption.description": "Client-side app with SharePoint Framework",
490
480
  "core.TabSPFxOption.detail": "Auto-hosted SPFx web part tightly integrated with Microsoft Teams",
491
- "core.TabSPFxOption.detailNew": "SPFx components hosted in Microsoft 365 and embeded in Microsoft Teams",
481
+ "core.TabSPFxOption.detailNew": "Build UI with SharePoint Framework",
492
482
  "core.TabSso.description": "Single Sign On for Tab",
493
483
  "core.TabSso.detail": "Enable Single Sign On in your Teams Tab app",
494
484
  "core.BotSso.description": "Single Sign On for Bot",
495
485
  "core.BotSso.detail": "Enable Single Sign On in your Teams Bot app",
496
- "core.TabNonSso.label": "Tab",
497
- "core.TabNonSso.detail": "Hello world webpages embedded in Microsoft Teams",
486
+ "core.TabNonSso.label": "Basic Tab",
487
+ "core.TabNonSso.detail": "A simple implementation of a web app that's ready to customize",
498
488
  "core.addCapabilityQuestion.title": "Choose Capabilities",
499
489
  "core.addCapabilityQuestion.titleNew": "Capabilities",
500
490
  "core.addFeatureQuestion.title": "Add features",
501
491
  "core.createCapabilityQuestion.title": "Select capabilities",
502
492
  "core.createCapabilityQuestion.titleNew": "Capabilities",
503
493
  "core.createCapabilityQuestion.placeholder": "Select a capability",
494
+ "core.createProjectQuestion.option.description.previewOnWindow": "Preview on Windows",
495
+ "core.createProjectQuestion.option.description.worksInOutlook": "Works in Teams and Outlook",
496
+ "core.createProjectQuestion.option.description.worksInOutlookM365": "Works in Teams, Outlook and the Microsoft 365 app",
497
+ "core.createProjectQuestion.projectType.bot.detail": "Conversational or informative chat experiences that can automate repetitive tasks",
498
+ "core.createProjectQuestion.projectType.bot.label": "Bot",
499
+ "core.createProjectQuestion.projectType.bot.title": "App Features Using a Bot",
500
+ "core.createProjectQuestion.projectType.messageExtension.detail": "Search or initiate actions from the chat compose area of Teams and Outlook",
501
+ "core.createProjectQuestion.projectType.messageExtension.title": "App Features Using a Message Extension",
502
+ "core.createProjectQuestion.projectType.outlookAddin.detail": "Customize the ribbon and Task Pane with your web content",
503
+ "core.createProjectQuestion.projectType.outlookAddin.label": "Outlook Add-in",
504
+ "core.createProjectQuestion.projectType.outlookAddin.title": "App Features Using an Outlook Add-in",
505
+ "core.createProjectQuestion.projectType.tab.detail": "Embed your own web content in Teams, Outlook, and the Micosoft 365 app",
506
+ "core.createProjectQuestion.projectType.tab.title": "App Features Using a Tab",
507
+ "core.createProjectQuestion.title": "New Project",
504
508
  "core.capability.validation": "Invalid capability combinations: %s, option sets: %s are mutually exclusive",
505
509
  "core.spfxFolder.title": "SPFx solution folder",
506
510
  "core.spfxFolder.placeholder": "Select the folder that contains your SPFx solution",
@@ -590,18 +594,15 @@
590
594
  "core.aadAppQuestion.description": "Your Azure Active Directory app for Single Sign On",
591
595
  "core.teamsAppQuestion.label": "Teams app",
592
596
  "core.teamsAppQuestion.description": "Your Teams app",
593
- "core.M365SsoLaunchPageOptionItem.label": "SSO enabled personal tab",
594
- "core.M365SsoLaunchPageOptionItem.detail": "Identity aware webpages embedded in Microsoft Teams, Outlook and the Microsoft 365 app",
595
- "core.M365SearchAppOptionItem.label": "Search-based message extension",
596
- "core.M365SearchAppOptionItem.detail": "Insert search result when user composes messages in Microsoft Teams or emails in Outlook",
597
+ "core.M365SsoLaunchPageOptionItem.label": "React with Fluent UI",
598
+ "core.M365SsoLaunchPageOptionItem.detail": "A web app that uses Fluent UI React components to get a Teams look and feel",
599
+ "core.M365SearchAppOptionItem.label": "Custom Search Results",
600
+ "core.M365SearchAppOptionItem.detail": "Display data directly in Teams and Outlook search results from search or the chat area",
597
601
  "core.M365HostQuestion.title": "Platform",
598
602
  "core.M365HostQuestion.placeholder": "Select a platform to preview the app",
599
603
  "core.options.separator.scenario": "Scenario-based Teams apps",
600
- "core.options.separator.basic": "Basic Teams apps",
601
604
  "core.options.separator.resource": "Cloud resources",
602
605
  "core.options.separator.additional": "Additional features",
603
- "core.options.separator.m365": "Extended Teams apps across Microsoft 365",
604
- "core.options.separator.addin": "Outlook add-ins",
605
606
  "core.common.LifecycleComplete.provision": "Successfully executed %s/%s actions in provision stage.",
606
607
  "core.common.LifecycleComplete.deploy": "Successfully executed %s/%s actions in deploy stage.",
607
608
  "core.common.LifecycleComplete.publish": "Successfully executed %s/%s actions in publish stage.",
@@ -615,10 +616,10 @@
615
616
  "core.common.OutlookWebClientName2": "Outlook web access client id 2",
616
617
  "core.NewOfficeAddinOptionVSC.label": "Start with an Outlook add-in",
617
618
  "core.NewOfficeAddinOptionVSC.detail": "Use the Teams Toolkit to create a new Outlook add-in application.",
618
- "core.importAddin.label": "Import an existing Outlook add-in (Preview on Windows)",
619
- "core.importAddin.detail": "Import an existing Outlook add-in project to the latest app manifest schema and project structure",
620
- "core.newTaskpaneAddin.label": "Outlook Taskpane add-in (Preview on Windows)",
621
- "core.newTaskpaneAddin.detail": "A ribbon button and taskpane for use with Outlook",
619
+ "core.importAddin.label": "Import an Existing Outlook Add-in",
620
+ "core.importAddin.detail": "Upgrade and add-in project to the latest app manifest and project structure",
621
+ "core.newTaskpaneAddin.label": "Taskpane",
622
+ "core.newTaskpaneAddin.detail": "Customize the Ribbon with a button and embed content in the Taskpane",
622
623
  "core.summary.actionDescription": "Action %s%s",
623
624
  "core.summary.lifecycleDescription": "Lifecycle stage: %s(%s step(s) in total). The following actions will be executed: %s",
624
625
  "core.summary.lifecycleNotExecuted": "%s Lifecycle stage %s was not executed.",
@@ -659,7 +660,6 @@
659
660
  "error.aad.AadManifestNotProvisioned": "Unable to generate AAD manifest because the resources have not been provisioned yet. You need to run provision or debug first. Click Get Help to learn more about why you need to provision or debug.",
660
661
  "error.aad.UpdateAadAppError": "Unable to update application in Azure Active Directory: %s",
661
662
  "error.aad.UpdateAadAppUsingManifestError": "Unable to update application in Azure Active Directory. Please make sure 'templates/appPackage/aad.template.json' is valid: %s",
662
- "error.aad.AadManifestNotFoundError": "Aad manifest file not found",
663
663
  "error.aad.GetDisplayNameError": "Unable to get display name.",
664
664
  "error.aad.GetConfigError": "Unable to get configuration value \"%s\" for %s.",
665
665
  "error.aad.FormatError": "Invalid format for %s. Value: %s.",
@@ -801,12 +801,13 @@
801
801
  "plugins.function.functionAlreadyExists": "Function already exists.",
802
802
  "error.depChecker.DefaultErrorMessage": "Install the required dependencies manually.",
803
803
  "depChecker.learnMoreButtonText": "Learn more",
804
- "depChecker.needReplaceWithFuncCoreToolV3": "You must update to @NameVersion to debug your local functions.",
805
804
  "depChecker.needInstallNpm": "You must have NPM installed to debug your local functions.",
806
805
  "depChecker.failToValidateFuncCoreTool": "Unable to validate Azure Functions Core Tools after installation.",
807
806
  "depChecker.symlinkDirAlreadyExist": "The destination of the symlink already exists",
808
- "depChecker.globalFuncNodeNotMatched": "Your Node.js (@NodeVersion) is incompatible with your Azure Functions Core Tools (@FuncVersion). Please make sure your Azure Functions Core Tools works with your Node.js version. See (@link) for Azure Functions supported Node.js versions.",
809
- "depChecker.portableFuncNodeNotMatched": "Your Node.js (@NodeVersion) is incompatible with Teams Toolkit Azure Functions Core Tools (@FuncVersion). Go to @Link to install Node.js (@RecommendedVersion is recommended).",
807
+ "depChecker.portableFuncNodeNotMatched": "Your Node.js (@NodeVersion) is incompatible with Teams Toolkit Azure Functions Core Tools (@FuncVersion).",
808
+ "depChecker.invalidFuncVersion": "The format of version %s is invalid.",
809
+ "depChecker.noSentinelFile": "Azure Functions Core Tools installation is incomplete.",
810
+ "depChecker.funcVersionNotMatch": "The version of Azure Functions Core Tools (%s) is not compatible with the specified version range (%s).",
810
811
  "depChecker.startInstallNgrok": "Downloading and installing @NameVersion.",
811
812
  "depChecker.finishInstallNgrok": "Successfully installed @NameVersion.",
812
813
  "depChecker.finishInstallBicep": "Successfully installed @NameVersion.",
@@ -818,10 +819,10 @@
818
819
  "depChecker.useGlobalDotnet": "Using dotnet from PATH:",
819
820
  "depChecker.dotnetInstallStderr": "dotnet-install command failed without error exit code but with non-empty standard error.",
820
821
  "depChecker.dotnetInstallErrorCode": "dotnet-install command failed.",
821
- "depChecker.NodeNotFound": "Cannot find Node.js. The supported node versions are specified in the package.json. Go to https://nodejs.org/about/releases/ to install a supported Node.js. Restart all your Visual Studio Code instances after the installation is finished.",
822
+ "depChecker.NodeNotFound": "Cannot find Node.js. The supported node versions are specified in the package.json. Go to %s to install a supported Node.js. Restart all your Visual Studio Code instances after the installation is finished.",
822
823
  "depChecker.NodeNotSupported": "Node.js (@CurrentVersion) is not in the supported version list (@SupportedVersions).\n\nClick \"Learn more\" to learn more about the supported Node.js versions.\n\n(If you just installed Node.js (@SupportedVersions), restart Visual Studio Code for the change to take effect.)",
823
- "depChecker.V3NodeNotSupported": "Node.js (%s) is not the officially supported version (%s). Your project may continue to work but we recommend to install the supported version. The supported node versions are specified in the package.json. Go to https://nodejs.org/about/releases/ to install a supported Node.js.",
824
- "depChecker.NodeNotLts": "Node.js (%s) is not a LTS version (%s). Go to https://nodejs.org/about/releases/ to install a LTS Node.js.",
824
+ "depChecker.V3NodeNotSupported": "Node.js (%s) is not the officially supported version (%s). Your project may continue to work but we recommend to install the supported version. The supported node versions are specified in the package.json. Go to %s to install a supported Node.js.",
825
+ "depChecker.NodeNotLts": "Node.js (%s) is not a LTS version (%s). Go to %s to install a LTS Node.js.",
825
826
  "depChecker.dotnetNotFound": "Cannot find @NameVersion. For the details why .NET SDK is needed, refer to @HelpLink",
826
827
  "depChecker.depsNotFound": "Cannot find @SupportedPackages.\n\nTeams Toolkit requires these dependencies.\n\nClick \"Install\" to install @InstallPackages.",
827
828
  "depChecker.linuxDepsNotFound": "Cannot find @SupportedPackages. Install @SupportedPackages manually and restart Visual Studio Code.",
@@ -904,9 +905,6 @@
904
905
  "driver.deploy.error.restartWebAppError": "Unable to restart web app.\nPlease try to restart the web app manually if the app doesn't work properly.",
905
906
  "driver.deploy.notice.deployAcceleration": "Deploying to Azure App Service takes a long time. Consider referring to this document to optimize your deployment:",
906
907
  "driver.deploy.notice.deployDryRunComplete": "Deployment preparations are completed. You can find the package in `%s`",
907
- "driver.deploy.azureAppServiceDeploySummary": "Project deployed to Azure App Service successfully.",
908
- "driver.deploy.azureFunctionsDeploySummary": "Project deployed to Azure Functions successfully.",
909
- "driver.deploy.azureStorageDeploySummary": "Project deployed to Azure Storage successfully.",
910
908
  "driver.deploy.azureAppServiceDeployDetailSummary": "Successfully deployed `%s` to Azure App Service.",
911
909
  "driver.deploy.azureFunctionsDeployDetailSummary": "Successfully deployed `%s` to Azure Functions.",
912
910
  "driver.deploy.azureStorageDeployDetailSummary": "Successfully deployed `%s` to Azure Storage.",
@@ -915,10 +913,8 @@
915
913
  "driver.deploy.deployToAzureFunctionsDescription": "deploy the project to the Azure Functions.",
916
914
  "driver.deploy.deployToAzureStorageDescription": "deploy the project to the Azure Storage.",
917
915
  "driver.deploy.enableStaticWebsiteInAzureStorageDescription": "enable static website setting in Azure Storage.",
918
- "driver.deploy.getStorageContainerError": "Unable to get storage container %s.",
919
916
  "driver.common.suggestion.retryLater": "Please try again.",
920
917
  "driver.common.FailRetrieveAzureCredentialsRemoteError": "Unable to retrieve Azure credentials due to remote service error.",
921
- "driver.script.buildSummary": "Running command `%s` at `%s` successfully.",
922
918
  "driver.script.dotnetDescription": "running dotnet command.",
923
919
  "driver.script.npmDescription": "running npm command.",
924
920
  "driver.script.npxDescription": "running npx command.",
@@ -926,7 +922,6 @@
926
922
  "driver.m365.acquire.description": "acquire an Microsoft 365 title with the app package",
927
923
  "driver.m365.acquire.progress.message": "Acquiring Microsoft 365 title with the app package...",
928
924
  "driver.m365.acquire.summary": "The Microsoft 365 title has been acquired successfully (%s).",
929
- "driver.m365.error.fileNotFound": "The input file not found for %s action: %s.",
930
925
  "driver.teamsApp.description.copyAppPackageToSPFxDriver": "copies the generated Teams app package to SPFx solution.",
931
926
  "driver.teamsApp.description.createDriver": "create a Teams app.",
932
927
  "driver.teamsApp.description.updateDriver": "update a Teams app.",
@@ -934,11 +929,8 @@
934
929
  "driver.teamsApp.description.validateDriver": "validate a Teams app.",
935
930
  "driver.teamsApp.description.createAppPackageDriver": "build a Teams app package.",
936
931
  "driver.teamsApp.progressBar.copyAppPackageToSPFxStepMessage": "Copying Teams app package to SPFx solution...",
937
- "driver.teamsApp.progressBar.createTeamsAppTitle": "Create Teams app",
938
932
  "driver.teamsApp.progressBar.createTeamsAppStepMessage": "Creating Teams app...",
939
- "driver.teamsApp.progressBar.updateTeamsAppTitle": "Update Teams app",
940
933
  "driver.teamsApp.progressBar.updateTeamsAppStepMessage": "Updating Teams app...",
941
- "driver.teamsApp.progressBar.publishTeamsAppTitle": "Publish Teams app",
942
934
  "driver.teamsApp.progressBar.publishTeamsAppStep1": "Checking if the Teams app has already been submitted to tenant App Catalog",
943
935
  "driver.teamsApp.progressBar.publishTeamsAppStep2.1": "Update published Teams app",
944
936
  "driver.teamsApp.progressBar.publishTeamsAppStep2.2": "Publishing Teams app...",
@@ -949,12 +941,11 @@
949
941
  "driver.teamsApp.summary.copyAppPackageSuccess": "Teams app %s was successfully copied to %s.",
950
942
  "driver.teamsApp.summary.copyIconSuccess": "%s icon(s) were successfully updated under %s.",
951
943
  "driver.teamsApp.summary.validate": "Teams Toolkit has checked against all validation rules:\n\nSummary:\n%s.\n%s\n%s\n\nA complete log of validations can be found in %s",
944
+ "driver.teamsApp.summary.validateManifest": "Teams Toolkit has checked manifest with its schema:\n\nSummary:\n%s.\n%s\n",
952
945
  "driver.teamsApp.summary.validate.succeed": "%s passed",
953
946
  "driver.teamsApp.summary.validate.failed": "%s failed",
954
947
  "driver.teamsApp.summary.validate.warning": "%s warning",
955
- "driver.teamsApp.validate.skip": "%s action is currently skipped, will be updated in the future version.",
956
- "driver.teamsApp.invalidParameter": "Following parameter is missing or invalid for %s action: %s.",
957
- "driver.teamsApp.validate.invalidParameter": "Parameter %s should be provided for action %s",
948
+ "driver.teamsApp.summary.validate.all": "All",
958
949
  "driver.teamsApp.validate.result": "Teams Toolkit has completed checking your app package against validation rules. %s.",
959
950
  "driver.teamsApp.validate.result.display": "Teams Toolkit has completed checking your app package against validation rules. %s. Check [Output panel](command:fx-extension.showOutputChannel) for details.",
960
951
  "error.teamsApp.validate.apiFailed": "Teams app package validation failed due to %s",
@@ -965,7 +956,6 @@
965
956
  "driver.botFramework.summary.create": "The bot registration has been created successfully (%s).",
966
957
  "driver.botFramework.summary.update": "The bot registration has been updated successfully (%s).",
967
958
  "driver.botFramework.progressBar.createOrUpdateBot": "Creating or updating bot registration.",
968
- "driver.generateAppsettings.description": "Add or update environment variables to appsettings file.",
969
959
  "error.yaml.InvalidYamlSchemaError": "Unable to parse yaml file: %s. Please open the yaml file and check the PROBLEMS tab for more details.",
970
960
  "error.yaml.InvalidYamlSchemaErrorWithReason": "Unable to parse yaml file: %s. Reason: %s. Please open the yaml file and check the PROBLEMS tab for more details",
971
961
  "error.yaml.YamlFieldTypeError": "Field '%s' should have %s type, yaml file: %s",
@@ -974,13 +964,15 @@
974
964
  "error.yaml.LifeCycleUndefinedError": "Lifecycle '%s' is undefined, yaml file: %s",
975
965
  "error.yaml.InvalidActionInputError": "The '%s' action cannot be completed as the following parameter(s): %s, are either missing or have an invalid value in the provided yaml file: %s. Ensure that the required parameters are provided and have valid values and try again.",
976
966
  "error.common.InstallSoftwareError": "Unable to install %s. You can install it manually and restart Visual Studio Code if you are using the Toolkit in Visual Studio Code.",
977
- "error.common.MissingEnvironmentVariablesError": "The program cannot proceed as the following environment variables are missing: '%s', which are required for file: %s. Make sure the required variables are set either by editing the .env file '%s' with the correct names and values , or by setting the system environment variables with the correct names and values.",
967
+ "error.common.MissingEnvironmentVariablesError": "The program cannot proceed as the following environment variables are missing: '%s', which are required for file: %s. Make sure the required variables are set either by editing the .env file '%s' with the correct names and values , or by setting the system environment variables with the correct names and values. If you are developing with a new project created with Teams Toolkit, running provision or debug will register correct values for these environment variables.",
978
968
  "error.common.InvalidProjectError": "This command only works for project created by Teams Toolkit.",
979
969
  "error.common.FileNotFoundError": "The file or directory is not found: '%s'. Check if it exists and you have permission to access it.",
980
970
  "error.common.JSONSyntaxError": "JSON syntax error: %s. Check the JSON syntax to ensure it is properly formatted.",
981
971
  "error.common.UnhandledError": "An unexpected error has occurred while performing the %s task. The reason for this error is: %s. Welcome to report this issue by clicking on the provided \"Issue Link\", so that we can investigate and resolve the problem as soon as possible.",
982
972
  "error.common.MissingRequiredInputError": "Missing required input: %s",
983
973
  "error.common.InputValidationError": "Input '%s' validation failed: %s",
974
+ "error.common.NoEnvFilesError": "Unable to find .env files.",
975
+ "error.upgrade.NoNeedUpgrade": "This project is already the latest, no need to upgrade.",
984
976
  "error.collaboration.InvalidManifestError": "Unable to process your manifest file ('%s') due to the absence of the 'id' key. To identify your application correctly, please make sure that the 'id' key is present in the manifest file.",
985
977
  "error.collaboration.FailedToLoadManifest": "Unable to load manifest file. Reason: %s.",
986
978
  "error.azure.InvalidAzureCredentialError": "Unable to obtain your Azure credentials. Ensure that your Azure account is properly authenticated and try again.",
@@ -997,6 +989,7 @@
997
989
  "error.m365.M365TenantIdNotFoundInTokenError": "Unable to obtain Microsoft 365 tenant ID in token JSON object. Ensure that your account is authorized to access the tenant and that the token JSON object is valid.",
998
990
  "error.m365.M365TenantIdNotMatchError": "Authentication failed. You are currently signed in to Microsoft 365 tenant '%s', which is different from the one specified in the .env file (TEAMS_APP_TENANT_ID='%s'). To resolve this issue and switch to your current signed-in tenant, please remove the values of '%s' from the .env file and try again.",
999
991
  "error.arm.CompileBicepError": "Unable to compile Bicep files located in path '%s' to JSON ARM templates. The error message returned was: %s. Check the Bicep files for any syntax or configuration errors and try again.",
992
+ "error.arm.DownloadBicepCliError": "Unable to download Bicep cli from '%s'. The error message was: %s. Fix the error and try again. Or remove the bicepCliVersion config in the config file teamsapp.yml and Teams Toolkit will use bicep CLI in PATH",
1000
993
  "error.arm.DeployArmError.Notification": "The ARM templates for deployment name: '%s' could not be deployed in resource group '%s'. Refer to the [Output panel](command:fx-extension.showOutputChannel) for more details.",
1001
994
  "error.arm.DeployArmError": "The ARM templates for deployment name: '%s' could not be deployed in resource group '%s' for reason: %s",
1002
995
  "error.arm.GetArmDeploymentError": "The ARM templates for deployment name: '%s' could not be deployed in resource group '%s' for reason: %s. \nUnable to get detailed error message due to: %s. \nRefer to the resource group %s in portal for deployment error.",
@@ -1,4 +1,4 @@
1
- # yaml-language-server: $schema=https://developer.microsoft.com/json-schemas/teams-toolkit/teamsapp-yaml/1.0.0/yaml.schema.json
1
+ # yaml-language-server: $schema=https://aka.ms/teams-toolkit/1.0.0/yaml.schema.json
2
2
  # Visit https://aka.ms/teamsfx-v5.0-guide for details on this file
3
3
  # Visit https://aka.ms/teamsfx-actions for details on actions
4
4
  version: 1.0.0
@@ -31,7 +31,8 @@ provision:
31
31
  writeToEnvironmentFile:
32
32
  botId: BOT_ID
33
33
  botPassword: SECRET_BOT_PASSWORD
34
- - uses: botFramework/create # Create or update the bot registration on dev.botframework.com
34
+ # Create or update the bot registration on dev.botframework.com
35
+ - uses: botFramework/create
35
36
  with:
36
37
  botId: $\{{BOT_ID}}
37
38
  name: {{appName}}