mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
### Discussion Upgrade `lerna` from `4.x` to `9.x`. This newer version of `lerna` is powered by `NX`, which also requires a newer minor version bump of `node` in our workflows, and slight changes our test execution parms. The new version of Lerna is said to improve performance, and that seems to have exacerbated race conditions in the Auth test suites (@firebase/auth and @firebase/auth-compat). To resolve intermittent CI failures caused by these race conditions, I've configured these tests to run in serial instead of concurrently. Also I needed to bump the node version of our workflows by 2 minor versions (20.10.0 -> 2.12.0) because Lerna 9.0.6 isn't supported in Node 20.10.0. ### Testing - Clean repo, clean cache, clean dependency installs. - CI, local builds and tests. Note: The Firestore WebKit failure in the optional CI execution list is a known issue (b/524995481). ### API Changes None.
163 lines
5.7 KiB
JSON
163 lines
5.7 KiB
JSON
{
|
|
"name": "firebase-wrapper",
|
|
"version": "0.1.0",
|
|
"description": "Monorepo for the Firebase JavaScript SDK",
|
|
"private": true,
|
|
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"homepage": "https://github.com/firebase/firebase-js-sdk",
|
|
"keywords": [
|
|
"authentication",
|
|
"database",
|
|
"Firebase",
|
|
"firebase",
|
|
"firestore",
|
|
"functions",
|
|
"realtime",
|
|
"storage",
|
|
"performance"
|
|
],
|
|
"scripts": {
|
|
"dev": "lerna run dev --parallel --scope @firebase/* --scope firebase",
|
|
"build": "lerna run build --scope @firebase/* --scope firebase",
|
|
"build:changed": "ts-node-script scripts/ci-test/build_changed.ts",
|
|
"release:prepare": "lerna run add-compat-overloads --scope @firebase/* && lerna run typings:public --scope @firebase/*",
|
|
"link:packages": "lerna exec --scope @firebase/* --scope firebase -- yarn link",
|
|
"stage:packages": "./scripts/prepublish.sh",
|
|
"repl": "node tools/repl.js",
|
|
"release": "ts-node-script scripts/release/cli.ts",
|
|
"pretest": "node tools/pretest.js",
|
|
"test": "lerna run test --ignore firebase-messaging-integration-test --stream",
|
|
"test:ci": "lerna run test:ci --ignore firebase-messaging-integration-test",
|
|
"pretest:coverage": "mkdirp coverage",
|
|
"ci:coverage": "lcov-result-merger 'packages/**/lcov.info' 'lcov-all.info'",
|
|
"test:coverage": "lcov-result-merger 'packages/**/lcov.info' | coveralls",
|
|
"test:changed": "ts-node-script scripts/ci-test/test_changed.ts",
|
|
"test:setup": "node tools/config.js",
|
|
"test:saucelabs": "node scripts/run_saucelabs.js",
|
|
"trusted-type-check": "lerna run --scope @firebase/* trusted-type-check --no-bail",
|
|
"docgen": "ts-node-script scripts/docgen/docgen.ts",
|
|
"docgen:compat": "node scripts/docgen-compat/generate-docs.js --api js",
|
|
"docgen:all": "yarn docgen devsite && yarn docgen toc",
|
|
"lint": "lerna run lint --no-sort --scope @firebase/*",
|
|
"lint:fix": "lerna run lint:fix --no-sort --scope @firebase/*",
|
|
"size-report": "ts-node-script scripts/size_report/report_binary_size.ts",
|
|
"modular-export-size-report": "ts-node-script scripts/size_report/report_modular_export_binary_size.ts",
|
|
"api-report": "lerna run --scope @firebase/* api-report",
|
|
"postinstall": "patch-package && yarn --cwd repo-scripts/changelog-generator build",
|
|
"sa": "ts-node-script repo-scripts/size-analysis/cli.ts",
|
|
"api-documenter-devsite": "ts-node-script repo-scripts/api-documenter/src/start.ts",
|
|
"format": "ts-node ./scripts/format/format.ts"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/firebase/firebase-js-sdk.git"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"integration/*",
|
|
"repo-scripts/*"
|
|
],
|
|
"devDependencies": {
|
|
"@babel/core": "7.26.8",
|
|
"@babel/plugin-transform-modules-commonjs": "7.26.3",
|
|
"@babel/preset-env": "7.26.8",
|
|
"@babel/preset-typescript": "7.26.0",
|
|
"@babel/register": "7.25.9",
|
|
"@changesets/changelog-github": "0.5.0",
|
|
"@changesets/cli": "2.27.12",
|
|
"@types/chai": "4.3.20",
|
|
"@types/chai-as-promised": "7.1.8",
|
|
"@types/child-process-promise": "2.2.6",
|
|
"@types/clone": "2.1.4",
|
|
"@types/eslint": "7.29.0",
|
|
"@types/inquirer": "8.2.10",
|
|
"@types/js-yaml": "4.0.9",
|
|
"@types/listr": "0.14.9",
|
|
"@types/mocha": "9.1.1",
|
|
"@types/mz": "2.7.8",
|
|
"@types/node": "18.19.83",
|
|
"@types/request": "2.48.12",
|
|
"@types/sinon": "9.0.11",
|
|
"@types/sinon-chai": "3.2.12",
|
|
"@types/tmp": "0.2.6",
|
|
"@types/trusted-types": "2.0.7",
|
|
"@types/yargs": "17.0.33",
|
|
"@typescript-eslint/eslint-plugin": "7.18.0",
|
|
"@typescript-eslint/eslint-plugin-tslint": "7.0.2",
|
|
"@typescript-eslint/parser": "7.18.0",
|
|
"api-documenter-me": "0.1.1",
|
|
"api-extractor-me": "0.1.2",
|
|
"babel-loader": "8.4.1",
|
|
"babel-plugin-istanbul": "7.0.1",
|
|
"chai": "4.5.0",
|
|
"chai-as-promised": "7.1.2",
|
|
"chalk": "4.1.2",
|
|
"child-process-promise": "2.2.1",
|
|
"clone": "2.1.2",
|
|
"coveralls": "3.1.1",
|
|
"del": "6.1.1",
|
|
"dependency-graph": "0.11.0",
|
|
"eslint": "8.57.1",
|
|
"eslint-plugin-import": "2.31.0",
|
|
"eslint-plugin-unused-imports": "3.2.0",
|
|
"express": "4.21.2",
|
|
"find-free-port": "2.0.0",
|
|
"firebase-tools": "13.30.0",
|
|
"glob": "7.2.3",
|
|
"http-server": "14.1.1",
|
|
"indexeddbshim": "10.1.0",
|
|
"inquirer": "8.2.6",
|
|
"js-yaml": "4.1.1",
|
|
"karma": "6.4.4",
|
|
"karma-chrome-launcher": "3.2.0",
|
|
"karma-cli": "2.0.0",
|
|
"karma-coverage-istanbul-reporter": "3.0.3",
|
|
"karma-firefox-launcher": "2.1.3",
|
|
"karma-mocha": "2.0.1",
|
|
"karma-mocha-reporter": "2.2.5",
|
|
"karma-sourcemap-loader": "0.4.0",
|
|
"karma-spec-reporter": "0.0.36",
|
|
"karma-summary-reporter": "3.1.1",
|
|
"karma-webkit-launcher": "2.6.0",
|
|
"karma-webpack": "5.0.0",
|
|
"lcov-result-merger": "3.3.0",
|
|
"lerna": "9.0.6",
|
|
"listr": "0.14.3",
|
|
"lodash": "4.18.1",
|
|
"merge2": "1.4.1",
|
|
"mkdirp": "1.0.4",
|
|
"mocha": "9.2.2",
|
|
"mz": "2.7.0",
|
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
"npm-run-all2": "5.0.2",
|
|
"nyc": "15.1.0",
|
|
"ora": "5.4.1",
|
|
"patch-package": "7.0.2",
|
|
"playwright": "1.55.1",
|
|
"postinstall-postinstall": "2.1.0",
|
|
"prettier": "2.8.8",
|
|
"protobufjs-cli": "^1.1.3",
|
|
"protractor": "5.4.2",
|
|
"request": "2.88.2",
|
|
"semver": "7.7.1",
|
|
"simple-git": "3.32.3",
|
|
"sinon": "9.2.4",
|
|
"sinon-chai": "3.7.0",
|
|
"source-map-loader": "1.1.3",
|
|
"sqlite3": "5.1.7",
|
|
"terser": "5.38.1",
|
|
"ts-loader": "9.5.2",
|
|
"ts-node": "10.9.2",
|
|
"tsec": "0.2.8",
|
|
"tslint": "6.1.3",
|
|
"typedoc": "0.16.11",
|
|
"typescript": "5.5.4",
|
|
"watch": "1.0.2",
|
|
"webpack": "5.104.1",
|
|
"yargs": "17.7.2"
|
|
}
|
|
} |