Skip to content

Commit 168b87c

Browse files
authored
Clean up things from v9 beta (#5390)
* clean up docgen * remove unneeded transformer * clean up scripts * more clean up * remove stray reference * remove unused plugins * remove unused lib
1 parent 6e57995 commit 168b87c

File tree

72 files changed

+53
-1216
lines changed

Some content is hidden

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

72 files changed

+53
-1216
lines changed

.github/workflows/check-changeset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Yarn install
2525
run: yarn
2626
- name: Run changeset script
27-
run: yarn ts-node-script scripts/check_changeset.ts
27+
run: yarn ts-node-script scripts/ci/check_changeset.ts
2828
id: check-changeset
2929
- name: Print changeset checker output
3030
run: echo "${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}"

.github/workflows/label-doc-changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Yarn install
2525
run: yarn
2626
- name: Run detect doc changes script
27-
run: yarn ts-node-script scripts/exp/detect-doc-changes.ts
27+
run: yarn ts-node-script scripts/ci/detect-doc-changes.ts
2828
id: check-doc-changes
2929
- name: Print if doc changed output
3030
run: echo "${{steps.check-doc-changes.outputs.DOC_CHANGED}}"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: yarn
2626

2727
- name: Add a changeset for @firebase/app
28-
run: yarn ts-node-script scripts/add_changeset.ts
28+
run: yarn ts-node-script scripts/ci/add_changeset.ts
2929

3030
- name: Create Release Pull Request
3131
uses: changesets/action@master

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@
3838
"test:changed": "ts-node-script scripts/ci-test/test_changed.ts",
3939
"test:setup": "node tools/config.js",
4040
"test:saucelabs": "node scripts/run_saucelabs.js",
41-
"docgen:js": "node scripts/docgen/generate-docs.js --api js",
42-
"docgen:node": "node scripts/docgen/generate-docs.js --api node",
43-
"docgen": "yarn docgen:js; yarn docgen:node",
41+
"docgen": "ts-node-script scripts/docgen/docgen.ts",
42+
"docgen:compat": "yarn docgen:compat:js; yarn docgen:compat:node",
43+
"docgen:compat:js": "node scripts/docgen-compat/generate-docs.js --api js",
44+
"docgen:compat:node": "node scripts/docgen-compat/generate-docs.js --api node",
4445
"prettier": "prettier --config .prettierrc --write '**/*.{ts,js}'",
4546
"lint": "lerna run --scope @firebase/* lint",
4647
"lint:fix": "lerna run --scope @firebase/* lint:fix",
4748
"size-report": "ts-node-script scripts/size_report/report_binary_size.ts",
4849
"modular-export-size-report": "ts-node-script scripts/size_report/report_modular_export_binary_size.ts",
4950
"api-report": "lerna run --scope @firebase/* api-report",
50-
"docgen:exp": "ts-node-script scripts/exp/docgen.ts",
5151
"postinstall": "yarn --cwd repo-scripts/changelog-generator build",
5252
"sa": "ts-node-script repo-scripts/size-analysis/cli.ts",
5353
"api-documenter-devsite": "ts-node-script repo-scripts/api-documenter/src/start.ts"
@@ -139,7 +139,6 @@
139139
"ora": "5.4.1",
140140
"prettier": "2.3.1",
141141
"protractor": "5.4.2",
142-
"rxjs": "6.6.3",
143142
"semver": "7.3.4",
144143
"simple-git": "2.40.0",
145144
"sinon": "9.2.2",

packages/analytics-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
4040
"test:browser": "karma start --single-run",
4141
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
42-
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../analytics/dist/analytics-public.d.ts -o dist/src/index.d.ts -a -r Analytics:FirebaseAnalytics -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/analytics"
42+
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../analytics/dist/analytics-public.d.ts -o dist/src/index.d.ts -a -r Analytics:FirebaseAnalytics -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/analytics"
4343
},
4444
"typings": "dist/src/index.d.ts",
4545
"dependencies": {

packages/analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"api-report": "api-extractor run --local --verbose",
2525
"doc": "api-documenter markdown --input temp --output docs",
2626
"build:doc": "yarn build && yarn doc",
27-
"typings:public": "node ../../scripts/exp/use_typings.js ./dist/analytics-public.d.ts"
27+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/analytics-public.d.ts"
2828
},
2929
"peerDependencies": {
3030
"@firebase/app": "0.x"

packages/app-check-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"test": "run-p lint test:browser",
2020
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
2121
"test:browser": "karma start --single-run --nocache",
22-
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../app-check/dist/app-check-public.d.ts -o dist/src/index.d.ts -a -r AppCheck:FirebaseAppCheck -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/app-check"
22+
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../app-check/dist/app-check-public.d.ts -o dist/src/index.d.ts -a -r AppCheck:FirebaseAppCheck -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/app-check"
2323
},
2424
"peerDependencies": {
2525
"@firebase/app-compat": "0.x"

packages/app-check/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"api-report": "api-extractor run --local --verbose",
2323
"doc": "api-documenter markdown --input temp --output docs",
2424
"build:doc": "yarn build && yarn doc",
25-
"typings:public": "node ../../scripts/exp/use_typings.js ./dist/app-check-public.d.ts"
25+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/app-check-public.d.ts"
2626
},
2727
"peerDependencies": {
2828
"@firebase/app": "0.x"

packages/app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"api-report": "api-extractor run --local --verbose",
2525
"doc": "api-documenter markdown --input temp --output docs",
2626
"build:doc": "yarn build && yarn doc",
27-
"typings:public": "node ../../scripts/exp/use_typings.js ./dist/app-public.d.ts",
28-
"typings:internal": "node ../../scripts/exp/use_typings.js ./dist/app.d.ts"
27+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/app-public.d.ts",
28+
"typings:internal": "node ../../scripts/build/use_typings.js ./dist/app.d.ts"
2929
},
3030
"dependencies": {
3131
"@firebase/util": "1.3.0",

packages/auth-compat/demo/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"@rollup/plugin-json": "4.1.0",
3131
"rollup-plugin-replace": "2.2.0",
3232
"@rollup/plugin-commonjs": "17.1.0",
33-
"rollup-plugin-license": "0.14.0",
3433
"@rollup/plugin-node-resolve": "11.2.0",
3534
"rollup-plugin-sourcemaps": "0.6.3",
3635
"rollup-plugin-typescript2": "0.30.0",

packages/auth-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"test:node:integration": "ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --integration",
2626
"test:webdriver": "rollup -c test/integration/webdriver/static/rollup.config.js && ts-node -O '{\"module\": \"commonjs\", \"target\": \"es6\"}' scripts/run_node_tests.ts --webdriver",
2727
"test:integration": "firebase emulators:exec --project demo-emulatedproject --only auth \"run-s test:browser:integration test:node:integration test:webdriver\"",
28-
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../auth/dist/auth-public.d.ts -o dist/auth-compat/index.d.ts -a -r Auth:types.FirebaseAuth -r User:types.User -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/auth"
28+
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../auth/dist/auth-public.d.ts -o dist/auth-compat/index.d.ts -a -r Auth:types.FirebaseAuth -r User:types.User -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/auth"
2929
},
3030
"peerDependencies": {
3131
"@firebase/app-compat": "0.x"

packages/auth/api-extractor.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
22
"extends": "../../config/api-extractor.json",
3-
// If this path ever changes, make sure to change scripts/exp/docgen.ts
4-
// accordingly.
53
"mainEntryPointFilePath": "<projectFolder>/dist/esm5/index.d.ts",
64
"dtsRollup": {
75
"enabled": true,

packages/auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"api-report": "api-extractor run --local --verbose",
4545
"doc": "api-documenter markdown --input temp --output docs",
4646
"build:doc": "yarn build && yarn doc",
47-
"typings:public": "node ../../scripts/exp/use_typings.js ./dist/auth-public.d.ts"
47+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/auth-public.d.ts"
4848
},
4949
"peerDependencies": {
5050
"@firebase/app": "0.x"

packages/database-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test",
2222
"test:browser": "karma start --single-run",
2323
"test:node": "TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --file src/index.node.ts --config ../../config/mocharc.node.js",
24-
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../database/dist/public.d.ts -o dist/database-compat/src/index.d.ts -a -r Database:types.FirebaseDatabase -r Query:types.Query -r DatabaseReference:types.Reference -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/database"
24+
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../database/dist/public.d.ts -o dist/database-compat/src/index.d.ts -a -r Database:types.FirebaseDatabase -r Query:types.Query -r DatabaseReference:types.Reference -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/database"
2525
},
2626
"peerDependencies": {
2727
"@firebase/app-compat": "0.x"

packages/database/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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-
"prettier": "prettier --write '*.js' '*.ts' '@(exp|src|test)/**/*.ts'",
16+
"prettier": "prettier --write '*.js' '*.ts' '@(src|test)/**/*.ts'",
1717
"build": "rollup -c rollup.config.js && yarn api-report",
1818
"build:deps": "lerna run --scope @firebase/'{app,database}' --include-dependencies build",
1919
"dev": "rollup -c -w",
@@ -26,7 +26,7 @@
2626
"api-report": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ../../repo-scripts/prune-dts/extract-public-api.ts --package database --packageRoot . --typescriptDts ./dist/src/index.d.ts --rollupDts ./dist/private.d.ts --untrimmedRollupDts ./dist/internal.d.ts --publicDts ./dist/public.d.ts && yarn api-report:api-json",
2727
"api-report:api-json": "rm -rf temp && api-extractor run --local --verbose",
2828
"doc": "api-documenter markdown --input temp --output docs",
29-
"typings:public": "node ../../scripts/exp/use_typings.js ./dist/public.d.ts"
29+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/public.d.ts"
3030
},
3131
"license": "Apache-2.0",
3232
"peerDependencies": {},

packages/database/src/core/view/EventRegistration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { QueryParams } from './QueryParams';
2727

2828
/**
2929
* A user callback. Callbacks issues from the Legacy SDK maintain references
30-
* to the original user-issued callbacks, which allows equality
30+
* to the original user-issued callbacks, which allows equality
3131
* comparison by reference even though this callbacks are wrapped before
3232
* they can be passed to the firebase@exp SDK.
3333
*

packages/firebase/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@
248248
"devDependencies": {
249249
"rollup": "2.52.2",
250250
"@rollup/plugin-commonjs": "17.1.0",
251-
"rollup-plugin-license": "2.5.0",
252251
"@rollup/plugin-node-resolve": "11.2.0",
253252
"rollup-plugin-sourcemaps": "0.6.3",
254253
"rollup-plugin-terser": "7.0.2",

packages/firestore-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build:deps": "lerna run --scope @firebase/firestore-compat --include-dependencies build",
1818
"build:release": "yarn build && yarn add-compat-overloads",
1919
"test": "echo 'tested as part of firestore'",
20-
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../firestore/dist/index.d.ts -o dist/src/index.d.ts -a -r Firestore:types.FirebaseFirestore -r CollectionReference:types.CollectionReference -r DocumentReference:types.DocumentReference -r Query:types.Query -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/firestore"
20+
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../firestore/dist/index.d.ts -o dist/src/index.d.ts -a -r Firestore:types.FirebaseFirestore -r CollectionReference:types.CollectionReference -r DocumentReference:types.DocumentReference -r Query:types.Query -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/firestore"
2121
},
2222
"peerDependencies": {
2323
"@firebase/app-compat": "0.x"

packages/firestore-compat/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
CACHE_SIZE_UNLIMITED,
2626
GeoPoint,
2727
Timestamp
28-
} from '@firebase/firestore'; // import from the exp public API
28+
} from '@firebase/firestore';
2929

3030
import { Blob } from './api/blob';
3131
import {

packages/firestore/karma.conf.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ function getTestFiles(argv) {
5555
process.env.TEST_PLATFORM = 'browser_lite';
5656
return [liteIntegrationTests];
5757
} else {
58-
// Note that we cannot include both the firestore-exp and the legacy SDK
59-
// as the test runners modify the global namespace cannot be both included
60-
// in the same bundle.
6158
return [unitTests, legcayIntegrationTests];
6259
}
6360
}

packages/firestore/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"api-report": "run-s api-report:main api-report:lite && yarn api-report:api-json",
4444
"doc": "api-documenter markdown --input temp --output docs",
4545
"test:prepare": "node ./scripts/prepare-test.js",
46-
"typings:public": "node ../../scripts/exp/use_typings.js ./dist/index.d.ts"
46+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/index.d.ts"
4747
},
4848
"exports": {
4949
".": {

packages/firestore/rollup.config.lite.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import sourcemaps from 'rollup-plugin-sourcemaps';
2525
import copy from 'rollup-plugin-copy';
2626
import replace from 'rollup-plugin-replace';
2727
import { terser } from 'rollup-plugin-terser';
28-
import { importPathTransformer } from '../../scripts/exp/ts-transform-import-path';
2928

3029
import pkg from './lite/package.json';
3130

@@ -42,7 +41,7 @@ const nodePlugins = function () {
4241
},
4342
cacheDir: tmp.dirSync(),
4443
abortOnError: false,
45-
transformers: [util.removeAssertTransformer, importPathTransformer]
44+
transformers: [util.removeAssertTransformer]
4645
}),
4746
json({ preferConst: true }),
4847
copy({
@@ -70,10 +69,7 @@ const browserPlugins = function () {
7069
},
7170
cacheDir: tmp.dirSync(),
7271
abortOnError: false,
73-
transformers: [
74-
util.removeAssertAndPrefixInternalTransformer,
75-
importPathTransformer
76-
]
72+
transformers: [util.removeAssertAndPrefixInternalTransformer]
7773
}),
7874
json({ preferConst: true }),
7975
terser(util.manglePrivatePropertiesOptions)

packages/firestore/rollup.shared.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,6 @@ const removeAssertTransformer = service => ({
119119
});
120120
exports.removeAssertTransformer = removeAssertTransformer;
121121

122-
/**
123-
* Transformer that coverts import paths that match `exp/index` to `@firebase/firestore`
124-
* and `lite/index` to `@firebase/firestore/lite`
125-
*/
126-
const importTransformer = service => ({
127-
before: [removeAsserts(service.getProgram())],
128-
after: []
129-
});
130-
exports.importTransformer = importTransformer;
131-
132122
/**
133123
* Transformers that remove calls to `debugAssert`, messages for 'fail` and
134124
* `hardAssert` and appends a __PRIVATE_ prefix to all internal symbols.

packages/functions-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
4343
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha 'src/{,!(browser)/**/}*.test.ts' --file src/index.node.ts --config ../../config/mocharc.node.js",
4444
"test:emulator": "env FIREBASE_FUNCTIONS_HOST=http://localhost FIREBASE_FUNCTIONS_PORT=5005 run-p test:node",
45-
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../functions/dist/functions-public.d.ts -o dist/src/index.d.ts -a -r Functions:types.FirebaseFunctions -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/functions"
45+
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../functions/dist/functions-public.d.ts -o dist/src/index.d.ts -a -r Functions:types.FirebaseFunctions -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/functions"
4646
},
4747
"typings": "dist/src/index.d.ts",
4848
"dependencies": {

packages/functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"api-report": "api-extractor run --local --verbose",
2727
"doc": "api-documenter markdown --input temp --output docs",
2828
"build:doc": "yarn build && yarn doc",
29-
"typings:public": "node ../../scripts/exp/use_typings.js ./dist/functions-public.d.ts"
29+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/functions-public.d.ts"
3030
},
3131
"license": "Apache-2.0",
3232
"peerDependencies": {

packages/installations/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"api-report": "api-extractor run --local --verbose",
2929
"doc": "api-documenter markdown --input temp --output docs",
3030
"build:doc": "yarn build && yarn doc",
31-
"typings:public": "node ../../scripts/exp/use_typings.js ./dist/installations-public.d.ts",
32-
"typings:internal": "node ../../scripts/exp/use_typings.js ./dist/src/index.d.ts"
31+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/installations-public.d.ts",
32+
"typings:internal": "node ../../scripts/build/use_typings.js ./dist/src/index.d.ts"
3333
},
3434
"repository": {
3535
"directory": "packages/installations",

packages/messaging-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"test:karma": "karma start --single-run",
2525
"test:debug": "karma start --browsers=Chrome --auto-watch",
2626
"type-check": "tsc --noEmit",
27-
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../messaging/dist/index-public.d.ts -o dist/src/index.d.ts -a -r Messaging:MessagingCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/messaging"
27+
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../messaging/dist/index-public.d.ts -o dist/src/index.d.ts -a -r Messaging:MessagingCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/messaging"
2828
},
2929
"peerDependencies": {
3030
"@firebase/app-compat": "0.x"

packages/messaging/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"api-report:sw": "ts-node-script ../../repo-scripts/prune-dts/extract-public-api.ts --package messaging-sw --packageRoot . --typescriptDts ./dist/index.sw.d.ts --rollupDts ./dist/sw/private.d.ts --untrimmedRollupDts ./dist/sw/internal.d.ts --publicDts ./dist/sw/index-public.d.ts",
3030
"api-report:api-json": "api-extractor run --local --verbose",
3131
"type-check": "tsc --noEmit",
32-
"typings:public": "node ../../scripts/exp/use_typings.js ./dist/index-public.d.ts"
32+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/index-public.d.ts"
3333
},
3434
"license": "Apache-2.0",
3535
"peerDependencies": {

packages/performance-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"test:browser": "karma start --single-run",
2323
"test:browser:debug": "karma start --browsers Chrome --auto-watch",
2424
"prettier": "prettier --write '{src,test}/**/*.{js,ts}'",
25-
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../performance/dist/src/index.d.ts -o dist/src/index.d.ts -a -r FirebasePerformance:FirebasePerformanceCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/performance"
25+
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../performance/dist/src/index.d.ts -o dist/src/index.d.ts -a -r FirebasePerformance:FirebasePerformanceCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/performance"
2626
},
2727
"license": "Apache-2.0",
2828
"peerDependencies": {

packages/remote-config-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
2222
"test:browser": "karma start --single-run",
2323
"test:browser:debug": "karma start --browsers Chrome --auto-watch",
24-
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../remote-config/dist/remote-config-public.d.ts -o dist/src/index.d.ts -a -r RemoteConfig:RemoteConfigCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/remote-config"
24+
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../remote-config/dist/remote-config-public.d.ts -o dist/src/index.d.ts -a -r RemoteConfig:RemoteConfigCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/remote-config"
2525
},
2626
"license": "Apache-2.0",
2727
"peerDependencies": {

packages/remote-config/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"api-report": "api-extractor run --local --verbose",
2525
"doc": "api-documenter markdown --input temp --output docs",
2626
"build:doc": "yarn build && yarn doc",
27-
"typings:public": "node ../../scripts/exp/use_typings.js ./dist/remote-config-public.d.ts",
28-
"typings:internal": "node ../../scripts/exp/use_typings.js ./dist/src/index.d.ts"
27+
"typings:public": "node ../../scripts/build/use_typings.js ./dist/remote-config-public.d.ts",
28+
"typings:internal": "node ../../scripts/build/use_typings.js ./dist/src/index.d.ts"
2929
},
3030
"peerDependencies": {
3131
"@firebase/app": "0.x"

0 commit comments

Comments
 (0)