Skip to content

Commit

Permalink
perf: update dependencies to support SSR
Browse files Browse the repository at this point in the history
Changes to be committed:
modified:   package-lock.json
modified:   package.json
modified:   packageScripts/postinstall.mjs
modified:   src/component-base.js
  • Loading branch information
blackfalcon committed Feb 10, 2024
1 parent 8656360 commit 38ae095
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
"lit": "^3.1.1"
},
"peerDependencies": {
"@alaskaairux/icons": "^4.31.0",
"@alaskaairux/icons": "^4.36.0",
"@aurodesignsystem/design-tokens": "^4.3.0",
"@aurodesignsystem/webcorestylesheets": "^5.0.5"
"@aurodesignsystem/webcorestylesheets": "^5.0.7"
},
"devDependencies": {
"@alaskaairux/icons": "^4.34.1",
"@alaskaairux/icons": "^4.36.0",
"@aurodesignsystem/auro-library": "^2.4.7",
"@aurodesignsystem/design-tokens": "^4.3.0",
"@aurodesignsystem/eslint-config": "^1.3.0",
"@aurodesignsystem/webcorestylesheets": "^5.0.5",
"@aurodesignsystem/webcorestylesheets": "^5.0.7",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@open-wc/testing": "^4.0.0",
Expand Down
5 changes: 5 additions & 0 deletions packageScripts/postinstall.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ console.log(chalk.hex('#f26135')(`
Thanks for installing the latest version
of `) + chalk.hex('#ffd200').bold(`${pjson.name} v${pjson.version}.`) + chalk.hex('#f26135')(`
IMPORTANT: Auro Hyperlink requires
@alaskaairux/icons ${pjson.peerDependencies['@alaskaairux/icons']} installed.
Be sure to check your peer dependencies.
╰─────────────────────────────── ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯
`)
);
4 changes: 2 additions & 2 deletions src/component-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import { LitElement, html } from "lit";
// import { isFocusVisibleSupported, isFocusVisiblePolyfillAvailable } from './util';
import externalLink from '@alaskaairux/icons/dist/icons/interface/external-link_es6.js';
import newWindow from '@alaskaairux/icons/dist/icons/interface/new-window_es6.js';
import externalLink from '@alaskaairux/icons/dist/icons/interface/external-link.mjs';
import newWindow from '@alaskaairux/icons/dist/icons/interface/new-window.mjs';

// build the component class
export default class ComponentBase extends LitElement {
Expand Down

0 comments on commit 38ae095

Please sign in to comment.