Skip to content
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

Update dependencies in packages and repo-scripts #8729

Merged
merged 7 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
*
* DEFAULT VALUE: false
*/
// "skipLibCheck": true,
"skipLibCheck": true,
},

/**
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@
"repo-scripts/*"
],
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/core": "7.26.7",
"@babel/plugin-transform-modules-commonjs": "7.26.3",
"@babel/preset-env": "7.26.0",
"@babel/preset-env": "7.26.7",
"@babel/preset-typescript": "7.26.0",
"@babel/register": "7.25.9",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.11",
"@changesets/cli": "2.27.12",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "7.1.8",
"@types/child-process-promise": "2.2.6",
Expand All @@ -80,7 +80,7 @@
"@types/long": "4.0.2",
"@types/mocha": "9.1.1",
"@types/mz": "2.7.8",
"@types/node": "18.19.71",
"@types/node": "18.19.74",
"@types/request": "2.48.12",
"@types/sinon": "9.0.11",
"@types/sinon-chai": "3.2.12",
Expand Down Expand Up @@ -139,7 +139,7 @@
"nyc": "15.1.0",
"ora": "5.4.1",
"patch-package": "7.0.2",
"playwright": "1.49.1",
"playwright": "1.50.0",
"postinstall-postinstall": "2.1.0",
"prettier": "2.8.8",
"protractor": "5.4.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
},
"devDependencies": {
"@firebase/app-compat": "0.2.48",
"rollup": "2.79.1",
"rollup": "2.79.2",
"@rollup/plugin-json": "6.1.0",
"rollup-plugin-typescript2": "0.31.2",
"rollup-plugin-typescript2": "0.36.0",
"typescript": "5.5.4"
},
"repository": {
Expand Down
6 changes: 2 additions & 4 deletions packages/analytics-compat/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"compilerOptions": {
"outDir": "dist"
},
"exclude": [
"dist/**/*"
]
}
"exclude": ["dist/**/*"]
}
4 changes: 1 addition & 3 deletions packages/analytics-interop-types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"compilerOptions": {
"noEmit": true
},
"exclude": [
"dist/**/*"
]
"exclude": ["dist/**/*"]
}
4 changes: 1 addition & 3 deletions packages/analytics-types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"compilerOptions": {
"noEmit": true
},
"exclude": [
"dist/**/*"
]
"exclude": ["dist/**/*"]
}
4 changes: 2 additions & 2 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.10.18",
"rollup": "2.79.1",
"rollup": "2.79.2",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"rollup-plugin-typescript2": "0.31.2",
"rollup-plugin-typescript2": "0.36.0",
"typescript": "5.5.4"
},
"repository": {
Expand Down
6 changes: 5 additions & 1 deletion packages/analytics/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,18 @@ import typescript from 'typescript';
import { generateBuildTargetReplaceConfig } from '../../scripts/build/rollup_replace_build_target';
import { emitModulePackageFile } from '../../scripts/build/rollup_emit_module_package_file';
import pkg from './package.json';
import tsconfig from './tsconfig.json';

const deps = [
...Object.keys(Object.assign({}, pkg.peerDependencies, pkg.dependencies))
];

const buildPlugins = [
typescriptPlugin({
typescript
typescript,
tsconfigOverride: {
exclude: [...tsconfig.exclude, '**/*.test.ts']
}
}),
json({ preferConst: true })
];
Expand Down
4 changes: 2 additions & 2 deletions packages/app-check-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app-compat": "0.2.48",
"rollup": "2.79.1",
"rollup": "2.79.2",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"rollup-plugin-typescript2": "0.31.2",
"rollup-plugin-typescript2": "0.36.0",
"typescript": "5.5.4"
},
"repository": {
Expand Down
4 changes: 1 addition & 3 deletions packages/app-check-interop-types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"compilerOptions": {
"noEmit": true
},
"exclude": [
"dist/**/*"
]
"exclude": ["dist/**/*"]
}
4 changes: 1 addition & 3 deletions packages/app-check-types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"compilerOptions": {
"noEmit": true
},
"exclude": [
"dist/**/*"
]
"exclude": ["dist/**/*"]
}
4 changes: 2 additions & 2 deletions packages/app-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.10.18",
"rollup": "2.79.1",
"rollup": "2.79.2",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"rollup-plugin-typescript2": "0.31.2",
"rollup-plugin-typescript2": "0.36.0",
"typescript": "5.5.4"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/app-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
"tslib": "^2.1.0"
},
"devDependencies": {
"rollup": "2.79.1",
"rollup": "2.79.2",
"@rollup/plugin-json": "6.1.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.31.2",
"rollup-plugin-typescript2": "0.36.0",
"typescript": "5.5.4"
},
"repository": {
Expand Down
4 changes: 1 addition & 3 deletions packages/app-types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"compilerOptions": {
"noEmit": true
},
"exclude": [
"dist/**/*"
]
"exclude": ["dist/**/*"]
}
4 changes: 2 additions & 2 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"license": "Apache-2.0",
"devDependencies": {
"@rollup/plugin-json": "6.1.0",
"rollup": "2.79.1",
"rollup": "2.79.2",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.31.2",
"rollup-plugin-typescript2": "0.36.0",
"rollup-plugin-dts": "5.3.1",
"typescript": "5.5.4"
},
Expand Down
6 changes: 5 additions & 1 deletion packages/app/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,18 @@ import dts from 'rollup-plugin-dts';
import { generateBuildTargetReplaceConfig } from '../../scripts/build/rollup_replace_build_target';
import { emitModulePackageFile } from '../../scripts/build/rollup_emit_module_package_file';
import pkg from './package.json';
import tsconfig from './tsconfig.json';

const deps = Object.keys(
Object.assign({}, pkg.peerDependencies, pkg.dependencies)
);

const buildPlugins = [
typescriptPlugin({
typescript
typescript,
tsconfigOverride: {
exclude: [...tsconfig.exclude, '**/*.test.ts']
}
}),
json({ preferConst: true })
];
Expand Down
6 changes: 2 additions & 4 deletions packages/app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
"outDir": "dist",
"downlevelIteration": true
},
"exclude": [
"dist/**/*"
]
}
"exclude": ["dist/**/*"]
}
6 changes: 3 additions & 3 deletions packages/auth-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
"devDependencies": {
"@firebase/app-compat": "0.2.48",
"@rollup/plugin-json": "6.1.0",
"rollup": "2.79.1",
"rollup": "2.79.2",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.31.2",
"selenium-webdriver": "4.8.0",
"rollup-plugin-typescript2": "0.36.0",
"selenium-webdriver": "4.28.1",
"typescript": "5.5.4"
},
"repository": {
Expand Down
6 changes: 2 additions & 4 deletions packages/auth-compat/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"compilerOptions": {
"outDir": "dist"
},
"exclude": [
"dist/**/*"
]
}
"exclude": ["dist/**/*"]
}
4 changes: 1 addition & 3 deletions packages/auth-interop-types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"compilerOptions": {
"noEmit": true
},
"exclude": [
"dist/**/*"
]
"exclude": ["dist/**/*"]
}
4 changes: 1 addition & 3 deletions packages/auth-types/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"compilerOptions": {
"noEmit": true
},
"exclude": [
"dist/**/*"
]
"exclude": ["dist/**/*"]
}
6 changes: 3 additions & 3 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@
"@rollup/plugin-strip": "2.1.0",
"@types/express": "4.17.21",
"chromedriver": "119.0.1",
"rollup": "2.79.1",
"rollup": "2.79.2",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-typescript2": "0.31.2",
"selenium-webdriver": "4.8.0",
"rollup-plugin-typescript2": "0.36.0",
"selenium-webdriver": "4.28.1",
"totp-generator": "0.0.14",
"typescript": "5.5.4"
},
Expand Down
7 changes: 6 additions & 1 deletion packages/auth/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import alias from '@rollup/plugin-alias';
import { generateBuildTargetReplaceConfig } from '../../scripts/build/rollup_replace_build_target';
import { emitModulePackageFile } from '../../scripts/build/rollup_emit_module_package_file';
import pkg from './package.json';
import tsconfig from './tsconfig.json';

const deps = Object.keys(
Object.assign({}, pkg.peerDependencies, pkg.dependencies)
Expand All @@ -47,7 +48,10 @@ const nodeAliasPlugin = alias({
const buildPlugins = [
json(),
strip({ functions: ['debugAssert.*'] }),
typescriptPlugin({ typescript })
typescriptPlugin({
typescript,
tsconfigOverride: { exclude: [...tsconfig.exclude, '**/*.test.ts'] }
})
];

const browserBuilds = [
Expand Down Expand Up @@ -191,6 +195,7 @@ const webWorkerBuild = {
}),
typescriptPlugin({
typescript,
exclude: [...tsconfig.exclude, '**/*.test.*'],
compilerOptions: {
lib: [
// Remove dom after we figure out why navigator stuff doesn't exist
Expand Down
7 changes: 2 additions & 5 deletions packages/auth/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
"compilerOptions": {
"outDir": "dist"
},
"exclude": [
"dist/**/*",
"demo/**/*"
]
}
"exclude": ["dist/**/*", "demo/**/*"]
}
4 changes: 2 additions & 2 deletions packages/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
},
"license": "Apache-2.0",
"devDependencies": {
"rollup": "2.79.1",
"rollup-plugin-typescript2": "0.31.2",
"rollup": "2.79.2",
"rollup-plugin-typescript2": "0.36.0",
"typescript": "5.5.4"
},
"repository": {
Expand Down
10 changes: 9 additions & 1 deletion packages/component/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,20 @@ import typescriptPlugin from 'rollup-plugin-typescript2';
import typescript from 'typescript';
import { emitModulePackageFile } from '../../scripts/build/rollup_emit_module_package_file';
import pkg from './package.json';
import tsconfig from './tsconfig.json';

const deps = Object.keys(
Object.assign({}, pkg.peerDependencies, pkg.dependencies)
);

const buildPlugins = [typescriptPlugin({ typescript })];
const buildPlugins = [
typescriptPlugin({
typescript,
tsconfigOverride: {
exclude: [...tsconfig.exclude, '**/*.test.ts']
}
})
];

const esmBuild = {
input: 'index.ts',
Expand Down
6 changes: 3 additions & 3 deletions packages/component/src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,15 +319,15 @@ export class Provider<T extends Name> {
instanceIdentifier: normalizeIdentifierForFactory(instanceIdentifier),
options
});
this.instances.set(instanceIdentifier, instance);
this.instances.set(instanceIdentifier, instance!);
this.instancesOptions.set(instanceIdentifier, options);

/**
* Invoke onInit listeners.
* Note this.component.onInstanceCreated is different, which is used by the component creator,
* while onInit listeners are registered by consumers of the provider.
*/
this.invokeOnInitCallbacks(instance, instanceIdentifier);
this.invokeOnInitCallbacks(instance!, instanceIdentifier);

/**
* Order is important
Expand All @@ -339,7 +339,7 @@ export class Provider<T extends Name> {
this.component.onInstanceCreated(
this.container,
instanceIdentifier,
instance
instance!
);
} catch {
// ignore errors in the onInstanceCreatedCallback
Expand Down
6 changes: 2 additions & 4 deletions packages/component/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
"outDir": "dist",
"downlevelIteration": true
},
"exclude": [
"dist/**/*"
]
}
"exclude": ["dist/**/*"]
}
Loading
Loading