@microsoft/teamsfx-api 0.23.0 → 0.23.1-alpha.20d61baa8.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.
@@ -1,9 +1,12 @@
1
1
  import { Result } from "neverthrow";
2
2
  import { Context } from "./context";
3
3
  import { FxError } from "./error";
4
- import { Inputs } from "./types";
4
+ import { Inputs, Warning } from "./types";
5
5
  export interface IGenerator {
6
6
  componentName: string;
7
- run(context: Context, inputs: Inputs, destinationPath: string): Promise<Result<undefined, FxError>>;
7
+ run(context: Context, inputs: Inputs, destinationPath: string): Promise<Result<GeneratorResult, FxError>>;
8
+ }
9
+ export interface GeneratorResult {
10
+ warnings?: Warning[];
8
11
  }
9
12
  //# sourceMappingURL=generator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../src/generator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,MAAM,WAAW,UAAU;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,GAAG,CACD,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;CACxC"}
1
+ {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../src/generator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,WAAW,UAAU;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,GAAG,CACD,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC;CAC9C;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx-api",
3
- "version": "0.23.0",
3
+ "version": "0.23.1-alpha.20d61baa8.0",
4
4
  "description": "teamsfx framework api",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "lint:staged": "lint-staged",
18
18
  "lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
19
19
  "prebuild": "npx json2ts --input src/schemas/envConfig.json --output src/schemas/envConfig.ts",
20
- "build": "tsc -p ./ && npx api-extractor run --local",
20
+ "build": "tsc -p ./",
21
21
  "build:api-markdown": "npm run build && rimraf ../../docs/api && npx api-documenter markdown -i temp -o ../../docs/api",
22
22
  "postbuild": "npx copyfiles src/schemas/*.json build/schemas/",
23
23
  "lint:fix": "eslint \"src/**/*.ts\" \"tests/**/*.ts\" --fix",
@@ -63,14 +63,14 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "@azure/core-auth": "^1.4.0",
66
- "@microsoft/teams-manifest": "0.1.4",
66
+ "@microsoft/teams-manifest": "0.1.5-alpha.20d61baa8.0",
67
67
  "axios": "^1.6.8",
68
68
  "chai": "^4.3.4",
69
69
  "jsonschema": "^1.4.0",
70
70
  "neverthrow": "^3.2.0",
71
71
  "tslib": "^2.3.1"
72
72
  },
73
- "gitHead": "7f02f2ab142b8ae1f599289a43b9bec0c7522a65",
73
+ "gitHead": "7db1d4f1dfb1adaab6366bd510fda37d5701846b",
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.18.4"
9
- }
10
- ]
11
- }