Skip to content

Commit 57ad046

Browse files
authored
Add @microsoft/api-extractor to detect public API changes (#1962)
* add @microsoft/api-extractor to botbuilder-core * add api-extractor to libraries * run api-extractor on all libs except for: * botframework-connector * adaptive-expressions (in preview) * botbuilder-lg (in preview) * support friendlier jsonc render on GitHub * bump @microsoft/api-extractor to ^7.7.12 b/c microsoft/rushstack/issues/1095 * regenerate bf-schema.api.md after master merge * add codeowners, regen core & dialogs api.md * regenerate botbuilder.api.md after merging master
1 parent 73a63b5 commit 57ad046

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+8589
-75
lines changed

.gitattributes

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
# .gitattributes in project root
22
package.json text eol=lf
3-
package-lock.json text eol=lf
3+
package-lock.json text eol=lf
4+
5+
# Rush's JSON config files use JavaScript-style code comments. The rule below prevents pedantic
6+
# syntax highlighters such as GitHub's from highlighting these comments as errors. Your text editor
7+
# may also require a special configuration to allow comments in JSON.
8+
#
9+
# For more information, see this issue: https://github.com/microsoft/rushstack/issues/1088
10+
#
11+
*.json linguist-language=JSON-with-Comments

.github/CODEOWNERS

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# For all public API changes
2+
/libraries/*/etc/* @benbrown @stevengum @stevenic
3+
4+
# For maintenance of shipped packages dependencies and devDependencies
5+
# Codeowners should use tools such as https://bundlephobia.com/
6+
/libraries/*/package.json @benbrown @stevengum @stevenic

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
libraries/functional-tests/**/lib
1313
libraries/functional-tests/**/*.vscode/launch.json
1414

15+
# @microsoft/api-extractor
16+
libraries/*/temp
17+
libraries/*/dist
18+
1519
# User-specific files
1620
*.suo
1721
*.user

libraries/adaptive-expressions/package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,21 @@
3333
"moment-timezone": "^0.5.25"
3434
},
3535
"devDependencies": {
36+
"@microsoft/api-extractor": "^7.7.12",
3637
"@types/jspath": "^0.4.0",
3738
"@types/mocha": "^5.2.5",
3839
"@types/node": "^10.12.18",
40+
"mocha": "^5.2.0",
3941
"nyc": "^15.0.0",
4042
"ts-node": "^4.1.0",
41-
"typescript": "3.5.3",
42-
"mocha": "^5.2.0"
43+
"typescript": "3.5.3"
4344
},
4445
"scripts": {
4546
"build": "tsc",
46-
"test": "tsc && mocha tests/ --timeout 60000",
47-
"clean": "erase /q /s .\\lib",
4847
"build-docs": "typedoc --theme markdown --entryPoint adaptive-expressions --excludePrivate --includeDeclarations --ignoreCompilerErrors --module amd --out ..\\..\\doc\\adaptive-expressions .\\lib\\index.d.ts --hideGenerator --name \"Bot Builder SDK - Expression\" --readme none",
49-
"set-version": "npm version --allow-same-version ${Version}"
48+
"clean": "erase /q /s .\\lib",
49+
"set-version": "npm version --allow-same-version ${Version}",
50+
"test": "tsc && mocha tests/ --timeout 60000"
5051
},
5152
"files": [
5253
"/lib",

0 commit comments

Comments
 (0)