Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency vite to v6 #1612

Merged
merged 2 commits into from
Dec 19, 2024
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
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
"module": "dist/kong-auth-elements.vue.es.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/kong-auth-elements.vue.es.js",
"require": "./dist/kong-auth-elements.vue.umd.js",
"types": "./dist/types/index.d.ts"
"require": "./dist/kong-auth-elements.vue.umd.js"
},
"./dist/style.css": "./dist/kong-auth-elements.css",
"./style.css": "./dist/kong-auth-elements.css",
"./package.json": "./package.json",
"./dist/*": "./dist/*"
},
Expand Down Expand Up @@ -75,7 +77,7 @@
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-order": "^6.0.4",
"typescript": "^5.5.4",
"vite": "^5.4.0",
"vite": "^6.0.2",
"vite-plugin-vue-devtools": "^7.3.7",
"vue-router": "^4.4.2",
"vue-tsc": "^2.0.29"
Expand Down
16 changes: 10 additions & 6 deletions src/assets/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@
@include meta.load-css("@kong/kongponents/dist/style.css");
// Import kong-auth-element styles
@include meta.load-css("./elements");
// Additional CSS rules
font-family: var(--kui-font-family-text, $kui-font-family-text);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: var(--kui-font-weight-regular, $kui-font-weight-regular);
position: relative;

/* stylelint-disable-next-line no-duplicate-selectors */
& {
// Additional CSS rules
font-family: var(--kui-font-family-text, $kui-font-family-text);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: var(--kui-font-weight-regular, $kui-font-weight-regular);
position: relative;
}
}
1 change: 0 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export default ({ mode }) => {
// If INCLUDE_VUE=true, externalize Vue (for Kong/ui-shared-components)
external: process.env.INCLUDE_VUE === 'true' ? undefined : ['vue', '@kong/kongponents'],
output: {
sourcemap: true,
exports: 'named',
// Provide global variables to use in the UMD build for externalized deps
// Enable to utilize consuming app's vue instance
Expand Down
Loading
Loading