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
145 changes: 77 additions & 68 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@dfinity/eslint-config-oisy-wallet": "^0.1.1",
"@dfinity/eslint-config-oisy-wallet": "^0.1.6",
"@types/node": "^22.13.10",
"jiti": "^2.4.2",
"prettier": "^3.5.3",
Expand Down
7 changes: 6 additions & 1 deletion plugins/nextjs-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import {ConfigArgs, JunoParams, JunoPluginError, initConfig} from '@junobuild/plugin-tools';
import {
type ConfigArgs,
type JunoParams,
JunoPluginError,
initConfig
} from '@junobuild/plugin-tools';
import type {NextConfig} from 'next';

/**
Expand Down
3 changes: 2 additions & 1 deletion plugins/plugin-tools/src/config.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {JunoConfig} from '@junobuild/config';
import type {JunoConfig} from '@junobuild/config';
import * as configLoader from '@junobuild/config-loader';
import {beforeEach, describe, expect, it, vi} from 'vitest';
import {
Expand All @@ -19,6 +19,7 @@ import {
import {JunoPluginError} from './error';

vi.mock('@junobuild/config-loader', async () => {
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
const actual = await vi.importActual<typeof import('@junobuild/config-loader')>(
'@junobuild/config-loader'
);
Expand Down
3 changes: 2 additions & 1 deletion plugins/plugin-tools/src/init.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {JunoConfig} from '@junobuild/config';
import * as configLoader from '@junobuild/config-loader';
import {beforeEach, describe, expect, it, MockInstance, vi} from 'vitest';
import {type MockInstance, beforeEach, describe, expect, it, vi} from 'vitest';
import {
DOCKER_CONTAINER_URL,
DOCKER_SATELLITE_ID,
Expand All @@ -13,6 +13,7 @@ import {initConfig} from './init';
import type {ConfigArgs} from './types';

vi.mock('@junobuild/config-loader', async () => {
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
const actual = await vi.importActual<typeof import('@junobuild/config-loader')>(
'@junobuild/config-loader'
);
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-tools/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
satelliteId as satelliteIdConfig,
useDockerContainer
} from './config';
import {ConfigArgs, IcpIds} from './types';
import type {ConfigArgs, IcpIds} from './types';

export const initConfig = async (
args: ConfigArgs
Expand Down
7 changes: 6 additions & 1 deletion plugins/vite-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import {ConfigArgs, JunoParams, JunoPluginError, initConfig} from '@junobuild/plugin-tools';
import {
type ConfigArgs,
type JunoParams,
JunoPluginError,
initConfig
} from '@junobuild/plugin-tools';
import {type Plugin, type UserConfig} from 'vite';

/**
Expand Down