Skip to content

Commit

Permalink
update firebase packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-8 committed May 4, 2023
1 parent 49032f4 commit 98cbb18
Show file tree
Hide file tree
Showing 9 changed files with 2,194 additions and 2,123 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lighthouse-comment-formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function makeComment(lighthouseOutputs, targetPlatform) {
for (const manifest of lighthouseOutputs.manifest) {
const { url: testedUrl, summary } = manifest;
const reportUrl = lighthouseOutputs.links[testedUrl];

if (targetPlatform === 'slack') {
comment += ` | Results for ${new URL(testedUrl).pathname}: ${scoreSimple('Performance', summary.performance)}, ${scoreSimple('Accessibility', summary.accessibility)}, ${scoreSimple('Best practices', summary['best-practices'])}, ${scoreSimple('SEO', summary.seo)}, ${scoreSimple('PWA', summary.pwa)}, ${reportUrl}`;
}
Expand Down
3 changes: 1 addition & 2 deletions packages/parts/src/lib/maps/mapbox/geocoder/Geocoder.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// https://www.npmjs.com/package/@mapbox/mapbox-gl-geocoder
import { getContext, onDestroy, onMount, createEventDispatcher } from 'svelte';
import { mapKey, type MapKeyContext } from '../context';
import { loadScriptOnce, loadStylesOnce } from 'sveltefirets/helpers/loader';
import { loadScriptOnce, loadStylesOnce } from 'sveltefirets';
import type { Map } from 'mapbox-gl';
import type { Result, Results, GeocoderOptions } from '@mapbox/mapbox-gl-geocoder';
import { bindEvents } from '../event-bindings';
Expand Down
2 changes: 1 addition & 1 deletion packages/parts/src/lib/maps/mapbox/map/Map.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// from https://github.com/beyonk-adventures/svelte-mapbox
import { setContext, onDestroy, createEventDispatcher, onMount, tick } from 'svelte';
import { mapKey } from '../context';
import { loadScriptOnce, loadStylesOnce } from 'sveltefirets/helpers/loader';
import { loadScriptOnce, loadStylesOnce } from 'sveltefirets';
import { EventQueue } from '../queue';
import type { LngLatLike, MapboxOptions, Map, LngLat, ErrorEvent, EventData } from 'mapbox-gl';
import { bindEvents } from '../event-bindings';
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"csvtojson": "^2.0.10",
"dot-object": "^2.1.4",
"dotenv": "^16.0.2",
"firebase": "^9.14.0",
"firebase": "^9.21.0",
"firebase-admin": "^10.3.0",
"node-fetch": "^3.1.0",
"tsx": "^3.12.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"d3-dsv": "^3.0.1",
"dot-object": "^2.1.4",
"file-saver": "^2.0.5",
"firebase": "^9.14.0",
"firebase": "^9.21.0",
"instantsearch.js": "^4.33.2",
"jszip": "^3.7.1",
"kitbook": "^1.0.0-alpha.32",
Expand All @@ -55,7 +55,7 @@
"svelte-i18n": "^3.3.13",
"svelte-pieces": "1.0.62",
"svelte-preprocess": "^5.0.0",
"sveltefirets": "^0.0.32",
"sveltefirets": "^0.0.34",
"temp-s-p-u": "^0.0.7",
"tslib": "^2.4.1",
"typescript": "~4.9.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import { onMount, tick } from 'svelte';
import { Button, ShowHide, Modal } from 'svelte-pieces';
import { additionalKeyboards, glossingLanguages } from '../../../glosses/glossing-languages';
import { loadScriptOnce } from 'sveltefirets/helpers/loader';
import { loadScriptOnce } from 'sveltefirets';
/**
* When using keyboard inside a fixed context like a modal, set fixed to true to use fixed positioning instead of absolute positioning to keep keyboard with fixed input, otherwise it will match page scroll height
Expand Down
6 changes: 4 additions & 2 deletions packages/site/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ const config: UserConfig = {
optimizeDeps: {
include: [
// 'algoliasearch',
// 'firebase/functions', // broke things when put in exclude - investigate later if it's helpful to put here when using Kitbook
],
exclude: [
'svelte-i18n', 'sveltefirets', 'sveltefirets/helpers/loader', 'svelte-pieces',
'firebase/functions',
'svelte-i18n',
'sveltefirets',
'svelte-pieces',
'@sentry/browser',
// 'instantsearch.js', 'instantsearch.js/es/widgets/index.js', 'instantsearch.js/es/connectors',
],
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"main": "index.ts",
"devDependencies": {
"firebase": "^9.14.0",
"firebase": "^9.21.0",
"sveltefirets": "^0.0.32"
},
"repository": {
Expand Down
Loading

0 comments on commit 98cbb18

Please sign in to comment.