chore(deps): update minor/patch dependencies

- prettier: 3.5.1 → 3.7.4
- pretty-quick: 4.1.1 → 4.2.2
- stylelint: 16.18.0 → 16.26.1
- @playwright/test: 1.56.1 → 1.57.0
- jasmine-core: 5.10.0 → 5.13.0
- eslint-plugin-prettier: 5.2.1 → 5.5.4
- chrono-node: 2.8.3 → 2.9.0
- ical.js: 2.1.0 → 2.2.1
- electron-builder: 26.3.3 → 26.4.0
- core-js: 3.39.0 → 3.47.0
- And other minor updates

Applied prettier formatting changes from v3.7.4.
This commit is contained in:
Johannes Millan 2026-01-10 16:16:47 +01:00
parent dd57c5d6eb
commit b69dded9f1
13 changed files with 941 additions and 586 deletions

1420
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -135,7 +135,6 @@
"electron-localshortcut": "^3.2.1",
"electron-log": "^5.4.3",
"electron-window-state": "^5.0.3",
"fs-extra": "^11.3.2",
"hash-wasm": "^4.12.0",
"node-fetch": "^2.7.0"
},
@ -174,7 +173,7 @@
"@dotenv-run/cli": "^1.3.6",
"@electron/notarize": "^3.1.1",
"@eslint/js": "^9.39.2",
"@fontsource/open-sans": "^5.2.6",
"@fontsource/open-sans": "^5.2.7",
"@nextcloud/cdav-library": "^1.5.3",
"@ngrx/effects": "^21.0.1",
"@ngrx/entity": "^21.0.1",
@ -185,7 +184,7 @@
"@ngx-formly/material": "^7.0.1",
"@ngx-translate/core": "^17.0.0",
"@ngx-translate/http-loader": "^17.0.0",
"@playwright/test": "^1.56.1",
"@playwright/test": "^1.57.0",
"@schematics/angular": "^21.0.0",
"@types/electron": "^1.4.38",
"@types/electron-localshortcut": "^3.1.3",
@ -199,31 +198,32 @@
"@typescript-eslint/utils": "^8.51.0",
"angular-eslint": "^21.1.0",
"angular-material-css-vars": "^9.1.1",
"baseline-browser-mapping": "^2.9.11",
"baseline-browser-mapping": "^2.9.14",
"canvas-confetti": "^1.9.4",
"chai": "^5.1.2",
"chart.js": "^4.5.1",
"chrono-node": "^2.8.3",
"chrono-node": "^2.9.0",
"clipboard": "^2.0.11",
"conventional-changelog-cli": "^5.0.0",
"core-js": "^3.39.0",
"core-js": "^3.47.0",
"cross-env": "^7.0.3",
"detect-it": "^4.0.1",
"electron": "37.10.3",
"electron-builder": "^26.3.3",
"electron-builder": "^26.4.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-import": "^2.31.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "61.4.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-prettier": "^5.5.4",
"fflate": "^0.8.2",
"file-saver": "^2.0.5",
"fs-extra": "^11.3.3",
"glob": "^9.3.5",
"husky": "^9.1.7",
"ical.js": "^2.1.0",
"ical.js": "^2.2.1",
"idb": "^8.0.3",
"jasmine-core": "^5.10.0",
"jasmine-core": "^5.13.0",
"jasmine-marbles": "^0.9.2",
"jasmine-spec-reporter": "~7.0.0",
"jira2md": "git+https://github.com/johannesjo/J2M.git",
@ -239,16 +239,16 @@
"new-github-issue-url": "^1.1.0",
"ng2-charts": "^8.0.0",
"ngx-markdown": "^21.0.0",
"playwright": "^1.56.1",
"prettier": "^3.5.1",
"pretty-quick": "^4.1.1",
"playwright": "^1.57.0",
"prettier": "^3.7.4",
"pretty-quick": "^4.2.2",
"query-string": "^7.1.3",
"rxjs": "^7.8.2",
"shepherd.js": "^11.2.0",
"spark-md5": "^3.0.2",
"stacktrace-js": "^2.0.2",
"start-server-and-test": "^2.0.9",
"stylelint": "^16.18.0",
"start-server-and-test": "^2.1.3",
"stylelint": "^16.26.1",
"stylelint-config-recommended-scss": "^14.1.0",
"ts-node": "~10.9.2",
"ts-patch": "^3.3.0",

View file

@ -265,9 +265,8 @@ export class ShareService {
private async _showShareDialog(payload: SharePayload): Promise<ShareResult> {
try {
// Import dialog component dynamically to avoid circular dependencies
const { DialogShareComponent } = await import(
'./dialog-share/dialog-share.component'
);
const { DialogShareComponent } =
await import('./dialog-share/dialog-share.component');
const dialogRef = this._matDialog.open(DialogShareComponent, {
width: '500px',

View file

@ -234,8 +234,10 @@ export type GlobalSectionConfig =
| SyncConfig;
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export interface LimitedFormlyFieldConfig<FormModel>
extends Omit<FormlyFieldConfig, 'key'> {
export interface LimitedFormlyFieldConfig<FormModel> extends Omit<
FormlyFieldConfig,
'key'
> {
key?: keyof FormModel;
}
@ -259,8 +261,10 @@ export interface ConfigFormSection<FormModel> {
isHideForAndroidApp?: boolean;
}
export interface GenericConfigFormSection
extends Omit<ConfigFormSection<unknown>, 'items'> {
export interface GenericConfigFormSection extends Omit<
ConfigFormSection<unknown>,
'items'
> {
items?: FormlyFieldConfig[];
}

View file

@ -22,7 +22,8 @@ export interface ProjectBasicCfg {
// Omit conflicting properties from PluginProject when extending
export interface ProjectCopy
extends Omit<PluginProject, 'advancedCfg' | 'theme'>,
extends
Omit<PluginProject, 'advancedCfg' | 'theme'>,
ProjectBasicCfg,
WorkContextCommon {
// Additional app-specific fields

View file

@ -76,8 +76,10 @@ export interface ScheduleFromCalendarEvent extends CalendarIntegrationEvent {
icon?: string;
}
export interface ScheduleCustomEvent
extends Omit<ScheduleFromCalendarEvent, 'calProviderId'> {
export interface ScheduleCustomEvent extends Omit<
ScheduleFromCalendarEvent,
'calProviderId'
> {
icon: string;
}

View file

@ -9,8 +9,7 @@ import { Tag as PluginTag } from '@super-productivity/plugin-api';
// Omit conflicting properties from PluginTag when extending
export interface TagCopy
extends Omit<PluginTag, 'advancedCfg' | 'theme'>,
WorkContextCommon {
extends Omit<PluginTag, 'advancedCfg' | 'theme'>, WorkContextCommon {
// All fields already included in PluginTag
}

View file

@ -72,7 +72,8 @@ export interface IssueFieldsForTask {
// Extend the plugin Task type with app-specific fields
// Omit issue fields from PluginTask to avoid conflict with IssueFieldsForTask
export interface TaskCopy
extends Omit<
extends
Omit<
PluginTask,
| 'issueId'
| 'issueProviderId'

View file

@ -48,13 +48,11 @@ export interface LegacyAppDataForProjects {
}
export interface LegacyAppDataCompleteOptionalSyncModelChange
extends LegacyAppBaseData,
LegacyAppDataForProjects {
extends LegacyAppBaseData, LegacyAppDataForProjects {
lastLocalSyncModelChange?: number | null;
}
export interface LegacyAppDataComplete
extends LegacyAppBaseData,
LegacyAppDataForProjects {
extends LegacyAppBaseData, LegacyAppDataForProjects {
lastLocalSyncModelChange: number | null;
}

View file

@ -52,8 +52,7 @@ export interface AppArchiveFileData {
}
export interface AppBaseData
extends AppBaseWithoutLastSyncModelChange,
AppArchiveFileData {}
extends AppBaseWithoutLastSyncModelChange, AppArchiveFileData {}
export interface LocalSyncMetaForProvider {
lastSync: number;

View file

@ -15,9 +15,7 @@ import { md5HashPromise } from '../../../../../util/md5-hash';
import { PFLog } from '../../../../../core/log';
import { PrivateCfgByProviderId } from '../../../pfapi.model';
export abstract class LocalFileSyncBase
implements SyncProviderServiceInterface<SyncProviderId.LocalFile>
{
export abstract class LocalFileSyncBase implements SyncProviderServiceInterface<SyncProviderId.LocalFile> {
private static readonly LB = 'LocalFileSyncBase';
readonly id = SyncProviderId.LocalFile;

View file

@ -3,13 +3,26 @@ import { MarkedOptions, MarkedRenderer } from 'ngx-markdown';
export const markedOptionsFactory = (): MarkedOptions => {
const renderer = new MarkedRenderer();
renderer.checkbox = ({ checked }) =>
renderer.checkbox = ({ checked }: { checked: boolean }) =>
`<span class="checkbox material-icons">${checked ? 'check_box' : 'check_box_outline_blank'}</span>`;
renderer.listitem = ({ text }) =>
text.includes('checkbox')
? `<li class="checkbox-wrapper ${text.includes('check_box_outline_blank') ? 'undone' : 'done'}">${text}</li>`
: `<li>${text}</li>`;
renderer.listitem = ({
text,
task,
checked,
}: {
text: string;
task: boolean;
checked?: boolean;
}) => {
// In marked v17, task list items need to manually prepend the checkbox
if (task) {
const isChecked = checked === true;
const checkboxHtml = `<span class="checkbox material-icons">${isChecked ? 'check_box' : 'check_box_outline_blank'}</span>`;
return `<li class="checkbox-wrapper ${isChecked ? 'done' : 'undone'}">${checkboxHtml}${text}</li>`;
}
return `<li>${text}</li>`;
};
renderer.link = ({ href, title, text }) =>
`<a target="_blank" href="${href}" title="${title || ''}">${text}</a>`;

View file

@ -12,8 +12,9 @@ const audioBufferCache = new Map<string, AudioBuffer>();
*/
export const getAudioContext = (): AudioContext => {
if (!audioContext) {
audioContext = new ((window as any).AudioContext ||
(window as any).webkitAudioContext)();
audioContext = new (
(window as any).AudioContext || (window as any).webkitAudioContext
)();
}
// Resume if suspended (can happen due to browser autoplay policies)