@adonisjs/inertia 4.0.0-next.17 → 4.0.0-next.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/factories/main.js +1 -1
- package/build/index.js +1 -1
- package/build/{inertia_manager-DnlZGgE1.js → inertia_manager-DsjSQHlg.js} +9 -2
- package/build/providers/inertia_provider.js +1 -1
- package/build/src/client/common.d.ts +27 -0
- package/build/src/client/react/form.d.ts +2 -24
- package/build/src/client/react/link.d.ts +2 -24
- package/build/src/client/vue/context.d.ts +23 -0
- package/build/src/client/vue/form.d.ts +37 -0
- package/build/src/client/vue/index.d.ts +4 -0
- package/build/src/client/vue/index.js +84 -0
- package/build/src/client/vue/link.d.ts +30 -0
- package/build/src/client/vue/router.d.ts +12 -0
- package/build/src/inertia_middleware.js +1 -1
- package/package.json +37 -26
package/build/factories/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ServerRenderer, r as Inertia } from "../inertia_manager-
|
|
1
|
+
import { n as ServerRenderer, r as Inertia } from "../inertia_manager-DsjSQHlg.js";
|
|
2
2
|
import { t as InertiaHeaders } from "../headers-DafWEpBh.js";
|
|
3
3
|
import "../debug-CBMTuPUm.js";
|
|
4
4
|
import { t as defineConfig } from "../inertia-CrPBlGRS.js";
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as symbols_exports, n as ServerRenderer, r as Inertia, t as InertiaManager } from "./inertia_manager-
|
|
1
|
+
import { i as symbols_exports, n as ServerRenderer, r as Inertia, t as InertiaManager } from "./inertia_manager-DsjSQHlg.js";
|
|
2
2
|
import { t as InertiaHeaders } from "./headers-DafWEpBh.js";
|
|
3
3
|
import "./debug-CBMTuPUm.js";
|
|
4
4
|
import { n as indexPages, t as defineConfig } from "./inertia-CrPBlGRS.js";
|
|
@@ -2,7 +2,7 @@ import { t as InertiaHeaders } from "./headers-DafWEpBh.js";
|
|
|
2
2
|
import { t as debug_default } from "./debug-CBMTuPUm.js";
|
|
3
3
|
import "node:module";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
|
-
import {
|
|
5
|
+
import { BaseSerializer } from "@adonisjs/core/transformers";
|
|
6
6
|
import { pathToFileURL } from "node:url";
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __exportAll = (all, symbols) => {
|
|
@@ -26,6 +26,13 @@ const OPTIONAL_PROP = Symbol.for("OPTIONAL_PROP");
|
|
|
26
26
|
const TO_BE_MERGED = Symbol.for("TO_BE_MERGED");
|
|
27
27
|
const DEFERRED_PROP = Symbol.for("DEFERRED_PROP");
|
|
28
28
|
const DEEP_MERGE = Symbol.for("DEEP_MERGE");
|
|
29
|
+
var InertiaSerializer = class extends BaseSerializer {
|
|
30
|
+
wrap = void 0;
|
|
31
|
+
definePaginationMetaData(metaData) {
|
|
32
|
+
return metaData;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
const inertiaSerializer = new InertiaSerializer();
|
|
29
36
|
function isObject(value) {
|
|
30
37
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
31
38
|
}
|
|
@@ -78,7 +85,7 @@ function isOptionalProp(propValue) {
|
|
|
78
85
|
return OPTIONAL_PROP in propValue;
|
|
79
86
|
}
|
|
80
87
|
async function unpackPropValue(value, containerResolver) {
|
|
81
|
-
return serialize(value, containerResolver);
|
|
88
|
+
return inertiaSerializer.serialize(value, containerResolver);
|
|
82
89
|
}
|
|
83
90
|
async function buildStandardVisitProps(pageProps, containerResolver) {
|
|
84
91
|
const mergeProps = [];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { UserRegistry, InferRoutes } from '@tuyau/core/types';
|
|
2
|
+
import type { AreAllOptional } from '@poppinss/utils/types';
|
|
3
|
+
export type Routes = InferRoutes<UserRegistry>;
|
|
4
|
+
/**
|
|
5
|
+
* Get parameter tuple type for a route
|
|
6
|
+
*/
|
|
7
|
+
export type ExtractParamsTuple<Route extends keyof Routes> = Routes[Route]['types']['paramsTuple'];
|
|
8
|
+
/**
|
|
9
|
+
* Get parameter object type for a route
|
|
10
|
+
*/
|
|
11
|
+
export type ExtractParamsObject<Route extends keyof Routes> = Routes[Route]['types']['params'];
|
|
12
|
+
/**
|
|
13
|
+
* Get params format for a route
|
|
14
|
+
*/
|
|
15
|
+
export type RouteParamsFormats<Route extends keyof Routes> = ExtractParamsObject<Route> extends Record<string, never> ? never : ExtractParamsTuple<Route> | ExtractParamsObject<Route>;
|
|
16
|
+
/**
|
|
17
|
+
* Parameters required for route navigation with proper type safety.
|
|
18
|
+
*/
|
|
19
|
+
export type RouteParams<Route extends keyof Routes> = {
|
|
20
|
+
route: Route;
|
|
21
|
+
} & (RouteParamsFormats<Route> extends never ? {
|
|
22
|
+
params?: never;
|
|
23
|
+
} : AreAllOptional<ExtractParamsObject<Route>> extends true ? {
|
|
24
|
+
params?: RouteParamsFormats<Route>;
|
|
25
|
+
} : {
|
|
26
|
+
params: RouteParamsFormats<Route>;
|
|
27
|
+
});
|
|
@@ -1,32 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { UserRegistry, InferRoutes } from '@tuyau/core/types';
|
|
3
|
-
import { AreAllOptional } from '@poppinss/utils/types';
|
|
4
2
|
import { Form as InertiaForm } from '@inertiajs/react';
|
|
5
|
-
type Routes
|
|
6
|
-
/**
|
|
7
|
-
* Get parameter tuple type for a route
|
|
8
|
-
*/
|
|
9
|
-
type ExtractParamsTuple<Route extends keyof Routes> = Routes[Route]['types']['paramsTuple'];
|
|
10
|
-
/**
|
|
11
|
-
* Get parameter object type for a route
|
|
12
|
-
*/
|
|
13
|
-
type ExtractParamsObject<Route extends keyof Routes> = Routes[Route]['types']['params'];
|
|
14
|
-
/**
|
|
15
|
-
* Get params format for a route
|
|
16
|
-
*/
|
|
17
|
-
type RouteParamsFormats<Route extends keyof Routes> = ExtractParamsObject<Route> extends Record<string, never> ? never : ExtractParamsTuple<Route> | ExtractParamsObject<Route>;
|
|
3
|
+
import type { RouteParams, Routes } from '../common.ts';
|
|
18
4
|
/**
|
|
19
5
|
* Parameters required for route navigation with proper type safety.
|
|
20
6
|
*/
|
|
21
|
-
export type FormParams<Route extends keyof Routes> =
|
|
22
|
-
route: Route;
|
|
23
|
-
} & (RouteParamsFormats<Route> extends never ? {
|
|
24
|
-
params?: never;
|
|
25
|
-
} : AreAllOptional<ExtractParamsObject<Route>> extends true ? {
|
|
26
|
-
params?: RouteParamsFormats<Route>;
|
|
27
|
-
} : {
|
|
28
|
-
params: RouteParamsFormats<Route>;
|
|
29
|
-
});
|
|
7
|
+
export type FormParams<Route extends keyof Routes> = RouteParams<Route>;
|
|
30
8
|
/**
|
|
31
9
|
* Props for the Form component extending InertiaForm props
|
|
32
10
|
* with route-specific type safety and parameter validation.
|
|
@@ -1,32 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { UserRegistry, InferRoutes } from '@tuyau/core/types';
|
|
3
|
-
import { AreAllOptional } from '@poppinss/utils/types';
|
|
4
2
|
import { Link as InertiaLink } from '@inertiajs/react';
|
|
5
|
-
type Routes
|
|
6
|
-
/**
|
|
7
|
-
* Get parameter tuple type for a route
|
|
8
|
-
*/
|
|
9
|
-
type ExtractParamsTuple<Route extends keyof Routes> = Routes[Route]['types']['paramsTuple'];
|
|
10
|
-
/**
|
|
11
|
-
* Get parameter object type for a route
|
|
12
|
-
*/
|
|
13
|
-
type ExtractParamsObject<Route extends keyof Routes> = Routes[Route]['types']['params'];
|
|
14
|
-
/**
|
|
15
|
-
* Get params format for a route
|
|
16
|
-
*/
|
|
17
|
-
type RouteParamsFormats<Route extends keyof Routes> = ExtractParamsObject<Route> extends Record<string, never> ? never : ExtractParamsTuple<Route> | ExtractParamsObject<Route>;
|
|
3
|
+
import type { RouteParams, Routes } from '../common.ts';
|
|
18
4
|
/**
|
|
19
5
|
* Parameters required for route navigation with proper type safety.
|
|
20
6
|
*/
|
|
21
|
-
export type LinkParams<Route extends keyof Routes> =
|
|
22
|
-
route: Route;
|
|
23
|
-
} & (RouteParamsFormats<Route> extends never ? {
|
|
24
|
-
params?: never;
|
|
25
|
-
} : AreAllOptional<ExtractParamsObject<Route>> extends true ? {
|
|
26
|
-
params?: RouteParamsFormats<Route>;
|
|
27
|
-
} : {
|
|
28
|
-
params: RouteParamsFormats<Route>;
|
|
29
|
-
});
|
|
7
|
+
export type LinkParams<Route extends keyof Routes> = RouteParams<Route>;
|
|
30
8
|
/**
|
|
31
9
|
* Props for the Link component extending InertiaLink props
|
|
32
10
|
* with route-specific type safety and parameter validation.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Tuyau } from '@tuyau/core/client';
|
|
2
|
+
import type { TuyauRegistry } from '@tuyau/core/types';
|
|
3
|
+
import type { PropType } from 'vue';
|
|
4
|
+
/**
|
|
5
|
+
* Provider component that makes the Tuyau client available to child components.
|
|
6
|
+
*/
|
|
7
|
+
export declare const TuyauProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
client: {
|
|
9
|
+
type: PropType<Tuyau<TuyauRegistry>>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
client: {
|
|
16
|
+
type: PropType<Tuyau<TuyauRegistry>>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
/**
|
|
21
|
+
* Composable to access the Tuyau client from any component within a TuyauProvider.
|
|
22
|
+
*/
|
|
23
|
+
export declare function useTuyau(): Tuyau<any, any>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Form as InertiaForm } from '@inertiajs/vue3';
|
|
2
|
+
import type { PropType, SlotsType } from 'vue';
|
|
3
|
+
import type { RouteParams, RouteParamsFormats, Routes } from '../common.ts';
|
|
4
|
+
type InertiaFormSlots = InstanceType<typeof InertiaForm>['$slots'];
|
|
5
|
+
type InertiaFormDefaultSlot = InertiaFormSlots['default'];
|
|
6
|
+
type InertiaFormSlotProps = InertiaFormDefaultSlot extends (...args: any[]) => any ? Parameters<InertiaFormDefaultSlot>[0] : never;
|
|
7
|
+
/**
|
|
8
|
+
* Parameters required for route navigation with proper type safety.
|
|
9
|
+
*/
|
|
10
|
+
export type FormParams<Route extends keyof Routes> = RouteParams<Route>;
|
|
11
|
+
/**
|
|
12
|
+
* Type-safe Form component for Inertia.js form submissions.
|
|
13
|
+
*/
|
|
14
|
+
export declare const Form: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
|
+
route: {
|
|
16
|
+
type: PropType<keyof Routes>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
params: {
|
|
20
|
+
type: PropType<RouteParamsFormats<keyof Routes>>;
|
|
21
|
+
required: false;
|
|
22
|
+
};
|
|
23
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
route: {
|
|
27
|
+
type: PropType<keyof Routes>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
params: {
|
|
31
|
+
type: PropType<RouteParamsFormats<keyof Routes>>;
|
|
32
|
+
required: false;
|
|
33
|
+
};
|
|
34
|
+
}>> & Readonly<{}>, {}, SlotsType<{
|
|
35
|
+
default: InertiaFormSlotProps;
|
|
36
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { defineComponent, h, inject, provide } from "vue";
|
|
2
|
+
import { Form as Form$1, Link as Link$1, router } from "@inertiajs/vue3";
|
|
3
|
+
const TuyauContext = Symbol("Tuyau");
|
|
4
|
+
const TuyauProvider = defineComponent({
|
|
5
|
+
name: "TuyauProvider",
|
|
6
|
+
props: { client: {
|
|
7
|
+
type: Object,
|
|
8
|
+
required: true
|
|
9
|
+
} },
|
|
10
|
+
setup(props, { slots }) {
|
|
11
|
+
provide(TuyauContext, props.client);
|
|
12
|
+
return () => slots.default?.();
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
function useTuyau() {
|
|
16
|
+
const context = inject(TuyauContext, null);
|
|
17
|
+
if (!context) throw new Error("You must wrap your app in a TuyauProvider");
|
|
18
|
+
return context;
|
|
19
|
+
}
|
|
20
|
+
function useRouter() {
|
|
21
|
+
const tuyau = useTuyau();
|
|
22
|
+
return { visit: (props, options) => {
|
|
23
|
+
const routeInfo = tuyau.getRoute(props.route, { params: props.params });
|
|
24
|
+
const url = routeInfo.url;
|
|
25
|
+
return router.visit(url, {
|
|
26
|
+
...options,
|
|
27
|
+
method: routeInfo.methods[0].toLowerCase()
|
|
28
|
+
});
|
|
29
|
+
} };
|
|
30
|
+
}
|
|
31
|
+
const Link = defineComponent({
|
|
32
|
+
name: "TuyauLink",
|
|
33
|
+
inheritAttrs: false,
|
|
34
|
+
props: {
|
|
35
|
+
route: {
|
|
36
|
+
type: String,
|
|
37
|
+
required: true
|
|
38
|
+
},
|
|
39
|
+
params: {
|
|
40
|
+
type: [Array, Object],
|
|
41
|
+
required: false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
setup(props, { attrs, slots }) {
|
|
45
|
+
const tuyau = useTuyau();
|
|
46
|
+
return () => {
|
|
47
|
+
const routeInfo = tuyau.getRoute(props.route, { params: props.params });
|
|
48
|
+
return h(Link$1, {
|
|
49
|
+
...attrs,
|
|
50
|
+
href: routeInfo.url,
|
|
51
|
+
method: routeInfo.methods[0].toLowerCase()
|
|
52
|
+
}, slots);
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
const Form = defineComponent({
|
|
57
|
+
name: "TuyauForm",
|
|
58
|
+
inheritAttrs: false,
|
|
59
|
+
slots: Object,
|
|
60
|
+
props: {
|
|
61
|
+
route: {
|
|
62
|
+
type: String,
|
|
63
|
+
required: true
|
|
64
|
+
},
|
|
65
|
+
params: {
|
|
66
|
+
type: [Array, Object],
|
|
67
|
+
required: false
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
setup(props, { attrs, slots }) {
|
|
71
|
+
const tuyau = useTuyau();
|
|
72
|
+
return () => {
|
|
73
|
+
const routeInfo = tuyau.getRoute(props.route, { params: props.params });
|
|
74
|
+
return h(Form$1, {
|
|
75
|
+
...attrs,
|
|
76
|
+
action: {
|
|
77
|
+
url: routeInfo.url,
|
|
78
|
+
method: routeInfo.methods[0].toLowerCase()
|
|
79
|
+
}
|
|
80
|
+
}, slots);
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
export { Form, Link, TuyauProvider, useRouter, useTuyau };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { RouteParams, RouteParamsFormats, Routes } from '../common.ts';
|
|
3
|
+
/**
|
|
4
|
+
* Parameters required for route navigation with proper type safety.
|
|
5
|
+
*/
|
|
6
|
+
export type LinkParams<Route extends keyof Routes> = RouteParams<Route>;
|
|
7
|
+
/**
|
|
8
|
+
* Type-safe Link component for Inertia.js navigation.
|
|
9
|
+
*/
|
|
10
|
+
export declare const Link: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
|
+
route: {
|
|
12
|
+
type: PropType<keyof Routes>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
params: {
|
|
16
|
+
type: PropType<RouteParamsFormats<keyof Routes>>;
|
|
17
|
+
required: false;
|
|
18
|
+
};
|
|
19
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
route: {
|
|
23
|
+
type: PropType<keyof Routes>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
params: {
|
|
27
|
+
type: PropType<RouteParamsFormats<keyof Routes>>;
|
|
28
|
+
required: false;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { UserRegistry, InferRoutes } from '@tuyau/core/types';
|
|
2
|
+
import { router as InertiaRouter } from '@inertiajs/vue3';
|
|
3
|
+
import type { LinkParams } from './link.ts';
|
|
4
|
+
/**
|
|
5
|
+
* Composable providing type-safe navigation utilities for Inertia.js.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useRouter(): {
|
|
8
|
+
/**
|
|
9
|
+
* Navigate to a route with type-safe parameters and options.
|
|
10
|
+
*/
|
|
11
|
+
visit: <Route extends keyof InferRoutes<UserRegistry>>(props: LinkParams<Route>, options?: Parameters<typeof InertiaRouter.visit>[1]) => any;
|
|
12
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as InertiaManager } from "../inertia_manager-
|
|
1
|
+
import { t as InertiaManager } from "../inertia_manager-DsjSQHlg.js";
|
|
2
2
|
import { t as InertiaHeaders } from "../headers-DafWEpBh.js";
|
|
3
3
|
import { t as debug_default } from "../debug-CBMTuPUm.js";
|
|
4
4
|
const MUTATION_METHODS = [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonisjs/inertia",
|
|
3
3
|
"description": "Official Inertia.js adapter for AdonisJS",
|
|
4
|
-
"version": "4.0.0-next.
|
|
4
|
+
"version": "4.0.0-next.19",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=24.0.0"
|
|
7
7
|
},
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"./vite": "./build/src/client/vite.js",
|
|
21
21
|
"./helpers": "./build/src/client/helpers.js",
|
|
22
22
|
"./react": "./build/src/client/react/index.js",
|
|
23
|
+
"./vue": "./build/src/client/vue/index.js",
|
|
23
24
|
"./factories": "./build/factories/main.js"
|
|
24
25
|
},
|
|
25
26
|
"scripts": {
|
|
@@ -43,26 +44,27 @@
|
|
|
43
44
|
"docs": "typedoc"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
|
-
"@adonisjs/assembler": "^8.0.0-next.
|
|
47
|
-
"@adonisjs/core": "^7.0.0-next.
|
|
48
|
-
"@adonisjs/eslint-config": "^3.0.0-next.
|
|
47
|
+
"@adonisjs/assembler": "^8.0.0-next.30",
|
|
48
|
+
"@adonisjs/core": "^7.0.0-next.24",
|
|
49
|
+
"@adonisjs/eslint-config": "^3.0.0-next.9",
|
|
49
50
|
"@adonisjs/prettier-config": "^1.4.5",
|
|
50
|
-
"@adonisjs/session": "^8.0.0-next.
|
|
51
|
+
"@adonisjs/session": "^8.0.0-next.2",
|
|
51
52
|
"@adonisjs/tsconfig": "^2.0.0-next.3",
|
|
52
|
-
"@adonisjs/vite": "^5.1.0-next.
|
|
53
|
-
"@inertiajs/react": "^2.3.
|
|
54
|
-
"@
|
|
53
|
+
"@adonisjs/vite": "^5.1.0-next.4",
|
|
54
|
+
"@inertiajs/react": "^2.3.10",
|
|
55
|
+
"@inertiajs/vue3": "^2.3.10",
|
|
56
|
+
"@japa/api-client": "^3.2.1",
|
|
55
57
|
"@japa/assert": "4.2.0",
|
|
56
58
|
"@japa/expect-type": "^2.0.4",
|
|
57
59
|
"@japa/file-system": "^3.0.0",
|
|
58
|
-
"@japa/plugin-adonisjs": "^5.1.0-next.
|
|
60
|
+
"@japa/plugin-adonisjs": "^5.1.0-next.1",
|
|
59
61
|
"@japa/runner": "5.0.0",
|
|
60
62
|
"@japa/snapshot": "^2.0.10",
|
|
61
63
|
"@poppinss/ts-exec": "^1.4.1",
|
|
62
64
|
"@release-it/conventional-changelog": "^10.0.4",
|
|
63
|
-
"@tuyau/core": "^1.0.0-beta.
|
|
64
|
-
"@types/node": "^25.0.
|
|
65
|
-
"@types/react": "^19.2.
|
|
65
|
+
"@tuyau/core": "^1.0.0-beta.12",
|
|
66
|
+
"@types/node": "^25.0.9",
|
|
67
|
+
"@types/react": "^19.2.8",
|
|
66
68
|
"@types/supertest": "^6.0.3",
|
|
67
69
|
"c8": "^10.1.3",
|
|
68
70
|
"copyfiles": "^2.4.1",
|
|
@@ -71,30 +73,33 @@
|
|
|
71
73
|
"edge.js": "^6.4.0",
|
|
72
74
|
"eslint": "^9.39.2",
|
|
73
75
|
"get-port": "^7.1.0",
|
|
74
|
-
"prettier": "^3.
|
|
76
|
+
"prettier": "^3.8.0",
|
|
75
77
|
"react": "^19.2.3",
|
|
76
|
-
"release-it": "^19.
|
|
77
|
-
"supertest": "^7.
|
|
78
|
-
"tsdown": "^0.18.
|
|
78
|
+
"release-it": "^19.2.3",
|
|
79
|
+
"supertest": "^7.2.2",
|
|
80
|
+
"tsdown": "^0.18.4",
|
|
79
81
|
"typescript": "~5.9.3",
|
|
80
|
-
"vite": "^7.3.
|
|
82
|
+
"vite": "^7.3.1",
|
|
83
|
+
"vue": "^3.5.26"
|
|
81
84
|
},
|
|
82
85
|
"dependencies": {
|
|
83
|
-
"@poppinss/utils": "^7.0.0-next.
|
|
86
|
+
"@poppinss/utils": "^7.0.0-next.6",
|
|
84
87
|
"edge-error": "^4.0.2",
|
|
85
88
|
"html-entities": "^2.6.0"
|
|
86
89
|
},
|
|
87
90
|
"peerDependencies": {
|
|
88
|
-
"@adonisjs/assembler": "^8.0.0-next.
|
|
89
|
-
"@adonisjs/core": "^7.0.0-next.
|
|
90
|
-
"@adonisjs/session": "^8.0.0-next.
|
|
91
|
-
"@adonisjs/vite": "^5.1.0-next.
|
|
92
|
-
"@inertiajs/react": "^2.3.
|
|
91
|
+
"@adonisjs/assembler": "^8.0.0-next.29",
|
|
92
|
+
"@adonisjs/core": "^7.0.0-next.23",
|
|
93
|
+
"@adonisjs/session": "^8.0.0-next.2",
|
|
94
|
+
"@adonisjs/vite": "^5.1.0-next.2",
|
|
95
|
+
"@inertiajs/react": "^2.3.8",
|
|
96
|
+
"@inertiajs/vue3": "^2.3.8",
|
|
93
97
|
"@japa/api-client": "^3.1.1",
|
|
94
|
-
"@japa/plugin-adonisjs": "^5.1.0-next.
|
|
95
|
-
"@tuyau/core": "^1.0.0-beta.
|
|
98
|
+
"@japa/plugin-adonisjs": "^5.1.0-next.1",
|
|
99
|
+
"@tuyau/core": "^1.0.0-beta.10",
|
|
96
100
|
"edge.js": "^6.4.0",
|
|
97
|
-
"react": "^19.2.3"
|
|
101
|
+
"react": "^19.2.3",
|
|
102
|
+
"vue": "^3.5.17"
|
|
98
103
|
},
|
|
99
104
|
"peerDependenciesMeta": {
|
|
100
105
|
"@adonisjs/assembler": {
|
|
@@ -109,11 +114,17 @@
|
|
|
109
114
|
"react": {
|
|
110
115
|
"optional": true
|
|
111
116
|
},
|
|
117
|
+
"vue": {
|
|
118
|
+
"optional": true
|
|
119
|
+
},
|
|
112
120
|
"@tuyau/core": {
|
|
113
121
|
"optional": true
|
|
114
122
|
},
|
|
115
123
|
"@inertiajs/react": {
|
|
116
124
|
"optional": true
|
|
125
|
+
},
|
|
126
|
+
"@inertiajs/vue3": {
|
|
127
|
+
"optional": true
|
|
117
128
|
}
|
|
118
129
|
},
|
|
119
130
|
"keywords": [
|