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",

0 commit comments

Comments
 (0)