-
Notifications
You must be signed in to change notification settings - Fork 936
Generate dts rollups for auth webextension and cordova #8251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
4583e82
371971a
ff7cdf5
1c3a494
333bb0f
138ea2f
4848399
7b0765a
a4efa7a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@firebase/auth': patch | ||
--- | ||
|
||
Generate dts rollups for auth web extension and cordova |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"extends": "../../../config/api-extractor.json", | ||
"mainEntryPointFilePath": "<projectFolder>/dist/cordova/index.cordova.d.ts", | ||
"apiReport": { | ||
"enabled": false | ||
}, | ||
"dtsRollup": { | ||
"enabled": true, | ||
"untrimmedFilePath": "<projectFolder>/dist/cordova/<unscopedPackageName>.d.ts", | ||
"publicTrimmedFilePath": "<projectFolder>/dist/cordova/<unscopedPackageName>-public.d.ts" | ||
}, | ||
"docModel": { | ||
"enabled": true, | ||
"apiJsonFilePath": "<projectFolder>/temp/subpackages/<unscopedPackageName>.api.json" | ||
} | ||
} | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@firebase/auth/cordova", | ||
"name": "@firebase/auth-cordova", | ||
"description": "A Cordova-specific build of the Firebase Auth JS SDK", | ||
"browser": "../dist/cordova/index.js", | ||
"module": "../dist/cordova/index.js", | ||
"typings": "../dist/cordova/index.cordova.d.ts" | ||
"typings": "../dist/cordova/auth-cordova-public.d.ts" | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We also have to get lines 42 and 46 in this file. I think that Node ESM uses them. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,11 +39,11 @@ | |
"default": "./dist/esm2017/index.js" | ||
}, | ||
"./cordova": { | ||
"types": "./dist/cordova/index.cordova.d.ts", | ||
"types": "./dist/cordova/auth-cordova.d.ts", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. auth-cordova-public |
||
"default": "./dist/cordova/index.js" | ||
}, | ||
"./web-extension": { | ||
"types:": "./dist/web-extension-esm2017/index.web-extension.d.ts", | ||
"types:": "./dist/web-extension-esm2017/auth-web-extension.d.ts", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. auth-web-extension-public |
||
"import": "./dist/web-extension-esm2017/index.js", | ||
"require": "./dist/web-extension-cjs/index.js", | ||
"default": "./dist/web-extension-esm2017/index.js" | ||
|
@@ -111,7 +111,7 @@ | |
"test:node:integration": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --integration", | ||
"test:node:integration:local": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --integration --local", | ||
"test:webdriver": "rollup -c test/integration/webdriver/static/rollup.config.js && ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --webdriver", | ||
"api-report": "api-extractor run --local --verbose", | ||
"api-report": "api-extractor run --local --verbose --config ./api-extractor.json && api-extractor run --local --verbose --config ./web-extension/api-extractor.json && api-extractor run --local --verbose --config ./cordova/api-extractor.json", | ||
"doc": "api-documenter markdown --input temp --output docs", | ||
"build:doc": "yarn build && yarn doc", | ||
"typings:public": "node ../../scripts/build/use_typings.js ./dist/auth-public.d.ts" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"extends": "../../../config/api-extractor.json", | ||
"mainEntryPointFilePath": "<projectFolder>/dist/web-extension-esm2017/index.web-extension.d.ts", | ||
"apiReport": { | ||
"enabled": false | ||
}, | ||
"dtsRollup": { | ||
"enabled": true, | ||
"untrimmedFilePath": "<projectFolder>/dist/web-extension-esm2017/<unscopedPackageName>.d.ts", | ||
"publicTrimmedFilePath": "<projectFolder>/dist/web-extension-esm2017/<unscopedPackageName>-public.d.ts" | ||
}, | ||
"docModel": { | ||
"enabled": true, | ||
"apiJsonFilePath": "<projectFolder>/temp/subpackages/<unscopedPackageName>.api.json" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"name": "@firebase/auth/web-extension", | ||
"name": "@firebase/auth-web-extension", | ||
"description": "A Chrome-Manifest-v3-specific build of the Firebase Auth JS SDK", | ||
"main": "../dist/web-extension-cjs/index.js", | ||
"browser": "../dist/web-extension-esm2017/index.js", | ||
"module": "../dist/web-extension-esm2017/index.js", | ||
"typings": "../dist/web-extension-esm2017/index.web-extension.d.ts" | ||
"typings": "../dist/web-extension-esm2017/auth-web-extension-public.d.ts" | ||
} |
Uh oh!
There was an error while loading. Please reload this page.