@microsoft/teamsfx-api 0.14.0 → 0.14.1-alpha.9b895e2a.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 (42) hide show
  1. package/build/constants.d.ts +1 -3
  2. package/build/constants.d.ts.map +1 -1
  3. package/build/constants.js +1 -3
  4. package/build/constants.js.map +1 -1
  5. package/build/core.d.ts +0 -1
  6. package/build/core.d.ts.map +1 -1
  7. package/build/error.d.ts.map +1 -1
  8. package/build/error.js +1 -1
  9. package/build/error.js.map +1 -1
  10. package/build/schemas/envConfig.json +104 -104
  11. package/build/schemas/src/schemas/envConfig.json +113 -0
  12. package/build/solution.d.ts +0 -1
  13. package/build/solution.d.ts.map +1 -1
  14. package/build/types.d.ts +12 -1
  15. package/build/types.d.ts.map +1 -1
  16. package/build/types.js +8 -1
  17. package/build/types.js.map +1 -1
  18. package/build/v2/resourcePlugin.d.ts +7 -8
  19. package/build/v2/resourcePlugin.d.ts.map +1 -1
  20. package/build/v2/solutionPlugin.d.ts +3 -6
  21. package/build/v2/solutionPlugin.d.ts.map +1 -1
  22. package/build/v3/AzureResourceStates.d.ts +1 -1
  23. package/build/v3/AzureResourceStates.d.ts.map +1 -1
  24. package/build/v3/core.d.ts +7 -15
  25. package/build/v3/core.d.ts.map +1 -1
  26. package/build/v3/index.d.ts +0 -1
  27. package/build/v3/index.d.ts.map +1 -1
  28. package/build/v3/index.js +0 -1
  29. package/build/v3/index.js.map +1 -1
  30. package/build/v3/plugins.d.ts +48 -106
  31. package/build/v3/plugins.d.ts.map +1 -1
  32. package/build/v3/resourceStates.d.ts +1 -0
  33. package/build/v3/resourceStates.d.ts.map +1 -1
  34. package/build/v3/solution.d.ts +15 -51
  35. package/build/v3/solution.d.ts.map +1 -1
  36. package/build/v3/types.d.ts +30 -3
  37. package/build/v3/types.d.ts.map +1 -1
  38. package/package.json +5 -6
  39. package/build/v3/solutionSettings.d.ts +0 -46
  40. package/build/v3/solutionSettings.d.ts.map +0 -1
  41. package/build/v3/solutionSettings.js +0 -5
  42. package/build/v3/solutionSettings.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx-api",
3
- "version": "0.14.0",
3
+ "version": "0.14.1-alpha.9b895e2a.0",
4
4
  "description": "teamsfx framework api",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -19,8 +19,7 @@
19
19
  "prebuild": "npx json2ts --input src/schemas/envConfig.json --output src/schemas/envConfig.ts",
20
20
  "build": "tsc -p ./ && npx api-extractor run --local",
21
21
  "build:api-markdown": "npm run build && rimraf ../../docs/api && npx api-documenter markdown -i temp -o ../../docs/api",
22
- "postbuild": "npx cpy src/schemas/*.json build/schemas/",
23
- "prepare": "npm run build",
22
+ "postbuild": "npx copyfiles src/schemas/*.json build/schemas/",
24
23
  "lint:fix": "eslint \"src/**/*.ts\" \"tests/**/*.ts\" --fix",
25
24
  "doc": "typedoc",
26
25
  "test:unit": "nyc --no-clean mocha --no-timeouts --require ts-node/register \"tests/**/*.ts\"",
@@ -30,7 +29,7 @@
30
29
  },
31
30
  "devDependencies": {
32
31
  "@istanbuljs/nyc-config-typescript": "^1.0.1",
33
- "@microsoft/api-documenter": "^7.13.24",
32
+ "@microsoft/api-documenter": "^7.15.3",
34
33
  "@microsoft/api-extractor": "^7.18.4",
35
34
  "@shared/eslint-config": "file:../eslint-config",
36
35
  "@shared/prettier-config": "file:../prettier-config",
@@ -51,7 +50,7 @@
51
50
  "eslint-plugin-prettier": "^4.0.0",
52
51
  "json-schema-to-typescript": "^10.1.4",
53
52
  "lint-staged": "^10.5.4",
54
- "mocha": "^9.1.3",
53
+ "mocha": "^9.2.0",
55
54
  "nyc": "^15.1.0",
56
55
  "prettier": "^2.4.1",
57
56
  "sinon": "^9.2.2",
@@ -69,7 +68,7 @@
69
68
  "jsonschema": "^1.4.0",
70
69
  "neverthrow": "^3.2.0"
71
70
  },
72
- "gitHead": "f7a979eba61fdc9c66569bc5ac249b1dca17bcfc",
71
+ "gitHead": "edb98ae01daef7236f748b9aa4704224bb535e15",
73
72
  "publishConfig": {
74
73
  "access": "public"
75
74
  },
@@ -1,46 +0,0 @@
1
- import { SolutionSettings, AzureSolutionSettings } from "../types";
2
- /**
3
- * Module is basic building block of the App
4
- */
5
- export interface Module {
6
- /**
7
- * capabilities that the module supports
8
- */
9
- capabilities: string[];
10
- /**
11
- * root directory name
12
- */
13
- dir?: string;
14
- /**
15
- * relative path for the built artifact, it can be a folder path or a file path, depends the deployment type
16
- */
17
- buildPath?: string;
18
- /**
19
- * hostingPlugin is available after add resource, this is an mapping between module and resource plugin
20
- */
21
- hostingPlugin?: string;
22
- /**
23
- * deployment type for bits
24
- */
25
- deployType?: string;
26
- /**
27
- * index path
28
- */
29
- indexPath?: string;
30
- }
31
- export interface TeamsFxSolutionSettings extends AzureSolutionSettings {
32
- /**
33
- * upgrade solution settings version to 3.0.0
34
- */
35
- version: "3.0.0";
36
- modules: Module[];
37
- }
38
- export interface TeamsSPFxSolutionSettings extends SolutionSettings {
39
- version: "3.0.0";
40
- modules: Module[];
41
- hostType: string;
42
- capabilities: string[];
43
- activeResourcePlugins: string[];
44
- migrateFromV1?: boolean;
45
- }
46
- //# sourceMappingURL=solutionSettings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"solutionSettings.d.ts","sourceRoot":"","sources":["../../src/v3/solutionSettings.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACnE;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,uBAAwB,SAAQ,qBAAqB;IACpE;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB;IACjE,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=solutionSettings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"solutionSettings.js","sourceRoot":"","sources":["../../src/v3/solutionSettings.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}