-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
368 additions
and
872 deletions.
There are no files selected for viewing
27 changes: 8 additions & 19 deletions
27
vaadin-accordion-flow-parent/vaadin-accordion-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [ | ||
useLitWebComponents() | ||
] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
27 changes: 8 additions & 19 deletions
27
vaadin-app-layout-flow-parent/vaadin-app-layout-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [ | ||
useLitWebComponents() | ||
] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
27 changes: 8 additions & 19 deletions
27
vaadin-avatar-flow-parent/vaadin-avatar-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [ | ||
useLitWebComponents() | ||
] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
27 changes: 8 additions & 19 deletions
27
vaadin-board-flow-parent/vaadin-board-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [ | ||
useLitWebComponents() | ||
] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
27 changes: 8 additions & 19 deletions
27
vaadin-button-flow-parent/vaadin-button-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [ | ||
useLitWebComponents() | ||
] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
25 changes: 8 additions & 17 deletions
25
vaadin-card-flow-parent/vaadin-card-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [useLitWebComponents()] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
27 changes: 8 additions & 19 deletions
27
vaadin-charts-flow-parent/vaadin-charts-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [ | ||
useLitWebComponents() | ||
] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
27 changes: 8 additions & 19 deletions
27
vaadin-checkbox-flow-parent/vaadin-checkbox-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [ | ||
useLitWebComponents() | ||
] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
27 changes: 8 additions & 19 deletions
27
vaadin-combo-box-flow-parent/vaadin-combo-box-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [ | ||
useLitWebComponents() | ||
] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
27 changes: 8 additions & 19 deletions
27
...in-confirm-dialog-flow-parent/vaadin-confirm-dialog-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [ | ||
useLitWebComponents() | ||
] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
27 changes: 8 additions & 19 deletions
27
vaadin-context-menu-flow-parent/vaadin-context-menu-flow-integration-tests/vite.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
// @ts-ignore can not be resolved until NPM packages are installed | ||
import { UserConfigFn } from 'vite'; | ||
import { defineConfig, UserConfigFn } from 'vite'; | ||
// @ts-ignore can not be resolved until Flow generates base Vite config | ||
import { overrideVaadinConfig } from './vite.generated'; | ||
// import { useLocalWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { useLitWebComponents } from '../../shared/web-components-vite-plugin'; | ||
import { vaadinConfig } from './vite.generated'; | ||
import { sharedConfig, mergeConfigs } from '../../shared/shared-vite-config'; | ||
|
||
const customConfig: UserConfigFn = (env) => ({ | ||
// Here you can add custom Vite parameters | ||
// https://vitejs.dev/config/ | ||
|
||
// Use local version of web-components, disabled by default | ||
// To use this un-comment the lines below and change the path to | ||
// the absolute path of your web-components repo's node_modules | ||
// folder | ||
// DO NOT COMMIT THESE CHANGES! | ||
/* | ||
plugins: [ | ||
useLocalWebComponents('/path/to/web-components/node_modules') | ||
] | ||
*/ | ||
plugins: [ | ||
useLitWebComponents() | ||
] | ||
}); | ||
|
||
export default overrideVaadinConfig(customConfig); | ||
export default defineConfig((env) => mergeConfigs( | ||
vaadinConfig(env), | ||
sharedConfig(env), | ||
customConfig(env) | ||
)); |
Oops, something went wrong.