Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
172 changes: 85 additions & 87 deletions bun.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,18 @@
"@capacitor/core": "7.0.0",
"@capacitor/docgen": "^0.2.2",
"@types/bun": "latest",
"@vitest/coverage-v8": "^4.1.2",
"@vitest/coverage-v8": "^4.1.9",
"typescript": "^5.9.3",
"vite-plus": "0.1.20"
"vite-plus": "0.1.24"
},
"peerDependencies": {
"@capacitor/core": ">=7.0.0"
},
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.20",
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.20"
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.24",
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.24"
},
"packageManager": "bun@1.3.13",
"packageManager": "bun@1.3.14",
"capacitor": {
"ios": {
"src": "ios"
Expand Down
2 changes: 1 addition & 1 deletion src/DebugNamespace.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, beforeEach } from 'vitest';
import { describe, test, expect, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import Debug, { LogLevel } from './DebugNamespace';
Expand Down
2 changes: 1 addition & 1 deletion src/InAppMessagesNamespace.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, vi, beforeEach } from 'vitest';
import { describe, test, expect, vi, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import * as helpers from './helpers';
Expand Down
2 changes: 1 addition & 1 deletion src/LiveActivitiesNamespace.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, vi, beforeEach } from 'vitest';
import { describe, test, expect, vi, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import { SUB_TOKEN } from '../mocks/constants';
Expand Down
2 changes: 1 addition & 1 deletion src/LocationNamespace.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, beforeEach } from 'vitest';
import { describe, test, expect, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import Location from './LocationNamespace';
Expand Down
2 changes: 1 addition & 1 deletion src/NotificationReceivedEvent.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, beforeEach } from 'vitest';
import { describe, test, expect, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import { mockNotification } from '../mocks/data';
Expand Down
2 changes: 1 addition & 1 deletion src/NotificationsNamespace.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, vi, beforeEach } from 'vitest';
import { describe, test, expect, vi, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import { mockNotification, mockNotificationClickEvent } from '../mocks/data';
Expand Down
2 changes: 1 addition & 1 deletion src/OSNotification.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, beforeEach } from 'vitest';
import { describe, test, expect, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import { OSNotification, _setOSNotificationPlugin, type ReceivedEvent } from './OSNotification';
Expand Down
2 changes: 1 addition & 1 deletion src/PushSubscriptionNamespace.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, vi, beforeEach } from 'vitest';
import { describe, test, expect, vi, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import { PREV_SUB_ID, PREV_SUB_TOKEN, SUB_ID, SUB_TOKEN } from '../mocks/constants';
Expand Down
2 changes: 1 addition & 1 deletion src/SessionNamespace.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, beforeEach } from 'vitest';
import { describe, test, expect, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import Session from './SessionNamespace';
Expand Down
2 changes: 1 addition & 1 deletion src/UserNamespace.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, vi, beforeEach } from 'vitest';
import { describe, test, expect, vi, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import PushSubscription from './PushSubscriptionNamespace';
Expand Down
2 changes: 1 addition & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, test, expect, beforeEach } from 'vitest';
import { describe, test, expect, beforeEach } from 'vite-plus/test';

import { createMockPlugin } from '../mocks/capacitor';
import { APP_ID } from '../mocks/constants';
Expand Down
2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export default defineConfig({
},
},
lint: {
jsPlugins: [{ name: 'vite-plus', specifier: 'vite-plus/oxlint-plugin' }],
rules: { 'vite-plus/prefer-vite-plus-imports': 'error' },
options: { typeAware: true, typeCheck: true },
overrides: [
{
Expand Down
Loading