Skip to content

Commit de78923

Browse files
committed
Integrate w/ API checker
1 parent d777e33 commit de78923

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../config/api-extractor.json",
3+
// Point it to your entry point d.ts file.
4+
"mainEntryPointFilePath": "<projectFolder>/dist/index.d.ts",
5+
"dtsRollup": {
6+
"enabled": true
7+
}
8+
}

packages-exp/messaging-exp/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@
1313
"scripts": {
1414
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
1515
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
16-
"build": "rollup -c",
17-
"build:deps": "lerna run --scope @firebase/'{app,messaging}' --include-dependencies build",
16+
"build": "rollup -c && yarn api-report",
17+
"build:deps": "lerna run --scope @firebase/'{app-exp,messaging-exp}' --include-dependencies build",
1818
"dev": "rollup -c -w",
1919
"test": "run-p test:karma type-check lint ",
2020
"test:integration": "run-p test:karma type-check lint && cd ../../integration/messaging && npm run-script test",
2121
"test:ci": "node ../../scripts/run_tests_in_ci.js",
2222
"test:karma": "karma start --single-run",
2323
"test:debug": "karma start --browsers=Chrome --auto-watch",
2424
"prepare": "yarn build",
25+
"api-report": "api-extractor run --local --verbose",
2526
"type-check": "tsc --noEmit"
2627
},
2728
"license": "Apache-2.0",

0 commit comments

Comments
 (0)