Skip to content

Commit 135ef57

Browse files
committedNov 11, 2024
fixing build
1 parent 389ae4d commit 135ef57

12 files changed

+86
-62
lines changed
 

‎dist/plugin/VResizeDrawer.vue.d.ts

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Props } from './types';
21
import { VNavigationDrawer } from 'vuetify/components';
2+
import { Props } from './types';
33
declare function __VLS_template(): {
44
slots: {
55
handle?(_: {}): any;
@@ -20,9 +20,9 @@ declare function __VLS_template(): {
2020
tag: string;
2121
sticky: boolean;
2222
modelValue: boolean | null;
23-
scrim: string | boolean;
2423
tile: boolean;
2524
floating: boolean;
25+
scrim: string | boolean;
2626
touchless: boolean;
2727
disableResizeWatcher: boolean;
2828
disableRouteWatcher: boolean;
@@ -86,9 +86,9 @@ declare function __VLS_template(): {
8686
tag: string;
8787
sticky: boolean;
8888
modelValue: boolean | null;
89-
scrim: string | boolean;
9089
tile: boolean;
9190
floating: boolean;
91+
scrim: string | boolean;
9292
touchless: boolean;
9393
disableResizeWatcher: boolean;
9494
disableRouteWatcher: boolean;
@@ -148,9 +148,9 @@ declare function __VLS_template(): {
148148
sticky: boolean;
149149
modelValue: boolean | null;
150150
rounded: string | number | boolean;
151-
scrim: string | boolean;
152151
tile: boolean;
153152
floating: boolean;
153+
scrim: string | boolean;
154154
touchless: boolean;
155155
disableResizeWatcher: boolean;
156156
disableRouteWatcher: boolean;
@@ -184,9 +184,9 @@ declare function __VLS_template(): {
184184
tag: string;
185185
sticky: boolean;
186186
modelValue: boolean | null;
187-
scrim: string | boolean;
188187
tile: boolean;
189188
floating: boolean;
189+
scrim: string | boolean;
190190
touchless: boolean;
191191
disableResizeWatcher: boolean;
192192
disableRouteWatcher: boolean;
@@ -248,9 +248,9 @@ declare function __VLS_template(): {
248248
sticky: boolean;
249249
modelValue: boolean | null;
250250
rounded: string | number | boolean;
251-
scrim: string | boolean;
252251
tile: boolean;
253252
floating: boolean;
253+
scrim: string | boolean;
254254
touchless: boolean;
255255
disableResizeWatcher: boolean;
256256
disableRouteWatcher: boolean;
@@ -290,10 +290,11 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
290290
"onHandle:touchstart"?: ((...args: any[]) => any) | undefined;
291291
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
292292
}>, {
293+
location: "bottom" | "end" | "start" | "left" | "right" | "top";
294+
absolute: VNavigationDrawer["absolute"];
293295
theme: string;
294296
tag: VNavigationDrawer["tag"];
295297
name: string;
296-
absolute: VNavigationDrawer["absolute"];
297298
expandOnHover: VNavigationDrawer["expandOnHover"];
298299
floating: VNavigationDrawer["floating"];
299300
modelValue: VNavigationDrawer["modelValue"];
@@ -303,13 +304,13 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
303304
temporary: VNavigationDrawer["temporary"];
304305
touchless: boolean;
305306
width: VNavigationDrawer["width"];
306-
location: "bottom" | "top" | "start" | "end" | "left" | "right";
307+
handlePosition: import('./types').HandlePositions;
308+
handleIconSize: import('vuetify/lib/components/index.mjs').VIcon["size"];
309+
handleIcon: string;
307310
saveWidth: boolean;
308311
saveHeight: boolean;
309312
storageName: string;
310313
storageType: import('./types').StorageType;
311-
handlePosition: import('./types').HandlePositions;
312-
handleIconSize: import('vuetify/lib/components/index.mjs').VIcon["size"];
313314
handleColor: string;
314315
height: string | number;
315316
maxWidth: VNavigationDrawer["width"];
@@ -318,7 +319,6 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
318319
maxHeight: string | number;
319320
minHeight: string | number;
320321
handleBorderWidth: number | string;
321-
handleIcon: string;
322322
resizable: boolean;
323323
widthSnapBack: boolean;
324324
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;

‎dist/plugin/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { App } from 'vue';
21
import { GlobalOptions } from './types';
2+
import { App } from 'vue';
33
import { default as VResizeDrawer } from './VResizeDrawer.vue';
44
export declare const globalOptions: unique symbol;
55
export declare function createVResizeDrawer(options?: GlobalOptions): {

‎dist/plugin/types/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CSSProperties, MaybeRef } from 'vue';
22
import { IconOptions, ThemeInstance } from 'vuetify';
3-
import { default as VResizeDrawer } from '../VResizeDrawer.vue';
43
import { VIcon, VNavigationDrawer } from 'vuetify/components';
4+
import { default as VResizeDrawer } from '../VResizeDrawer.vue';
55
export * from '../index';
66
export type Classes = {
77
[key: string]: boolean | undefined;
@@ -130,7 +130,7 @@ export interface UseGetIcon {
130130
name: Props['handlePosition'];
131131
}): Props['handleIcon'];
132132
}
133-
declare module "vue" {
133+
declare module 'vue' {
134134
interface ComponentCustomProperties {
135135
}
136136
interface GlobalComponents {

‎dist/plugin/utils/globals.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
declare const defaultWidth = 256;
22
declare const componentName = "v-resize-drawer";
3-
export { defaultWidth, componentName };
3+
export { defaultWidth, componentName, };

‎dist/scss/_mixins.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @source vuetify/packages/vuetify/src/styles/tools/_functions.sass
88
*/
99
@function breakpoint-min($name, $breakpoints) {
10-
$min: map-get($breakpoints, $name);
10+
$min: map.get($breakpoints, $name);
1111
@return if($min !=0, $min, null);
1212
}
1313

@@ -33,7 +33,7 @@
3333
}
3434

3535
@mixin make-grid-columns($columns: settings.$grid-columns, $gutter: settings.$grid-gutter, $breakpoints: settings.$grid-breakpoints) {
36-
@each $breakpoint in map-keys($breakpoints) {
36+
@each $breakpoint in map.keys($breakpoints) {
3737
$infix: tools.breakpoint-infix($breakpoint, $breakpoints);
3838

3939
@include media-breakpoint-up($breakpoint, $breakpoints) {

‎dist/vuetify-resize-drawer.cjs.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/vuetify-resize-drawer.es.js

+42-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dev": "NODE_OPTIONS='--no-warnings' vite",
1414
"watch": "pnpm dev",
1515
"play": "sh src/playground/configs/build.sh && NODE_ENV=playground pnpm dev",
16-
"build": "vue-tsc && npm run test:build && vite build --config vite.build.config.mts",
16+
"build": "tsc -p tsconfig.build.json && npm run test:build && vite build --config vite.build.config.mts",
1717
"build:docs": "vite build",
1818
"predeploy": "npm run build",
1919
"deploy": "gh-pages -d docs",

‎src/documentation/types/docs.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ declare namespace Docs {
1111
color: string;
1212
dark: boolean;
1313
elevation: number;
14+
widthSnapBack?: boolean | undefined;
1415
}
1516

1617
export interface Links {

‎tsconfig.build.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"exclude": [
3+
"playground",
4+
"src/**/*.spec.ts",
5+
"src/**/*.test.ts",
6+
"src/playground/**/*.ts",
7+
"src/playground/**/*.vue",
8+
"src/documentation/**/*.ts",
9+
"src/documentation/**/*.tsx",
10+
"src/documentation/**/*.vue",
11+
"src/libraries/**/*.ts",
12+
"src/plugins/**/*.ts",
13+
"src/stores/**/*.ts",
14+
"src/App.vue",
15+
"src/main.ts",
16+
"node_modules",
17+
],
18+
"extends": "./tsconfig.json"
19+
}

‎tsconfig.node.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"compilerOptions": {
33
"composite": true,
4+
"skipLibCheck": true,
45
"module": "ESNext",
5-
"moduleResolution": "Node",
6+
"moduleResolution": "bundler",
67
"allowSyntheticDefaultImports": true
78
},
89
"include": [

‎vite.build.config.mts

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import vue from '@vitejs/plugin-vue';
1111
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify';
1212
import { viteStaticCopy } from 'vite-plugin-static-copy';
1313

14+
1415
const scopedPackageName = pkg.name;
1516
const packageName = scopedPackageName.split('/')[1];
1617

@@ -74,10 +75,12 @@ export default defineConfig({
7475
}),
7576
dts({
7677
insertTypesEntry: true,
78+
tsconfigPath: 'tsconfig.build.json',
7779
}),
7880
typescript({
7981
check: true,
8082
include: ['./src/plugin/**/*.vue'],
83+
tsconfig: 'tsconfig.build.json',
8184
}),
8285
vuetify({
8386
autoImport: true,

0 commit comments

Comments
 (0)
Please sign in to comment.