Skip to content

Commit

Permalink
chore(deps): update dependency vite to v6 (#1612)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency vite to v6

* fix: exports

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Adam DeHaven <[email protected]>
  • Loading branch information
renovate[bot] and adamdehaven authored Dec 19, 2024
1 parent 76cfdf3 commit 428d4b9
Show file tree
Hide file tree
Showing 4 changed files with 305 additions and 260 deletions.
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

0 comments on commit 428d4b9

Please sign in to comment.