chore(web): clear kit 3's alias and Vite's config-loader deprecations (#5021)
release / govulncheck (push) Successful in 23s
release / web (push) Successful in 1m22s
release / go (push) Successful in 1m41s
release / integration (push) Successful in 4m49s
release / android (push) Successful in 5m32s
release / Build signed APK (releases and dev) (push) Successful in 5m39s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 28s
release / Verify release artifacts (tag releases only) (push) Skipped
release / govulncheck (push) Successful in 23s
release / web (push) Successful in 1m22s
release / go (push) Successful in 1m41s
release / integration (push) Successful in 4m49s
release / android (push) Successful in 5m32s
release / Build signed APK (releases and dev) (push) Successful in 5m39s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 28s
release / Verify release artifacts (tag releases only) (push) Skipped
CI run 8789 warned on both: - kit 3 deprecates `config.alias`. The $test-utils alias becomes a `#test-utils/*` subpath import, matching #lib, and its 43 import sites move with it. - Vite's coming native config loader needs the extension on vitest.config.ts's import of vite.config. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,7 @@ import {
|
||||
} from './store.svelte';
|
||||
import { api } from '#lib/api/client.js';
|
||||
import type { TrackRef } from '#lib/api/types.js';
|
||||
import { makeTrack } from '$test-utils/fixtures/track';
|
||||
import { makeTrack } from '#test-utils/fixtures/track.js';
|
||||
|
||||
function track(id: string, dur = 200): TrackRef {
|
||||
return makeTrack({
|
||||
|
||||
@@ -2,7 +2,7 @@ import { describe, expect, test } from 'vitest';
|
||||
import { dbToLinear, gainDb, playingAsAlbum, MAX_BOOST_DB } from './gain';
|
||||
import type { NormalizationPrefs } from '#lib/api/normalization.js';
|
||||
import type { TrackRef } from '#lib/api/types.js';
|
||||
import { makeTrack } from '$test-utils/fixtures/track';
|
||||
import { makeTrack } from '#test-utils/fixtures/track.js';
|
||||
|
||||
const prefs = (over: Partial<NormalizationPrefs> = {}): NormalizationPrefs => ({
|
||||
mode: 'auto',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { beforeEach, describe, expect, test, vi } from 'vitest';
|
||||
import type { TrackRef } from '#lib/api/types.js';
|
||||
import { makeTrack } from '$test-utils/fixtures/track';
|
||||
import { makeTrack } from '#test-utils/fixtures/track.js';
|
||||
|
||||
vi.mock('#lib/auth/store.svelte.js', () => ({
|
||||
user: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
|
||||
import { flushSync } from 'svelte';
|
||||
import type { TrackRef } from '#lib/api/types.js';
|
||||
import { makeTrack } from '$test-utils/fixtures/track';
|
||||
import { makeTrack } from '#test-utils/fixtures/track.js';
|
||||
|
||||
function track(id: string): TrackRef {
|
||||
return makeTrack({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
|
||||
import { readPersistedQueue, writePersistedQueue, clearPersistedQueue } from './persisted';
|
||||
import { makeTrack } from '$test-utils/fixtures/track';
|
||||
import { makeTrack } from '#test-utils/fixtures/track.js';
|
||||
|
||||
const sampleTrack = makeTrack();
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { afterEach, beforeEach, describe, expect, test } from 'vitest';
|
||||
import { flushSync } from 'svelte';
|
||||
import type { TrackRef } from '#lib/api/types.js';
|
||||
import { makeTrack } from '$test-utils/fixtures/track';
|
||||
import { makeTrack } from '#test-utils/fixtures/track.js';
|
||||
|
||||
function track(id: string): TrackRef {
|
||||
return makeTrack({
|
||||
|
||||
@@ -19,7 +19,7 @@ import {
|
||||
} from './store.svelte';
|
||||
import type { TrackRef } from '#lib/api/types.js';
|
||||
import { writePersistedQueue, clearPersistedQueue } from './persisted';
|
||||
import { makeTrack } from '$test-utils/fixtures/track';
|
||||
import { makeTrack } from '#test-utils/fixtures/track.js';
|
||||
|
||||
vi.mock('#lib/auth/store.svelte.js', () => ({
|
||||
user: {
|
||||
|
||||
Reference in New Issue
Block a user